HNHacker News
TopNewBestAskShowJobs

0xf00ff00f

664 karma · joined February 20, 2022

same username on github/twitter
submissionscomments
0xf00ff00f··on Show HN: Galaxium, an experimental WebGPU space explorer
This looks great, amazing job! Love the motion blur effect.
0xf00ff00f··on We are retiring our bug bounty program
They're offering bounties: https://github.com/UnsafeLabs/Bounty-Hunters/issues
0xf00ff00f··on Mercurial Dyson – a plan for the disassembly of planet Mercury
Pretty sure the idea predates that lecture, it appears in Charles Stross' novel Accelerando from 2005 (which is based on short stories that were published years earlier).
0xf00ff00f··on Why Doesn't Anybody Realize We're Going Back to the Moon?
This is the first time humans go beyond LEO in my lifetime, so personally I'm pretty excited.
0xf00ff00f··on My astrophotography in the movie Project Hail Mary
No spoilers please, not everyone has seen the movie!
0xf00ff00f··on Where did all the starships go?
Stephen Baxter's short story "Pilot" is another good one:

https://www.stephen-baxter.com/stories.html#pilot

0xf00ff00f··on Google Antigravity
Same, I thought they had discovered cavorite with their quantum computer or something.
0xf00ff00f··on Simulating a Planet on the GPU: Part 1 (2022)
You can do all that with Vulkan and RenderDoc.
0xf00ff00f··on Is there a no-AI audience?
Maybe people mean GenAI. Back then, AI meant stuff like computer algebra systems like Macsyma which produce deterministic, provably correct results. I'm totally OK with that kind of AI. What I don't like are probabilistic text generators getting shoved into absolutely everything.
0xf00ff00f··on Calculating the Fibonacci numbers on GPU
Great video, thanks for the link!
0xf00ff00f··on LibreLingo – FOSS Alternative to Duolingo
Many language learning books used to come with audio media. I'm old enough to own a few that came with cassette tapes.

Books are still worthwhile IMO, if only because they provide a bit of structure to one's learning. With free resources it's way too easy to become paralyzed by choice.

0xf00ff00f··on Pipelining might be my favorite programming language feature
I cheated a bit, I omitted the namespaces. Here's a working version: https://godbolt.org/z/1rE9o3Y95
0xf00ff00f··on Pipelining might be my favorite programming language feature
First example doesn't look bad in C++23:

    auto get_ids(std::span<const Widget> data)
    {
        return data
            | filter(&Widget::alive)
            | transform(&Widget::id)
            | to<std::vector>();
    }
0xf00ff00f··on Nepenthes is a tarpit to catch AI web crawlers
> The websites I run generally have a honeypot page which is linked in the headers and disallowed to everyone in the robots.txt, and if an IP visits that page, they get added to a blocklist which simply drops their connections without response for 24 hours.

I love this idea!

0xf00ff00f··on Assembly Optimization Tips by Mark Larson (2004)
Also, x86 has an instruction that multiplies two 32-bit registers and stores the 64-bit result in two 32-bit registers. So you get the result of the division in the register with the high part of the multiplication result, and don't need to do a shift.
0xf00ff00f··on Even Microsoft Notepad is getting AI text editing now
Same as Strava, now it has a completely pointless AI assistant.
0xf00ff00f··on Ask HN: What's the most creative 'useless' program you've ever written?
Hey, I've seen some of your IOCCC entries. Even had some fun trying to understand them back in the day.

IOCCC gang rise up. This is mine: https://www.ioccc.org/years.html#2005_persano

0xf00ff00f··on Rodney Brooks’s Three Laws of Robotics
Also relevant: https://en.wikipedia.org/wiki/Moravec%27s_paradox
0xf00ff00f··on Interstellar movie black hole implemented with Einstein's equations in C++
There's a nice recreation on Shadertoy:

https://www.shadertoy.com/view/lstSRS

No idea if it's doing the same simulation though.

0xf00ff00f··on Deep Live Cam: Real-time face swapping and one-click video deepfake tool
I feel the same way. I can't think of a single legitimate use case for this. I wish all those GPU teraflops were being used for something else.
0xf00ff00f··on Gpu.cpp: A lightweight library for portable low-level GPU computation
This is cool, but they should have just used Vulkan. Dawn is a massive dependency (and a PITA to build, in my experience) to get what's basically a wrapper around Vulkan. Vulkan has a reputation for being difficult to work with, but if you just want to use a compute queue it's not that horrible. Also, since Vulkan uses SPIR-V, the user would have more choices for shading languages. Additionally, with RenderDoc you get source-level shader debugging.

Shameless plug: in case anyone wants to see how doing just compute with Vulkan looks like, I wrote a similar library to compete on SHAllenge [0], which was posted here on HN a few days ago. My library is here: https://github.com/0xf00ff00f/vulkan-compute-playground/

[0] https://shallenge.quirino.net/

0xf00ff00f··on Ask HN: Is there any software you only made for your own use but nobody else?
I wrote an application to get GPS data for a sport activity from my cheap smartwatch and dump it to a GPX route file. The application uses the Qt Bluetooth libraries. I use it every day after my runs, then I upload the GPX files to Strava.

I did it because I wasn't happy with the official Android app, so I reverse-engineered the watch's Bluetooth Low Energy protocol (this was pretty fun actually).

0xf00ff00f··on Let's write a video game from scratch like it's 1987
Wow, that's pretty cool. The game looks great!

Was it developed on an actual ZX Spectrum? I think I read that the development environment for the Spectrum port of R-Type was running on a 80286 PC, curious if this was common back in the day.

0xf00ff00f··on SpaceX launches 4 people for private mission to the International Space Station
I'd love to fly on Virgin Galactic's space plane, but I think its maximum speed is around Mach 3. To get into orbit you need to reach a speed of at least 27,000 km/h (Mach 22). Huge difference!
0xf00ff00f··on Quake on an FPGA (MRISC32 CPU) [video]
Wow, how crazy is this? This guy:

* Designed a 32-bit ISA with vector instructions [0]

* Implemented it on an FPGA

* Wrote a gcc backend for his ISA [1]

* Ported Quake, and it seems to run pretty well (Quake required a high-end Pentium back in the day)

Now this is a full-stack developer.

[0] https://www.bitsnbites.eu/the-mrisc32-a-vector-first-cpu-des...

[1] https://gitlab.com/mrisc32/mrisc32-gnu-toolchain

0xf00ff00f··on On being listed as an artist whose work was used to train Midjourney
Yes, I like to draw (I'm awful at it though).

The other day I saw a skilled artist on social media saying that it feels pointless after AI, and I found it really sad.

0xf00ff00f··on On being listed as an artist whose work was used to train Midjourney
Artists create new things, scribes copied pre-existing works.
0xf00ff00f··on On being listed as an artist whose work was used to train Midjourney
Yeah, it's over. Why would a kid want to spend thousands of hours practicing with pencil and paper, when they can get a much more impressive result by typing a couple of words on a web site?
0xf00ff00f··on Possible Meissner effect near room temperature: copper-substituted lead apatite
Byzantine Empire? Lasted over a thousand years, fell to the Ottoman cannons.
0xf00ff00f··on How can I implement a simple asynchronous DRAM controller? (2018)
Wow, pretty impressive project!
Page 1 of 3Next →