Recent submissions

Comment · 5 years ago
Comment · 5 years ago
Shameless self-promotion but there's also this post I wrote in 2017 if anyone interested in a slightly different take (but a very similar write up to the OP): https://www.samlewis.me/2017/06/a-peek-under-bitcoins-hood/

Cool that this article implements the cryptography primitives, though!

e: Funnily, like the article, I also stored some BTC in a wallet and challenged people to (manually) take/steal it. At the time it was worth $10 USD.. now it's worth $123 USD!

Comment · 7 years ago
Really awesome, how long did it take you to put together?
Comment · 8 years ago
Last time I tried this, I found a lot of corporate spam filters seemed to (silently) drop my emails, so I went back to using GMail out of frustration.

Is there anything you do that helps with this? I was using GApps and I don't think my domain name was too spammy (samlewis.me).

Comment · 8 years ago
Seems like a very appropriate use of technology to me?

If they can get "good enough" results using Linux and running with technologies that the average developer is more likely to know, is it worth the investment in running a RTOS? Especially given running a RTOS will make any higher level app integration more difficult?

The benefit of running with Linux outweighs the risk of "lettuce on the floor", imo. Yes, there's probably overhead in terms of clock cycles, but there's also probably dramatically less overhead in terms of developer resources.. and when you're running off commodity hardware you can guess which overhead will cost more!

Comment · 8 years ago
Asking out of mostly ignorance, but is Qt still relevant in 2018?

I've noticed that even for standalone graphical applications, it's becoming more and more common to use webapps - either served locally and accessed through a browser, or through something like electron.

Comment · 8 years ago
http://jrnl.sh/ is nice

The low amount effort to add an entry allows me to jot down thoughts, conversations etc easily which makes me actually do it.

Having it save as a plain .txt file is nice for versioning/backup as well.

Comment · 8 years ago
That was a really fun to read, well written piece.

Definitely makes me interested in trying something like this - does anyone know of any other games that have similar economy aspects?

Comment · 9 years ago
Am I missing something or is the next step going to be Intel making ME impossible to remove without bricking your CPU? If so, seems like these efforts are fairly futile if they'll only work for the current gen of processors.
Comment · 9 years ago
If you're a large enterprise, paying an extra $20/month could definitely be worth not having the pain & cost of having your employees having to manage paying an extra bill each month.
Comment · 9 years ago
This should be really easily if you use gstreamer pipelines. Something like this:

  # To send
  gst-launch filesrc location=file.wav ! wavparse ! audioconvert ! audio/x-raw-int,channels=1,depth=16,width=16,rate=44100 ! rtpL16pay ! udpsink host=localhost port=1234

  # To receive. You could also use something like VLC with "vlc rtp://localhost:1234" for this part. 
  gst-launch udpsrc port=1234 ! "application/x-rtp,media=(string)audio, clock-rate=(int)44100, width=16, height=16, encoding-name=(string)L16, encoding-params=(string)1, channels=(int)1, channel-positions=(int)1, payload=(int)96" ! rtpL16depay ! audioconvert ! alsasink sync=false
gstreamer gives fairly good control over tuning things like jitter buffers and sampling rates. That said, I've never had to use it on Windows so YMMV.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton