Better HN
topnewbestaskshowjobs
Log inSign up

sethaurus

433 karma · joined Jan 14, 2010 (16y ago) · 143 submissions

Submissions

comment 9mo ago · link · parent

That's what it would mean to place them above unpaid developers in the illustration, yes.

comment 9mo ago · link · parent

For anyone seeking more details on this act, it is embodied as "18 U.S. Code §1030 - Fraud and related activity in connection with computers"[0], and applies specifically to the United States of America, a nation not involved in any way with this incident.

[0]: https://www.law.cornell.edu/uscode/text/18/1030

comment 10mo ago · link · parent

Thrilled to see someone else using a triple-em dash in the wild⸻keep holding the line.

comment 10mo ago · link · parent

Upload progress. The Fetch API offers no way observe and display progress when uploading a file (or making any large request). jQuery makes this possible via the `xhr` callback.

comment 10mo ago · link · parent

It's silly to treat this like a totalizing partisan issue where everything must be clearly "pro-ai" or "anti-ai".

Browsers are currently incentivised to add a bunch of new features outside their traditional role. Some people prefer to keep the browser's role simple. It's not ideological and it's not "hating".

36.

Bincode development has ceased permanently(reddit.com ↗)

4 points · by sethaurus · 11mo ago · 3 comments

comment 11mo ago · link · parent

It doesn't matter if a library is written in TS or JS; you cannot meaningfully protect against other code calling you incorrectly.

Sure, you can check if they gave you a string instead of a number. But if you receive an array of nested objects, are you going to traverse the whole graph and check every property? If the caller gives you a callback, do you check if it returns the correct value? If that callback itself returns a function, do you check that function's return type too? And will you check these things at every single function boundary?

This kind of paranoid runtime type-checking would completely dominate the code, and nobody does it. Many invariants which exist at compile-time cannot be meaningfully checked at runtime, even if you wanted to. All you can do is offer a type-safe interface, trust your callers to respect it, and check for a few common mistakes at the boundary. You cannot protect your code against other code calling it incorrectly, and in practice nobody does. This is equally true for JS and TS.

comment 11mo ago · link · parent

Do you really mean this literally? Even the Linux kernel contains tens of thousands of lines of Python, and more lines of shell. Is that undesirable?

comment 11mo ago · link · parent

Coming from an era of tiles and sprites, Lemmings was exciting because it had real destructible terrain. The game action happens in its pixel buffer, and every little speck of dirt can make a difference to how the characters behave.

When I saw this adaptation back in 2004, I was amazed because the web didn't even HAVE an API for its pixel buffer; the canvas element didn't arrive until a year later! All the destructible/buildable terrain here is faked out with stacked `img` elements. They had to simulate a simple form of graphics with a more complex one, because that's all the platform made available.

It's very good.

comment 11mo ago · link · parent

Why do they call it even when you of in the true number of out false odd the number?

comment 1y ago · link · parent

Oh my god, it's a Quine!

This is a linear sequence of bits, which when interpreted as a Game of Life board, "prints" an exact copy of itself 2 pixels to the right (leaving no trace of the original).

I suppose its job would be easier if it only had to construct a copy of itself rather than "moving" itself, but I enjoy the interpretation that it's a linear "tape" of bits which prints its own code transposed by 2 pixels, and takes an unfathomable amount of time and space to do so. Beautiful.

comment 1y ago · link · parent

> I’m curious, how do you know it was inspired by tiger beetles impl?

Describing its design, the readme for libxev says "credit to this awesome blog post" and links to the same Tigerbeetle post in this submission.

comment 1y ago · link · parent

