News for hackers. Stuff that matters.

shakesbeard

Re:Can the stockmarket swallow Anthropic, SpaceX and OpenAI? on Wednesday June 03, 2026 @03:36AM (#48381049)
What a lot of folks are struggling to understand (myself included) is how this actually reflects on the quality of life?

You're more productive? Nice ... for you or your business/employer? Do you also get more free time out of it? With all this free time you could actually travel and do a language school for 3 months. That sounds like an improvement in quality of life to me. Not better translations in that language.

The life of my family (we have a good life) hasn't become significantly improved with LLMs. We still struggle with the same problems as before. These companies don't solve the big problems of societies and that's why I feel like their value is not justified.

Slack (canvas and huddles), Circle CI and Bitbucket are also reporting issues due to this.
Re:Why our website looks like an operating system on Friday September 12, 2025 @08:40AM (#45221495)
Same. Clicked around. Was annoyed that a single click on an icon opened the window and not a double click. Used the navigation a bit and left.

No idea what they do.

That's literally how any representative democracy work, just at a different level? The Free State of Bavaria could say the same about the Federal Republic of Germany.
Re:Cognitive Load is what matters on Monday September 01, 2025 @02:26PM (#45095276)
We've only made good experiences with layered architecture (onion architecture in particular, which is quite straight forward). We also never built it with the idea in mind to ever replace the storage engine. No, the big, big benefit has been that we can test everything without ever mocking a single class.

I also don't get the point about "going back to IoC" ... how is that mutually exclusive from using a layered architecture. This section was weird and didn't offer any good alternative.

Re:PHP 8.4.4 Released on Saturday February 15, 2025 @09:53AM (#43058909)
> and now 20 years later we are still stuck with the same garbage.

and it hasn't been an issue ever. because all userland code lives in its own namespaces.

Re:PHP 8.4.4 Released on Saturday February 15, 2025 @09:52AM (#43058897)
That's just not true. It's not JS. Composer will install exactly one version of every package. If your dependencies have incompatible dependencies themselves, then Composer will refuse to install the package. And this fact has led to PHP packages actually being maintained and kept compatible with each other. Of course, sometimes you run into dependency issues, but it's worth it because you'll always have quite clean, flat and small vendor directory. Compared to the node_modules horror it's great for maintenance.
Re:PHP Doesn't Suck Anymore on Saturday May 04, 2024 @01:30PM (#40259066)
That's why every serious PHP programmer is using a static code analysis tool nowadays.

It would easily catch this. https://phpstan.org/r/a827ff45-4ee2-4bee-8ae0-935832e627b3

Re:Tesla staff say firm's entire Supercharger team fired on Wednesday May 01, 2024 @12:30PM (#40225538)
Yeah, but that's not a fair comparison. Toyota alone has 40 hybrid models. Tesla has like 4 ...

Here's some stats from 2022 and Tesla was 15. in total car sales. [0]

[0] https://www.carlogos.org/reviews/worlds-top-selling-automake...

Re:How to Compete with Patreon on Sunday October 08, 2023 @05:35AM (#37809096)
I loved Flattr ~10 years ago. You said "I have $40/month" and then these funds were allocated based on which things you flattr'd during the month (there were little buttons on the websites/blogs). Of course you could also say "include this content creator every month".

It was so simple and elegant. As a consumer I had cost control, too. Plus there were no micro-transactions, only one charge to me.

Re:An Internet of PHP on Saturday September 09, 2023 @07:52AM (#37444310)
You shouldn't deploy .env files to production. You should set the actual environment variables on production. .env files are intended for convenience on non-prod systems.
Re:Reddit 1.0 was written in Lisp on Saturday June 17, 2023 @03:32PM (#36373721)
wow, now that's a website I haven't thought of in a while
Re:Let us serve you, but don't bring us down on Monday May 29, 2023 @08:11AM (#36113166)
They provide monthly torrents. Can't imagine that to be too slow unless there's literally no one seeding.
Re:Important Team and Business Changes on Thursday May 04, 2023 @02:38PM (#35820135)
Huh? I'm an introvert and I can communicate and actually like interacting with people. But I'll need time for myself to re-charge afterwards. But everyone needs to re-charge somehow.
Re:Show HN: G-Script – Visual Scripting for the Web on Sunday February 12, 2023 @05:46AM (#34761817)
Piggybacking on this: How does it compare to https://n8n.io/?
Same in Switzerland. The selection has grown considerably over the last years.
Re:Genders.wtf on Wednesday January 11, 2023 @12:51PM (#34341710)
You may wanna read up on honorifics [0]. That stuff is cultural and you'll be persevered as unprofessional or even non-trustworthy by failing to properly use it.

[0] https://en.wikipedia.org/wiki/Honorific

Re:Lionel Messi Is Impossible (2014) on Sunday December 18, 2022 @04:13PM (#34043485)
Don Bradman in Cricket.

Apparently, a good batting average for a modern-day batsman is 40+ with those above 50 being exceptional. Bradman's average was 99.94. The second highest average of all time is 60.97.

[1] https://en.wikipedia.org/wiki/Don_Bradman

Re:Why A4? – The Mathematical Beauty of Paper Size on Monday September 05, 2022 @09:38AM (#32724163)
Same in Switzerland. Almost all letters are A4 folded in half inside a C5 envelope.
Re:Ask HN: Is back end dev generally easier than front end? on Wednesday November 24, 2021 @04:43AM (#29328388)
What I haven't seen mentioned here is that as a backend dev you're usually much closer to the business people. You'll have to talk to them, understand their needs and translated them from their language into code. You'll have to come up with a design and implement it. Business logic is more common to be found in backends than frontends in my experience unless you do something with really sophisticated UIs.
Re:A look at modern PHP on Tuesday May 05, 2020 @12:32PM (#23081830)
You may have missed it, but with PHP 7 the language has even more shifted towards stricter typing paradigms. People use strict comparison, typed properties, typed arguments, etc. Couple that with one of the popular static analysis tools and you'll never see any such errors.
Re:Insomnia 3.0 – A simple and beautiful REST API client on Tuesday September 06, 2016 @03:25AM (#12434198)
Looks really good! Are there any plans for custom authentication or pre-request hooks? Asking because for my API I need to be able to sign requests.
Re:Domino's: Pizza and Payments on Sunday April 10, 2016 @03:49AM (#11465343)
How was he able to see the raw responses from the payment gateway? Do they use HTTP instead of HTTPS to make these requests?
Re:How Rebounds Work on Friday October 17, 2014 @03:17PM (#8472835)
"We were standing in the lay-up line, warming up and shooting, and Rodman was standing back and watching everybody shoot. I said, ‘Hey, come on, you have to participate; everybody’s shooting lay-ups, you have to shoot lay-ups, too.’ And he said, ‘I’m just watching the rotations on the basketball.’ I said, ‘Excuse me?’ He said, ‘Like, when you shoot, your ball spins three times in the air. Joe’s sometimes has 3 1/2 or four times.’

That’s how far Rodman had taken rebounding, to a totally different level, like off the charts. He knew the rotation of every person that shot on our team — if it spins sideways, where it would bounce, how often it would bounce left or right. He had rebounding down to a science, and I never heard anyone think or talk about rebounding and defense the way he could break it down."

Isiah Thomas on Dennis Rodman's rebounding. http://www.businessinsider.com/dennis-rodman-basketball-geni...

Re:I was asked to crack a program in a job interview on Wednesday September 17, 2014 @03:36PM (#8331943)
Couldn't believe it myself, so I opened a French newspaper.

http://www.lemonde.fr/football/article/2014/09/17/ligue-des-...

Looks like it's indeed like she told you.

Re:Exec($_GET on Tuesday April 29, 2014 @08:00AM (#7666330)
Re:Show HN: Writebin, an inline markdown editor on Saturday February 15, 2014 @05:56AM (#7243409)
Shameless plug for http://bigwhoop.github.io/lyme/. It's a jQuery plugin, open-source and supports up-and-down movement via hotkeys. ;-)
Re:Rambling On [PHP] Internals on Saturday September 07, 2013 @09:33AM (#6345030)
Yes, 8 years ago ... PDO and prepared statements is the quasi-standard since the release of PHP 5.1

Older »