HN user

taldo

633 karma
Posts3
Comments70
View on HN

I was wondering if it'd be possible to go further, and actually use it as a fully fledged keyboard, but with your choice of switches and mechanical layout... and turns out that somebody has been doing that already! basically reverse-engineering the matrix and hooking up your own switches to the logic board. You get TouchID, pretty good BT performance and integration in the Apple ecosystem, good battery life, ... and all in a single device.

Found it in a forum post here: https://geekhack.org/index.php?topic=120964.0

Amazon Aurora DSQL 2 years ago

Sooo they're finally launching a Spanner contender?

I'm itching to read more details into what this actually is under the marketing blab.

Cursor has been an enabler for unfamiliar corners of development. Mind you, it's not a foolproof tool that writes correct code on the first try or anything close to that.

I've been in compilers, storage, and data backends for 15ish years, and had to do a little project that required recording audio clips in a browser and sending them over a websocket. Cursor helped me do it in about 5 minutes, while it would've taken at least 30 min of googling to find the relevant keywords like MediaStream and MediaRecorder, learn enough to whip something up, fail, then try to fix it until it worked.

Then I had to switch to streaming audio in near-realtime... here it wasn't as good: it tried sending segments of MediaRecorder audio which are not suitable for streaming (because of media file headers and stuff). But a bit of Googling, finding out about Web Audio APIs and Audio Worklet, and a bit of prompting, and it basically wrote something that almost worked. Sure it had some concurrency bugs like reading from the same buffer that it's overwriting in another thread. But that's why we're checking the generated code, right?

Since the read part is handled by another chip (feeding off of USB power, therefore not terribly power constrained), you could present as a MTP device, or even mass storage, while generating the file structure on the fly. Maybe TIFFs are simple enough so you don't have to mess with the actual image bytes.

A very simple optimization for those complaining about having to fetch a large file every time you need a little datapoint: if they promised the file was append-only, and used HTTP gzip/brotli/whatever compression (as opposed to shipping a zip file), you could use range requests to only get the new data after your last refresh. Throw in an extra checksum header for peace of mind, and you have a pretty efficient, yet extremely simple incremental API.

(Yes, this assumes you keep the state, and you have to pay the price of the first download + state-keeping. Yes, it's also inefficient if you just need to get the EUR/JPY rate from 2007-08-22 a single time.)

From TFA

While alphabetic keyboards typically provide autocomplete features for more expedient typing, predictive features in Chinese input methods are more crucial when using input methods such as pinyin where hundreds of characters might match an inputted pinyin syllable. For longer strings of syllables, an IME will commonly reach out over the network to a cloud-based service for suggestions if suitable suggestions are not available in the input method’s local database.

Not saying whether they should, but it's pretty easy to understand why they do it.

ISO 4210 comes to mind. There's also a handful of ASTM standards, F2043 for categories based on intended usage, and others specifying the testing requirements for frames etc. Not sure if legally required, but if my memory doesn't fail, all European-branded bikes I've seen are tested by those standards and categorized (e.g. cat 5 for downhill mountain bikes)

Radio on the TV 3 years ago

Cool trip through digital audio broadcast, but I'm left bit puzzled by the last bit about cable vs PON networks. How are coax networks fundamentally better than PON fiber networks? Sure, in a lot of places they have the very tangible benefit of actually existing and covering tons of (potential) customers. But they're often old, require upgrades and retrofits to be DOCSIS 4 compliant. And in places where coax networks don't already exist, I very much suspect that PON fiber is way cheaper to deploy and operate [citation needed].

Good luck even getting a google3-based Hello World to compile. I don't remember the exact numbers, but just #including the most basic libs resulted in a O(100M) binary.

And anything more complex than that would probably have dependencies on so many fat client libs, so much infrastructure, and so many external services, that you'll need months-years to even make sense of them, let alone mock them up.

Agreed that FSD is crap and shouldn't be available to the public. Maybe it's okay to be tested out in the public by professional drivers, paid to do that, and monitored for attention/alertness, much like Waymo did for oh-so-long (and Uber didn't before the infamous 2018 accident).

BUT... that Tesla could've been a student driver mistaking the brakes for the gas pedal, or a car running out of gas, or somebody passing out, or any number of other plausible circumstances where a car just stops in the left lane for no apparent reason.

Comments mention driving too close to the car in front, or too fast, but I'd like to bring attention to distracted drivers. You can see how late the 4th-8th car apply the brakes, and quite reluctantly too. The first couple of cars behind the Tesla did crash but at a pretty low speed, I'd say not even at airbag-deploying speed. But the 6-7th end up hitting the pileup at a good 40-50mph.