HNHacker News
TopNewBestAskShowJobs

war1025

6,163 karma · joined October 18, 2016

submissionscomments
war1025··on Things I wish Git had: Commit groups
> The reason why I prefer squash commits is not only the linear history but also the fact that I’m simply not interested in the sausage making process.

I see this a lot and in my opinion squash on merge is just a very poor version of using rebase to put your commits into a proper state before merging.

A commit should be one logical set of changes. It's great if you can get a piece of work done in one change, but often larger work requires several changes.

Beginners seem to treat pull requests as places to pile commits until you get something reasonable at the end (the sausage making process). A better way is to curate your work and clean up the individual commits as changes are requested in review. Then you have a coherent history with commit messages that might tell you something useful.

war1025··on Neutralizing antibodies against SARS-CoV-2 variants after infection, vaccination
Mandatory lockdowns are like cancer surgery. They can be very effective if everything is still localized, but if the cancer has already metastasized, it really doesn't solve the problem.
war1025··on Neutralizing antibodies against SARS-CoV-2 variants after infection, vaccination
Every single person who "didn't do it for me" relied on an enormous network of people putting themselves at risk daily to keep the supply chains functioning.

It's virtuization of fear and little else.

war1025··on Neutralizing antibodies against SARS-CoV-2 variants after infection, vaccination
> like New Zealand,

You mean an island nation with strict control over their ports and borders?

war1025··on Neutralizing antibodies against SARS-CoV-2 variants after infection, vaccination
Probably that patience has worn thin for the extremely overly cautious people who have been hiding in their homes for a year when they are realistically at zero risk of severe illness.

We have known since early summer of last year that being fat or being old are your two biggest risk factors. Beyond that, if you have some serious pre-existing condition that makes you susceptible to all illnesses.

The messaging should have been "Stay home if you are a high risk group. Otherwise live your live." All current data shows areas that have taken that approach are significantly better off today than the places that hid in a hole the past year.

We have let people treat this like it's an end of the world scenario and it's been good for no one.

war1025··on Mouse plague grows to biblical proportions across eastern Australia
I have a coworker that recently moved from near Boston to southern Massachusetts. Absolutely boggles my mind the amount of wildlife he comes across. I thought the East coast was basically fully urbanized.
war1025··on Young female Japanese biker is 50-year-old man using FaceApp
> The majority of “influencers” are young women, and only a minority would want to follow a 50 year old uncle.

One interesting side effect of this is that some of the most popular male YouTube channels I follow never show the host's face. Everything is carefully staged to only show their hands / body.

war1025··on I Want a New Duck (2020)
The difference between "Interfaces" as I have seen them used most of the time, and "Protocols" as mypy uses them, is that usually an Interface is generally part of the inheritance hierarchy.

A Protocol is just the same structural subtyping (duck typing) Python has always preferred.

war1025··on I Want a New Duck (2020)
My biggest pain as far as Python3 typing / mypy goes has been interfacing with major libraries and trying to add types in a way that isn't just me tossing `Any` everywhere.

If memory serves, Twisted hasn't been too bad. SqlAlchemy is pretty well a nightmare though. I think I saw that the latest release has type stubs. That will be nice. PyQt is also less than ideal...

war1025··on A salt monopoly could spike car accidents in the Midwest
Our Civic had some premium Michelin tires on it when we got it. They had zero traction in the winter. Slid through far too many intersections and was all too happy to see them go.
war1025··on A salt monopoly could spike car accidents in the Midwest
Could be sugar beet, which is white.
war1025··on A salt monopoly could spike car accidents in the Midwest
I don't think I've ever met a non-enthusiast who had both summer and winter tires. Is that actually a thing? Maybe in the mountains? Here in Iowa, everything is pretty straight and flat, so you just need to leave more room to slow down.
war1025··on A salt monopoly could spike car accidents in the Midwest
We moved to the next town over four winters ago. We still do all our shopping in the original place because that's where all the stores are and where I work.

Our ten year old car went from having no rust to having completely rusted out rocker panels in two winters.

Granted, they seemed to rust from the inside out, but over the course of the winter you can watch in real time as the rust spreads and dissolves more of the car.

I appreciate that the road is always clear and passable. That's great.

I wouldn't mind the rust so much except body shops won't touch the stuff. They only want to deal with fender benders and whatnot on new vehicles with fat insurance payouts.

Not much appetite for patching cars up and keeping them on the road.

war1025··on Why are tar.xz files 15x smaller when using Python's tar compared to macOS tar?
Unrelated to the issue in the post, but a few years back we ran into an annoying oddity in the Python zipfile module [1].

By default, when you create a new zipfile object to create a .zip archive with, it stores the data uncompressed.

Only noticed the issue when a 100MB zip file suddenly became 3MB after I had edited one of the files and re-saved the archive.

[1] https://docs.python.org/3/library/zipfile.html

war1025··on Over 140k virus species in the human gut, half of which are new to science
I read the book "Never Home Alone" [1] a year or two ago, which is about all the different microbes and insects and such that are in the environment around us.

One of the things the author mentioned a few times is to never assume that something you find around your house has been cataloged or studied before. There are relatively few scientists who study such things.

One of the anecdotes was that someone the author knew discovered two or three new species of insect just by going out into his backyard and looking around.

[1] https://www.goodreads.com/book/show/39088985-never-home-alon...

war1025··on Speeding up Chrome's release cycle
Release cadence and performance issues are orthogonal.

Frequent releases just mean you get updates as they become available. That doesn't mean they can't take on longer-term issues that need several release cycles to complete.

war1025··on US Senators call on FCC to raise broadband definition to 100Mbs down and up
If all you do is basic Netflix / Facebook / etc. you really don't need all that fat of a pipe.

I did upgrade my router in the fall and was surprised how big of a difference it made for my speeds around the house, but we are still nowhere near saturating the bandwidth we have available with 50 / 50.

Granted, we are a family of 5 with 3 preschoolers that don't do anything besides watch shows a couple hours every evening.

war1025··on US Senators call on FCC to raise broadband definition to 100Mbs down and up
I have fiber to the home, and I'd have to say the cost structure is a great reason not to have gigabit service.

We have the base package, which is advertised at 50/50 and is generally right on target. Plus no data caps. I am extremely satisfied.

war1025··on US Senators call on FCC to raise broadband definition to 100Mbs down and up
Just did a quick search, found this [1] article.

The 25/3 definition was set in 2015

It had been set to 4/1 in 2010

In 1996 the original definition was 200k/200k.

This seems to be a moving target and there is no reason to believe it won't continue to be updated.

[1] https://broadbandnow.com/report/fcc-broadband-definition/

war1025··on PipeWire: The Linux audio/video bus
My understanding back in the mid 2000s when I first got into Linux was that OSS only let you play one audio stream at once, and the whole point of ALSA was that it let multiple applications access the sound card.

I guess I could be remembering that wrong, but I know I was listening to multiple audio streams long before PulseAudio came onto the scene.

war1025··on Beyond Meat signs global supply deals with McDonald’s, KFC and Pizza Hut
> The more widely vegan "meat" is available, the more likely it is to be adopted by average people

This argument always reminds me of Margarine, which was promoted for years as having great health benefits, and then we later find out that it is loaded with trans fats and actually terrible for you.

war1025··on US says Saudi prince approved Khashoggi killing
My opinion of the whole ordeal changed quite a lot once I realized that only reason this became a "big deal" is that Khashoggi was well connected.

It was portrayed as "this is bad because they killed a journalist."

In reality it was "this is bad because this guy had lots of connections"

Journalists are killed by bad people every year, usually to very little fanfare.

war1025··on Tesla is shifting from nickel to iron cathode on standard range car's batteries
> Of course, it’s recommended to let your internal combustion engine run a bit to warm up before highly stressing it to prevent damage.

I don't have a reference handy, but I read a decade or so ago that the best way to warm up and engine is actually just to drive in a reasonable fashion.

war1025··on The unusual ways Western parents raise children
> when one salary was enough for a family.

One salary is still "enough" for many of the definitions of "enough" from back then.

Hell, even now my wife stays home and I feel like we live like kings.

Making enough money is important, but past a certain fairly modest income, avoiding stupid lifestyle expenses is more important.

war1025··on Falling sperm counts, declining egg quality, and endocrine disruptors
Via Wikipedia [1].

[1] https://en.wikipedia.org/wiki/Biscuit_(bread)

war1025··on Falling sperm counts, declining egg quality, and endocrine disruptors
I may be off here, but I'm guessing based on the tea comment, that he may be British, which means a biscuit is actually a cookie in American terms.
war1025··on Dairy Made from Grass in a Fermentor
My mom grew up on a dairy farm and said you could always tell when the cows got into the wild onions. Diversity is good, but flavors do come through in the milk, so there are some things that you want to avoid.
war1025··on Earth’s magnetic field broke down 42k years ago, caused sudden climate change
Yup that looks like the one I had in mind.
war1025··on Earth’s magnetic field broke down 42k years ago, caused sudden climate change
Isn't water a ridiculously effective radiation shield? I thought I saw a web comic once claiming that you could swim in a pool with radioactive waste and be just fine as long as you stayed X feet away, where X was on the order of a couple feet.
war1025··on Nuklear: A cross-platform GUI library in C
The name reminds me of the website NuklearPower, and specifically the web comic 8-bit Theater [1] that I followed back in the day.

Off topic, but also a pleasant reminder of something I used to enjoy quite a lot.

[1] http://www.nuklearpower.com/2001/03/02/episode-001-were-goin...

← PreviousPage 3 of 34Next →