News for hackers. Stuff that matters.

333c

I feel the same. So so so many "regular expression denial-of-service" issues at my last job that just didn't seem serious or often reachable.
Re:Chess Invariants on Friday May 22, 2026 @11:24AM (#48237185)
I was replying to a comment quoting an official rule saying "no piece can be moved if that exposes or leaves its own king in check."

I was pointing out that that specific rule (read to mean that moving a piece pinned against a king is not allow) is not strictly necessary. Putting oneself in check is not allowed regardless of whether it's because you moved a piece that was pinned against your king or moved your king directly into the line of sight of an opponent's piece. These are the different "means."

As a sibling comment points out, "The only action you can ever take in chess is moving," so it's not particularly meaningful to say that the only way to put yourself in check is by moving.

Re:Chess Invariants on Friday May 22, 2026 @10:39AM (#48236550)
Did you mean putting your opponent in check? In chess, you are not allowed to put yourself in check.
Re:Chess Invariants on Friday May 22, 2026 @08:57AM (#48235247)
That's a consequence of not being allowed to put yourself in check (by any means).
Will we?
Re:Ask HN: Weird Archive.today Behavior? on Thursday January 15, 2026 @02:41AM (#46629332)
Sometimes HN admins revive quality posts that didn't get much traction when they were first posted. When this happens, the timestamps are updated to make the post look new.

I can't say for sure whether this is what happened here, but it is a possible explanation.

The comment you're replying to already mentions this.
Re:Start your meetings at 5 minutes past on Saturday January 10, 2026 @03:17AM (#46563832)
Works best when your meetings are 40 minutes long
Re:Open Infrastructure Map on Thursday January 08, 2026 @02:48AM (#46538433)
More info on Wikipedia: https://en.wikipedia.org/wiki/Texas_Interconnection

> The Texas Interconnection is maintained as a separate grid for political, rather than technical reasons

Re:Some Epstein file redactions are being undone with hacks on Wednesday December 24, 2025 @04:38AM (#46374063)
steganography — stenography is courtroom transcription
Re:Kilauea erupts, destroying webcam [video] on Sunday December 07, 2025 @02:28AM (#46179911)
The AI narration was off-putting, but the video footage was cool.
Re:We should all be using dependency cooldowns on Saturday November 22, 2025 @01:57AM (#46012729)
The dependency has just come out of the oven, so it's too hot and must cool down ;)
Re:Why I Code as a CTO on Sunday October 26, 2025 @06:54PM (#45715817)
I would say that's the job of a CTO
Re:Apple M5 chip on Wednesday October 15, 2025 @06:51PM (#45599293)
The MacBook Pro has had a 120 Hz screen for nearly half a decade. And of course, external displays can support whatever resolution/refresh rate, regardless of the OS driving them.
Re:FCC Accidentally Leaked iPhone Schematics on Monday September 29, 2025 @02:36PM (#45417200)
Actually this Reddit post predates that "original source" by several hours: https://old.reddit.com/r/apple/comments/1ntc1gt/the_fcc_has_...
Re:It's DE9, Not DB9 on Saturday July 26, 2025 @12:53PM (#44695434)
Not connector related, but I can't tell you how many people use time zones like PST year-round. The ST stands for "standard time," meaning not Daylight Saving Time. Right now, PDT would be appropriate.

The thing that kills me is that they could just say "PT" or "Pacific time" and be right, with less effort.

I always know what they mean, but it's wrong for more than half the year.

Does narcissist rhyme with arsonist? ("Narsonist")
Re:CLion Is Now Free for Non-Commercial Use on Wednesday May 07, 2025 @10:31AM (#43916212)
I believe that's the point being made by the comment you're replying to
Re:Someone at YouTube Needs Glasses on Wednesday April 30, 2025 @05:47PM (#43851059)
I think a negative video is a requirement that you upload one before you may continue
> There are no bans on books discussing such matters.

contradicts

> Public schools may ban books

I think your explanation of async, while true, doesn't get at what's special about async. The explanation seems true of (non-parallel) concurrency as well (for example, thread scheduling on a one-core CPU).
Re:No GPS required: our app can now locate underground trains on Wednesday November 13, 2024 @10:01AM (#42126627)
I used this feature in the New York subway last week. I didn't know it was new. It's a cool idea, but it didn't work for me. The app said that the train was several stops behind its actual location.
Re:Adding Syntax to the CPython Interpreter on Saturday October 19, 2024 @02:45PM (#41889718)
In Ruby, the `if [condition]` modifier at the end of a line is used for more cases than just assignment. For example, `return if s.blank?` and `raise "invalid" if input.length > 100`. In Ruby, this pattern makes it clear that the statement is only executed if the condition is met.

I'm not advocating for this feature to be added to Python, just explaining why it's not confusing in Ruby.

Re:Adding Syntax to the CPython Interpreter on Saturday October 19, 2024 @11:11AM (#41888248)
Yeah, it would be confusing. In Ruby, this would leave spam unmodified.
Re:Can You Get Root with Only a Cigarette Lighter? on Monday October 07, 2024 @11:50AM (#41767211)
The motivation in the introduction is rooting/jailbreaking a handheld game console. I think this is a perfectly plausible situation where you have physical access but still want to obtain "unauthorized" access.
Re:AeroSpace is an i3-like tiling window manager for macOS on Thursday June 06, 2024 @10:53PM (#40604856)
I started using this at work about a week ago. Still getting used to it, but it feels nice for managing multiple displays. Sometimes it feels limiting, but I think I'm just getting used to it.
Re:Japan's Space One rocket explodes seconds after liftoff on Tuesday March 12, 2024 @11:02PM (#39687668)
Seems like something went wrong
Re:Chicago Underground Pedway [pdf] on Tuesday February 13, 2024 @01:33AM (#39355137)
…unless your destination is in the Forest Park direction ;)
Re:How iTunes Is Changing on PC on Thursday February 08, 2024 @10:21AM (#39302933)
"Please fuck off"

Older »