HNHacker News
TopNewBestAskShowJobs

dalvrosa

178 karma · joined February 25, 2026

Software Engineer @ Susquehanna | Algorithmic Trading | Low-Latency Systems | High-Performance Computing

https://david.alvarezrosa.com

submissionscomments
dalvrosa··on Self-Hosting on the Dark Web
;)
dalvrosa··on Self-Hosting on the Dark Web
That approach forwards everyrhing so can be used for multiple things (ftp, web, email, etc)
dalvrosa··on Self-Hosting on the Dark Web
Thank you for the compliment <3
dalvrosa··on Self-Hosting on the Dark Web
Thanks!
dalvrosa··on Self-Hosting on the Dark Web
Agreed, it can be quite painful
dalvrosa··on Self-Hosting on the Dark Web
How are captchas done?
dalvrosa··on Self-Hosting on the Dark Web
Thanks for sharing
dalvrosa··on Self-Hosting on the Dark Web
Agreed yeah. Mine has been up with no issues so far for ~half a year.

(There are solutions for CGNAT - https://david.alvarezrosa.com/posts/self-hosting-behind-cgna...)

dalvrosa··on Self-Hosting on the Dark Web
Done now https://github.com/david-alvarez-rosa/homelab/commit/b495cbe...
dalvrosa··on Self-Hosting on the Dark Web
Good call, I'd missed that. Adding it now, thanks.
dalvrosa··on Self-Hosting on the Dark Web
That'd be an exit relay, not doing that atm, just in case
dalvrosa··on Self-Hosting on the Dark Web
Fair point. Very small things like RSS, canonical link or og:url or microformats use absolute URL

To make sure once in the .onion, you never leave the .onion

dalvrosa··on Self-Hosting on the Dark Web
Thanks for sharing! Happy to get feedback :)
dalvrosa··on Tuning a Server for Benchmarking
Pinning the frequency is great for reproducibility yeah

For squeezing perf in prod better to overclock (with good cooling)

dalvrosa··on Self-Hosting Behind Cgnat
My Spanish ISP does not allow to use IPv6 unfortunately..
dalvrosa··on Self-Hosting Behind Cgnat
Thanks for sharing! Happy to get feedback :)
dalvrosa··on Self-Hosting Behind Cgnat – Be Libre
There is nothing more satisfying than owning, end to end, the software and the hardware you use without relying on abusive cloud corporations. Internet is us, not them. Break free from censorship. Learn how to self-host at home, and be truly /libre/.
dalvrosa··on I embedded 200k+ open source icons in the browser
Nice!
dalvrosa··on Optimizing a Spin-Lock
Fair enough yeah. IMO microbenchmarks are useful for trying to gain intuition and propose the next incremental improvement. In real world measuring is mandatory, if you don't want to risk pessimizing the code
dalvrosa··on Optimizing a Spin-Lock
Very good point, should add this
dalvrosa··on Optimizing a Spin-Lock
Yeah that's quite right, you shouldn't be using spinlock without pinned threads
dalvrosa··on Optimizing a Spin Lock
Thanks for sharing! Happy to get feedback :)

Note that I don't recommend spinlock for most cases, only when there is a 1:1 mapping between threads and phsycal CPU cores, and only after measuring

dalvrosa··on Optimizing a Spin-Lock
Thanks for sharing! Happy to get feedback :)

Note that I don't recommend spinlock for most cases, only when there is a 1:1 mapping between threads and phsycal CPU cores, and only after measuring

dalvrosa··on Optimizing a Spin-Lock
Thanks for sharing! Happy to get feedback :)

Note that I don't recommend spinlock for most cases, only when there is a 1:1 mapping between threads and phsycal CPU cores, and only after measuring

dalvrosa··on Optimizing a Spin-Lock
Thanks for sharing! Happy to get feedback :)

Note that I don't recommend spinlock for most cases, only when there is a 1:1 mapping between threads and phsycal CPU cores, and only after measuring

dalvrosa··on OpenAI’s Navier-Stokes release included a Lean 4 formal proof
Yep
dalvrosa··on [dead]
Love it
dalvrosa··on Optimizing a Spin-Lock
Thanks!
dalvrosa··on Optimizing a Spin-Lock
A spin-lock is a lock that never sleeps. Instead of yielding to the scheduler, the thread stays on the CPU and spins. No syscalls. No context switches. In this post, we’ll build a version, step by step, that is 5.7x faster while drawing 5.4x less energy.
dalvrosa··on Move in C++ without a std:move
Not sure what you mean, but std::move is one of the greatest tools in C++
Page 1 of 3Next →