HNHacker News
TopNewBestAskShowJobs

mushyhammer

205 karma · joined February 22, 2022

submissionscomments
mushyhammer··on I built a receipt printer for GitHub issues
I bet code reviews with markers are fun though.
mushyhammer··on Open source ‘protestware’ harms Open Source
Yes true but have you audited your thousands of modules? If you have a build tool that wasn’t born in 2020 chances are it pulls a hundred dependencies from 20 separate vendors.

I saw this as a JS developer who scarily runs npm installs multiple times a day.

mushyhammer··on Bentō is an alive, unstable Japanese noise box by Giorgio Sancristoforo
How dare you culturally appropriate online millennial behavior? You can’t complain about cultural appropriation unless you have an arts degree from 2019.
mushyhammer··on Mac Studio M1 Ultra Teardown [video]
> Apple was trying to make the best computer possible

With the latest MacBook Pro it feels like they're back on the right track. Heck they dropped the magic bar.

The issue with replaceable components is that they're often at odds with performance. If MacBook had user-replaceable batteries we simply would have less battery OR a thicker and heavier and more expensive computer. Literally you cannot have all.

Memory/SSD sticks take more space and cost more than a soldered chip (and they earn Apple more money, shhh)

It's a compromise though, I get it.

mushyhammer··on Sumerian dog jokes, or the difficulty of translating dead languages
Exactly.
mushyhammer··on Sumerian dog jokes, or the difficulty of translating dead languages
Weren't they two horses?
mushyhammer··on Sumerian dog jokes, or the difficulty of translating dead languages
A priest, a rabbi and a horse walk into a bar.
mushyhammer··on Google Fi Suddenly Strikes
Several things don’t add up and just show ignorance or selfishness. Examples:

- traveling with covid

- needing to extend a visa after 20 days in the EU (Ukraine is not a Schengen country so he just entered) even though it’s 90 by default.

- thinking it “works in 150 countries” without limits

- attaching a sob story and unnecessary medical details about how much he needed for this to not happen

Since the lockout happened at least 17 days after he got the fever, he most likely does not have covid and can definitely fly back to the US, just like he flew with covid to Spain.

But of course that’s more inconvenient than just blaming someone else.

mushyhammer··on Show HN: `Git add -p` with multiple buckets
I mean GUI, a clickable interface with columns and such. With a CLI you get all the files in a single scrollable area.

Side note: there are also GUIs for the terminal, they’re fine.

mushyhammer··on Show HN: `Git add -p` with multiple buckets
I find it crazy how many people like working with git from the command line and just use -a any chance they get.

I never commit from CLI and have been using GitHub Desktop for years (it works on any repo/remote). Selecting individual files, patches, or even lines is a breeze. I usually make a bunch of changes, then pick, commit, branch, repeat. Every branch is based off `main` and can be pushed independently. Any leftover will just be dropped (any logging/testing lines that I never picked, for example)

Using a UI makes it easy to review your changes before you commit them, there’s no way you can review (and pick or discard) your 100-lines 5-files changes effectively on the command line.

GitHub Desktop is quite limited and I hope it stays that way, I still use the cli for operations other than commit and checkout.

mushyhammer··on If Google sucks then why is everyone still using it?
Yes but I mentioned how to limit that:

> trusted Google users

> (after manual review)

> already exists and works on Google Maps

mushyhammer··on If Google sucks then why is everyone still using it?
You don’t give Google enough credit: They totally can add a “report spam site” action in the search results, but they don’t, because they don’t care. It would help immensely to have websites disappear from search after 100 trusted Google users complain about them (after manual review). This stuff already exists and works on Google Maps.

Even the data collected from a personal blocklist would be useful for them, without explicitly reporting sites, but again they just don’t care.

They’ve been in the business of parsing websites for 25 years, surely they can tell ad-infested spam websites apart from good ones.

mushyhammer··on AEG combi microwave unusable after update: device thinks it is a steam oven
Hi, have you googled "smart kettle"?

They already exist. We're living in the future and/or a joke.

This and Russia turning the yellow arches sideways calling it Uncle Vanya make it feel like we've entered Los Santos.

mushyhammer··on Apple Made $6.5B USD by No Longer Providing Accessories with New iPhones
I don't think $20 on top of $700-$1400 is making anyone blink. One will bitch about it and proceed with the purchase, if needed.
mushyhammer··on Apple Made $6.5B USD by No Longer Providing Accessories with New iPhones
> - Don't remove free accessories the same year you switch connector on one end (USB A to C), necessitating an additional purchase.

The iPhone 11 Pro already came with USB-C, so that already did not happen.

> came off looking cheap

I don’t think anyone really cared. Who bought Apple will continue buying Apple, this move has zero downsides for Apple. We need to leave the tech bubble to see it.

mushyhammer··on Apple Made $6.5B USD by No Longer Providing Accessories with New iPhones
I love how conversations conveniently slide off just to argue about stuff.

The comment said "invented the modern slab-of-glass smartphone industry".

That's it, that's true, there was no "slab-of-glass" smartphone industry. The comment did not say "invented the smartphone industry" — all comments after it are just unrelated.

Yes there was there were smartphones 10 years prior. No they were not slabs of glass.

mushyhammer··on US Senate votes unanimously to make daylight savings time permanent
> Your body's internal clock is actually 24 hours 11 minutes long on average

Wasn't that debunked? Just look at what happened to people who slept in a cave for a few days, they came out of it having no idea of how long they were in there, even if they were somehow conditioned by others who guessed their own time. If the body had an internal clock, their estimation would not be off by 17 days out of 40. That's some serious mismatch.

https://www.insidehook.com/daily_brief/science/french-cave-d...

mushyhammer··on US Senate votes unanimously to make daylight savings time permanent
I really don't get what you're saying. Move the clock 4 hours forward and you favor some people; Move it backwards and you favor others. You literally cannot make everyone live in their "perfect sleep cycle." If you feel sleepy "at 2am" this changes nothing for you.

In Norway in December people wake up "in the middle of the night" because sunrise is at 10am: Humans can adjust easily to this stuff, it's just that we like to sleep "late" (as defined by the clock)

mushyhammer··on Tiny WASI – A tiny WASI runtime written in TypeScript
Are we going to post every 200-line project to HN too?

Tiny projects are fine, but they don't all need to be posted to HN.

mushyhammer··on Google Domains is out of beta
If I were you I would never do this, mostly because there’s already an insane amount of competition so it’s really, really not worth giving yet more power over your sanity to Google.

Someone marks your business @domain emails as spam, now your account is locked. Why would you put yourself in this situation? Just, don’t.

mushyhammer··on New WebKit features in Safari 15.4
Sounds like you’re on an old phone? I did have RAM issues on the 11 Pro that unloaded every app as soon as I opened the camera, but otherwise tabs did not unload that often.

Reddit is its shitshow and I ended up installing Apollo. This is not Safari’s fault.

mushyhammer··on New WebKit features in Safari 15.4
Yeah I saw that tweet. +1 for Safari, but we’re still -24.

I’m still waiting for regex lookbehinds, a ES2018 syntax that I can’t use. Literally Safari does not execute the whole file if you use such regex literals.

mushyhammer··on New WebKit features in Safari 15.4
Not true in most cases. Usually popups have use position:fixed so they can be “easily” targeted. I remember seeing some extension that disabled position:fixed across the board (I assume it had terrible perf though)
mushyhammer··on I discovered thousands of open databases on AWS
> you only need to fake competence to management

With so many 10x full-stack developers who're just looking to get sh done and clock out, it can't be otherwise. If managing a server becomes just another bullet point in a developer job, this is exactly what we get.

Sure I can deploy stuff, but you shouldn't trust me. Unfortunately many are not so honest or even aware of the complexity (unknown unknowns).

mushyhammer··on Google Fi bricked my iPhone 11 Pro Max (2020)
To simplify: Best Buy sells locked phones.

The locking is already there, but the operator is chosen at the activation so that Best Buy can sell one model for any operator.

So the blame is actually Apple’s for blindly allowing this behavior, Best Buy’s for not advertising it, T-Mobile’s for allowing this through MNVO’s, and Google’s for not knowing that this happens and not allowing unlocks.

And they said my Node dependency tree was a mess!

mushyhammer··on EU to make it mandatory to use customer-replaceable batteries in household items
> Consumer should be voting with their wallets

I bet Americans love picking a $80,000 hospital bill over a $90,000 one.

Government decisions, done well, go far beyond what voting with one’s wallet can. Oftentimes the consumer is just squeezed out of the equation and everyone’s price will follow.

One company decides to do away with replaceable batteries and you will say "let the consumer vote with their wallets." Then everyone does the same and the user can no longer vote.

What we get is instead a mountain of waste that everyone has to pay for, indirectly, forever.

mushyhammer··on Pull Request File Tree Feedback
> seems better

That’s why they do it, but what they’re doing is essentially rejecting the request. If it’s a question, sure, but if it’s a feature request or worse yet a bug report then moving to discussions is bs.

mushyhammer··on Moderna will develop mRNA vaccines for some of the world’s worst diseases
How do you find the novax in a room? They'll tell you.
mushyhammer··on Go Chainable: .map().filter().reduce() in Go
> what to do when going from n to n+1

You mention the only worthwhile exception: sums and other 3-character operation.

If you’re using reduce to construct objects you’re just better off with a for loop. Having a random awkward named function that only makes sense when plugged into reduce is not any better than just have a function that includes the loop itself:

    - newArray = array.reduce(operation, [])
    + newArray = operation(array)
If you’re used to having infinite chains of loops then of course that’s not going to work.

The problem is that reduce can do anything and most people use it to do anything. It has no advantage over regular for loops unless you’re proficient with real functional programming (if you use forEach() in JavaScript, you’re not)

> With both, you only have to write what happens to one element, and it will happen to the whole collection. This makes code easier to read.

Filter and map are ok. Filter, map and reduce are not, at least not in JavaScript. Try writing the equivalent for loop and you’ll find that it’s just as simple to follow.

mushyhammer··on The long strange trip to Java (1996)
Are you telling me I left a random comment about something that happened 25+ years ago and the relevant person saw it within two hours?

Mind blown :o

Anyway it made sense at the time, it’s just unfortunate. The only redeeming part is that in Indonesian it’s actually spelled Jawa so it doesn’t affect locals too much

← PreviousPage 2 of 3Next →