News for hackers. Stuff that matters.

pwdisswordfishq

Re:Grieving the Loss of Details on Saturday October 10, 2026 @01:38PM (#50035216)
> I first became familiar with computing when I saw the history scene in Tron: Legacy

Thanks for making me feel old

Re:C for Rust Programmers on Saturday October 10, 2026 @01:24PM (#50035071)
Yes. And this is what C++ iterators evolved from.
Re:C for Rust Programmers on Saturday October 10, 2026 @11:10AM (#50033717)
isize and usize seem to be more like intptr_t and uintptr_t. To be fair, for a long time it was not very well-defined to which C type they correspond to; I think that was cleared up only recently.

It's also a shame the article uses the self-delusional C++ style of pointer declarators.

Otherwise pretty okay.

Re:C for Rust Programmers on Saturday October 10, 2026 @11:03AM (#50033668)
I have known about this for quite some time, and the more I think about it, the more useless it seems. Sure, the underlying machine operation is just addition, which is indeed commutative, but at the type system level, the pointer and the offset have distinct roles. It just makes no sense to allow to commute them, just like it makes no sense to allow to commute arguments to, say, strchr, just because the compiler can figure it out by looking at the types. When was the last time you had a practical reason to write "offset + pointer" or "index[array]"?

In most languages, the indexing operator is not commutative. In Rust, pointer offseting is expressed as a function call or a method, also not commutative. I have never seen a single complaint about either. It's not something people want or care about, it's just a tedious detail.

Re:Beauty in DVD Menus on Friday October 09, 2026 @01:43AM (#50016443)
> Authoring on HD-DVD on the other hand was based on web standards we all know HTML, javascript, XML, CSS.

Oh hell no

Re:New gTLD Application for .lan on Thursday October 08, 2026 @12:19PM (#50007745)
God forbid OpenWrt ever receives an update or something.
Re:It may soon be possible to create "mirror life" on Wednesday October 07, 2026 @09:43AM (#49992782)
As if you could not tell by the shape of the glyph.
Re:The complement of true is true, except when it's false on Tuesday October 06, 2026 @07:57AM (#49977162)
I wonder if [[=std::bitmask_type]] also enables compiler warnings that a switch statement is not exhaustive if it does not cover all possible flag combinations.
Reverse plagiarism, to be exact.
> For context, 13 million gallons is enough to fill around 20 Olympic-size swimming pools

Anything but metric.

Re:Why don't more developers "use the platform"? on Sunday October 04, 2026 @06:31AM (#49952574)
Oh great, so where does DOM provide that function?
Re:Why don't more developers "use the platform"? on Sunday October 04, 2026 @03:01AM (#49951384)
Does onchange → setCustomValidity not do the job?
Re:Why don't more developers "use the platform"? on Sunday October 04, 2026 @02:54AM (#49951344)
For starters, that it introduces weird special cases to DOM parsing and structure, thereby breaking .isEqualNode whenever <template> elements are present.
Re:Nvidia wants to put a watchdog chip next to every AI agent on Tuesday September 29, 2026 @05:08AM (#49890263)
Watchdog chip? As in something you have to periodically signal or it reboots the system? How is that going to help?
Re:When did Google get so f-ing weird? on Monday September 28, 2026 @03:50AM (#49874837)
> how to find information online -> how to evaluate and rate itegrity of internet sources

You were lucky to have that part. Mine, as I remember, was just Microsoft Office throughout.

Re:Show HN: Avoid smooth spinners, use low-FPS spinners on Friday September 25, 2026 @06:24AM (#49842521)
To be fair, those do spin, while "spinners" don't.
Re:F-Droid 2.0: A New Chapter for Android Freedom on Friday September 25, 2026 @03:31AM (#49841310)
Even more reason not to add superfluous visual flourish.
I never expected to find a circumstance in which this article would be relevant, but here I am.

https://jdebp.uk/FGA/dont-use-self-decrypting-files.html

I mean, basing this on HTML arguably mitigates the portability and vulnerability concerns, but the problem of trusting the decrypted contents still remains.

Re:I said no and Apple said yes on Tuesday September 22, 2026 @10:40AM (#49802100)
People without much technical capability don't use the word "bricked" at all.
GNU C does the same: memory copies can be optimized into memcpy, various operations can be realized as calls into libgcc, etc.
Re:I didn't sign the Fields medallists' letter on Friday September 18, 2026 @04:15AM (#49751526)
I'm pretty sure the interism was spoonentional.
Ah, yes, "fixing" the broken American rule for attorneys' fees by corrupting the justice system even further.
Re:US confirms for first time it has deployed space weapons on Tuesday September 15, 2026 @06:04AM (#49710140)
Not that the US ever gave a shit about international treaties.
Re:Clay Mathematics Institute on the Navier-Stokes Problem on Saturday September 12, 2026 @04:53PM (#49677083)
He had principals, while OpenAI had agents?
Re:“Tweet” and the bird logo apparently enter the public domain on Wednesday September 09, 2026 @01:56PM (#49630574)
A lapsed trademark can still be under copyright, right?
And why would they care what the average person thinks about a merger?
Re:There's a new "Google Jail" for independent wikis on Tuesday September 08, 2026 @08:53AM (#49609692)
I remember when it was called Wikicities.
Re:Is Advertising Morally Justifiable? on Monday September 07, 2026 @08:15AM (#49597441)
Betteridge's law of headlines.
Re:Reverse Engineering Unknown File Formats with ImHex on Thursday September 03, 2026 @10:56AM (#49550831)
A few attempts using it over the years has usually resulted in frustration and giving up after determining it to be a non-starter.

Past attempts to use after downloading and running it natively have revealed it to be very crashy. Trying the browser-based demo today and doing the first thing that comes to mind (loading a ZIP) produces an error that the pattern language interpreter can't resolve the "import std.mem" line, for which there seem to be no hits on Google.

The poor font rendering is also not ideal, nor the fact that the "immediate mode" approach to the GUI (perversely favored by the kinds who tend to identify with software craftsmanship, including ostensible focus on performance, including opposition to bloat and unnecessary resource use) also means fans are constantly spinning up. Running these kinds of apps is basically the same as running a game...

Older »