This is a little different from most "Doom on X" projects, because the accomplishment is less about the hardware (it's just a normal computer) and more about turning a circuit-board designer into a real-time game display.

comment 1y ago · link · parent

> Actually, as I'm writing this, I realized that probably the music being produced by this person is actually done by a computer. So, maybe she's in the first wave of totally artificial pop stars.

Her main collaborator, co-creator and producer of many years is the artist AG Cook, who founded the label PC Music. He appears often in her music videos and gets mentioned in her lyrics. His own solo work plays a lot with pairing the artificial and the organic, taking the "slick" aesthetics of electronic pop to abrasive extremes and placing it next to vulnerability and gentleness.

This is my favourite piece of his work (both the song and the video): https://www.youtube.com/watch?v=kH2wQ5speuU

Charli's work or his might not suit your taste! But these are real people doing interesting stuff and playing with the form. It's not fake.

comment 1y ago · link · parent

That's a little ungenerous. Richer types are not intrinsically about metaprogramming, they just let you model your domain more accurately so you can turn runtime errors into build-time errors. If your system already has natural constraints, you get to document them in a machine-checkable way.

comment 1y ago · link · parent

Attempt generosity. Can you think of another way to interpret the comment above yours? Is it more likely they are calling their own argument a red herring, or the one they are responding to?

If something looks like a "weird stance", consider trying harder to understand it. It's better for everyone else in the conversation.

comment 1y ago · link · parent

I invite you to view the source of the very page we're on right now.

comment 1y ago · link · parent

The alternative is that they monetize it the same way Canva monetizes its other products: most features free, "pro" subscription for online collaboration/server-driven stuff and a library of stock content. Plus an enterprise tier.

All of that could get added to affinity without changing its core offering, which would be consistent with both their past strategy and their current messaging.

comment 1y ago · link · parent

I suspect Canva is willing to offer Affinity for free because it holds Adobe's feet to the fire and forces them to compete on Canva's home turf: the nonprofessional design market.

There's clearly a funnel for Canva Pro upgrades, but (to my knowledge) they've never paywalled formerly-free features, and it seems to be a profitable strategy so far.

comment 1y ago · link · parent

I think it's simpler than that. Canva's primary competitor is Adobe, and Adobe's remaining advantage is with creative professionals. That's Adobe's core market and their core revenue stream.

It's a classic "commoditize your complements" play. Canva remains profitable without charging for Affinity, but Adobe can't stay profitable if they stop charging for Photoshop/Illustrator.

The business justification works without imputing any more sinister motives than that.

comment 1y ago · link · parent

It's not merely calling React traditional, it's calling React hooks traditional. They didn't exist for the first 6 years of the framework.

comment 1y ago · link · parent

Relatedly, there is a stage-1 proposal to add first-class signals to Javascript: https://github.com/tc39/proposal-signals

It's a collaboration between multiple library maintainers, attempting to standardize and unify their shared change-tracking approach.

comment 1y ago · link · parent

You've said plainly elsewhere in these comments that you did use AI to write it:

> thanks, I used AI but aren't we all? I thought the point of AI is to get us to be more productive.

You've also repeatedly dismissed any criticism of the writing as "hate."

If you want readers to do you the favor of reading your work, please do them the favor of writing it.

54.

The Handle Trait(smallcultfollowing.com ↗)

5 points · by sethaurus · 1y ago · discuss

comment 1y ago · link · parent

(From the article, talking about the number of available codes)

> 32^4 = 1,048,576, which is hopefully enough.

Unfortunately, it really isn't enough. Since these 4-character codes are based only on a hash of the note's filename, and there's no other collision-resistance built in, the likelihood of two notes getting the same code rises very quickly. With 500 notes in the vault, the chance of two notes having the same code is about 1-in-10. At 900 notes, the odds are 1-in-3, and at 1200 notes, the chances of a collision rise above 50%: it's more likely that there will be a collision than not. These are realistic numbers of notes for an Obsidian vault.

This is all solvable by having something allocating IDs (and attaching them to the notes), but when using a hash, 32 bits just isn't enough to give uniqueness at even small scales.

comment 1y ago · link · parent

The hinge of the case (not the buds themselves).

comment 1y ago · link · parent

Furries tend to be high in curiosity, high in trait-openness, and lower in social conformance. It's a good recipe for learning, thinking and questioning.
12345