News for hackers. Stuff that matters.

_jsdw

Re:WASI 0.3.0 Released on Friday June 12, 2026 @01:03PM (#48506605)
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 :)

I made Highscore (https://github.com/jsdw/highscore) just for the purpose of keeping track of high scores with somebody on a few karaoke games that didn't track individual peoples scores.. never been used for anything else :)
Re:Suddenly I Understand Software on Saturday November 18, 2023 @05:07PM (#38325086)
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

Re:Ask HN: Any Hardware Startups Here? on Wednesday July 05, 2023 @07:44PM (#36608861)
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 :)
Re:Ask HN: Could you share your personal blog here? on Tuesday July 04, 2023 @01:33PM (#36589909)
https://jsdw.me

Personal blog/homepage for just over 10 years, coding related things, custom design, mostly static pages using Zola.

Re:Blue light from monitors no danger to eyes or sleep on Sunday October 10, 2021 @04:20AM (#28816730)
What do you mean by "over focusing on the peripheral parts of the retina"? And if this is true, could one reverse myopia progression by doing the opposite?
Re:A $100k Prize for a Decentralized Inflation Dashboard on Thursday August 05, 2021 @06:44PM (#28081035)
Indeed! If somebody was able to print a trillion dollars and stash it away in their bank account, I don't see why any observable inflation would occur.
Re:Fable 3: F# to JavaScript compiler on Saturday December 05, 2020 @05:58AM (#25313548)
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).
Re:Let’s implement a Bloom Filter on Tuesday August 11, 2020 @02:40AM (#24117750)
“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=

Re:Python Type Hints on Sunday December 29, 2019 @06:02AM (#21905305)
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.

I settled on this a while ago which I think is perfectly readable:

    const myvar
      = foo < bar ? bar
      : bar < baz ? baz
      : lark < 10 ? lark
      : 0
Re:Build a Neural Network on Thursday May 09, 2019 @02:28PM (#19870812)
In case it helps, I also had a go at an introductory neural net tutorial which I probably never shared anywhere:

https://jsdw.me/posts/neural-nets/

I found that I had to read a bunch of these things to really grasp them myself.

Re:Floating Point Visually Explained (2017) on Tuesday February 05, 2019 @01:59PM (#19088520)
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.

Re:Building a Kickass Portfolio on Friday August 03, 2018 @02:37AM (#17677694)
Here's me:

https://jsdw.me

I am proud to have maybe the slowest css animation ever used so that, if you wait several hours, you'll see the clouds move across the screen :D

Re:Version Control Before Git with CVS on Sunday July 08, 2018 @11:57AM (#17484382)
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!
Re:Facebook Has Got an Instagram Problem on Saturday February 03, 2018 @03:48AM (#16296838)
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!

Re:Ditching Go for Node.js on Thursday November 23, 2017 @03:58PM (#15767744)
Regarding Rust not having a mature websockets lib, this library seems to be a decent websockets implementation at a glance and passes all of the autobahn tests:

https://github.com/housleyjk/ws-rs/

In any case, that is where I'd begin :)