Readit News logoReadit News
danmaz74 commented on AI is bringing old nuclear plants out of retirement   wbur.org/hereandnow/2025/... · Posted by u/geox
danmaz74 · 2 days ago
At least, they're not reactivating a coal power plant.
danmaz74 commented on Has the cost of building software dropped 90%?   martinalderson.com/posts/... · Posted by u/martinald
simonw · 7 days ago
The cost of writing simple code has dropped 90%.

If you can reduce a problem to a point where it can be solved by simple code you can get the rest of the solution very quickly.

Reducing a problem to a point where it can be solved with simple code takes a lot of skill and experience and is generally still quite a time-consuming process.

danmaz74 · 6 days 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 something they have been trained on.
danmaz74 commented on AI Is Breaking the Moral Foundation of Modern Society   eyeofthesquid.com/ai-is-b... · Posted by u/TinyBig
barrell · 13 days ago
An idea that has been living rent free in my head is that "AI is ultimately nothing but a pure destruction of value". It's promise is unlimited value to everyone on demand; but if everyone can do everything without any effort, it is no longer valuable. Value and scarcity go hand in hand.

I realize the hyperbolic framing of the idea, but none-the-less I haven't been able to get it out of my head. This article feels like it's another piece of the same puzzle.

danmaz74 · 13 days 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?
danmaz74 commented on Airbus A320 – intense solar radiation may corrupt data critical for flight   airbus.com/en/newsroom/pr... · Posted by u/pyrophoenix
MaxfordAndSons · 17 days ago
The flight attendants/safety card will tell you to stay buckled whenever seated, even if the seat belt sign is off, but many (most?) people will ignore that guidance and stay unbuckled for as long as they are technically allowed.

Only aviation professionals or recovering flight phobics like me who have watched every episode of Air Crash Investigation will take proactive safety measure of their own accord. To normies it's all just a pointless hassle.

danmaz74 · 17 days 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.
danmaz74 commented on GPT-5.1: A smarter, more conversational ChatGPT   openai.com/index/gpt-5-1/... · Posted by u/tedsanders
joquarky · a month ago
Aren't these still essentially completion models under the hood?

If so, my understanding for these preambles is that they need a seed to complete their answer.

danmaz74 · a month ago
But the seed is the user input.
danmaz74 commented on The Manuscripts of Edsger W. Dijkstra   cs.utexas.edu/~EWD/... · Posted by u/nathan-barry
zkmon · a month ago
Seeing book sections or chapters starting with zero, always confuses me. I know that this convention is probably inspired by the fact that the addresses of memory locations start with zero. But that case was due to that fact one of the combination of the voltages can be all zeros. So, it's actually the count of combinations, and I don't think it can be used for ordinal enumeration of worldly things such as book chapters, or while talking about the spans in space and time (decades, centuries, miles etc). There is no zeroth century, there is no zeroth mile and there is no zeroth chapter. In case the chapter numbers are not meant be ordinal, then I think it would be odd to call Chapter 3 as fourth chapter.
danmaz74 · a month 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.
danmaz74 commented on What the hell have you built   wthhyb.sacha.house/... · Posted by u/sachahjkl
9dev · a month ago
You don't. When your server crashes, your availability is zero. It might crash because of a myriad of reasons; at some times, you might need to update the kernel to patch a security issue for example, and are forced to take your app down yourself.

If your business can afford irregular downtime, by all means, go for it. Otherwise, you'll need to take precautions, and that will invariably make the system more complex than that.

danmaz74 · a month 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).
danmaz74 commented on How I use every Claude Code feature   blog.sshh.io/p/how-i-use-... · Posted by u/sshh12
ed_mercer · a month ago
I don't understand how people use the `git worktree` workflow. I get that you want to isolate your work, but how do you deal with dev servers, port conflicts and npm installs? When I tried it, it was way more hassle than it was worth.
danmaz74 · a month ago
I gave that a try, then I decided to use devcontainers instead, and I find that better, for the reasons you mentioned.

Deleted Comment

danmaz74 commented on Why I Chose Elixir Phoenix over Rails, Laravel, and Next.js   akarshc.com/post/phoenix-... · Posted by u/akarshc
mati365 · 2 months ago
The main issues were related to how JavaScript is integrated and distributed within Rails. In older versions, you have to deal with Sprockets and dependency bundling, which is tricky if you want your integration to work across a wide range of Rails versions.

In newer versions, import maps are recommended instead. The problem is that import maps enforce ESM, while Sprockets (as far as I know) doesn’t support ESM at all. On top of that, there are compatibility issues with Turbo links, various form libraries, and the limited extensibility of the import map library itself - adding extra dependencies is just painful.

Installing CKEditor wasn’t straightforward either, so I ended up creating a small DSL to simplify it. But then came another challenge: providing support for custom plugins in a way that would work with every Rails version, even without a bundler.

All of this is made even harder by the fact that CKEditor is distributed in both cloud and NPM versions, which complicates integration paths further.

In contrast, Phoenix makes things much simpler. From what I remember, the standard setup uses esbuild, which automatically pulls NPM dependencies from the deps directory - the same place where Elixir libraries are installed. This means you can distribute a package that includes both the Elixir and NPM parts of the editor, without having to manually modify package.json or worry about dependency conflicts.

danmaz74 · 2 months 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 Rails version, how much harder would it have been than doing the same for Phoenix?

u/danmaz74

KarmaCake day8996April 11, 2011
About
Hi!

My name is Dan Mazzini and I've got a long and varied career in tech, mostly as a software developer, team leader, engineering manager, and founder. Right now I'm open to part time or short term remote contract work as an senior full-stack Rails developer.

My latest personal project: https://chess.braimax.com/

A couple of free projects I published:

https://github.com/danmaz74/ABalytics

http://bit.ly/HNMarkAllRead

LinkedIn: https://www.linkedin.com/in/danmaz74/

Contact: dan@thinklateral.eu

View Original