Better HN
topnewbestaskshowjobs
Log inSign up

willlll

1,801 karma · joined May 31, 2011 (15y ago) · 205 submissions

bitfission.com
Submissions

1.

Postgres and Tailscale – A database you can trust with a simple VPN(crunchydata.com ↗)

7 points · by willlll · 3y ago · discuss

comment 4y ago · link · parent

We use Crystal a lot too at Crunchy Bridge. It is used for all of the on-instance programs, the per-region monitoring service, as well as the customer CLI. I'm a big fan of Crystal, and wrote the postgres driver for the language :)

However a main reason we used Ruby was for the production REPL which lets us manage our entire server fleet with like 1/3 of the staff we'd need otherwise.

comment 4y ago · link · parent

I appreciate each and every download.

comment 4y ago · link · parent

For the control plane part of Crunchy Bridge, on day one I decided to go with the deleted_records table that is mentioned at the end of this post. It's been great. No need to keep around dead data that no one ever looks at.

We don't need to have `where deleted_at is null` on every single query. But the best part though is our actual working data set of records we actually care about is tiny compared to the deleted cruft that would have otherwise been just sticking around forever. Backups and restores take no time at all. It's really cool that postgres lets you have conditional indexes on things, but it's even cooler not to need them.

comment 4y ago · link · parent

Overall sorbet has been good and useful, so thank you. But you just have to be careful when you're not using the same version of ruby that stripe uses. I recently got hit by a bug:

    # typed: strict
    extend T::Sig

    sig {params(x: Integer, y: String).void}
    def run(x:, y:)
      puts(x + 1, y)
    end

    args = {
      x: 1,
      y: "Hi"
    }

    run args
type checks just fine in sorbet, but is an error in ruby 3+. It works though (with errors) in 2.7 and lower which is what Stripe uses from what I gather.

comment 4y ago · link · parent

If there is something like heartbleed that needs to update a common dependency, how does NixOS deal with that? Do you need to rebuild everything that uses that dependency, instead of just changing the shared library on a more traditional os?

comment 5y ago · link · parent

Thank you. please don’t try and right click to steal the source though

8.

sudo buffer overflow in command line unescaping “Baron Samedit”(sudo.ws ↗)

12 points · by willlll · 5y ago · 1 comment

9.

New H.266 codec uses half the data to stream 4K video(engadget.com ↗)

2 points · by willlll · 6y ago · discuss

10.

Legacy LVFS S3 bucket takeover and CVE-2020-10759 fwupd sig verification bypass(github.com ↗)

3 points · by willlll · 6y ago · discuss

11.

Drop Caps and Design Systems(product.voxmedia.com ↗)

57 points · by willlll · 7y ago · 9 comments

12.

Drop Caps and Design Systems(product.voxmedia.com ↗)

2 points · by willlll · 7y ago · discuss

13.

A real computer using NaN and Inf instead of 1 and 0 [video](youtube.com ↗)

3 points · by willlll · 7y ago · 1 comment

14.

Same Stats, Different Graphs: Generating Datasets Through Simulated Annealing(autodeskresearch.com ↗)

2 points · by willlll · 7y ago · discuss

comment 7y ago · link · parent

Thank you :)

comment 7y ago · link · parent

In the video of the talk I also go into watching star wars (or your webcam) in real time in the terminal rendered with emoji

comment 7y ago · link · parent

I'm actually impressed at how incredibly expensive they made this. $0.50 per million 1KB writes, which is 20x what aurora charges, since aurora allows 8KB writes. And Aurora is already expensive if you actually read/write to it.

18.

Anscombe's Quartet(en.wikipedia.org ↗)

1 points · by willlll · 8y ago · discuss

19.

MongoDB's Server Side Public License Is Likely Unenforceable(processmechanics.com ↗)

255 points · by willlll · 8y ago · 239 comments

20.

Future of Software: Developers at the center of the universe(blog.github.com ↗)

5 points · by willlll · 8y ago · discuss

21.

Lessons from Building VeniceDB (60 TB in Postgres) [video](youtube.com ↗)

6 points · by willlll · 8y ago · discuss

22.

Iterative approach to writing SQL in Postgres(bitfission.com ↗)

4 points · by willlll · 8y ago · discuss

23.

PostgreSQL 11: something for everyone(lwn.net ↗)

5 points · by willlll · 8y ago · discuss

comment 8y ago · link · parent

Redis is no longer free and open source software with this move. It is now proprietary software.

25.

PacVim(github.com ↗)

1 points · by willlll · 8y ago · discuss

26.

Don’t do this (in Postgres)(wiki.postgresql.org ↗)

2 points · by willlll · 8y ago · discuss

27.

Tiny Crystal Language Programs(perens.com ↗)

2 points · by willlll · 8y ago · 1 comment

28.

Backspace Rethought(medium.com ↗)

4 points · by willlll · 8y ago · discuss

29.

Vim Exit% Speedrun World Record(youtube.com ↗)

3 points · by willlll · 8y ago · discuss

1234567