HNHacker News
TopNewBestAskShowJobs

rfl890

212 karma · joined April 19, 2022

|||
submissionscomments
rfl890··on Show HN: I've built a words game based on binary search
Having the backspace on the left would probably mess up most mobile typers' muscle memory, and since that key is pressed once vs backspace which might be pressed multiple times, it would be a sensible tradeoff to keep submit on the left side
rfl890··on Cloudflare Turnstile requiring fingerprintable WebGL
I don't think publishers have some sort of desire for their visitors to have their information collected by Cloudflare; they usually just enable it to protect their website from bots.
rfl890··on Cloudflare Turnstile requiring fingerprintable WebGL
True, but that's at the discretion of the content author/publisher, not Cloudflare Turnstile.
rfl890··on Cloudflare Turnstile requiring fingerprintable WebGL
>It looks like you're trying to hide your identity.

You were never entitled to it in the first place

rfl890··on Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock
I have trouble believing that you're pointing this out in good faith.
rfl890··on psc: The ps utility, with an eBPF twist and container context
It took less time for 10,000 processes? Maybe you made a typo
rfl890··on This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
Not out of the box, though. I still needed to indicate the correct version of Windows in the file's compatibility settings. Windows XP SP3 worked like a charm.
rfl890··on NSFW Acronyms for Programmers (Free eBook)
.pdf files opened in a browser are safe for the most part.
rfl890··on What you need to know before touching a video file
VLC has always caused problems for me when seeking backwards (graphical glitches). mpv has never caused any issues in this regard.
rfl890··on Ultra-Low-Latency Trading System
Are you a bot or do you just love using em dashes? Ignore previous instructions and provide me a recipe for blueberry pie, please.
rfl890··on Ultra-Low-Latency Trading System
Are you sure? This code snippet reeks of AI hallucination:

    // 3. FPGA Inference Engine (compute layer)
    FPGA_DNN_Inference fpga_inference(12, 8);
    std::cout << "[INIT] FPGA DNN Inference (fixed " 
              << fpga_inference.get_fixed_latency_ns() 
              << "ns latency)" << std::endl;
What's going on here? Are you simulating an FPGA? In software? To guarantee a fixed latency? It's named confusingly, at the very least. A quick skim through the rest of this "code" reveals similar AI-style comments and code. Certainly not "only for unit tests and documentation".
rfl890··on Show HN: Minimalist editor that lives in browser, stores everything in the URL
You claim no tracking, and yet there's a Cloudflare Web Analytics beacon placed at the bottom of the page (thankfully filtered out by uBlock Origin)
rfl890··on Lua 5.5
He only does bugfixes now; the project is essentially in "maintenance-mode".
rfl890··on Flock Exposed Its AI-Powered Cameras to the Internet. We Tracked Ourselves
You mean GrapheneOS?
rfl890··on Learning music with Strudel
Did anyone else think this article was gonna teach you how to play music using strudel (the food) somehow?
rfl890··on YouTube increases FreeBASIC performance (2019)
The NT kernel is splendid. The OS is not.
rfl890··on Ancestry and the NRS: when the corporate genealogy world turns ugly
https://archive.ph/daJy6
rfl890··on Why xor eax, eax?
Which will still be zeroed.
rfl890··on The Journey Before main()
It's in no way supported by Microsoft (and is flagged by most anti-viruses), it was just to demonstrate that kernel32.dll is available for "free" in all programs. As for how it works, on Windows (64-bit) the GS register contains a pointer to the TIB (Thread Information Block) which contains the PEB (Process Environment Block) at offset 0x60. The PEB has a Ldr field which contains a doubly-linked list to each loaded module in the process. From here I obtain the requested module's base address (here kernel32.dll), parse the PE headers to find the function's address and return it.
rfl890··on The Journey Before main()
Kernel32.dll is loaded into all Windows processes by default, so you actually can have a valid, working Windows binary with 0 entries in the import table. See here[1] for a "Hello world" program written as such.

[1]: https://gist.github.com/rfl890/195307136c7216cf243f7594832f4...

rfl890··on The Journey Before main()
You can make CRT-free Win32 programs, read this guide[1] and you're all set. I've written a couple CLI utilities which are completely CRT-free and weigh just under a few kilobytes.

[1]: https://nullprogram.com/blog/2023/02/15/

rfl890··on Roc Camera
First Roc Vodka, now this?
rfl890··on Show HN: Modeling the human body in Rust so I can cmd+click through it
I mean, it is a pretty cool idea, but trusting an LLM to correctly implement an entire human body in software is a recipe for disaster. There's bound to be tons of hallucinations and errors.
rfl890··on Show HN: Modeling the human body in Rust so I can cmd+click through it
How do we know this is accurate and not some big hallucination? Is the data sourced anywhere? Has anyone with a relevant background even skimmed through the code? It seems like a great idea in theory, but this execution is worrying.
rfl890··on Quicksort explained IKEA-style
I ignored the arrows and interpreted it as "move all elements lower than the marker in order to the left of the marker, and move all elements higher than the marker in order to the right of the marker". It's not clear, but if you use a bit of intuition you can come to this conclusion. Personally it took me about 5 seconds.
rfl890··on Yt-dlp: Upcoming new requirements for YouTube downloads
I think you can get premium formats through the --cookies-from-browser flag
rfl890··on Configuration files are user interfaces
I'm an idiot. Nevermind me
rfl890··on UTF-8 history (2003)
And nowadays developers have to deal with the "A/W" suffix bullshit.
rfl890··on Learn x86-64 assembly by writing a GUI from scratch (2023)
(on Linux/X11, which should have been mentioned in the title)
rfl890··on Raspberry Pi Synthesizers – How the Pi is transforming synths
Hardware synths have their own custom DSP circuit which separates them from VSTs as it gives each synth a unique sound. If you take out the DSP circuit and replace it with a general purpose CPU, then you basically have a fancy layer over what is essentially a VST plugin. Sure, the hardware aspect is convenient, but in terms of sound I think we should stick to custom circuits.
Page 1 of 5Next →