News for hackers. Stuff that matters.

hmry

Re:Type Server Protocol on Tuesday October 27, 2026 @04:35AM (#50256119)
The column is measured in UTF-16 code units
Re:Type Server Protocol on Tuesday October 27, 2026 @03:43AM (#50255769)
In LSP, UTF-16 is not just for transport. Source locations are also referred to by their UTF-16 offset. That means applications are required to store a persistent mapping from UTF-16 offsets to whatever they use internally, keep that mapping updated as the document is edited, and map back and forth constantly.

Oh well. It was primarily designed to be a good protocol for VSCode, not for any other users

Re:No Need for Retirement When Utopia Is Around the Corner on Friday October 23, 2026 @11:24AM (#50210614)
You don't get one, because UBI is an attack on your dignity as a worker.

Unlike being laid off because AI replaced your department, that's very dignified.

Re:Remove pgrust: the entry is cheating on Friday October 23, 2026 @09:54AM (#50209031)
> acknowledges the issue

I don't see any acknowledgement in that text.

Re:Google's Rust Style Guide on Thursday October 22, 2026 @08:03AM (#50194179)
Without #[non_exhaustive], adding a variant is always a semver breaking change.

With #[non_exhaustive], adding a variant is not a breaking change, but only if that variant can safely be ignored. If it can't be, then it's still a breaking change, BUT you don't get a compiler error. That's a very big drawback IMO.

This makes me think of how the PNG format handles this. For context, PNG files consist of a list of chunks of different types (image data, color profile, text comment, etc). Each chunk has some flag bits that tell you whether it can be safely ignored when decoding the image, safely retained when the image data is changed, etc. That way the decoder can ignore unknown ignorable chunks and error on unknown non-ignorable ones.

Once the fix is released, people will reverse-engineer it and use the exploit on pages that haven't updated yet.

So they need to give time for infra people in all different time zones to wake up, learn about the announcement, and plan how to patch it.

The intended course of action is 1. take down website a few hours before the fix drops 2. apply the fix 3. only make website public again after it has been fixed

Re:Grace Hopper Celebration Cancelled on Wednesday October 14, 2026 @12:26PM (#50090304)
No worries! :)
Re:Grace Hopper Celebration Cancelled on Wednesday October 14, 2026 @12:03PM (#50089809)
I don't understand why you're replying to me like that

> You understand that ...?

Yes I do

Re:Apple Keynote now showing ads in its UI on Wednesday October 14, 2026 @11:54AM (#50089664)
I remember seeing this back in January
Re:Grace Hopper Celebration Cancelled on Wednesday October 14, 2026 @05:13AM (#50084649)
(Legally as in, using the legal system)

DOJ sued Deloitte over DEI programs, they ended up settling for $21.5 million: https://www.reuters.com/legal/government/deloitte-pay-215-mi...

Texas Attorney General declared DEI initiatives unconstitutional in a legal opinion: https://www.gibsondunn.com/texas-attorney-general-declares-p...

Several state Attorneys General sent legal threats to 20 major law firms over DEI: https://www.reuters.com/world/us/republican-led-states-deman...

Texas Attorney General warned major banks that DEI programs violate feduciary duty: https://today.westlaw.com/Document/Ibce2fdc5dcec11efb708bbad...

Re:A Modern Web App in C on Tuesday October 13, 2026 @07:47AM (#50070146)
I personally found implementing an HTTP2 server from scratch quite difficult. The parsing and state machine was okay (and is also the easiest part to get from an external library), but correctly handling stream priority / bandwidth sharing and backpressure was really hard. Of course one could go HTTP1.1-only, but then you're losing out on the efficiency gains anyway :/
I'm a bit surprised the judges themselves didn't spot that it was AI. It immediately starts with things randomly appearing out of nothing.

AI-generated fake footage in medical science is one of the things that worries me a lot these days. Now there's practically a constant stream of papers getting retracted due to fake AI-generated microscopy, before/after photos, plots(!), ...

New frontiers in genuine ink cartridge enforcement, I'd suggest patenting that before Canon and HP can
Re:Shipping JPEG XL in Chrome on Wednesday October 07, 2026 @01:25PM (#49995927)
When writing GPU shaders it's not uncommon to use extensions like ".vert.glsl" = "vertex shader written in GLSL", ".frag.hlsl" = "fragment shader written in HLSL", etc.
Re:The Effect of CRTs on Pixel Art on Monday September 21, 2026 @02:10AM (#49783587)
Yeah it seems very clear that the cheapest artstyle of the future will be whatever AI can output with minimal human editing or involvement. And some studios will go that route.

Although I don't see AI in game art becoming accepted by the wider public any time soon, and definitely not by the indie crowd.

I've also been thinking about this for animation. I foresee cheap limited animation (sliding layers, only mouth moving, etc) being replaced by incoherent un-/barely edited AI output instead.

Re:27.5KB language-agnostic WebGPU syntax highlighter on Tuesday September 08, 2026 @10:50PM (#49620240)
Firefox Android doesn't support WebGPU yet
Re:Making a Python interpreter in 1024 bytes on Sunday September 06, 2026 @10:16PM (#49593077)
Oh, that's really elegant! I've got a whitespace sensitive language of my own, and I think I'll change it to use that rule! Thanks!

(Until now, I went with the standard approach: Remember the leading whitespace of the previous line. Then compare with the new line's leading whitespace: If they are the same, then no change in indentation. If the old one is a prefix of the new one, it's an indent. If the new one is a prefix of the old one, it's a dedent. If neither, it's an error)

Re:Making a Python interpreter in 1024 bytes on Sunday September 06, 2026 @10:09PM (#49593038)
You're right, mathematically it's undeniably true. However...

One could imagine an even smaller subset interpreter. It's an interpreter for a subset of Python, consisting only of the programs that print "Hello World". Since it doesn't do any error checking, for all other programs the output is undefined. Implementing it is very simple: Just ignore the input file, and print "Hello World". As a bonus, it's an interpreter for the subset of "Hello World" programs in all other programming languages too!

</tongue-in-cheek>

Re:QBittorrent breaks out of sandbox to commit crimes on Sunday September 06, 2026 @12:08PM (#49587891)
From what I have experienced, people justifying their own piracy usually think about it in terms of refusing to give unethical/monopolistic publishers money. The fact that it results in money not going to the author is sort of abstracted away, by the fact that the publisher is in between. (Some also walk the walk and donate to the artists and authors directly in some way, but many don't.)

The AI arguments I've seen are instead usually justifying it like "We're democratizing those skills. You shouldn't have to learn art/writing/coding or pay someone else in order make what you imagine, and training AI on pirated stuff is worth it for the greater good." So the fact that it will result in artists not getting paid is much harder to ignore and unavoidable in that line of thinking.

Re:Iceland votes on whether to restart talks on joining EU on Saturday August 29, 2026 @10:49AM (#49490384)
But the person you are responding to didn't say "any and all borders are racist, including borders in your own home". You are the one misrepresenting their argument.
Re:Iceland votes on whether to restart talks on joining EU on Saturday August 29, 2026 @10:38AM (#49490278)
"Advocating open national borders means you must let random strangers live in your house" a truly reasonable and not at all disingenuous argument. On par with "advocating socialism means you must let random strangers use your toothbrush".
Your comment has three hands, that's the kind of collaborative communication style we should all aspire to.

Personally, I suspect good writers will adapt in due time, not because they don't want to sound like AI, but because they don't want to sound cliche. Even the ones stubbornly holding on to their em-dashes.

The ones hit hardest will be the mediocre writers, who have always relied on cliches. Their writing will become indistinguishable from reading chatbot output.

At least that's my prediction.

Re:Copyright does not protect AI-generated content in EU on Thursday August 20, 2026 @10:53PM (#49383154)
> I made minor modifications post-generation (open question, probably enough)

Hmm I don't think that would be enough. I'd expect that would only make the modifications themselves copyrightable, but not the whole modified work including the AI parts.

Compare for example the case where the US copyright office ruled that, when assembling AI-generated images and human-written text into a comic book, only the human-made elements themselves (text, arrangement) get copyright protection, but not the images.

E.g. if you generate an AI photo and color grade it, i expect only the color grading would be protected (if that is even significant enough to be protectable), not the rest. And someone else could re-color-grade the same image without infringing your copyright.

Re:Consumer Rights Wiki on Thursday August 20, 2026 @07:13PM (#49381559)
"The website search company sells a tool to make websites", just another entry in the looooong list of Google's conflicts of interest
Re:Malicious Rust crate Arrayref runs a build-time payload on Thursday August 20, 2026 @12:03PM (#49376483)
I would like to know too, but the author's Github account seems to have been deleted, and the crates.io releases have been completely deleted too (not just yanked) so it seems impossible to view the file :/
Re:Incident with Github.com on Monday August 17, 2026 @10:38AM (#49331778)
https://vimeo.com/355556831

We don't care. We don't have to. We're the phone company.

Re:RISC-V: They Should Have Known Better on Saturday August 15, 2026 @11:33PM (#49316656)
ESP8266 uses an Xtensa CPU like the ESP32 (just a non-customizable preset)
Re:Os8088: A powerful Mac-like OS for the IBM XT, 286, 386 on Sunday August 09, 2026 @05:17AM (#49229778)
Yeah, that works for making sure the machine isn't constantly crashing.

Although from a security point of view it's still very bad. Every compiler / JIT has bugs, and bugs that let you write to random or arbitrary memory adresses are a rather common kind.

Doesn't really matter for a hobby project though

Re:Dithered QR Codes on Sunday August 09, 2026 @12:47AM (#49228534)
That's absolutely hilarious
This is about the ACM licensing it to for-profit AI companies, who will then make you pay a subscription to access the knowledge. Not about making it "freely available to the public."

Older ยป