HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Timwi

1,379 karmajoined hace 9 años

comments

Timwi
·hace 9 horas·discuss
How do you think humans experience desktop interfaces? “Basically just OCR'ing screenshots” is exactly what humans do.
Timwi
·hace 5 días·discuss
> Is that specified or does it always just assume it isn’t really being put in charge of things for real?

I think it's neither, and it's interesting that those are the only two possibilities you thought of. I think the article is implying that it figured it out on its own.
Timwi
·hace 5 días·discuss
The button to place an order should 100% be idempotent. There's one order you're constructing in your shopping cart, perhaps with an internal ID, and the irreversible “commit” button should place that order, not create two separate orders.
Timwi
·hace 6 días·discuss
It seems somewhat clear to me. You want it executed twice if and only if the operation isn't idempotent. Can you give an example where you think both behaviors are equally defensible?
Timwi
·hace 6 días·discuss
It shouldn't buffer them like the author describes. It should execute the button’s function immediately when pressed. This might mean to cancel the current animation and jump ahead, or it might mean to speed it up by the appropriate factor so it takes the same amount of time as it does for one button press. Either way is massively preferable to a button that swallows my input.
Timwi
·hace 7 días·discuss
Have you tried asking your son if the slippers and/or the coat might be uncomfortable to him in some way? You seem to assume that he randomly throws tantrums just to annoy you, but maybe he has a reason.
Timwi
·hace 9 días·discuss
How does this affect the Fairphone? If I buy a Fairphone now (which I've been considering for months now) will I continue to be able to run F-Droid and load arbitrary apps, or does it come with “official” Android that will contain the restrictions?
Timwi
·hace 14 días·discuss
Technically anonymous I suppose because the struct is not named, but the article is mostly about type inference while your example has every type made explicit.
Timwi
·hace 14 días·discuss
If a statically typed language has no support for record type (or the support it does have is insufficient for your purposes) then you are forced to find other ways to express your logic, so over time those other ways start feeling more natural due to familiarity, and then you end up feeling that you don't need record types (or more extensive support for them), which in turn leads language designers/implementors to leave it out, and so the cycle repeats.

I'm not sure I agree that anonymous records are “obviously useful” when working with JSON. JSON is not typed, so if you want your deserialized JSON to be statically typed, you need to declare typed records outside of the JSON, so I'd say it's far more useful to use type declarations that are not anonymous.

That said, anonymous types are incredibly useful in general. I work with C# a lot and its support for them is rather shallow. In particular, there is no “with” expression equivalent.
Timwi
·hace 16 días·discuss
This is the one area where you actually want an LLM to be “nothing but a fancy auto-complete” like so many people say it is.
Timwi
·hace 20 días·discuss
I'm not surprised the Ruhr area (the cluster of cities in West Germany surrounding Essen) sweeps the “30% greenery” benchmarks.

This area was especially rich in coal deposits, leading to massive coal extraction during the industrial revolution. There was air pollution and industrial waste everywhere. The area quickly gained a reputation as the dirtiest, most polluted place on the planet. The colloquial term “Ruhrpott” (Ruhr cauldron) came out of this.

So in the 2000s, the city governments (Essen, Bochum, Duisburg, Dortmund, etc etc) decided on an ambitious project to counteract this perception. This paid off. Essen made the top three “Europe’s greenest city” three years in a row and won in the third (2015–2017).

Sometimes, a history of being known as the worst in something leads to greater enthusiasm to become the best.
Timwi
·hace 21 días·discuss
Just as a heads-up, if you do this and you want to use #rrggbb color codes or url(#id) links, you have to escape the # as %23, otherwise it gets parsed as a URL fragment and your SVG code is cut off there.
Timwi
·hace 22 días·discuss
What non-contrived polynomial time problem can you think of that is n^20? I'm really curious.
Timwi
·hace 25 días·discuss
It is in the context of this thread, because the article is about exponential growth.
Timwi
·hace 25 días·discuss
You're fond of asking candidates an unrealistic hypothetical and you think that's revealing?
Timwi
·hace 27 días·discuss
The one that is labeled as “German” is similar to, but noticeably different from, the hardware display actually in use on Berlin underground trains. The real one has proper descenders, and also has narrow i/t/l and wider m/w (that is, it's not monospace). Alas, the provided link 404s as well.
Timwi
·hace 27 días·discuss
There are a few mistakes in this talk; I'll list just two that I noticed.

1. He calls Array(16) and then talks about there being 16 separators. Of course, there are only 15. This kinda breaks the Batman joke.

2. He writes {}+[] and claims that he's adding a list to an object, then mocks the fact that it gives a different result than []+{} which gives [object Object]. In reality, if you write ({}+[]), you also get [object Object]. I'll leave it as a puzzle for you to figure out why {}+[] is different. (Hint: Gurer vf ab bowrpg gurer.)
Timwi
·hace 27 días·discuss
For future reference, the phrase is “hear, hear”.
Timwi
·hace 27 días·discuss
Do you like Kool-aid? Perhaps a lot? You may be addicted.
Timwi
·hace 28 días·discuss
Mastodon does not have persistence of data though. Your instance shuts down? All your posts are gone. I naively assumed I could just move them to a new instance and found out the hard way. I have felt disillusioned with Mastodon ever since.