News for hackers. Stuff that matters.

slowcache

Re:Size-It-Up (Game) on Friday November 06, 2026 @01:37PM (#50396399)
One finger to pick it up. Add another finger to scale
Re:C*: Unifying Programming and Verification in C on Tuesday September 08, 2026 @05:42PM (#49617507)
I think formal verification is a super interesting field, but this is a non-starter for me because I do not have a backwards E on my keyboard
Re:A better SQL in 11 lines of code on Saturday August 29, 2026 @03:40PM (#49492693)
I think an important benefit of a good ORM is to reduce the translations that you have to do between your mental model of the data and what you are trying to do with the data.

Before I started working a lot with SQL, ORMs fit my mental model better since I was more used to imperative programming languages and I thought they were easier to work with.

Now that I am very comfortable with SQL, I have to translate an ORM into the SQL that it would produce. So now they just add another step in between me and the data

Re:A better SQL in 11 lines of code on Saturday August 29, 2026 @03:30PM (#49492608)
I'm in this boat, especially if you're language supports multi-line strings
Lmao totally, like imagine if every car had the logo of who made it on it
Re:Ask for no, don't ask for yes (2022) on Sunday June 21, 2026 @05:16PM (#48622674)
This is great advice to become a pain in the ass that managers know they need to keep on a short leash.

There's a big difference between "I'm going to put this into prod on tuesday unless you tell me otherwise" vs "I'm going to put a prototype together for review on Tuesday unless you tell me this is a waste of time"

Re:Frontier AI has broken the open CTF format on Saturday May 16, 2026 @10:12AM (#48160439)
We would still expect an accountant to know the formula to arrive at the expected result if they did not have a calculator at hand
Re:Spectre Programming Language on Friday May 15, 2026 @09:11PM (#48155858)
I'm not really sure what niche this fills.

To me, the main draw looks to be the invariants that you can supply within functions, but this isn't a new concept outside of it being a dedicated keyword. Otherwise this looks like rust without all of the functionality

Re:We deserve a better streams API for JavaScript on Friday February 27, 2026 @10:18AM (#47181523)
> high-performance data processing tools in JS

I may be naive in asking this, but what leads someone to building high perf data tools in JS? JS doesn't seem to me like it would be the tool of choice for such things

Re:Gamedate – A site to revive dead multiplayer games on Sunday February 22, 2026 @01:47AM (#47108848)
This is a cool website, and it looks great too

But it definitely could use some better moderation

The reviews must be heavily AI assisted in order to get that sort of volume in.

Either way, it doesn't surprise me that this number is so high. Productivity chasing is the name of the game for AI, regardless of how sustainable or helpful this extra work done actually is

Re:Al is killing programming and the Python community on Monday February 02, 2026 @08:10PM (#46864899)
This post is like 6 months late. I share the same concerns that others in the thread do, but the talking point is pretty tired by now
Re:Super Monkey Ball ported to a website on Tuesday January 27, 2026 @09:51PM (#46790448)
Really blown away at how well this works on mobile. Awesome stuff
Re:We've got to stop sending files to each other on Thursday July 17, 2025 @08:39AM (#44592665)
I was also wondering this. I don't want my codebase to be a shared word document, how will it ever be in a compilable state?
Re:A Rust Shaped Hole on Wednesday July 16, 2025 @02:50PM (#44585599)
Odin has been really growing on me lately as a language that checks all of those boxes. String types, first class allocators, built in tests, a batteries included philosophy, and ease of use are some of the things that really drew me towards it.

I really wanted to like rust and I wrote a few different small toy projects in it. At some point knowledge of the language becomes a blocker rather than knowledge the problem space, but this is a skill issue that I'm sure would lessen the more I used it.

What really set me off was how every project turned into a grocery list of crates that you need to pull in in order to do anything. It started to feel embarrassing to say that I was doing systems programming when any topic I would google in rust would lead me to a stack overflow saying to install a crate and use that. There seemed to be an anti-DIY approach in the community that finally drew me away.

Re:Is there a cost to try catch blocks? on Monday July 14, 2025 @09:11PM (#44566936)
I didn't think that this was much of a thing that needed to be investigated. Adding additional processing into your code will make it slow down.

On a related note, I had a consultant come into my work one time to the teach us some pragmatic things in C++. One of the lessons was that that gcc will not attempt to reorder the code within a try block to optimize it. This could be leading to some very minute slowdown in a C++ app in addition to the overhead associated with try/catch as a whole