609 karma · joined September 23, 2014
Have bootstrapped two separate SAAS businesses to $40K MRR and even though it gained me financial independence, I would probably not do it again.
Surely it can’t be the founder taking home a healthy salary from day 1 despite the company being far away from any revenue at all that is taking the risk in your book?
If it’s been a while since you did any server work: https://www.dannyvankooten.com/blog/2024/static-site-hosting...
Not sure if serious, but you do realise that free is not at all about having a GitHub page?
Maxim has been working on nginx for years and just forked the project so that he can continue working on it. The license remains the same as the original nginx project and you can already download its sources here: https://freenginx.org/en/download.html
- Jekyll: the OG, but requires a ruby toolchain.
- Hugo: compiles to a single static binary, but you may have to get used to its (Go text/html) templating.
- Zola: also compiles to a single static binary, but uses Jinja-like templating.
- Gozer [^1]: my own, like Hugo, but 1000x simpler. I rolled my own because I wanted something that didn't move under me in the next 10 years and just because it was fun and easy enough to build.
With SIMD and certain assumptions about the input this can seemingly be further reduced to well under a second, eg see https://github.com/gunnarmorling/1brc/discussions/138.
You and me both. I'm also a polygot but I originally started on interpreted languages like PHP and Python. I then learned some C, which was quite frustrating before I learned how to reason about memory ownership and hold myself to some idioms. Oh and Valgrind.
I then rewrote a bunch of projects in Rust and while it lead to correct and working software, it didn't spark the joy that C did for me. I don't exactly know why and at times I almost feel ashamed to mention this. I do hope there's a future where there's a version of C with some more substantial changes/improvements though, perhaps taking a lesson or two from Rust or Zig (eg string type w/ length).
It’s just the city names + averages from the official repository using a normal distribution to generate 1B random rows.
I’ve also seen versions in Rust, Go, Python, Clickhouse and DuckDB. The discussions tab on the GitHub repo lists some of these.
Should run about 10-20% faster than that on the mentioned Hetzner hardware.
- Since we only do one decimal of floating point precision it uses integer math right from the get-go.
- FNV1-a hash with linear probing and a load factor well under 0.5.
- Data file is mmap’d into memory.
- Data is processed in 8 totally separate chunks (no concurrent data structures) and then those aggregations are in turn aggregated when all threads have finished.
That I had to read this on Hacker News saddens me.
It’s at least 33%, not 3%. Also it’s the total amount of CO2 in the atmosphere that matters, not so much the proportion. Pretty much all CO2 above 1850 baseline levels are the direct result of human-caused emissions.
Some notable entries that caught my eye are the websites of the US Department of State, multiple country specific branches of Lidl, the Python programming language, Klarna and Zapier.
Is this a US thing or what? Don’t keep money you may need in the short term (< 5 years, at least) in stocks. A stock ETF is not low-risk, cash and bonds are.
> And we certainly don’t want people driving 1000 miles instead of flying
Not necessarily true. A single person in a gasoline car, yes, flying is probably slightly less dirty. More than one person in the car? Driving wins.
Like you, I learned to program on my own through primary and middle school but it wasn’t making me any money when I started Uni. Starting Uni allowed me to get a government loan (with near zero interest rates) that made my life a lot easier so I did. In the first year, one of my ventures took off and I was making decent money, more than I would at the jobs Uni was preparing me for.
I spent the next few years only doing the bare minimum for Uni and focusing on my startup instead, but looking back it was the best time of my life. Great social life, meeting lots of new people, discovering and learning about myself, lots of free time. I’ve finished Uni 10 years ago but damn do I miss that time.
Work life is long, be patient!
This is my major gripe with all the privacy friendly analytics (disclaimer: I authored two, namely Fathom when it was still open-source and Koko Analytics) tools that submerged over the past few years. Elaborate work went into bypassing cookies, only to make things worse from a privacy perspective in the end.
@userbinator sets a good example elsewhere in this thread, imo.
Not sure what the process looks like through the Python API. Maybe @ritchie46 can chime in?
Amazing value for money (< €900) and everything worked out of the box immediately when I bought it new 3 years ago using the latest Linux kernel (via Arch). Had a MacBook Pro before and it blows my mind how much cheaper this set-up is, and how much more I enjoy using it because of decent window managers.
In general, if you go for a distro like Debian or Ubuntu I don’t think you can go wrong with a Lenovo that’s been out for a few years.