HN user

cauterize

146 karma
Posts7
Comments110
View on HN
OpenBSD 7.2 4 years ago

Oops :) I was so excited for the release I forgot how to read!

OpenBSD 7.2 4 years ago

It has IPv6 support

# uname -a OpenBSD xxx 7.1 GENERIC.MP#3 amd64

# ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr x:x:x:x:x description: xxx index 2 priority 0 llprio 3 media: Ethernet autoselect (1000baseT full-duplex) status: active inet x.x.x.x netmask 0xffffff00 broadcast x.x.x.x inet6 fe80::x:x:x%em0 prefixlen 64 scopeid 0x2 inet6 2601:x:x:x::1 prefixlen 64 pltime 301996 vltime 301996

OpenBSD 7.2 4 years ago

The SMP improvements look interesting. Anyone know of performance results from 7.1 to 7.2?

I chose it due to the type system. Nearly every piece of data is optional. I need to compose these pieces of data to form a full set and apply that set of rules to a system. Haskell made a lot of things work out really well:

* embedded DSL for describing things with minimal syntax * types to enforce my invariants * immutable data + STM to protect my shared data structures * multithreaded/async code is easy to work with * deterministic outputs given inputs

but it was headaches in a lot of ways:

* exceptions - still not sure I’ve handled all exceptions gracefully * culture - most teammates are intimidated by Haskell (and types) * ecosystem is behind (Rust has exponential usb acceleration vs Haskell’s constant pace)

While I’m proud of the outcome I would have chosen differently now that I’ve seen the other side and have the project done. The inertia I was fighting required far too much energy

We failed to build Linode like things internally. We innovate through acquisition.

[ source: I was a part of those failures ]

A different take -- drugs. Especially marijuana and hallucinogens. Helped me better understand how to think about abstract computations vs the nitty gritty details like pointers. Not for everyone, but helped me.

FWIW, I'm keeping your name in the back of my head for when my current company inevitably fails at their big data revolution. Biggest product produces 10-15 PB/day that must be processed. Our existing solution is 20 years old and relies on navigating C code with function line counts on the orders of 10k. Rust would've saved me a lot of time from living in gdb.

Really enjoyed the article. Keep it up!

This is really great. I'd love to see a follow up covering other topics. Such as testing (with hedgehog), modeling SQL, etc. Or -- anything that helps open up the world to see how Haskell is a beautiful language to build on.

I wonder if anyone has worked on a Prelude replacement which has these replacements (along with renaming functions where appropriate)...