HNHacker News
TopNewBestAskShowJobs

mushyhammer

205 karma · joined February 22, 2022

submissionscomments
mushyhammer··on The long strange trip to Java (1996)
I resent them for stealing the name of a beautiful island home to 145 million people. It’s so bad that even when you google Java while on Java island you get Oracle stuff first (in incognito).

I was hoping to read about an actual boat trip to Java but I knew that on HN I’m more likely to find programming stuff.

For people who are unaware of the place, I suggest googling photos of “Java nature”

mushyhammer··on HTML comments work in JavaScript too
> So it's possible with a tiny bit of JS

Not really. expression() was evaluated by just moving the mouse around, which is what allowed attaching stuff to your cursor with "just some CSS"

https://web.archive.org/web/20120420154658/http://msdn.micro...

To do what expression() could do you need several event listeners at least which, I mean, of course you can still do it, but it's really unrelated to CSS Properties and just JavaScript at this point.

mushyhammer··on Go Chainable: .map().filter().reduce() in Go
That habit makes zero sense. Reduce already is a map and filter and one, why do you need to loop it 3 times? Reduce itself is awful to begin with.

https://twitter.com/jaffathecake/status/1213077702300852224

mushyhammer··on Are sprouted potatoes safe?
> Of course, they don't, and the industry hasn't been sued into oblivion

I wouldn’t use that as evidence. Plenty of stuff is dangerous but doesn’t have such labels. Heck any corner can be fatal. Any electric appliance can burn your house down. These are not rare events, it just depends on how many loud people notice.

mushyhammer··on GE won’t let me use convection roast on my new oven without connecting to WiFi
> It will take a decade until people have learned

I wish I was so positive about that. Disposable electronics have been part of cars (which cost 10s of thousands of dollars) for far longer and people still buy them. We’re doomed. Doomed I say.

mushyhammer··on GE won’t let me use convection roast on my new oven without connecting to WiFi
“Smart” appliances are so idiotic this has stopped being funny many moons ago and it saddens me that it’s such a sad state of affairs. Even the best consumer electronics companies generate such frustrating software that I’m losing faith in the profession itself.

Why is software so difficult and when will it stop?

mushyhammer··on Mathematically correct breakfast: How to slice a bagel into two linked halves (2009)
I really hope this isn’t really that common. Like how bad do you have to be with a knife and do you really need someone to tell you it’s going to be a tad difficult to cut a frozen piece of bread?

Basic safety tip: Don’t pull or point pointy bits towards your meaty bits.

mushyhammer··on The hardest program I've ever written (2015)
> I think I'd still prefer to see a formatter attempt to preserve any formatting which is already 'good enough' to pass as an output threshold.

That feels like Prettier sometimes. I think it leaves some objects on multiple lines or one line depending on how you leave them. But I’m not too sure.

mushyhammer··on Why Japanese Web Design Is So Different (2013)
Korean uses non-monospaced punctuation, spaces and numbers though, it’s not fully-monospaced like Chinese and Japanese

https://ko.wikipedia.org/wiki/%EC%9C%84%ED%82%A4%EB%B0%B1%EA...

Japanese also has monospaced numbers but maybe they’re not super common.

https://ja.wikipedia.org/wiki/%E3%83%A1%E3%82%A4%E3%83%B3%E3...

mushyhammer··on Show HN: I made a web game called Almost Pong
Missed the chance to name it Flappy Pong
mushyhammer··on Trapped in Silicon Valley’s hidden caste system
No.
mushyhammer··on Trapped in Silicon Valley’s hidden caste system
> attempting to subvert that via "good" racist methods is not going to fly, especially if documented.

It would because it did and it does: https://en.wikipedia.org/wiki/United_Steelworkers_v._Weber

mushyhammer··on You need to turn that system off. Right now. This isn't a request.
Not to defend any countries, but national blocklists are used by plenty of other countries, including free ones like Italy. The difference is just that Russia blocks dissidents too.
mushyhammer··on You need to turn that system off. Right now. This isn't a request.
Nah people are just rude. Look at how the vice prime minister demanded Elon Musk to send him free stuff while simultaneously making fun of his space plans. Apparently when there’s a conflict everyone must follow every semi-related request on Twitter. I guarantee that thousands of people are shaming private companies into “canceling” Russia right now, including cutting internet off to private citizens who are not in a position to protest the war.
mushyhammer··on Things you don't need JavaScript for
> The site won't retain the user's choice if you use plain CSS which is pretty horrible

