HNHacker News
TopNewBestAskShowJobs

why-oh-why

217 karma · joined March 30, 2016

submissionscomments
why-oh-why··on Ask HN: Why do you still use Wordpress in 2021?
Hackers. Managed WordPress is great, unmanaged means you're the manager, devops, security expert, etc
why-oh-why··on Why NetNewsWire Is Fast
I hope you’re being sarcastic.

At heart, Slack is a chat app. Chat apps have existed for 40 years and don’t require a whole lot of data.

The complex part might be displaying the data, but that’s not much different than what an RSS reader does.

Even calling a chat app “complex” sounds absolutely ludicrous. It’s just that devs are now used to shipping 100MB apps in the name of fast development, so Slack is what we get.

why-oh-why··on Regex2fat: Turn your favorite regex into FAT32
It's a fat joke.
why-oh-why··on Building dark mode on Stack Overflow
If you think StackOverflow needs to be “saved” you’re deathly mistaken.

Just because some complain about it it doesn’t mean that it’s failing.

why-oh-why··on How to manage HTML DOM with vanilla JavaScript only?
> The overhead of setting up NPM

What overhead? You don’t run any optimization step on your code? I haven’t seen a single front end project without package.json in years in all the companies I consulted for, and I don’t even deal with fancy frameworks.

why-oh-why··on Why is Japan still a coronavirus outlier?
And South Korea has the highest rate of soju drinkers.

If you’re gonna pull a statistic out of a shadowy place, at least explain its link to the question.

(For the record South Koreans drink twice as much alcohol as Italians)

https://www.who.int/substance_abuse/publications/global_alco...

why-oh-why··on An injection of magma under Norris Geyser Basin
The more offensive the better. This is bad and they should feel bad.
why-oh-why··on I Don't Use Classes
It is because if a file is made of a hundred 1-line functions that’s not good code. The separation of concerns is likely not meaningful and it’s detrimental to the reading/understanding of the file.

Why create a function that shortens/clarifies nothing and is used once? If you want to explain some code, use a comment, don’t make spaghetti

why-oh-why··on When Not to Use Lock Files with Node.js
> Your CI system isn't going to re-run your tests when your dependencies or sub-dependencies get updates.

Yes and no. Your CI system runs when you want it to. If you want to check the latest dependencies,

- with a lockfile you have to delete it, create a new one and commit it;

- without a lock you just press the “rerun tests” on your CI

why-oh-why··on When Not to Use Lock Files with Node.js
What’s the point of reproducibility in your team but not with your users (which is by definition the most common use case)?

Libraries should skip lockfiles because they are ignored by the end user and therefore any testing you do based on them helps no one.

I’ve had lockfiles being broken for no reason* so if you can avoid them, do.

* For example, multiple versions of the same package were installed after several install/updates, but nuking the lock would avoid this issue and solve the problems it caused.

why-oh-why··on I Don't Use Classes
Some bad code is hard to lint automatically (e.g. if there’s a single function that all it does is arg.slice(1), no linter will catch that).

I’ve found all kind of bugs just refactoring code because poor code obfuscates them.

Your way of building things will lead to debt and bug reports

why-oh-why··on I Don't Use Classes
If your code has 20 if else in a row I don’t care if it’s performant and has no bugs, you’ll get a change request because I don’t want to maintain that pile of garbage.

There are minor code style preferences and others that affect maintainability. Just because it works now it doesn’t mean the code is done.

why-oh-why··on If nearly all Airbnb reviews are positive, does that make them meaningless?
You’re right in having no trust in them. Recently I complained about my price increasing by a couple % once I signed up. Nobody could tell me what the problem was. It took them several messages to finally spill up that they were charging me more due to my country’s taxes.

Why is this not clear? Airbnb is so opaque. It would be really easy to list this extra tax but they don’t, so I end up creating a new account.

why-oh-why··on If nearly all Airbnb reviews are positive, does that make them meaningless?
Are you sure it said confidential? As far as I know Airbnb has always had a field for “A private note for the owner”. This is “confidential” between you and the owner, as in “not public”, but not between you and Airbnb.
why-oh-why··on The growth of command-line options, 1979-Present
Maybe being ignored (i.e. hidden) is the malicious intent.

What if the largest file on your drive has that filename and no tool can show it?

