Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danmaz74
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
danmaz74
10mo ago
I wouldn't say that the distinction is so much about code being "simple", but about code being made of patterns common enough in online examples. Claude Code and similar can write even very complex code, as long as it's
92.
▲
by
danmaz74
10mo ago
When something becomes abundant, we focus on something else which is still scarce. That's human nature. Salt used to be scarce and very valuable, but nowadays who thinks about it?
93.
▲
by
danmaz74
11mo ago
I'm not flight phobic but I still stay buckled all the time when I don't need to move. It's a very little nuisance.
94.
▲
by
danmaz74
11mo ago
But the seed is the user input.
95.
▲
by
danmaz74
11mo ago
The reason is that, for an array (or vector), you find the memory position for the i-th element with the base address + i*word_length. And the first element is in the base address - so has index 0.
96.
▲
by
danmaz74
11mo ago
You can have redundancy with a monolithic architecture. Just have two different web server behind a proxy, and use postgres with a hot standby (or use a managed postgres instance which already has that).
97.
▲
by
danmaz74
11mo ago
I gave that a try, then I decided to use devcontainers instead, and I find that better, for the reasons you mentioned.
98.
▲
by
danmaz74
1y ago
It looks like a lot of these issues are due to the fact that Rails has been around for a long time, has lots of versions, and you wanted to support many versions (Which is commendable, by the way). If you only had to support the latest Rail
99.
▲
by
danmaz74
1y ago
How does Cursor plan mode differ from Claude Code plan mode? I've used the latter a lot (it's been there a long time), and the description seems very similar. The big difference with the workflow I described is that with that plan
100.
▲
by
danmaz74
1y ago
When the task is bigger than I trust the agent to work on it on its own, or for me to review the results, I ask it to create a plan with steps. Then create a md file for each step. I review the steps, and ask the agent to implement the firs
101.
▲
by
danmaz74
1y ago
I had the same issues, and half-baked a similar solution. But then I looked into dev containers, with which I get higher isolation, including a DB for each instance (which is important for testing in parallel; I'm mostly using Ruby on
102.
▲
by
danmaz74
1y ago
Having worked on quite a few legacy applications in my career, I would say that, as for so many other issues in programming, the most important solution to this issue is good modularization of your code. That allows a new team to understand
103.
▲
by
danmaz74
1y ago
You can use codex CLI on a measly Plus plan
104.
▲
by
danmaz74
1y ago
LLM coding agents can't learn from experience on our code, but we can learn from using them on our code, and in the context of our team and processes. I started creating some harnesses to help get more of what we want from these tool
105.
▲
by
danmaz74
1y ago
"All models are wrong, but some models are useful" - George E. P. Box (probably)
106.
▲
by
danmaz74
1y ago
Trump is working hard to remove any notions that the USA are "leaders of the free world", and making it into the unapologetic "mafia boss of the American Empire".
107.
▲
by
danmaz74
1y ago
"Find usages" and "Go to definition" work very well in RubyMine in my experience, at least in normal Rails projects - I use them all the time with command-click.
108.
▲
by
danmaz74
1y ago
"capital" in the economic sense isn't money at all - it's tools, infrastructure, knowledge; from this point of view, you're correct. A bubble bursting on the stock market doesn't destroy capital. On the other h
109.
▲
by
danmaz74
1y ago
> "TTD forced you to sit down and design your system first, rather than making it all up on the fly" It's interesting because I remember having discussions with a colleague who was a fervent proponent of TDD where he said
110.
▲
by
danmaz74
1y ago
You're probably mostly thinking about Shahads and similar alternatives to cruise missiles, but what's much more significant in Ukraine is the use of FPV drones on the front lines to attack armor, transports, artillery and individu
111.
▲
by
danmaz74
1y ago
If you remove Musk, though, what is so special about Tesla to justify the super-high P/E ratio?
112.
▲
by
danmaz74
2y ago
Fact is, I don't want to self-censor. But thank you for your suggestion.
113.
▲
by
danmaz74
2y ago
I'm Italian, my wife is Russian and my sister lives with her family in California. I've always been pretty vocal online about my dislike for Putin, and since the war in Ukraine started, I became very worried about visiting Russia,
114.
▲
by
danmaz74
2y ago
>>This isn’t a normal drawdown. This is a crisis with the leadership of the United States. >The same thing happened just 4 short years ago when covid hit. If by "same thing" you mean the market crashing, then yes, it'
115.
▲
by
danmaz74
2y ago
By the way, what I find most baffling in these discussions is that these calculations are always based only on physical goods, ignoring services, where the US usually has a positive balance - eg, with the EU, the US has a 109B positive bala
116.
▲
by
danmaz74
2y ago
He can't start a war, but what about special military operations?
117.
▲
by
danmaz74
2y ago
From the article: "Companies like CoreCivic and GEO Group receive government funding based on the number of people they detain, which is why they lobby for stricter immigration policies. It’s a lucrative business: CoreCivic made over $
118.
▲
by
danmaz74
2y ago
What would that help? Asking as a EU citizen.
119.
▲
by
danmaz74
2y ago
While reading, I felt such strong Kafka vibes in this story.
120.
▲
by
danmaz74
2y ago
> It feels like there's a real opportunity here for European companies to step up and make a big play, but will they? I think that this will depend a lot on expectations about politics in the USA in the medium/long term. Making
More ›