News for hackers. Stuff that matters.

deadfa11

Re:Why doesn't Rust care more about compiler performance? on Thursday June 12, 2025 @09:06PM (#44264789)
I was working on a zig project recently that uses some complex comptime type construction. I had bumped to the latest dev version from 0.13, and I couldn't believe how much improvement there has been in this area. I am very appreciative of really fast iteration cycles.
Re:An Interactive Guide to Rate Limiting on Friday June 06, 2025 @09:42PM (#44206719)
Ahh this has a name! I started doing this years ago and figured this must be used frequently because it’s so simple, elegant and can be done lock free. Thanks for calling it the name!
Re:2025 Banished Words List on Wednesday January 01, 2025 @04:52PM (#42569617)
Yep, 100%
Re:1-800-ChatGPT on Wednesday December 18, 2024 @02:35PM (#42454059)
Zombo.com really had everything, way ahead of its time. It's been a while... maybe since the last time I lost the game.
Re:Signal: Online MIDI Editor on Saturday November 02, 2024 @06:42PM (#42029758)
Ooh very cool! I really like the logo :)
Re:New iMac with M4 on Monday October 28, 2024 @02:23PM (#41974389)
I've been using the Sabrent one for a year or so. It's worked quite reliably once I got the cables sorted. I was unintentionally using one TB3 cable in the mix, and that made it pretty flakey. It has been pretty solid since swapping that for a TB4 cable.
Re:Durable Coroutines for Go on Friday October 20, 2023 @03:54PM (#37960751)
Eh, this one seems a reasonable trade-off to me at this point. If you try to handle every potential issue upfront, you'll never release, and this seems entirely fixable down the road. Persistent coroutines is a pretty challenging area to explore (tried this with Lua in a previous venture), and this seems a pretty minor point in that overall complexity. I'm curious, what else have you come across that justifies the "really brittle" conclusion?
Re:It's legal to hit children in school in 19 American states on Saturday January 21, 2023 @06:08PM (#34471752)
I lived in Tennessee for a bit as a kid until about 7. The principal had this paddle hanging in his office, just menacingly looming there all the time. Every once in a while he'd hold these school-wide assemblies where the "worst" 2 or 3 kids would get paddled in front of everyone, adding this awful public humiliation. He had this fully bald head, and I have this distinct memory of his sweaty fucking face in that hot gym... I shave my head now due to some prior health issues. Every once in a while when I'm shaving, that image comes to mind and just that thought makes me boil a bit. I don't have kids, but I can't imagine how I'd react were someone doing this to them now.
> What singer sang in the most stadiums?

    SELECT singer.Name FROM singer JOIN singer_in_concert ON singer.Singer_ID = singer_in_concert.Singer_ID GROUP BY singer.Singer_ID ORDER BY COUNT(*) DESC LIMIT 1
It is close... sort of? It figured out it needed to join, group, and order, but it only drew the relation to the concert, not the venue. Correctness seems a huge challenge here. Even knowing SQL, I feel I'm double checking my results at times. But I can see how this might be incredibly useful someday for Salesforce if there's confidence in the results.
Re:OpenSSL vulnerable to timing attack? on Thursday April 10, 2014 @06:53PM (#7570225)
Basically, measure the time difference in the memory comparison. Typically, comparisons will short-circuit. That is, stop as soon as a difference is detected. But this is a problem for security situations like key comparisons. If 10 out of 20 bytes match, it will take a little bit longer to compare then if 5 out of 20 bytes match. With enough iterations, the key can be recovered due to these differences in time. The correct solution is to use a constant time comparison that always runs through the entire sequence of bytes.
Re:Warp, a fast preprocessor for C and C++ on Friday March 28, 2014 @03:32PM (#7489473)
Sure, but is that using PCHs? And how much of that time is preprocessing? I don't think the parent question is whether clang can compile any project in less than 3 hours. I think the interesting question is if warp is more compelling than clang from a preprocessing perspective.