News for hackers. Stuff that matters.

monocasa

Sweet, this is basically how I design my protocol implementations in rust as well.

Way more testable, the bulk can be shared between async and blocking IO, it's a lot easier to completely ban unsafe in your dependencies (excepting std and core), etc.

Re:My favourite PowerMac is a Nintendo Wii on Friday October 30, 2026 @06:05PM (#50310758)
It was the first system of a modern design in a lot of ways.

Six hardware threads, so the thread per subsystem model didn't really work. Instead you got the best results from a DAG of tasks submitted to a job stealing scheduler running on most of the CPU resources. But beside that, no little DSPs that you had to separate work out onto other than the GPU.

And it had the first consumer GPU to incorporate unified shaders (so vertex and pixel shaders ran on the same cores, dynamically scheduled to improve utilization).

Jeeze, if it ends up being these https://x.com/israel_elects/status/2115191017066377366 I expect no one can make a government, and we have a new election. The opposition's only real pathway is through adding the Joint List to their coalition (which is the coalition of chiller Arab parties after Ra'am (the Islamist party) left). But that's not really going to happen. And on the opposite side, Yisrael Beteinu was obviously hoping to be the one to switch sides, but they don't have the numbers, basically only The Democrats do (but there's no way they'll switch).

At this point my fictional money is on there's a new election in a few months, it doesn't have the same influx of diaspora helping the opposition since they already just spent thousands flying in and back, and Netanyahu wins again.

They're normally really good, but this is a wild election. Tons of people flying in (you can't vote absentee in most cases in Israel (except settlers in the occupied territories)), and record Arab Israeli turnout mean that a lot of the models that they would use to remove sampling bias aren't that accurate.

https://x.com/israel_elects/status/2115168648520519891

I wish they'd list which parties they're considering part of each bloc and the sub totals.

This was always going to be a bunch of politiking at this point to get some party to switch sides by giving them a ministership that the size of their party wouldn't normally justify.

Also, Chan14 is really silly to say 60 MKs, given that you need 61 and it's so far out from everyone else's data. It's as big of a number as they can say without having too much egg on their face later.

