News for hackers. Stuff that matters.

turol

Re:The Little Bool of Doom (2025) on Wednesday February 11, 2026 @11:33AM (#46977106)
Unfortunately Doom has a lot of undefined behavior (because it's a 30 year old codebase) so if you enable UBSAN you're inundated with warnings. Finding this specific needle in that haystack would take quite a lot of effort.
Re:Aliasing on Monday December 22, 2025 @04:41AM (#46352636)
For a real world example of how this can affect code check out this commit I made in mesa: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20...
Re:My First Contribution to Linux on Thursday October 09, 2025 @02:01PM (#45531003)
Hieno homma
That is a very good description of the Paranoia RPG.
> There’s probably another name for this

Race to the bottom

Re:Make Ubuntu packages 90% faster by rebuilding them on Wednesday March 19, 2025 @03:04AM (#43408989)
> Right, my humor there was that I'm assuming people specifically did non-debug flags for the build as an optimization.

It used to be the case that the presence of debug symbols would affect GCC code generation. Nowadays that should be fixed. I think it still affects the speed of compilation so if you're building the whole system from source you might want to avoid it.

Re:Performance optimization, and how to do it wrong on Friday March 07, 2025 @04:19PM (#43294822)
I think vtune and toplev will report that as a frontend stall in their topdown metrics.
Re:Why FastDoom Is Fast on Tuesday March 04, 2025 @11:10PM (#43262660)
> In theory it should only be about writing a new build script (not based on `wmake` but on a real `make`). And then workout the tiny flag/preprocessor/C compiler discrepancies.

For mostly C code like the original Doom source, yes. But it looks like FastDoom people have added quite a bit of assembly. That needs to be ported to AT&T syntax. Or you need to find out if Intel syntax works in your version of DJGPP's gas. While this should work nowadays I have not tried it. Then there's other differences like Watcom mapping low memory by default into the low part of the address space but DJGPP needing explicit mapping or access.

Re:Q2DOS – Quake 2 backported to MS-DOS on Saturday February 15, 2025 @03:32PM (#43062042)
The Voodoo 2 completely takes over display output. VESA stuff shouldn't have any effect in this case.
Re:Q2DOS – Quake 2 backported to MS-DOS on Saturday February 15, 2025 @07:14AM (#43057943)
True. I've tried it on a Pentium 166/MMX with a Voodoo 2 and it runs about 15 fps.
Re:Q2DOS – Quake 2 backported to MS-DOS on Saturday February 15, 2025 @07:11AM (#43057934)
If the OS doesn't provide an actual sound API developers will only write support for the most popular sound cards.
Re:Revisiting the DOS Memory Models on Tuesday November 26, 2024 @04:55AM (#42244155)
If you click on the domain name next to the main link you get a filtered view of submissions for just that domain. This way you can easily find the related posts. It looks like this is the fifth submission of this article but the others didn't get many comments.

https://news.ycombinator.com/from?site=blogsystem5.substack....

Re:Secret 3D Scans in the French Supreme Court on Saturday October 19, 2024 @03:07PM (#41889883)
> death match in a museum would be fun too.

https://www.youtube.com/watch?v=fh40nFH4-A0

Re:Judges Rule Big Tech's Free Ride on Section 230 Is Over on Thursday August 29, 2024 @04:42PM (#41395052)
"There has grown up in the minds of certain groups in this country the notion that because a man or corporation has made a profit out of the public for a number of years, the government and the courts are charged with the duty of guaranteeing such profit in the future, even in the face of changing circumstances and contrary to the public interest. This strange doctrine is not supported by statute or common law. Neither individuals nor corporations have any right to come into court and ask that the clock of history be stopped, or turned back."

Robert Heinlein in "Life-Line"

Re:Running DOS Apps on Windows from 1.0 to 95 (2020) on Saturday April 13, 2024 @07:46PM (#40027275)
That does not really work since the only IO was the BIOS-provided one that was 1. synchronous and 2. really slow. If you tried to do that you'd just get insanely bad pauses.
https://github.com/turol/valoserveri

It's for controlling DMX colored lights over network. It takes UDP packets (and later Websocket messages) and turns them into DMX protocol packets which get sent over USB serial adapter to the DMX wire. It's a rewrite of a previous node.js version which had bitrotted.

I think I made the MVP in about 7 hours during one saturday afternoon. Finishing it up took a few weeks more of evenings.

This is not possible. Both disassembly and decompilation are equivalent to the halting problem. At least Mike Van Emmerik's PhD thesis ("Static Single Assignment for Decompilation") mentions this though I'm not sure if that's the original source.
Re:Curl on 100 Operating Systems on Wednesday November 15, 2023 @07:45AM (#38276058)
Strange that they list FreeDOS, DR-DOS and MS-DOS as separate OSes even though they are very similar. They are effectively ABI-compatible, unlike the different Unix flavors.
Re:Making Gaussian Splats more smaller on Wednesday September 27, 2023 @09:59AM (#37674756)
Re:Florida Teen Arrested in Twitter Hack on Friday July 31, 2020 @04:24PM (#24013547)
That one is blocked for Europeans.