Correct, that's why the suggested solution here is just as bad.

"Plain CSS" dark mode just follows your device’s setting via `prefers-color-scheme` @media query. Anything else is just unnecessary and should be suppressed. Just set your whole system once and be done.

That "Plain CSS" works perfectly and indeed does not need any JS nor different URLs (wut? who does that.)

mushyhammer··on Longbet: By 2027, software will be metered/sold by the second
> most software uses mostly local resources. Your Slack server footprint is tiny

That’s completely irrelevant for “most software.” What I pay as a company is for the value it provides (and for the people who work on it). For Office specifically the resources are minimal on both sides but it still generates millions for Microsoft, whether it’s native or web based.

mushyhammer··on Longbet: By 2027, software will be metered/sold by the second
Software isn’t gym though, it can be “used” by just keeping it in the background for multiple sessions in a tab somewhere, especially if the software does some monitoring so it’s always active.

Whether this makes sense though depends on the software.

For me personally I would not terribly mind to pay Photoshop by the minute because I would need it an hour per year. That’s extra cash that Adobe now just does not see. Most professionals though would still keep paying monthly because they use it a lot.

mushyhammer··on Longbet: By 2027, software will be metered/sold by the second
Sometimes that works out in your favor, others it doesn’t. Lambda minutes are far more expensive than EC2’s
mushyhammer··on Longbet: By 2027, software will be metered/sold by the second
> They can make way more money billing everyone per month than by the second.

Based on what? Obviously the price per second will be higher than a fixed monthly rate. See Lambda vs EC2 pricing for example. AWS’ whole infrastructure is pay-per-use and they’re banking.

mushyhammer··on Longbet: By 2027, software will be metered/sold by the second
Is AWS the proof you’re wrong or just the exception?
mushyhammer··on Tinder’s pricing algorithm can charge users up to 5x more for same service
I wouldn’t go as far as to say it’s 100% about looks. I skip women without a bio because they’re usually the most boring.
mushyhammer··on Show HN: TopHat Finance – free, open, and offline
Nah you’re wrong on all counts. If a product makes bad decisions and then the author posts it on HN what do they expect exactly?
mushyhammer··on Show HN: TopHat Finance – free, open, and offline
Maybe rude but not entitled. Nobody here cares about the product specifically, but it’s shooting itself in the foot and saying it’s a feature; that doesn’t sit well with many.

https://xkcd.com/386/

mushyhammer··on Tinder’s pricing algorithm can charge users up to 5x more for same service
I think you got that wrong. Top Picks appear to be people who are picked the most, not because I would personally like them. Most of the time I like none of them even if they obviously have a “good” profile (sexy photos, no bio)
mushyhammer··on No_color
The answer is super easy: I want JSON to be shown with syntax highlight but when I pipe it elsewhere I want porcelain output. $NO_COLOR is an additional indicator that the output might need further processing and it’s not for human consumption (in a terminal)

What you might be missing is that “color” on the CLI is actually extra characters before and after a colored word. If the viewer does not interpret them (for example a web UI), they will just be extra characters. This is akin to printing `<strong>8000 bytes</strong>` and expect it to be rendered correctly everywhere it’s shown.

mushyhammer··on On the Origin of the iPhone
As a Symbian and Windows Mobile user at the time let’s not kid ourselves. Those smartphones and PDAs were in some aspects far superior (high res screens, cameras, 3G, apps, etc) but the software was junk if compared to the iPhone, especially browsers. I did like my HTC Diamond though (which came after the iPhone)
mushyhammer··on On the Origin of the iPhone
Show me the handheld devices that were running full-blown Linux at the levels the iPhone was (i.e. with a responsive UI). Linux being Linux I’m sure it can be run on a sock but that’s not the same as what iPhone OS 1.0 was.
mushyhammer··on On the Origin of the iPhone

    iPhone announcement: January 2007
    Android release: October 2008
    Windows Phone 7 release: October 2010
Indeed it seems that Microsoft took their sweet time to rearchitect their OS, but these dates suggests Microsoft realized much earlier than 3 years later.
mushyhammer··on I have no capslock and I must scream
Realistic except for the manual. You're just supposed to find them on your own nowadays.
mushyhammer··on I have no capslock and I must scream
To be fair, that's not a bad idea. It'd probably stop a bunch of drivers driving backwards without looking. Let's do it.
← PreviousPage 3 of 3