Quantcast
Channel: Dave Copeland :ruby:
Browsing all 613 articles
Browse latest View live

Article 10

How are people managing i18n in their web apps? There has to be a better way than `t(some_key)` everywhere.The main issues I am seeing are:• organizing the key space so it's not just one huge list, but...

View Article


Article 9

Simplest explanation and example I could come up with to demonstrate why you should always use #Postgres' TIMESTAMP WITH TIME...

View Article


Article 8

Other great stuff on this page:• Use TEXT instead of CHAR or VARCHAR• Don't use MONEY• Don't use SERIALRefreshing to see a tool support things that you shouldn't use and document that with...

View Article

Article 7

AirBnb’s famously hostile customer support tells a CEO to get bent so he gets AirBnB’s founder to fix it, then praises him. A good CEO would build a customer support team that supports customers, but...

View Article

Article 6

Rails’ aggressive new maintenance policy: https://rubyonrails.org/2024/10/15/new-maintenance-policy-and-eol-annoumentsI think this is good. We should normalize keeping out software up to date and we...

View Article


Article 5

An effect of "keep everything up to date" is that it should drive you away from tools that break things with every update and toward tools that care about making updates work for users. Despite Rails’...

View Article

Article 4

All that being said, I do wish more software would be "done” and not have to constantly grow features. I get it that a web framework can't really sit still, but if we are being really honest, Rails did...

View Article

Article 3

Apple sent out a notification to all iTunes Connect users that they must complete some EU compliance requirements. They—and the EU—don't provide guidance to determine if I am "trader”, and the...

View Article


Article 2

Behold the flowchart you must implement whenever you use fetch and want to avoid infinite loops and hung requests and provide a semblance of a good user experience.I would love to know if this could be...

View Article


Article 1

For a small personal project, should I use Terraform, OpenTofu, Pulumi, or a markdown file of instructions?I feel like the most scalable, long-term solution is the markdown file.

View Article

Article 0

nonzero percent chance I will get my iPhone replaced due to impacted dust in the USB-C port 🤪

View Article

Article 5

So true - every company I've been at that did a Hackathon was basically a way for anyone that wasn't on the engineering team to try to get engineers to work on their project all night.At Opower, the...

View Article

Article 4

Gotta love when you search the web and find nothing "how to test web components" is a wasteland.It's no wonder - the designers of it did not seem to consider how one might test them in isolation. So...

View Article


Article 3

For example, I have an element that inserts query params into the form it contains. this allows the URL to retain query params when a form is submitted repeatedly.I don't know how to mock...

View Article

Article 2

JSDOM seems fraught. a) it's always behind ActualDOM and b) it's not the environment where the components/elements will be run, so is it really a test of anything?Thus far, I have been relying on...

View Article


Article 1

JSDOM *is* better than what I was doing in-browser. But it still has issues with stuff like fetch/Request/etc. These aren't implemented. `new Request()` just bombsI can hack these into JSDom's global...

View Article

Article 0

Another paper cut - My app uses this pattern for AJAX interactions:1 - If things work, cool2 - If I get a known 4xx, handle it3 - otherwise, reload the pageTesting that a custom element reloads the...

View Article


Article 0

Over the last, say, 10 years, I've learned to trust my gut and my instincts about technology have tended to be right.GraphQL always seemed to solve a problem almost no one had and requires incredible...

View Article

Article 0

Welp. I guess Pixelmator will now get handoff features that don’t work, have all error notifications removed, stop being enhanced, and any support requests sent to oblivion. That said, it’s a great app...

View Article

Article 0

Ask Siri to recognize a song. It does and offers to open in Apple Music. Close Apple Music. That song is gone forever. Except if you add Shazam to the control center then you can access history there...

View Article
Browsing all 613 articles
Browse latest View live