Category Archives: News

Shared items and notes from my feeds and browsing. Subscribe as feed.

Compiling History: A brief tour of C compilers

Source: Hacker News

Article note: It's a great premise for an article but this one is ...bad. Unix was apparently "developed on the PDP-10/11" - The PDP-10 was an unrelated 36-bit mainframe, most of early Unix happened on a PDP-11 - a 16-bit minicomputer, and the very beginnings of Unix were on an extra shitty 18-bit PDP-7 minicomputer. That was apparently the beginning of writing OSes in high level languages - Burroughs says Hi with MCP written in ESPOL and later NEWP a decade earlier. It kind of skips all the interesting C porting stuff - which influenced architectures in fascinating ways - and especially all the early microcomputer C implementations.
Comments
Posted in News | Leave a comment

AMD Funded a Drop-In CUDA Implementation Built on ROCm: It’s Now Open-Source

Source: Hacker News

Article note: Interesting. Intel and AMD have each pumped at least a year of funding into this thing, and both backed out after their initial commitment, but there is now a vaguely-complete open source CUDA runtime for other targets. The HN thread seems to have a hard time understanding that Nvidia has (1) been co-evolving CUDA and their chips, so executing CUDA code on non-Nvidia-architecture parts will always be at a disadvantage. (2) Nvidia embedded a bunch of blackbox runtime behavior into CUDA that is necessary for the execution semantics but not exposed in the APIs, because it was convenient and/or to throw off competing implementations. (3) Nvidia has shown a great deal of willingness to spend resources preventing competing implementations (like when they bought PGI from ST) (4) Nvidia has been treadmilling the CUDA APIs for years, to iteratively improve user experience and/or to throw off competing implementations. No reason to think they'll stop. (5) The way _most_ of the user base works, CUDA looks more like a high-level assembly, not the language they work in, so there isn't actually that much CUDA code in the world. For the big money example, most of the AI boom has been built on higher level abstractions (...and reusing other people's code), so you only need to write a eg. torch backend for a different target, not for every user to rewrite a bunch of their own code. Rolling with that example, there are _already_ Intel/oneAPI and AMD/ROCm backends in torch that Intel and AMD should prefer to perpetually playing catch-up with CUDA.
Comments
Posted in News | Leave a comment

Orbital’s Hartnoll brothers look back

Source: Hacker News

Article note: Orbital (especially orbital2/brown) has been in the soundtrack of my life for decades, but I hadn't given their recent stuff a listen until I saw this. It's good. I'm really enjoying Optical Delusion.
Comments
Posted in News | Leave a comment

Running UNIX On A Nintendo Entertainment System

Source: Hack a Day

Article note: LUnix is among the oldest and most impressive "Levering UNIX-like systems onto unsuitable potatoes" projects. 6502-likes are unsuitable for C-like languages, unsuitable for preemptive multitasking, unsuitable for addressing reasonable amounts of memory... and here we are, doing it on a even feebler variant.

Who wouldn’t want to run a UNIX-like operating system on their NES or Famicom? Although there’s arguably no practical reason for doing so, [decrazyo] has cobbled together a working port of  Little Unix (LUnix), which was originally written for the Commodore 64 and 128 by [Daniel Dallmann]. The impetus for this project was initially curiosity, but when [decrazyo] saw that someone had already written a UNIX-like OS for the 6502 processor, it seemed apparent that the NES was too similar to the C64 to not port it.

Much of this is relatively straightforward, as the 6502 MPU in the C64 is nearly identical to the Ricoh 2A03 in the NES, with the latter missing the binary-coded decimal support, which is not a crucial feature. The only significant roadblock was the lack of RAM in the NES. The console has a mere 2 KB of RAM and 2 KB of VRAM, which made it look anemic even next to the C64. Here, a Japan-only accessory came to the rescue: the Famicom Disk System (FDS), which is a proprietary floppy disk-based system that slots into the bottom of the Famicom and was used for games as well as storing saves back in the day.

By using a Famicom with FDS, it was possible to gain an additional 32 kB provided by the FDS, making the userspace utilities available in the shell. The fruits of this labor are available on [decrazyo]’s GitHub, which works well enough that he could also pop it up on an EverDrive cartridge that supports FDS ROMs and boot it up on an unmodified NES. Whether this is cooler than the NES-OS, which we covered previously, is up for debate.

Incidentally, [Maciej Witkowiak] seems to have resumed development on LUnix, with a new release in 2023, so maybe UNIX-on-6502 may see a revival after a few decades of little happening.

Posted in News | Leave a comment

Canada declares Flipper Zero public enemy No. 1 in car-theft crackdown

Source: Ars Technica

Article note: "This general purpose tool exposed that several car manufacturers did negligent things in shipping products, so we're going to go after the tool instead of holding the manufacturers accountable."
A Flipper Zero device

Enlarge / A Flipper Zero device (credit: https://flipperzero.one/)

Canadian Prime Minister Justin Trudeau has identified an unlikely public enemy No. 1 in his new crackdown on car theft: the Flipper Zero, a $200 piece of open source hardware used to capture, analyze and interact with simple radio communications.

On Thursday, the Innovation, Science and Economic Development Canada agency said it will “pursue all avenues to ban devices used to steal vehicles by copying the wireless signals for remote keyless entry, such as the Flipper Zero, which would allow for the removal of those devices from the Canadian marketplace through collaboration with law enforcement agencies.” A social media post by François-Philippe Champagne, the minister of that agency, said that as part of the push “we are banning the importation, sale and use of consumer hacking devices, like flippers, used to commit these crimes.”

Read 19 remaining paragraphs | Comments

Posted in News | Leave a comment

VirtualBox KVM Public Release

Source: Hacker News

Article note: Interesting. I use VirtualBox because USB device passing actually-fucking-works (I can hot-plug a thing that I only have Windows drivers for into my Linux host running a Windows VM, with the vid:pid filter set, and it just gets delegated), and the libvirt front-ends are sort of unbelievably terrible where VirtualBox's is decent. I'd really like to migrate to a fully open source not-Oracle-licensed-plugin solution, so things that move the functionality closer together - even from the other direction like this - are exciting.
Comments
Posted in News | Leave a comment

“Wherever you get your podcasts” is a radical statement

Source: Hacker News

Article note: It's sort of amazing that a thing named for a vendor jail appliance is one of the last great examples of successful ecosystems built out of vendor independent open protocols/standards instead of some kind of rentseeking roach motel. Even though all those rentseeking roach motels are hosted on top of infrastructure that is previous successful vendor-independent open standards.
Comments
Posted in News | Leave a comment

The three million toothbrush botnet story isn’t true

Source: Hacker News

Article note: It's such a good (fictional) example. It's also such a classic "almost no one checked the references, and the person who propagated it misunderstood what they read." scenario.
Comments
Posted in News | Leave a comment

Netflix: Piracy Is Difficult to Compete Against and Growing Rapidly

Source: Hacker News

Article note: The moderately priced, readily navigable, nearly one-stop-shop, largely ad-free option has fragmented into a bunch of overpriced rent-seeking entities with small and constantly shifting catalogs hidden behind wretched UX, with increasing ad penetration. The conditions that incentivized piracy returned, so piracy is ramping back up. Not a mystery. The media industry can build a large number of interchangeable distributors all of which can get to all the content via reasonable terms (like a retail or FRAND situation), or consolidate into a small number of services (studios produce content and sell via an independent distributor) or... try to squeeze and everyone goes back to piracy until the industry is forced to contract and reconsider, which seems to be the plan.
Comments
Posted in News | Leave a comment

Researchers taking on fraudulent science

Source: Hacker News

Article note: This awesome work by people who seem delightful, but unless we address the structural incentives that make fraud (and other flavors of chicanery like deceptive hyping, fad chasing, and simulation-encodes-bogus-assumptions tautology proving) more effective as career strategies than honest research work (and/or instructional work!), it's a losing battle.
Comments
Posted in News | Leave a comment