Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. OpenJev(openjev.com ↗)
    7comments
  2. Jemalloc 5.4.0(github.com/jemalloc ↗)
    44comments
  3. The scourge of x86 emulation(fex-emu.com ↗)
    27comments
  4. Astra for Law(openai.com ↗)
    566comments
  5. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    133comments
  6. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    222comments
  7. Qwen 3.8 Omni Flash(qwen.ai ↗)
    82comments
  8. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    169comments
  9. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    34comments
  10. Wax motor(wikipedia.org ↗)
    70comments
  11. When the fractional part of a float fixes your shader(crocidb.com ↗)
    1comments
  12. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    232comments
  13. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    155comments
  14. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    11comments
  15. Replacing Pull Requests with Delta(zed.dev ↗)
    2comments
  16. How to Write with an LLM(sockpuppet.org ↗)
    101comments
  17. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    6comments
  18. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    24comments
  19. Why Does the Universe Expand?(cosmicave.org ↗)
    57comments
  20. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    58comments
  21. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  22. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    26comments
  23. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    41comments
  24. Apple detectives solved mystery of ancient tree and rewrote the history of fruit(scientificamerican.com ↗)
    11comments
  25. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    370comments
  26. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    107comments
  27. The most important product decision is what you don't build(liamnugent.me ↗)
    39comments
  28. CrowdSec Source Code Leak(crowdsec.net ↗)
    49comments
  29. Fixing an NZXT Signal 4K30 part 2: the green/pink video bug(downtowndougbrown.com ↗)
    10comments
  30. How Uber Protects Against Retry Storms(uber.com ↗)
    42comments

QEMU Advent Calendar

239 pointsby 9y agoqemu-advent-calendar.org
37 comments
9y agoHN ↗

I wonder how many of these could be made to run in the browser now, a-la the Internet Archive.

9y agoHN ↗

Indeed, major kudos to Stefan Hajnoczi, who organised it alone and did a stellar job in 2014!

9y agoHN ↗

For the uninitiated, TempleOS (formerly LoseTheOS) is the work of programmer Terry S Davis, who went schizophrenic. He hangs out on HN, mostly blabbing nonsense, racial slurs, or conspiracy theories, but the rare times he's lucid can be very interesting. More info about him:

http://motherboard.vice.com/read/gods-lonely-programmer

He was shadowbanned, though, because it just wasn't worth putting up with the shit. See this discussion: https://news.ycombinator.com/item?id=7818823

9y agoHN ↗

Terry Davis' crazy is actually pretty easy to understand. He believes that God exists. However, the word of god is a random sentence generator he created (though he would say god willed him to do it). This means he is following the will of an RNG. If he's not trolling (look how long Andy Kauffman would hold a gag), I don't find his zealotry for his version of God much different than other religious zealotry. At least, his schitzophrenia is functional, and it's very interesting to watch software development dictated by an RNG.

There seems to be a correllation between the DSM-IV classification of Aspergers and a predilection to views outside social norms.

if you can get past the blatant and often blinding racism he'd spew on HN, Davis actually had some really interesting insights in his posts. Shame they were all greyed-out.

9y agoHN ↗

I looked at the RNG in TempleOS out of curiosity. I assumed he was mixing in some noise sources that could be explained as some kind of universal communication subchannel from god. Here's the relevant code (in HolyC of course):

  I32 RandI32()
  {//Random I32. Xor with TimsStamp.
    sys_rnd_seed.i32[0]=(1664525*sys_rnd_seed.i32[0]+1013904223)^GetTSC>>4;
    return sys_rnd_seed.i32[0];
  }

There are very similar RNG functions for signed and unsigned versions of 16, 32 and 64 bit ints. The GetTSC function just calls RDTSC, combines the two 32-bit halves in EAX and EDX and returns the recombined 64-bit TSC.

So the last returned value is used as part of the seed for the next one. The initial seed is set in kend.cpp:

  sys_rnd_seed  =93186752^GetTSC;

I have to admit, I was a bit disappointed that god would be quite so deterministic.

9y agoHN ↗

No, not relevant. I wish someone would invent an ad blocker that instead blocked all gratuitous references to xkcd (i.e. all of them)

