dvko

Joined 12 years ago

Karma
609
Submissions
164
Member since
Sep 23
Programmer and entrepeneur that would love to be able to hold a normal job, but I just didn't have it in me.

Have bootstrapped two separate SAAS businesses to $40K MRR and even though it gained me financial independence, I would probably not do it again.

View on Hacker News

Recent submissions

Comment · 1 year ago
Never forget! Crazy to see how far it's come. And how lackluster the initial reception on HN was back then.
Comment · 2 years ago
I got my first 99 after a 15 year break. Farming, obviously!
Comment · 2 years ago
I’m a bootstrapped founder but hard disagree with this take.

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?

Comment · 2 years ago
My daily crontab at just after midnight UTC did not run yesterday. I wrote it off as a server hiccup, but now you got me thinking it might be related to leap years…
Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
I never even knew this was an option, despite relying on them for well over 10 years now for well over half of my business' revenue (with 0 issues whatsoever, fwiw). Just enabled it.
Comment · 2 years ago
Comment · 2 years ago
This is inspiring to me, as I'm in a similar boat and while I'm pretty okay at my job in practical terms, I often feel as if I lack a certain mathematical foundation. May I ask how old you are, whether you are enrolled in a full-time course (w/ much younger other students, I suppose?) and how that has been for you?
Comment · 2 years ago
Comment · 2 years ago
> I love C.

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).

Comment · 2 years ago
Comment · 2 years ago
I tried the linear search by station name in my first naive approach. Using a hashmap was at least 2-3x as fast with the ~415 distinct keys in the 1BRC dataset.
Comment · 2 years ago
You can run the bin/create-sample program from this C implementation here: https://github.com/dannyvankooten/1brc

It’s just the city names + averages from the official repository using a normal distribution to generate 1B random rows.

Comment · 2 years ago
There are a handful of implementations in other languages already. Here’s mine in C99: https://github.com/dannyvankooten/1brc

I’ve also seen versions in Rust, Go, Python, Clickhouse and DuckDB. The discussions tab on the GitHub repo lists some of these.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton