News for hackers. Stuff that matters.

john_the_writer

Re:Why is everything so scalable? on Wednesday October 15, 2025 @06:31AM (#45590374)
The only bit that I didn't agree with was the downsides. You can scale individual modules. You can set your load balancer to make all calls to specific endpoints go to specific servers. These can scale independently.

If you have background workers (ActiveJobs/Oban for example), these can be on different queues, that you can scale. It's actually really easy to build out a mono-repo system allow for scale.

If you organise your workers into folders based on their purpose (reporting, exporting, ... ), and you're careful about feature flags, you can drastically reduce git-conflicts and CICD issues.

Re:Why Is SQLite Coded in C and not Rust on Wednesday October 15, 2025 @04:04AM (#45589410)
Yeah.. I always remind myself of the netscape browser. A lesson in "if it's working to mess with it" My question is always the reverse. Why try it in Y new language. Is there some feature that Y provides that was missing in X? How often do those features come up.

Company I worked for decided to build out a new microservice in language Y. The whole company was writing in W and X, but they decided to write the new service in Y. When something goes wrong, or a bug needs fixing, 3 people in the company of over 100 devs know Y. Guess what management is doing.. Re-writing it in X.

Re:Why Is SQLite Coded in C and not Rust on Wednesday October 15, 2025 @03:57AM (#45589351)
Agreed. I rather dislike the idea of "safe" coding languages. Fighting with a memory leak in an elixir app, for the past week. I never viewed c or c++ as unsafe. Writing code is hard, always has been, always will be. It is never safe.
Yes.. that.. If you are against oil and plastics, walk your talk. If you are against rare earth, walk your talk. If you have a degree in chem-eng, and you're building low plastic solutions, and you're critical, then you're being honest. Saying "no no no" but doing it on a new cell phone you know was built on rare earth is like a vegan giving a talk while sitting on their new leather couch.
reminds me of the just stop oil protest that stopped the cooking oil truck. People who don't know enough, trying to stop what they don't understand.
If it's one thing the US gov has down, it's how to move super slow. No way it gets done in a 10 years.
Re:The App Store Was Always Authoritarian on Sunday October 12, 2025 @03:49AM (#45556193)
Sounds like a right to repair argument. It will lose. Try putting linux on a windows-10 laptop. That BIOS is nailed down hard. It can be done but its a right PITA
They might not.. But you'd very likely have their number saved on your phone. Might even have them as an un-mutable contact. My wife/kids and their school are all on the "never mute" list.
This is awesome. Great job your bank..
I mean. I have a little book on my desk with password hints. "2nd grade best friends phone number", "birthday of first dog". It also has a grid of random numbers/letters on the front page, so I can write "first_crush_b4*5". You'd have to have physical access to the book, and know what the hint leads to. It's un-hackable. I mean aside from social, or physically breaking into my house.
My local medical clinic sent me an sms with a link, asking me to change my medical info. I called them to point out how they were training their patients to fall for sms scamms.
I've had a few calls where they are from legit places (I confirmed later) and they ask me verify my identify. I counter, that they need to verify who they are. They were confused and we couldn't go forward, because I wouldn't answer their questions until they answered my question.
Re:Safe C++ proposal is not being continued on Sunday September 14, 2025 @05:54AM (#45238721)
Love this quote. An love the intent.
Re:Safe C++ proposal is not being continued on Sunday September 14, 2025 @05:53AM (#45238714)
I don't know that they don't care about safety. They just don't agree with the definition others have picked. I remember when managed code became a thing. I being an old c++ dev noted that memory was always managed. It was managed by me.
Re:A love letter to the CSV format (2024) on Wednesday September 10, 2025 @07:17AM (#45196073)
Literally did this all day today. Took a csv file, parsed it in elixir, processed it and created a new csv file, then opened that in excel, to confirm the changes. At least 100 times today.
Re:A love letter to the CSV format (2024) on Wednesday September 10, 2025 @07:14AM (#45196046)
Well I mean unless you're inspecting it with a hex editor, you're not looking at the csv file itself. Even then, I suppose you could say that's not even the file itself. An electron microscope perhaps? But then you've got the whole Heisenberg issue, so there's that.
Re:A love letter to the CSV format (2024) on Wednesday September 10, 2025 @07:10AM (#45196014)
100%.. xml also worked here too..

YAML is a pain because it has every so slightly different versions, that sometimes don't play nice.

csv or TSV's are almost always portable.

Re:A love letter to the CSV format (2024) on Wednesday September 10, 2025 @06:53AM (#45195886)
What are you talking about? Excel opens csv with zero issue. In windows, and mac. Mac you right click and "open with". Or you open excel, and click file/open and find the csv. I do the first one a dozen times a day.
Got to figure out how to block the url in the router.
Re:Linux is 34 years old today on Tuesday August 26, 2025 @07:35AM (#45025117)
Just a few more years and it's time will be up :D
Re:Well, it seems you just don't like programming on Sunday August 17, 2025 @07:41AM (#44930913)
This is a fantastic article. Reminds me why I get up in the morning. Reminds me of why I fell in love with programming, and why after 25 years as a dev, I still mostly love it. (there are days)

AI will rob me of that practice.

Re:Do Things That Don't Scale on Friday August 15, 2025 @09:50PM (#44919369)
Yeah, the other day a front end dev created a branch in some elixir code. They added a pile of tests, and asked a (new hire) back end dev to finish off the work. The tests were 100% vibe coded. I knew the code well, and after looking realized that the tests could never ever pass. The tests were rubbish. Crap part was, the new BE dev was totally lost for a long time trying to figure out how to make them pass. Vibe killed his afternoon.
Because something is the best dog dookie on the market, does not mean I should be happy to eat it. Or that I should say nothing when it lands on my plate.
Re:Mastercard deflects blame for NSFW games being taken down on Wednesday August 06, 2025 @06:01AM (#44810006)
But what happens when the Gov decides they don't want to fund it anymore? Or the gov decides something shouldn't be funded.. Say truckers on strike, or wiki-leaks? Well then boom we have the same game, just a different player.
Re:Mastercard deflects blame for NSFW games being taken down on Wednesday August 06, 2025 @05:45AM (#44809898)
Nah.. Congress won't. When paypal stopped payments to wiki-leaks Congress was happy as to close their eyes.
Re:The EU could be scanning your chats by October 2025 on Tuesday July 29, 2025 @05:28AM (#44721102)
I've often countered the "if you've got nothing to hide" by taking out a bit of paper, and asking for their social and email passwords. "nothing to hide."
Re:The EU could be scanning your chats by October 2025 on Tuesday July 29, 2025 @05:13AM (#44720996)
As a parent, I can tell you it's insanely easy to manage allowing kids online. Don't.. or 100% supervised. Done
Re:A software conference that advocates for quality on Sunday July 13, 2025 @06:34AM (#44549197)
Yep.. They/we get miffed, and twisted, stalled. Then they get dispassionate, and leave.
I've found it starts bad, but it works into your flow, and eventually it gets a better. It's a minimal thing though. It's sort of like intel-i-sense.

Older ยป