Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions

Submissions

comment 1y ago · link · parent

I agree with you, but I could easily convince myself otherwise with the right context or motivation.

> Well funded public education is a bedrock of fair equal society

First we have to decide what a fair equal society is, and then decide that this is what we want, and then demonstrate that spending on public education helps to achieve this.

People I've spoken to about education who do not see it as I do will disagree with me on all three points.

Colin Powell [valued][1] (paywall) his public school education.

[1]: https://web.archive.org/web/20221108214853/https://www.wsj.c...

comment 1y ago · link · parent

I like this analogy. At a Walmart I'm more likely to find a good deal, and will encounter people who I wouldn't at home/work/friends, yet I prefer the idea of a farmers' market.

comment 1y ago · link · parent

It's usually evolution or sex or race or something like that.

One of my friends was home schooled. It was at least partly about religious values, but I think it was also partly about him being a bit of a strange kid and getting along better at home. He went back to public schools in middle school, and that was real rough but I think he was happy by the time he got to high school.

I'm sure there are many reasons to home school, but the one I hear about most is religious.

comment 1y ago · link · parent

In my experience they become regular adults. Whatever made them an asshole is still there, but they've either learned to deal with it or the context has changed such that there's no point in being that kind of asshole anymore. Nobody's perfect, and adolescence is rough in the best of times.

comment 1y ago · link · parent

If you're on a web browser, there are extensions that hide them (for now). That and members only and such.

Soon, assuming my setup continues to work, my youtube experience will be completely unlike the default: no shorts, no autoplay, no ads, no sidebar recommendations, homepage is subscriptions, no premium.

I'm bleeding them dry!

comment 1y ago · link · parent

Here's my attempt:

    # Multi-pass FizzBuzz
    n = 100 
    # [['1'], ['2'], ['3'], ['4'], ['5'], ...]
    seq = [[str(i)] for i in range(1, n + 1)] 
    # [['1'], ['2'], ['3', 'Fizz'], ['4'], ['5'], ...]
    for i in range(3, n +  1, 3): 
        seq[i-1].append('Fizz')
    # [['1'], ['2'], ['3', 'Fizz'], ['4'], ['5', 'Buzz'], ..., ['15', ''Fizz', 'Buzz'], ...]
    for i in range(5, n + 1, 5): 
        seq[i-1].append('Buzz')
    # Arithmetic equivalent to:
    # len=1 -> the whole thing (from zero to end, because zero = -zero)
    # len=2 -> the length-1 suffix (just Fizz or Buzz)
    # len=3 -> the length-2 suffix (Fizz and Buzz)
    # The branch is hidden in the slice syntax:
    # Python has to check whether `x` is negative in `terms[x:]`. 
    for terms in seq:
        print(''.join(terms[-(len(terms) - 1):]))
Here's a version that uses generators instead of multiple passes over a list:

    # Single-pass FizzBuzz
    n = 100

    def numbers():
        for i in range(1, n+1):
            yield [str(i)]

    def fizzies():
        nums = numbers()
        try:
            while True:
                yield next(nums)
                yield next(nums)
                yield [*next(nums), 'Fizz']
        except StopIteration:
            pass

    def buzzies():
        fzs = fizzies()
        try:
            while True:
                yield next(fzs)
                yield next(fzs)
                yield next(fzs)
                yield next(fzs)
                yield [*next(fzs), 'Buzz']
        except StopIteration:
            pass

    for terms in buzzies():
        print(''.join(terms[-(len(terms) - 1):]))
Edit: Can't resist -- unbounded without loops, but recursion blows the call stack (granted, well after 100):

    def numbers(i=1):
        yield [str(i)]
        yield from numbers(i+1)
    
    def fizzies(source=numbers()):
        yield next(source)
        yield next(source)
        yield [*next(source), 'Fizz']
        yield from fizzies(source)
    
    def buzzies(source=fizzies()):
        yield next(source)
        yield next(source)
        yield next(source)
        yield next(source)
        yield [*next(source), 'Buzz']
        yield from buzzies(source)
    
    def main(source=buzzies()):
        terms = next(source)
        print(''.join(terms[1-len(terms):]))
        main(source)
    
    main()

comment 1y ago · link · parent

I don't know much about militaries or nuclear reactors, but I know that reactors are used in some submarines and in some aircraft carriers -- situations where you want a vessel to to remain at sea for long periods of time without refueling, and weight is not a primary concern.

That's pretty niche, though. Think about trucks, tanks, aircraft, generators for outposts, etc. It might be cool if you could safely package a zillion nuclear reactors for those use cases, Terminator style, but I'd guess that reactors are a better fit for centralized, permanent power generation.

comment 1y ago · link · parent

I suspect that the reason is: "I don't want to do that, and if I don't do it then somebody else eventually will, and if they don't eventually do it then that's their problem, and in any case I don't care."

Imagine a business that didn't periodically fetch their carts. The parking lot would be a hazard of loose carts, and the store would run out of carts for customers. So the store will have to do it anyway.

Returning a cart is a courtesy -- one where it is very visible (temporarily) when the courtesy has not been extended.

comment 1y ago · link · parent

Publix also advises customers not to tip the kid who unloads the groceries into your car. You will accept our service and you will do nothing more!

comment 1y ago · link · parent

It's an odd framing. Out of R_t total raccoons, R_e bite or scratch (potentially "expose") humans. R_e / 10 of those were carrying rabies. So it could be that raccoons almost never bite/scratch humans, such that the behavioral effects of rabies are a significant motivator. It also could be that raccoons bite/scratch humans all of the time, and a ton of those raccoons have rabies. The latter is scary, but the former is likely the truth.

I wonder if increased interactions between humans and raccoons will lead to a reduction in that 10% figure (more reasons to bite humans).

comment 1y ago · link · parent

I don't have knowledge, but my understanding based on a conversation I had on the topic with a friend of mine is that the "let's use hydraulic fracturing to make geothermal energy feasible in North America" idea involves drilling very far down. Oil is on [average][1] about a mile down, while [one of Fervo's wells][2] is three times deeper.

[1]: https://www.eia.gov/dnav/ng/ng_enr_welldep_s1_a.htm

[2]: https://fervoenergy.com/fervo-energy-pushes-envelope/

comment 1y ago · link · parent

I use LibreWolf at work, and I exempt most internal sites from aggressive anti-tracking stuff, but otherwise it works fine.

comment 1y ago · link · parent

Yes but they're quite good at it. Reliable OCR is font dependent, whereas I think a lot of models just kind of figure it out regardless.

comment 1y ago · link · parent

Yeah the first thing that came to mind when I started reading the readme file was "that's not bit-banging -- this is the whole point of PIO."

comment 1y ago · link · parent

That's true, but if the use case is to display text and to optimize keyboard navigation, then the added complexity of a GUI might be unnecessary.

Variable width fonts and style sheets are nice, though.

comment 1y ago · link · parent

I recently rediscovered that I can do GUI menu things on the keyboard in apps like VLC. Feels like a magic trick -- the best of both worlds. Was it the move to phones that did it? Or did most people not use alt shortcuts?

comment 1y ago · link · parent

I find it helps to leave the phone at home when I'm running errands. It helps that I work from home so I can mostly just leave it in my bedroom all day.

comment 1y ago · link · parent

In this case it suffices to disable javascript. The article loads in full and the paywall is generated on the client side.

comment 1y ago · link · parent

When I saw the first episode of the first season of the reboot, I was hooked. I couldn't believe that there was really a show that went all in with that zany, campy, sci-fi vibe. There's something about the britishness that makes it work.

A time traveling alien with a Northern accent investigates killer mall mannequins, one of which possesses a trash bin that then eats the costar's boyfriend and transforms him into a plastic golem. They get to the heart of the infestation, and the Doctor readies his weapon -- "anti-plastic," of course -- but desires not to use it as he struggles to talk intergalactic law with the malignant plastic blob. Then he runs off with the girl for adventures in future episodes.

Many of the flavor-of-the-week sci-fi concepts were quite good, and some were not. But anthropomorphic cat nuns! A giant head! Evil buckets with eye stalks! Killer statues that can only move when you're not looking!

Maybe it was some inner child aging out of me, but I feel like the show's writing took a nose dive about halfway through Peter Capaldi's Doctor.

comment 1y ago · link · parent

Yes, I meant the 2005 series.

comment 1y ago · link · parent

I remember seeing Doctor Who for the first time circa 2011 when it was on Amazon Prime. First few seasons were very much early 2000s TV, and then suddenly it got all big budget Netflix style in season five.

The older look doesn't bother me, though. The same thing happened with The Expanse.

comment 1y ago · link · parent

All I need is notepad and paint, but I work on a Mac and daily drive a Gnome so I use TextEdit/gedit and GIMP. LibreOffice for presentations and spreadsheets, the few that I create.

comment 1y ago · link · parent

I don't know, probably not. My dad has wet macular degeneration, and it's treated with injections into the eyeball every few months. The treatment works well, but timing the injections is tricky. Too often and the side-effects become significant. Not often enough and you can get a retinal bleed, which my dad did. Fortunately he regained most of the vision lost in the bleed, and now they've increased the frequency of the injections. He'd probably be blind by now without them. Not to mention the cataract surgery and the glaucoma...

It isn't carrots.

comment 1y ago · link · parent

I've read that migrating herds change their course from year to year to avoid the recently hatched swarms of mosquitoes.

comment 1y ago · link · parent

I was wondering how to deal with that when this becomes a therapeutic option. Worst case might be a colostomy, so somebody whose lungs don't work at all anymore can still "breathe" and poop long term.

On the other hand, maybe it would be fine. The oxygenated fluid would just come out extra dirty sometimes. Also, if you're butt chugging oxygenated fluid all of the time, it's not like solids are going to have time to collect in the colon.

Will oxygenating the otherwise anaerobic environment cause issues with the gut microbiota?

comment 1y ago · link · parent

For those unfamiliar with this piece of internet history: <https://www.youtube.com/watch?v=twpdnV2Yq1E>

comment 1y ago · link · parent

/dev/null is persistent across restarts and cache friendly, so it's got you covered.

comment 1y ago · link · parent

At the bottom is <https://xkcd.com/1654/>, which is actually pretty funny.

comment 1y ago · link · parent

tl;dr median journalists are no better than LLMs.

comment 1y ago · link · parent

I like to imagine that thermodynamics happened because industrial metallurgy and boiler design advanced to the point where people started asking "what are the fundamental constraints?"

There's a chance that it didn't actually happen that way, though.

edit: I also heard that Louis Pasteur did work for breweries, answering the question "Why do some batches come out nasty while most are fine, given the same inputs?"

1
567
38