why-oh-why··on Payment Request API
“Left behind” i.e. this API will work for USA only. Don’t be silly. The point of browser APIs is that they work for all/most, if it’s only Apple Pay and Google Pay they solve nothing.
why-oh-why··on Fixing JavaScript's Date (2017)
> In fact, if anyone knows an easy solution for that I'd love to hear it.

What’s this? You’re asking for a solution to “things that don’t work” ️

why-oh-why··on Fixing JavaScript's Date (2017)
Your request is too broad, I suggest asking a question on StackOverflow explaining what the issue is exactly.
why-oh-why··on Undiscoverable UI Madness
Here's the thing: you can't have 1000 "discoverable" actions, there's no place for it.

Correction: you do have 1000 discoverable actions, but you discover them in the menu bar.

What you found out with this article is that users are bad at knowing things, because there are too many things to know. I know all of those actions and their keyboard shortcuts, but I still have to occasionally "google it."

Either you have iOS 1.0 where everything is clear and easy to do — because there's very little to do — or macOS, where each app has dozens of features but can only surface some of them.

This is non-news.

why-oh-why··on Citroën introduces a two-seat EV that costs €2,644 and then €19.99 a month
I don’t think you can do 80kph in US cities either. Extra-urban EU roads allow 70 or 90 as well unless really curvy or with plenty of entrances, but in cities it’s 50 or less. I always thought that matched the US.

The difference I’d say is that 45kph get you much “farther” in EU cities than the average US city.

why-oh-why··on Docker for Windows won't run if Razer Synapse driver management tool is running
This is the whole point of a community. Especially if you’re sure that the answer is slightly wrong, you can definitely fix it yourself, which is the best part of StackOverflow. There’s no point in even leaving a comment like “X should be X.Y”
why-oh-why··on 18-year-old personal website, built with Frontpage and still updated
What field accepts or rejects html? What are you talking about?
why-oh-why··on F# Pipeline Operator in JavaScript with Babel
Oh my god, we should never allow people to have a little fun on their own blog and if they do, let’s call them childish and unworthy of finding work. /s

It’s just a meme, used correctly, what’s the problem? This isn’t the White House’s blog.

why-oh-why··on Is Catalina a Good Upgrade Yet?
I didn’t upgrade: I created a new volume and installed a fresh Catalina on it. Honestly it’s been working great for me and the battery life increased (probably because my old install was… uhm… dusty)
why-oh-why··on Cloudflare is turning off the internet for me
Nope what? I described that same thing on The Verge.
why-oh-why··on Cloudflare is turning off the internet for me
I’m thinking of two situations:

- you tapped the “Siri suggestion” result which completely skips the SERP. I hate that “back” doesn’t bring you back to what I typed in the search/URL bar

- I regularly visit The Verge, open a story and then the back button doesn’t take me to the homepage but to the page before it. I blame their crappy JavaScript but maybe we’re experiencing the same thing.

why-oh-why··on My FOSS Story
It depends on the phrasing. If you’re just saying “me too” you’re just annoying the maintainer instead of adding a silent +1 reaction.

If you add one more use case that might help the maintainer reconsider the feature, then I’d find it acceptable. Sometimes the issue opener didn’t explain the utility that well or wrote some example that made it sound like it would be a niche feature and not worth it.

why-oh-why··on Fly Straight, Dammit (2019)
It looks like they’re two separate functions merged under a condition. Any 2 functions can generate a “fly straight, dammit” graph. What’s the point of this?
why-oh-why··on What DoorDash pays, after expenses, and what’s happening with tips
It’s kind of surprising that anyone who works for these services for more than one day keeps working in these conditions. If you made $50 in one day and spent $40 in gas, why work again? Does Doordash pay more initially to “get them hooked?”

It’s definitely predatory practices of people who don’t understand that, after a day of work, you should have more money than what you spent.

why-oh-why··on Problems with TypeScript
Instead of focusing on what TS does not, focus on what it does.

TypeScript is not sound; JavaScript isn’t either. The first one will catch some type errors, the second will catch none.

Syntax highlighting, linting, testing, and now type checking: every step can make you more confident about the code you ship, before it even hits the browser.

You can forgo using any help and probably you’ll code faster, but, again, you lose confidence.

Page 1 of 4Next →