News for hackers. Stuff that matters.

pcreux

Re:Rails Dashboards that scale – with SQL and dry-struct on Thursday July 10, 2025 @03:13AM (#44518210)
New blog post based on my experience building reports and dashboards in Rails.

Crunch data with SQL, return JSON, wrap it in type-safe DryStructs, and swap in Faker or plug into a data warehouse.

Re: on Wednesday October 09, 2024 @03:33PM (#41791768)
Hey Martin,

All our services are built using Ruby, so it's the obvious choice. It scales and it's robust. We might just spend a little bit more on Heroku than if we'd use another language such as go - but it's definitely not worth introducing a new language to our stack.

Thanks for the comment!

Re:Organize your Rails codebase with aaa engines on Thursday September 26, 2024 @07:29AM (#41657108)
Less clutter, more joy: one mini-app per feature with aaa engines.
Re:Elegant tests with Truth Tables on Tuesday April 14, 2015 @02:57PM (#9376494)
Naming is hard! Thanks for suggesting "Expectation Tables".
S3 is quite limited when it comes to listing a subset of objects as scope using prefixes. So can fetch all objects starting with "2014/10/10" but you can't fetch the last 30 created objects for instance.
Our client has been storing months of tracking events on S3 via Kinesis. This seems to be a simple, cheap and reliable solution to store billions of datapoints. We can then import that data into ElasticSearch, Amazon Redshift, etc.
Thanks! It was just a matter of 4 lines of code: https://github.com/gregbell/activeadmin-store/commit/5922d4f... NewRelic did a really good job on that one!
Thanks for your comment! I've just created an issue for this. We'll fix it shortly. https://github.com/gregbell/active_admin/issues/22
Oh... Ok, I will introduce myself before saying that Active Admin is awesome from now on.