9y agoHN ↗

God does not throw dice. Apparently, he does use a linear congruential RNG.

9y agoHN ↗

The God/code part might have some sort of logic to it, but he also likes to go on rants about "the CIA Niggers" that are completely incoherent

9y agoHN ↗

If you think it's easy to understand that some people believe in God while others don't you probably aren't curious enough :)

9y agoHN ↗

He hangs out on HN, mostly blabbing nonsense, racial slurs, or conspiracy theories, but the rare times he's lucid can be very interesting.

I don't feel great about highlighting negative sides of somebody who already has genuine difficulty finding understanding despite (presumably) meaning no harm to others. Especially if you think he may be reading this. I took the liberty of flagging this post.

9y agoHN ↗

Despite the name, I'm sure you're aware that the QEMU Advent Calendar is secular. (I realize you've mentioned it in a sort of tongue-in-cheek manner.)

9y agoHN ↗

My first instinct was to check the predictable URLs for future images and ruin the surprise... luckily they have that covered!

9y agoHN ↗

Hoping for something interesting that isn't x86ish :)

9y agoHN ↗

They did Oberon System one of the previous years, but I don't know if it used the Oberon CPU emulator or an x86 port.

9y agoHN ↗

We're hoping, too -- there's some more ground to cover, let's see how it turns out. :-)

9y agoHN ↗

Oh, forgot to mention, checkout Day-5 -- it's PowerPC-based.

9y agoHN ↗

squeak/pharo

Corman Lisp/Clozure CL/SBCL Common Lisp Interface Manager https://github.com/robert-strandh/McCLIM

meta emu: b-em/atomulator/elkulator/rpcemuspoon/ep128/amstrad cpc/fuse/stella/atari800/hatari/vice/uae/apple II/kegs/basilisk/sheepshaver/vmac/psx/pcsx/mess/EACA Video Genie etc. A lot has compatible FLOSS ROMs included.

sky is the limit: Stellarium

9y agoHN ↗

This is awesome!

I would love to see a qemu image for any of the following:

1. E2 (Erlang OS)

2. TempleOS

3. That new OS Google is supposedly working on

9y agoHN ↗

This is exciting. But I'm already wasting countless hours solving the AoC every day, and I'm backlogged on work. So I'll have to give it a miss for now.

9y agoHN ↗

Thank you for compiling this set of OS images. Being always on the lookout for obscure and non-mainstream OS I was pleased to find a few more and possibly even more in the days to come.

It was always fun to see MnuetOS run a very usable GUI with comprehensive programs all from a single floppy drive back in the days.

For me the above routine has now been replicated by booting macOS, starting VirtualBox Ubuntu VM and installing QEMU inside the VM just to see it boot MenuetOS even faster than bare metal boot ever did.

9y agoHN ↗

Glad that it worked for you. We realised a bit late that mouse was behaving rather oddly inside MenuetOS (at least on my Fedora 24 machine). We were seeing three behaviours: 1) mouse works fine; 2) mouse does not move at all (but you see it); and 3) mouse moves automatically to the right-most border at the start and stays there -- sometimes for ever, sometimes just for a while.

Adding the '-usb -device usb-tablet' to the QEMU command-line gave an impression that it's the cause, by working once, but it quickly reverts to either behaviour 2 or 3 above.

9y agoHN ↗

I'm curious - what would a minimal Linux(?) system consist of that starts qemu at the first opportunity?

Perhaps qemu could even replace init?

9y agoHN ↗

Most likely booting directly to the Xen hypervisor and running VMs from there.

9y agoHN ↗

I don't think qubes comes anywhere close to what the GP was asking for. It's awesome, but it's far from being a minimal linux system to bootstrap qemu. dom0 is a full Fedora install, and it uses Xen.

9y agoHN ↗

Related: Checkout the 'supermin'[1]

<verbatim> Supermin is a tool for building supermin appliances. These are tiny appliances (similar to virtual machines), usually around 100KB in size, which get fully instantiated on-the-fly in a fraction of a second when you need to boot one of them. </verbatim>

[1] http://libguestfs.org/supermin.1.html