Hacker Newsnew | past | comments | ask | show | jobs | submit | est's commentslogin

> Soviet engineering wasn't sloppy. It was designed for robustness, loose tolerances and simplicity

aka "fitting".

I wrote a blog on why Soviet-style engineering is bad https://blog.est.im/2026/stderr-04


> No one has ever made a purchasing decision based on how good your code is.

But many ppl will refuse a purchasing because the product breaks randomly


I've used programs for 30 years. They have broke down randomly, despite being artisanally programmed by actual humans.

Being created by a human doesn't imbue any specific amount of reliability to a piece of software.


is this somewhat similar to Microsofot Bitnet?

Similar in spirit but different in execution as far as I can tell.

reasoning capability might just be some specific combinations of mirror neurons.

even some advanced math usually evolves applying patterns found elsewhere into new topics


compiled JS solves a problem that no longer exists. IE6 is dead RIP.

Now we have a 20MB main.min.js problem


so, always spawn another AI agent to debate!

the year is 2015

smart phones took over the world, social networks happened.

Turns out they are the best sterializer human ever invented.

I just wrote a blog https://blog.est.im/2026/stdin-09


I present you

NVIDIA Nemotron-Personas-USA — 1 million synthetic Americans whose demographics match real US census distributions

https://huggingface.co/datasets/nvidia/Nemotron-Personas-USA


OP's .split_ascii() doesn't handle U+2009 as well.

edit: OP's fully native C++ version using Pystd


Hmm? Which code are you looking at?

    import mmap, codecs

    from collections import Counter

    def word_count(filepath):

        freq = Counter()
    
        decode = codecs.getincrementaldecoder('utf-8')().decode
    
        with open(filepath, 'rb') as f, mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ) as mm:
        
                for chunk in iter(lambda: mm.read(65536), b''):
            
                        freq.update(decode(chunk).split())
            
                    freq.update(decode(b'', final=True).split())
        
                return freq

Oh that's neat, though I might split this into two functions in most cases, no need to entangle opening the file and counting the words in a filelike object.

That's two neat tricks that I'm definitely adding to my bag of python trickery.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: