HNHacker News
TopNewBestAskShowJobs

ben0x539

4,454 karma · joined September 23, 2010

submissionscomments
ben0x539··on How to store your app's entire state in the url
The point of a URL is that I can copy+paste it into IRC so my friends can look at the thing I want to share with them.

If the URL has a bunch of goop in it, people are going to make fun of me for it, especially if it's super long and doesn't fit in a single line. Or if there's stuff in there that's specific to me and not the thing I want to show them.

ben0x539··on SDL2 common mistakes and how to avoid them
It's fun how most of these are "Using the normal mechanism instead of the SDL specific mechanism". I think we somehow end up biased against special-purpose mechanisms, so I'm not surprised these are common mistakes.
ben0x539··on Physical buttons outperform touchscreens in new cars, test finds (2022)
Yeah sure y'all no one is surprised by this, but it's still good to have studies you can wave in people's faces when they disagree with you.
ben0x539··on Unintended consequences of blocking IP addresses
Having uBlock installed can't be "something unusual" in this day and age, can it?
ben0x539··on A Visual Guide to React's useEffect (2021)
Isn't this like the whole point of abstractions? Sure they don't last forever but still.
ben0x539··on Spacekaren.sucks
What's the "main fediverse"?
ben0x539··on “Invalid Username or Password”: a useless security measure (2014)
I think the webdevs are right about this one. People lose or forget passwords all the time (in general not using password managers). Permanently losing access to an account sucks a lot. Tying account ownership to email primarily with passwords being more or less an optional convenience saving you the email roundtrip seems worth it.
ben0x539··on Considering C99 for Curl
For things that touch the network and maybe particularly use TLS, sometimes people are suddenly in a hurry not to be using an old version anymore. The people with the classic compilers would probably have to be prepared to backport security fixes on short notice, I figure the curl project might not want to put them into that awkward position.
ben0x539··on Considering C99 for Curl
Hm, why do people choose to do that instead of using the fallback case unconditionally? Expectation that platform-provided snprintf is faster?
ben0x539··on Considering C99 for Curl
Writing curl today for your own use, on a platform/OS/tech stack you control, or to target all the places where curl runs right now?

It's still deeply depressing how costly/impractical it is to apply improved technologies in the long tail of environments that isn't "linux on amd64" and similar, but it's not really a language design question in my opinion. We didn't get it "exactly right", we got it "good enough", and upgrade costs are prohibitively high for the general case.

ben0x539··on H-1B visa holders scramble for jobs after 2022 tech layoffs
As a foreigner, I find myself forced to agree with those people.
ben0x539··on Show HN: Rmt an alternative to rm with trash written in Rust

    rm ./--file-that-looks-like-a-flag
;)

(I'm always half-tempted to suggest that a "strict mode" shell should require all paths in arguments to start with either / or ./ so that anything else is unambiguously not a file.)

(I spent a bunch of time with a file named -i in my home directory, you know, just in case.)

ben0x539··on Books are physically changing because of inflation
Eh, "book" is widely used as the unit of literature. If someone says "I wrote a book!", you don't assume that they created exactly one physical item by writing on a lot of pages and tying them together or anything.
ben0x539··on The optimal amount of fraud is non-zero
it doesn't forget that. it implies that you shouldn't optimize for the least number of victims. it's cool to disagree with that and think about why or why not, but please actually engage with the idea rather than just assuming they didn't think it through at all.
ben0x539··on The Next Mainstream Programming Language: A Game Developer’s Perspective (2005) [pdf]
As a data point, I read the second paragraph.
ben0x539··on What Beirut was like before the war (2019)
I wouldn't go around and label myself an anti-monarchist but I'm surprised that that's a contentious position? Yes, of course the people should strip all power from their monarchies/monarchs/aristocrats in a democracy, because democracy is about sovereign power originating from the people or whatever, not from divine right or right of conquest or tradition or something. And yes, of course historic monarchies are at least equally objectionable! As a rule I'm pretty sure they exploited people a lot worse than at least the present-day monarchies we tolerate for whatever reason!

If the monarch as a person has present widespread support from the population they can probably do the aristocratic equivalent of a gofundme to keep living in their pretty palace if that's what the population wants, and then get elected to normal political offices like a normal person. If the monarch as an office has present widespread support I'm going to quietly disagree with the population and in the case of the UK at least roll my eyes a little.

ben0x539··on What Beirut was like before the war (2019)
> [...] and raise you a 72 page report prepared under the direction of eight prominent conservatives - people like retired federal judges, former senators, a solicitor general, an election lawyer, etc. [0]

Well, what's their reddit user names?

ben0x539··on Whytheluckystiff's original domain back as an archive
Does that mean it's not disrespectful?
ben0x539··on Dotfiles being hidden is a UNIXv2 mistake (2012)
The new problem is pretty fun though!
ben0x539··on Fran Blanche: This Is Not Legal
From reading through their stuff a bit, it sounds like you can get fake/internal non-DMCA strikes first, and then, usually, you can choose to escalate to require them to do an actual DMCA thing if you disagree hard enough, which seems sort of reasonable.
ben0x539··on Tell HN: You can't hire because you don't post salary ranges
I think they're implying the salary ranges are actually bad enough to smell like expired milk.
ben0x539··on Fran Blanche: This Is Not Legal
It sounds like there can be multiple independent claims on the same video. I guess in theory they could be claiming content at different timestamps.
ben0x539··on Fran Blanche: This Is Not Legal
I've not had a lot of luck finding reports of successful actual-legal-DMCA counter notifications after copyright/content id claims, so I'm really glad to read your comment confirming that it basically works as advertised. Which side of those disputes were you on?

Would you happen to have any experience with cases where Google doesn't restore the video/monetization after a counter notification? I mentioned this in another comment, but I found this article (which is somewhat old, and from a random website I'd never heard of) where apparently Google acknowledged the counter notification but chose not to restore the video out of contractual obligations to the claimant: https://www.newmediarights.org/copyright/DMCA/youtube_refusi...

ben0x539··on Fran Blanche: This Is Not Legal
Sounds like youtube doesn't feel obligated to restore content after a valid counter notification: https://www.newmediarights.org/copyright/DMCA/youtube_refusi...

I guess, as long as they comply with the takedown, they feel sufficiently safely harboured, and don't feel compelled to implement the other part of the process since like what are you going to do, sue youtube to force them to host your video and run ads on it?

ben0x539··on The computers are fast, but you don't know it
But as performance gets worse, the ping being slow matters less, relatively, right?
ben0x539··on The computers are fast, but you don't know it
> Performance only goes downhill from here if the function does more work,

Doesn't this mean it's less of a problem? Like, isn't that good?

ben0x539··on Tell HN: Bitwarden does not export attachments in backups
> An individual file attachment can be as large as 500 MB[0]. It would make the JSON file too big to use.

The backup would be too big to use if it included all the data it's a backup of? What?

ben0x539··on Using a catch-all domain is a mistake
> those that know this bog standard trick can still automatically derive your email address and get around your filters

Not if you default the other way around and autodelete all mail that doesn't have a "+thing". :V

ben0x539··on Using a catch-all domain is a mistake
To take the tracking logic further, I think you'd do `businesscard-<date for that particular print run>@example.com`, `<name of conference>-<year>@example.com`, `<name of mailing list>@example.com` etc. Maybe come up with something snazzy yet still unique-ish for the presentation slides.

In practice, I suspect the intention is mostly to use catch-all addresses for situations where the email address is a key in a database and like a login and stuff and not an entry in an individual's contacts list.

ben0x539··on Rust: A Critical Retrospective
And then we get to what I was trying to state in my original post.

I don't have a strong opinion that it's good or bad practice, I just thought it was a clever thing to do about it.

Edit: I think I was thinking of https://news.ycombinator.com/item?id=17636032 / https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b.... Wow, it's been a while.

← PreviousPage 8 of 34Next →