hifi by apg


Volume 2: The Hacks in Vegas, Stay in Vegas

For those of you who may have missed Volume 1, welcome! And for those of you who have been with it from the beginning, thanks for coming back!

Positive response last week, has left me but no choice but to put out hifi Volume 2–here goes!

Hacks (in no particular order)

Totally Simple Web Server — Dave Fletcher

A pretty simple web server that uses Bash and socat to do its thing. This doesn’t sound very exciting, but the code is both well documented, and well written shell.

Serve2d — Kenny Levinsen

Let’s say you happen to have a static IP address, and you want to open but a single port to the outside world. Is there a way in which you could serve multiple protocol types? Over ssh, you say? Sure! But, what about just detecting the the protocol is and forwarding the traffic to the right place on the internal network? That’s what serve2d aims to do.

ghfs — Jason Hall

Github filesystem is simple an experimental FUSE filesystem for Github repositories.

catimg — Eduardo San Martin Morote

Does exactly what it says on the tin. It “cats” an image. To your terminal. In 256 colors. But, without dependencies.

stb — Sean Barrett

catimg is really quite interesting, but the no dependencies thing threw me for a loop. stb is a collection of public domain libraries for doing things like decoding images, fonts, audio (vorbis) and more! Each library is a single C header file!

PolyPasswordHasher — Justin Cappos, Santiago Torres

PolyPasswordHasher is a new passsword hashing scheme which uses a Shamir Secret Share, and are, apparently, extremely hard to crack. I can’t speak for the security here, but a paper exists that makes an argument which you can read and audit for yourself [probably best to not just adopt this without more peer review–ed].

Pseudo3DTouch — Adam Bell

Mimicking Apple’s 3D touch on hardware that doesn’t have it.

Other things to learn from, or be fascinated by

  • Building an Enterprise CSS Framework, discusses the development of an “enterprise” CSS framework, and a very insightful read. [Disclaimer: I work for Salesforce, well, Heroku–ed]
  • Megapole by RSI is a 256 byte 3D raycasting demo. It’s more or less insane. Oh, and it runs on DOS. More information can be found here.
  • There is No Now discusses the problem of “simultaneity” in a distributed system.
  • The Handmade Manifesto. An interesting perspective on modern software.

Well, that’s it for Volume 2. If you’d like to see something included in Volume 3, or just want to say hello, feel free to reply to this email.

Happy hacking,