NoSpotOfGround

joined 2 years ago
[–] NoSpotOfGround@lemmy.world 110 points 4 days ago

In Soviet America, a wrong turn takes your life.

[–] NoSpotOfGround@lemmy.world 24 points 2 weeks ago (2 children)

Feeding money to Russia was madness and had to be stopped as a priority. Nothing ridiculous about it.

[–] NoSpotOfGround@lemmy.world 1 points 3 weeks ago

Thanks, and sorry about that! I removed the colon from near my URL now, just in case.

[–] NoSpotOfGround@lemmy.world 255 points 3 weeks ago* (last edited 3 weeks ago) (5 children)

The real meat of the story is in the referenced blog post: https://blog.codingconfessions.com/p/how-unix-spell-ran-in-64kb-ram

TL;DR

If you're short on time, here's the key engineering story:

  • McIlroy's first innovation was a clever linguistics-based stemming algorithm that reduced the dictionary to just 25,000 words while improving accuracy.

  • For fast lookups, he initially used a Bloom filter—perhaps one of its first production uses. Interestingly, Dennis Ritchie provided the implementation. They tuned it to have such a low false positive rate that they could skip actual dictionary lookups.

  • When the dictionary grew to 30,000 words, the Bloom filter approach became impractical, leading to innovative hash compression techniques.

  • They computed that 27-bit hash codes would keep collision probability acceptably low, but needed compression.

  • McIlroy's solution was to store differences between sorted hash codes, after discovering these differences followed a geometric distribution.

  • Using Golomb's code, a compression scheme designed for geometric distributions, he achieved 13.60 bits per word—remarkably close to the theoretical minimum of 13.57 bits.

  • Finally, he partitioned the compressed data to speed up lookups, trading a small memory increase (final size ~14 bits per word) for significantly faster performance.

[–] NoSpotOfGround@lemmy.world 21 points 1 month ago

Have you considered that you may be a hallucinating AI yourself?... Quick, try drawing a full glass of wine!

 

Tesla Cybertruck appears to be facing significant sales challenges. After initial hype faded, and over a million reservations turned out to be as real as unicorns, Tesla is now enabling leasing options and free upgrades to move its inventory of the futuristic pickup truck. The company's recent silence on the Cybertruck, even omitting it from their earnings call, speaks volumes about the situation.

Tesla initially projected sales of 500,000 Cybertrucks annually and established production capacity at the Giga Texas for 250,000 units per year. After working through the initial reservation backlog with fewer than 40,000 deliveries, the automaker is now struggling to sell the remaining vehicles.