Better HN
topnewbestaskshowjobs
Log inSign up

Timwi

1,518 karma · joined Aug 28, 2017 (9y ago) · 989 submissions

Submissions

comment 6mo ago · link · parent

> Companies aren't doing anything unusual or evil.

You literally just described an evil behavior. It's obviously not evil when you're shopping for gadgets, but if you think that's morally comparable to the livelihoods of human beings, I'm sorry to inform you that you're a psychopath.

> This is literally just how a market works. A lot of people forget that the job market is a market.

You say that like you think it's a law of physics. Markets don't exist in nature. Markets are a conscious, deliberate creation by humans.

> Or they wish it wasn't a market

Correct! We've unambiguously determined that applying market logic to people's livelihoods is inhumane and immoral. There shouldn't be a market for being allowed to live. It should just be guaranteed to everybody.

comment 6mo ago · link · parent

Yeah, they're all taking a gamble and hoping that they, not their peers, will be the lucky ones with the breakthrough.

comment 6mo ago · link · parent

I'm not big on law, can someone explain how an Illinois law like this would apply to a company that isn't in Illinois?

comment 6mo ago · link · parent

> Like, why can't my sync function await something asynchronous?

It can in C# (just call .Result). I'm not sure why other async/await languages, like JS, don't just add that too.

comment 6mo ago · link · parent

Edited because I didn't realize how old the article is.

Almost everything the article says about C# is wrong:

> Sync functions are just called, async ones need an await.

No they don't. An async method can be called like any other method and you'll just get the Task<T> object.

> You can’t unwrap it unless you make your function async and await it.

False. You can just access .Result and it'll execute synchronously.

> Before they added async-await and all of the Task<T> stuff, you just used regular sync API calls.

You can still call the sync APIs, and I'm not getting any impression that those APIs are unmaintained or that they're avoiding adding new ones where it makes sense, even if in many cases it's literally just a matter of calling the async method and accessing .Result!

When they describe how the compiler transforms async code into closures, they seem to get this right, but for some reason they treat it as a problem and I can't figure out why. The compiler transformation is exactly the right tool for the job. They even mention the great benefit of it not needing special runtime support. I'm very confused as to the direction of this argument.

By the way, while I was reading the first part, before the “big reveal”, my two top guesses for what it's about were C++ const correctness, and Java checked exceptions. I'd argue that more of their arguments apply to those than to async/await.

comment 6mo ago · link · parent

If due to some technical glitch someone's timestamp is just off by a minute or something, I wouldn't exactly call that “bad behavior” that warrants banning someone, but it does mess with ordering in a chat application...

comment 6mo ago · link · parent

Yup, it really is.

comment 6mo ago · link · parent

Wild theory: maybe it's because in order to stay focused, passionate and dedicated to a project, you have to have a passionate mind dedicated to a narrower viewpoint. The more open-minded you are, the more likely you accept that detractors might have a point, and then increasingly realize that it's impossible to please everyone.

comment 6mo ago · link · parent

> Are you suggesting such works should have been paid 7$ just once by one person?

No, I think people should just be paid a livable UBI and not have to worry about proving their worth to you to be allowed to live.

comment 6mo ago · link · parent

> “This might be a bit wild, but I wanted to see if it could actually work.”

That is how esoteric programming languages start.

comment 6mo ago · link · parent

> Coding is just one of the task[s] you do in your job

But it's by far the most fun part and the only reason to take such a job...

comment 6mo ago · link · parent

The statement is valid C#, which has left-to-right execution order and no undefined behavior. The answer is 5 + 7 = 12.

comment 6mo ago · link · parent

The Start Menu integrated search would have been real nice if it worked properly, but unfortunately they decided on some kind of “search” algorithm that can't even do a substring match on items in the Start Menu. I have no clue what the thinking there was, but it drives me to not want to use it.

comment 6mo ago · link · parent

I'd argue that if you remove the clause you still have the same issue. The problem statement says, “so that there is no square not under their attack”, which in my reading includes the squares occupied by the pieces, and a piece cannot attack itself.

comment 6mo ago · link · parent

> Despite many clones I've never found one that really captured the feel and fun of the original.

Not trying to be contrarian, but for factual correctness I'm going to point out that Scorched Earth is a clone of an earlier game, Tank Wars. I've played both and I agree that Scorched Earth had more to it, but it wasn't the original.

comment 6mo ago · link · parent

A lot of people use AI to write things, from mundane emails over blog posts and news articles all the way to full novels and non-fiction books. I'm not saying the results are any good, I'm just saying people find use for it. Another common use-case is summarizing or proofreading.

comment 7mo ago · link · parent

The article spends a lot of time talking about how UIs “look” and how they all “look different”. That's not the important aspect to me.

For me what makes a software usable in the long run (after initial learn) is shortcuts and keyboard navigability. Old GUI frameworks had built-in features for this (app-wide shortcuts, underlined letters, etc.). The web has haphazardly copied one of them (“accesskey” attribute), but now this has been completely forgotten. None of the major websites have accesskeys, even for the most frequently used element like the search bar. There are no shortcuts for frequently used functions such as “like”, “reply”, what have you. It's like developers have universally forgotten that the keyboard exists and what it can do.

TUIs don't solve that.

comment 7mo ago · link · parent

Because by walking off the edge they will injure themselves.

comment 7mo ago · link · parent

What makes WhatsApp superior to Telegram and/or Signal?

comment 7mo ago · link · parent

It wasn't inherently yellow, it was the inverse of whatever it was on top of, but since the main window filling most of the screen was dark blue, it looked bright yellow most of the time.

comment 7mo ago · link · parent

My needs as a user are for a UI to be consistent and predictable.

Good luck.

comment 7mo ago · link · parent

No. For most of human evolution, we were hunter-gatherers. Imagine trying to hunt game with the accuracy of LLMs. You'll starve. Picking edible fruits from plants also requires precision, both in terms of the hand/eye coordination of actually picking it as well as in terms of knowing what's edible and what's poisonous.

When you fill up your coffee cup in the morning, I sure hope you aim accurately and don't pour half of it all over your desk. And don't even get me started on the process of making coffee that isn't completely unpalatable.

comment 7mo ago · link · parent

Do you have a source for that claim? I'm curious. I genuinely thought it was the OSA.

comment 7mo ago · link · parent

I believe you misunderstood them. The way I interpreted it is: 1) the development is already done, so the developers have broad consensus on how it should work; 2) the only thing that can break that consensus is a new RFC that tells them in no uncertain terms to do it differently.

comment 7mo ago · link · parent

Oftentimes the important data that needs restoring is in the checkout: uncommitted and unstaged changes that represent hours of work.

comment 7mo ago · link · parent

Word boundaries are one way to address that, but they require you to list all the inflections (and you missed “fixing”). Another way is to say (?<!de)bug.

comment 7mo ago · link · parent

I'm starting to feel that this line of reasoning has turned into pseudoscientific divination. And it's really unfair to writers who put effort into blog posts.

comment 8mo ago · link · parent

You saying “bear mode activated” reminds me of Dicey Dungeons...

(For those who don't know, there's a place in the game where, with a moderate amount of luck, you can trigger an item that transforms you into a bear, which changes your stats and available equipment, and you remain that way for the entire rest of the dungeon)

comment 8mo ago · link · parent

I would have enjoyed a blog entry detailing how this works, regardless of its practical utility.
1
678
33