Chan14 is basically the OAN of Israel.
Re:New iMac with M6 on Tuesday October 27, 2026 @04:59PM (#50265724)
Deployments to organizations like .edu that strongly appreciates there's less hassle per seat (and gets them for under wholesale a lot of the time).
Re:Skydance offers buyouts, orders return to office on Monday October 26, 2026 @05:55PM (#50251608)
There's a lot of social network effects. That's why there's such a disparity between the average quality of a Netflix original and an Apple TV one.
Re:SIMD-accelerated computer vision on a $2 microcontroller on Monday October 26, 2026 @04:36PM (#50250548)
The whole point of most of those esp32s being in that metal can module is that they're already tested and have FCC certs. That is, the intentional transmitter is already certified, making intgrators' lives a lot easier.

I bet there's either something the poster isn't telling us, or CBP made a bad call.

Re:Apple Music 404 Not Found on Friday October 23, 2026 @06:26PM (#50216208)
I saw an interview where someone asked woz about getting screwed out of a lot of the Atari money It was apparently new information to Woz, and he simply deflated a little, and muttered "not again, Steve..."

It was heartbreaking.

Re:Google's Rust Style Guide on Wednesday October 21, 2026 @03:59PM (#50186755)
Can anyone expand on the chromium specifc guidelines on super tiny crates, particularly no nesting of modules/source files?

That feels like the ~2010 era of people saying that functions should be as small as possible. That lead me to reviewing a lot of code where every function was one or two lines and you couldn't actually see what was going on anymore through the layers of unneeded abstraction.

I want to give chrome the benefit of the doubt, but that seems really goofy.

Re:Google's Rust Style Guide on Wednesday October 21, 2026 @03:50PM (#50186614)
The point of style guides is to optimize for readability despite a cognitively diverse workforce coding in the same repos.

I would think they're probably even more meaningful in an agentic world.

Shitty generals can't review meaningfully review the work of their troops.

On top of that all, I just enjoy programming itself. It's less and less of the meat of a software job over time, but I was coding before I got paid for it, and I'll probably keep coding well after I can get paid for it.

Re:Facebook now charging to post more than 2 links a month on Tuesday October 20, 2026 @02:54PM (#50170952)
I just wish they'd stop buying promising stuff like Rivos that they're almost certain to ruin on their way down.
Even the gift link puts up a login page these days.
Re:Android apps running native on macOS on Monday October 19, 2026 @05:04PM (#50158037)
People are way ahead of you.

https://github.com/microg/GmsCore

Re:Apple HomeView on Sunday October 18, 2026 @04:40PM (#50145267)
My issue wasn't the correction, it was you being a dick about it. Or did you legitimately think that I wasn't aware of of the fact that different words mean different things?

On top of all of that, the neural network for FaceID currently runs in the secure enclave, and directly controls the fingerprint reader hardware, so it wasn't exactly a leap to think they moved the hardware pathway for the camera there too. My admonishment for doing too much in the secure enclave exists for the current state of the world.

Re:Claude reveals ECDSA curve origins on Friday October 16, 2026 @07:58PM (#50126386)
Yeah, there's not nearly enough iterations here for a practical nobus vulnerability.
Re:What I Self-Host on Thursday October 15, 2026 @07:31PM (#50111808)
A few major vendors (I want to say Microsoft was among them) were infamous for silently dropping email without bounce backs. They'd perform then whole protocol sequence as if they accepted the email, then simply never actually put it in that user's inbox or even spam folder.
Re:It took me nine years to hack my Xbox 360 on Thursday October 15, 2026 @09:03AM (#50103067)
For a while, the PRU blocks in the beaglebone's SoC were popular for similar reasons, but those were an order of magnitude more expensive.
Re:The Double Headed Stack Allocator on Wednesday October 14, 2026 @11:50PM (#50098914)
This is pretty much the old school single threaded unix process model, where the heap grows up from the end of bss and the stack grows down from the top of the process.
Re:your C is not standard C on Wednesday October 14, 2026 @11:46PM (#50098883)
> C23 finally gets rid of _Who _The _Hell _Thinks _Users _Like _This-style _Keywords.

I always took those to mean "we're sure a bunch of you are already using the keyword we wanted to use as typedef in your codebase, so here's something that's in the standard's namespace, and you can typedef it to something sane for your codebase".

Re:Apple HomeView on Wednesday October 14, 2026 @10:17PM (#50098341)
Informing me of the fact that different words mean different things is a pretty prototypical example of being a dick about it.
Re:Problems with the Rust Language on Wednesday October 14, 2026 @07:31PM (#50097081)
> Rust is managed by the Rust Foundation...

Sure, but that's the case for a lot of languages. ANSI X3.159-1989 (aka C89) shows that just about everyone involved was a representative for some big org, almost all commercial or military.

But if the foundation seems like it's mismanaging Rust, the community should feel free to fork it. The trademark isn't super important at the end of the day, it's the community. And the community is very well represented in the Rust Foundation by design AFAICT.

> There is a certain “social momentum” when it comes to the spread of Rust...

People like it, and it excites/inspires them to use it. And it's more than just memory safety. I commonly use it in deeply embedded cases where I'm doing silly stuff like 'unsafe fn main()'. The memory safety isn't the main draw for me. It's mostly the algebraic types, and the abstraction mechanism that's less interested in hiding data/code relationships than c++ is. The borrow checker is just a cherry on top.

That being said, I wouldn't confuse people's excitement for requirements on others. New code should have to make a case for itself on its own merits.

> One of the Rust community’s main passtimes, a meme at this point, is rewriting existing projects into Rust....

I would strongly encourage more rewriting projects.

What I would discourage is them being widely deployed. I do think Canonical jumped the gun a bit on their Rust adoption with sudo-rs and uutils.

> I believe this culture of rewriting existing projects benefits corporations (again).

This is hardly a Rust thing, and I think more on the ebb and flow of the era with new coders not understanding the purpose of the GPL and thinking that MIT/BSD licenses must mean more free rather than the rather nuanced discussions that can be in favor of either. We are starting to see push back on this though thankfully.

I am curious what the state of this looks like in a couple years given the recent bout of borderline forcible open source rewrites via coding agents.

> It’s completely possible that Rust’s compiler contains a backdoor.

This is practically a non issue; there are people who bootstrap Rust from source.

I would also throw out there that we'll probably see agents sifting through binaries before too long. They'll just be looking for exploitable bugs like the current explosion in LLM found security issues.

I would like to see other compilers though.

Re:Apple HomeView on Tuesday October 13, 2026 @04:04PM (#50077831)
Some of us are dyslexic (and given that it's commonly comorbid with ADHD and autism, it's pretty prevalent on HN). You don't have to be a dick about it.

For those following along, the Secure Enclave is a separate core that runs most of the security stuff (including hardware like the fingerprint scanner), and Secure Exclaves are essentially virtual machines on the main AP cores used as a security boundary for specific tasks, kind of like Qubes does.

Re:Apple HomeView on Tuesday October 13, 2026 @01:12PM (#50075177)
That sounds like a bad idea.

The point of a secure enclave is to reduce the attack surface to something you can actually reason about the entire thing.

Sticking more and more in there is asking to defeat the whole purpose.

Re:Phreak.ing – Internet Phone Switch on Tuesday October 13, 2026 @02:45AM (#50067702)
It also changes quite a bit if you enter *#06# as the number.
Re:Nitter: Update Oct 10th seeking funding and legal help on Sunday October 11, 2026 @03:58PM (#50047189)
That determination is rooted in contract law.
Re:Apple/macOS silently removed from official Unix registry on Saturday October 10, 2026 @02:32PM (#50035741)
You would absolutely normally get source to the vast majority of the unix components with a unix install.

At a bare minimum, you would almost have to have source to the vast majority of the kernel because there was no kernel modules. Sysgenning for a particular system involved compiling the kernel for that set of hardware.

I'm literally working on an early sun system emulator right now, heavily assisted by the standard sec tape that came with the standard software distribution of sunos, which has plenty of AT&T code.

> The courts have found that legally, one officer recording one person is no different from a large-scale, automated surveillance system recording everyone.

That is not the case. It hasn't been truly tested, and there are very strong hints in SCOTUS's previous opinions that scale dramatically changes the equation for them.

Of course SCOTUS is currently much more amenable to the idea of changing their mind, so who knows how it'd actually hit, but it's far from decided law in the US.

For one example, Sotomayer's concurrence in US v. Jones (2012)

> Awareness that the Government may be watching chills associational and expressive freedoms. And the Government’s unrestrained power to assemble data that reveal private aspects of identity is susceptible to abuse. The net result is that GPS monitoring—by making available at a relatively low cost such a substantial quantum of intimate information about any person whom the Government, in its unfettered discretion, chooses to track—may “alter the relationship between citizen and government in a way that is inimical to democratic society.” United States v. Cuevas-Perez, 640 F. 3d 272, 285 (CA7 2011) (Flaum, J., concurring).

> I would take these attributes of GPS monitoring into account when considering the existence of a reasonable societal expectation of privacy in the sum of one’s public movements. I would ask whether people reasonably expect that their movements will be recorded and aggregated in a manner that enables the Government to ascertain, more or less at will, their political and religious beliefs, sexual habits, and so on. I do not regard as dispositive the fact that the Government might obtain the fruits of GPS monitoring through lawful conventional surveillance techniques. See Kyllo, 533 U. S., at 35, n. 2; ante, at 11 (leaving open the possibility that duplicating traditional surveillance “through electronic means, without an accompanying trespass, is an unconstitutional invasion of privacy”). I would also consider the appropriateness of entrusting to the Executive, in the absence of any oversight from a coordinate branch, a tool so amenable to misuse, especially in light of the Fourth Amendment’s goal to curb arbitrary exercises of police power to and prevent “a too permeating police surveillance,” United States v. Di Re, 332 U. S. 581, 595 (1948).*

Re:Imposing Sanctions on the International Criminal Court on Friday October 09, 2026 @03:03PM (#50025200)
We're not talking about eating meat; we're talking about crimes against humanity.

And you would have had to break this law in a territory that also was a signatory of the Rome statute. This isn't some out of jurisdiction or ex post facto form of law.

So for instance, US military personnel couldn't be arrested up for crimes that occured in Iraq, because Iraq is not a signatory of the Rome statute.

So your example doesn't make sense unless you ate meat somewhere else that it was also explicitly banned, and then went to another country that had the same cross agreement to arrest people in the combined territories.

Older »