HN user

_jsdw

33 karma
Posts0
Comments17
View on HN
No posts found.

This is funny timing to me, because just the other week I did a dive into WebAssembly and WASI 0.2 (https://jsdw.me/posts/wasm-components/) and assumed that 0.3 would be a while yet as there was no obvious (to me) sign it would come for a while!

Once the tooling is there and Rust has a wasi 0.3 target I'll give it more of a look at :)

Top tip; I used my thumb to cover up the bottom part of my phone, which allowed me to read it!

I expect that 99% of the time it's a perfectly fun little pop up, but right now with the post on HN it is amazingly annoying

I'm not in the market for a car seat, but just want to say that I think you've done an awesome job responding, and I'd be looking at your car seat for sure after reading these :)

Does anybody here use F# in a Linux shop? I'm generally keen on the more functional languages, but have tended to avoid F# under the assumption that if I use F# I'll probably also end up needing to use Windows to get the most out of it (or get a job using it).

“This looks really promising! A Bloom Filter that represents a set of million items with a false-positive rate of 0.01 requires only 9585059 bits and 7 hash functions.“

My immediate thought here was that this wasn't very space efficient as it requires over 9 bits per item?

I'd have to dig more into this though to confirm or deny my intuition!

Edit: this page agrees with the blog post and shows some interesting graphs https://hur.st/bloomfilter/?n=1000000&p=0.01&m=&k=

Python Type Hints 7 years ago

Rust is a true statically typed language; `unsafe` in rust relates to code that violates memory safety guarantees, but you can't escape the static type checking using it.

Rust actually has an `Any` trait which allows for a certain amount of runtime type asserting if you don't know what concrete type you'll be working with.

Personally, I might be able to convert a number to floating point using the formula, but it's not easy to grasp why. The visual explanation really helps with that.

Being able to read maths doesn't automatically mean that it is the best way to present an explanation of something.

I wonder whether something like pijul (https://pijul.org) might represent the next step forwards; I am no expert in these things but the patch based approach it takes sounds interesting and potentially very intuitive to work with. I might have to actually give it a go one of these days!

Just saw this, and took a random stab at my number and password and to my massive surprise I got in! 50530999

My username still reflects when I played starsiege as a kid at some silly time over a dial up modem.. Wow!