aguynamedben

Joined 18 years ago

Karma
357
Submissions
101
Member since
Jul 11
[ my public key: https://keybase.io/aguynamedben; my proof: https://keybase.io/aguynamedben/sigs/FZFj_hXCKIB0bL6wK9KPaazDJOkUP0B0sxMYm9AHnIk ]
View on Hacker News

Recent submissions

Comment · 1 month ago
This would be sick for video game keybinds!
Comment · 1 month ago
Sir, Emacs pedals came way earlier, we needed to avoid "Emacs pinky"!
Comment · 2 months ago
The free will of walking. I walked around the city using certain routes, and I can freely replicate those walks in this. I did walks I did when my kids were 3 years old. Google Maps isn't fluid enough to do this.
Comment · 2 months ago
Same. I lived in SF for 15 years, my kids were toddlers in the Marina... this is so freaking awesome and really brings out the nostalgia! It matches my memories exactly.

Exact proportions are crazy. I had the reverse experience doing sim racing... do a track a bunch, finally visit it in person - and it looks the exact same as in your mind.

Comment · 3 months ago
I lived in San Francisco for 15 years, and love this. Great work!
Comment · 10 months ago
Yeah I didn't really get that... PubSub is more of a design pattern... you still have to get the data transported to the browser (via WebSockets, SSE, etc.)
Comment · 11 months ago
TIL coffee is extra good for your brain
Comment · 1 year ago
This paper is above my ability, but as someone who loves Ruby, thank you for working on this Peter and crew!
Comment · 1 year ago
Comment · 1 year ago
Ruby is alive and well!
Comment · 1 year ago
rqlite is my favorite “out there” project that is actually freaking genius!
Comment · 2 years ago
An interesting variant of space-filling curves + dimensionality reduction is Geohash (https://en.wikipedia.org/wiki/Geohash, http://geohash.org/) which takes a lon/lat and uses a Z-curve approach to produce a hash such as `u4pruydqqvj` representing the location. This hash value is basically "how far along the space-filling curve is the lon/lat located". You're reducing two dimensions (lon/lat) into one dimension (how far along the space-filling curve).

There's a unique side-effect to Geohashes in that the value (`u4pruydqqvj`) can have it's end "lopped off" (i.e. cut down to `u4pru`) and it still represents a less precise, but generally accurate representation of the original lon/lat in most cases (when the curve isn't near the edge of the 2d map!). This allows you to index locations (lat/lon) using a string ('u4pru') which opens you up to doing b-tree, range queries, etc. in traditional database, with one field.

Just a rad math quirk! I'm not an expert, and it's a very dense book, but if someone really wants to get into this kind of stuff the "Bible" is "Foundations of Multidimensional and Metric Data Structures" by Hanan Samet.

Comment · 3 years ago
Comment · 3 years ago
I keep trying VS Code, but I hate how when I split the screen three wide ("splits") it wants to open "editors" in each of the columns, even if it's the same file. I want a "buffer" like Emacs has that can be called up into any of the "splits" without reopening the file.

I disable the tabs display, but when I visit a file in each of the three columns (i.e. what in Emacs would be calling a buffer into a window) I end up with the same file open three different times, once for each split. Then the fast switcher just gets full of dupes. BLAH!

I really wish VS Code used the Emacs model of completely disjoined (a) buffers, (b) windows, (c) frames, but instead there's a hierarchical approach of Splits -> Editors.

I've dug into VS Code issues about this, and it seems the hierarchy between Splits -> Editors is a strong parent-child relationship embedded deeply within VS Code's model and is unlikely to change.

And that's why I can't switch. That and magit.

Comment · 3 years ago
YEEEESSSS I'm an Electron user for 6 years and Rust fanboy, but this is The Way™

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton