Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

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

Submissions

comment 7mo ago · link · parent

Maybe not! Let's find out.

comment 8mo ago · link · parent

I appreciated learning what's involved, though.

comment 8mo ago · link · parent

There's been this since 1998, likely earlier:

    std::vector<std::string> split(const std::string& text, char delimiter) {
        std::vector<std::string> parts;
        std::istringstream stream(text);
        std::string part;
        while (std::getline(stream, part, delimiter)) {
            parts.push_back(part);
        }
        return parts;
    }

comment 8mo ago · link · parent

font-family: Verdana, Geneva, sans-serif;

My computer has neither Verdana nor Geneva, and my browser's default sans-serif is Noto Sans, which has bars on the upper case "I".

Verdana does, too. It looks like Geneva does not (<http://www.identifont.com/show?1O3>), so you're probably using Geneva.

Maybe Verdana is the default for Windows, Geneva for MacOS, and "other" for Linuxes.

comment 8mo ago · link · parent

I think the serifs would be embellishments at the ends of the bars, not the bars themselves.

https://en.wikipedia.org/wiki/Serif

comment 8mo ago · link · parent

Yeah I heard it describes a movie where the line to get into the theater went around the block.

edit: ah, but wiki disagrees <https://en.wikipedia.org/wiki/Blockbuster_(entertainment)>

comment 8mo ago · link · parent

It's a way to manage a fleet of corporate workstations, and some other things that businesses with lots of people on laptops end up needing.

comment 8mo ago · link · parent

Quite low compared to a power utility's HVDC, but quite high compared to the 5/12/24 V output of most AC/DC converters used for electronics.

comment 8mo ago · link · parent

Yeah I always heard that the phone lines carried their own power, and in Florida the phones did keep working when the power went out, but I never knew why.

So the grid was always charging up the lead acid batteries, and the phone lines were always draining them? Or was there some kind of power switching going on where when the grid was available the batteries would just get "topped off" occasionally and were only drained when the power went out?

comment 8mo ago · link · parent

can call it PCRE now

comment 8mo ago · link · parent

As my high school friend said "Everybody likes their own brand."

Consider the alternative.

comment 8mo ago · link · parent

> Not most of the developers but whoever put in place a system where so much time is spent on overhead/retrograde activities.

Dude that's everybody in charge. You're young, you build a system, you mold it to shifting customer needs, you strike gold, you assume greater responsibility.

You hire lots of people. A few years go by. Why can't these people get shit done? When I was in their shoes, I was flying, I did what was needed.

Maybe we hired second rate talent. Maybe they're slacking. Maybe we should lay them off, or squeeze them harder, or pray AI will magically improve the outcome.

Come on, look in the mirror.

comment 8mo ago · link · parent

> The cold reality, in my opinion, is that the things we value about ourselves are generally not that valuable to others. I love my own personality and humanity, my soul if you will, but nobody's paying me for it, and so I have to value it accordingly.

Maybe this was Diogenes's observation.

comment 8mo ago · link · parent

How many GB? I see "bluray rip" mp4 files on torrent index sites, which I assume have been aggressively recompressed, but there are three size tiers in the "1080p" category: 2-3GB, 7-10GB, and 15+GB.

comment 8mo ago · link · parent

Anyone know where I can buy/borrow an ebook version of "Anti-Semite and Jew: An Exploration of the Etiology of Hate"? Can't find it anywhere.

comment 8mo ago · link · parent

Yep! But you are also a mouse who has limited venues in which to complain.

I wonder if the vaccine causes inflammatory and other unpleasant responses when administered. If so, I wonder if those responses go away after the last dose, when the three months of protection begin.

Here are the two paragraphs that I found interesting:

> The new vaccine, for now known as GLA-3M-052-LS+OVA, mimics the T cell signals that directly stimulate innate immune cells in the lungs. It also contains a harmless antigen, an egg protein called ovalbumin or OVA, which recruits T cells into the lungs to maintain the innate response for weeks to months.

> In the study, mice were given a drop of the vaccine in their noses. Some recieved multiple doses, given a week apart. Each mouse was then exposed to one type of respiratory virus. With three doses of the vaccine, mice were protected against SARS-CoV-2 and other coronaviruses for at least three months.

comment 8mo ago · link · parent

Gotta chug that verification can.

comment 8mo ago · link · parent

The title of this post changed as I was reading it. "It looks like the 'JVG algorithm' only wins on tiny numbers" is a charitable description. The article is Scott Aaronson lambasting the paper and shaming its authors as intellectual hooligans.

comment 8mo ago · link · parent

That was my thought as well, but all I know is hearsay.

It doesn't have to be one or the other, either. Whether women excel in science and medicine is not the sole indicator of their status in society.

comment 8mo ago · link · parent

I haven't gone deep on enough things to know whether science fiction is worse than anything else in that regard. But science fiction is largely trope-ridden young adult male power fantasy emotionally, intellectually, and spiritually bereft pulp. It's also my favorite genre.

comment 8mo ago · link · parent

I use firefox and have my autoplay policy set to aggressive no. There's an icon left of the address bar that shows a crossed-out play button when scripted video is prevented. If I click on that play button, I can select "always allow," and the videos will be allowed to play. That's all it took for me.

I set that option one day when a news website would autoplay a video every time I scrolled (I think it was the New York Times). This sent me into a fit of rage and now I prefer the inconvenience of having to reselect "allow all" almost every time I visit a site with video.

comment 8mo ago · link · parent

A former coworker was evaluating the cleanliness and structure of some non-free GeoIP data that took the form of several large CSV files. He was writing nested loops in Go that parsed the CSV and evaluated the predicates that interested him, and it was arduous and not going as quickly as he would like.

I told him to slurp it all into a sqlite database and to express his data integrity questions as SQL queries.

It was still a pain in the ass for him, but leveraging that tool made things go a lot better.

comment 8mo ago · link · parent

And how noisy it can get! I hope that things go as well as they can for Iran.

comment 9mo ago · link · parent

> They don't really care about tricky things like 'legality' or 'the court of law', they could just force everyone to stop interacting with them, raid their offices and steal all their shit.

This is criticism that I would use to describe countries like China and Russia, and many other poorer ones. Were the Trump administration to do this, it would be unequivocal evidence that we are dealing with an unlawful insurgent government. I doubt it will happen, but I'm often wrong.

comment 9mo ago · link · parent

Smaller government has always been code for bigger me, at least in recent American politics. Now me is government, so bigger government.

comment 9mo ago · link · parent

I regularly refer to [the unix shell specification][1] to remember the specifics of ${foo%%bar} versus ${foo#bar}, ${parameter:+word} versus ${parameter:-word}, and so on.

It also teaches how && and || work, their relation to [output redirection][3] and [command piping][2], [(...) versus {...}][4], and tricky parts like [word expansion][5], even a full grammar. It's not exciting reading, but it's mostly all there, and works on all POSIXy shells, e.g. sh, bash, ksh, dash, ash, zsh.

[1]: https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html

[2]: https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html...

[3]: https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html...

[4]: https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html...

[5]: https://pubs.opengroup.org/onlinepubs/7908799/xcu/chap2.html...

comment 9mo ago · link · parent

Even if the ambient relative humidity is near 100%, water's latent heat of vaporization is nothing to shake a stick at.

I like the idea of a giant heat pump into the ground, but heat exchangers are expensive and so is digging.

comment 9mo ago · link · parent

To be fair, my first thought was "walk, it's only 100 meters round trip." Took almost a minute to hit me.
12345
38