Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
9dev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
9dev
2mo ago
Pretty much all tools developers use to write code format code to some extent while editing, but often with individual configuration knobs or default settings that are different between all ICs. Having a single tool that runs before committ
152.
▲
by
9dev
2mo ago
You will find that pretty much every rule we have in any possible context will have some exceptions that are justified under some conditions. Taking that as a reason to not have those rules in the first place seems like a logical fallacy th
153.
▲
by
9dev
2mo ago
I can - in fact, I have to, a lot more than I'd like - when someone makes changes with different code style settings in their IDE or tooling, and that affects unrelated parts of the code, and suddenly the PR contains tons of code that
154.
▲
by
9dev
2mo ago
Good lord, that this is necessary is so depressing.
155.
▲
by
9dev
2mo ago
Yeah, maybe - but you know what one of the perks of not working for FAANG is? Not working for FAANG. Some people prefer having a spine over selling their integrity. There’s heaps of opportunity for doing interesting work in a less toxic env
156.
▲
by
9dev
2mo ago
Then again, looking back, that’s the way history is made. Modern democracies in the west are built on foundations of slavery and colonialism; yet we cherish them as to all the greatness they have brought as well. We need some amount of tol
157.
▲
by
9dev
2mo ago
That is the exact problem that got me to abandon my splendidly working, self-hosted email stack. I had so many instances of mail just not getting delivered, despite doing absolutely everything correctly, that I gave up.
158.
▲
by
9dev
2mo ago
It won't. That's the point many people don't seem to get: The people who wanted everything that is happening now don't just go away. There is no guarantee they won't vote for a narcissistic grifter again, and thus a
159.
▲
by
9dev
2mo ago
There is no "West" anymore, at least not in the sense it was used in the last 50–70 years. There is now Europe/Canada/Australia on the one side, and the USA as an adversary on the other, and that won't change in the
160.
▲
by
9dev
2mo ago
That's a straw man, obviously: I didn't talk about building your own database, but setting up PostgreSQL and pgBackRest, two well-defined, and thoroughly documented applications. With coding agents available, you don't need
161.
▲
by
9dev
2mo ago
We just might—not everyone works in SV. The 6k are a single database out of a vastly bigger pool of expenses, so unless you’re funded with six to seven digits from the start, it’s not nothing. At least in Europe, shelling out 300 grand on a
162.
▲
by
9dev
2mo ago
Well yeah, you can apply that to most problems you encounter as a company - there are service providers for pretty much anything you can imagine. That doesn't mean it's smart to spend a huge chunk of your revenue on OpEx, however.
163.
▲
by
9dev
2mo ago
If expending 6k per year on your database alone sounds reasonable to you, we have very different perspectives on a good use of investor funds. We’re not talking about maintaining your own k8s cluster here mind you, but a basic Postgres setu
164.
▲
by
9dev
2mo ago
That was not quite the point I was making, which is that the equivalent RDS setup would come in at around ten times of that .
165.
▲
by
9dev
2mo ago
It’s really not that hard, especially with an AI agent to help you. Running a Postgres server and a read replica in Hetzner with pgBackRest backing up to their S3 buckets and a cloud volume can be had for under 50€, has HA, PITR, 3-2-1 back
166.
▲
by
9dev
2mo ago
That is one clever metaphor. Thank you, I might steal it.
167.
▲
by
9dev
2mo ago
> I find it fairly easy to distinguish between US model labs and North Korea. Do you now? Remember the girls school bombing in Iran, of which we still don't know if an AI agent was involved in the target planning? I do unterstand wh
168.
▲
by
9dev
2mo ago
It's such a freak incident of history that right at this critical time the dumbest, most incompetent leadership is at the helm in the US...
169.
▲
by
9dev
2mo ago
They sure don't. I still find the hypocrisy appalling.
170.
▲
by
9dev
2mo ago
I never really understood these complaints about the standard library, that's not what makes a language really. Yes, it's ugly, yes, it carries 30 years of baggage, but it's PHP the language that allows you to interact with
171.
▲
by
9dev
2mo ago
These "very new things" have, in part, been available for more than 6 years now. Not to speak of all the other PHP features WordPress chose to forgo, like PDO with prepared statements (which completely eliminates SQL injections),
172.
▲
by
9dev
2mo ago
The, uh, WordPress Foundation[0]? [0]: https://wordpressfoundation.org
173.
▲
by
9dev
2mo ago
That might even be a beneficial move, creating (well, actual, not artificial) scarcity works well to draw interest usually. Curious how this one plays out.
174.
▲
by
9dev
2mo ago
...and then the American companies cried Foul! Unfair play! You've got this wrong, see, it was us who were supposed to profit off of the public, not the other way around!
175.
▲
by
9dev
2mo ago
You’re right, of course. Still I think the point stands that PHP has very powerful runtime metaprogramming features that you can build amazing abstractions on top of.
176.
▲
by
9dev
2mo ago
Shame I forgot to add named arguments above, eliminating this problem too: array_map(callback: fn($i) => $i * 2, array: [10])
177.
▲
by
9dev
2mo ago
So, you move into a new flat. In the living room, there's five sockets on the west side, but only one on the east side, and that's planned for a lamp already. Does it make more sense to a) put up your TV and gaming console on
178.
▲
by
9dev
2mo ago
What they do is put lipstick on a pig! There is no need to "reduce" the risk of SQL injections when you can use a safe API that eliminates the entire error class. This is a solved problem for the rest of the world!
179.
▲
by
9dev
2mo ago
> Video streaming or game streaming both depend on close proximity to the end user That's a straw man for this discussion. Yes, there will be a need to place some DCs close to users, but most of them could be located closer to ene
180.
▲
by
9dev
2mo ago
Even just introducing emulation layers for the old parts and making the new parts opt-in would be better than just giving up and keep on going. Plugin authors can choose the new subsystem as they publish updates or new plugins and themes, a
More ›