News for hackers. Stuff that matters.

oliverpk

Re:RCE Vulnerability in React and Next.js on Thursday December 04, 2025 @05:30PM (#46154059)
So this can be avoided by using react like a normal person... client side rendering + bundled with vite
Re:Programming peaked on Thursday December 04, 2025 @05:18PM (#46153917)
It's incredible how different the programming in 2025 can be if you work in a different kind of company.
Re:Show HN: A Minimal Dictionary Website on Wednesday June 05, 2024 @03:01AM (#40582138)
Hi! from what I can tell, the data for the API I used was mostly taken from wiktionary. However since "orwellian" has an entry Wiktionary, i think the API must be somewhat out of date.
Re:NetBSD Bans AI-Generated Code from Commits on Saturday May 18, 2024 @08:35AM (#40398501)
Good call, AI-Gen code is the same as most copied code, it might work, but you won't know why, which means that further development will be more difficult.
They don't even observe DMCA, and they still did this?
Re:OpenAI postmortem – Unexpected responses from ChatGPT on Thursday February 22, 2024 @01:06AM (#39463736)
Not really a postmortem in my opinion. While they did answer the central question of "why", I feel like a proper postmortem should question the problem more.
Re:Sora: Creating video from text on Friday February 16, 2024 @05:45AM (#39395357)
I don't think any well adjusted person ever has actually wanted this
Re:RavenDB 6.0.2 (A Jepsen Report) on Wednesday January 31, 2024 @04:01PM (#39209357)
Genuinely one of my favourite posts here
Re:Ask HN: Postgres vs. MySQL in 2023? on Saturday September 30, 2023 @04:26PM (#37719418)
I have only worked with mssql and postgres, but I enjoyed postgres much more. It has a lot of quality of life features that make my life easier.
Re:Ask HN: Favorite Debugging Story? on Saturday September 30, 2023 @04:22PM (#37719384)
It sounds really stupid now, but I was working with threads in Java. There are two ways to implement a thread, either implementing the interface runnable or extending the class thread. I originally had a class that implemented runnable with a custom method called getState(). To initialize a thread while using runnable, you have to pass the runnable object to a thread as a constructor parameter. The class thread also has a method called getState() and I spent an embarrassing amount of time wondering why I had totally different values than expected.
A monumental achievement, especially when the EU average is only 18%.
Re:Raspberry Pi 5 on Friday September 29, 2023 @07:46AM (#37702376)
Probably going to keep using RP4 model, as I don't use it to do anything performance heavy, but it's good to know that there is an upgrade available.
I hope he recovers, he's a programming legend.