Better HN
topnewbestaskshowjobs
Log inSign up

creata

2,965 karma · joined Sep 19, 2020 (6y ago) · 1,349 submissions

only a fool would take anything posted here as fact
Submissions

comment 9mo ago · link · parent

Two very minor suggestions for the demo:

1. I don't know what the "Docxtemplater" button does, but it eats my document without warning and that's annoying.

2. It would be nice if the page came with some example .docx files we could see it work on.

comment 9mo ago · link · parent

I think that what matters here (and what I think is the natural interpretation of "not every real number is computable") is what the theory thinks is true. That is, we're working with internal notions of everything.

comment 9mo ago · link · parent

> For computers, you could use a complex number since it's effectively a cache of sin(a) and cos(a), but you often want general affine transformations and not just rotations, so you use a matrix instead.

That makes sense in some contexts but in, say, 2D physics simulations, you don't want general homogeneous matrices or affine transformations to represent the position/orientation of a rigid body, because you want to be able to easily update it over time without breaking the orthogonality constraint.

I guess you could say that your tuple (c, s) is a matrix [ c -s ; s c ] instead of a complex number c + si, or that it's some abstract element of SO(2), or indeed that it's "a cache of sin(a) and cos(a)", but it's simplest to just say it's a unit complex number.

comment 9mo ago · link · parent

> The idea is we can't actually prove a non-computable real number exists without purposefully having axioms that allow for deriving non-computable things.

Sorry, what do you mean?

The real numbers are uncountable. (If you're talking about constructivism, I guess it's more complicated. There's some discussion at https://mathoverflow.net/questions/30643/are-real-numbers-co... . But that is very niche.)

The set of things we can compute is, for any reasonable definition of computability, countable.

comment 9mo ago · link · parent

> If you want to rotate things there are usually better ways.

Can you elaborate? If you want a representation of 2D rotations for pen-and-paper or computer calculations, unit complex numbers are to my knowledge the most common and convenient one.

comment 9mo ago · link · parent

Iirc Gauss suggested "lateral numbers". Not the worst idea, but it's too late now.

comment 9mo ago · link · parent

Clifford algebras are harder to philosophically motivate than complex numbers, so you've reduced a hard problem to a harder problem.

comment 9mo ago · link · parent

I hate when people casually move "between" Q and Z as if a rational number with unit denominator suddenly becomes an integer, and it's all because of this terrible "a/b" notation. It's more like (a, b). You can't ever discard that second component, it's always there. ;)

comment 9mo ago · link · parent

Why would we expect most real numbers to be computable? It's an idealized continuum. It makes perfect sense that there are way too many points in it for us to be able to compute them all.

comment 10mo ago · link · parent

> greatly lags Racket performance

This is a different implementation of Guile, though. Has Hoot (on, say, V8) been benchmarked?

comment 10mo ago · link · parent

It's the static site generator of vibe coded projects.

comment 10mo ago · link · parent

> I want to be able to make art and music and movies and games.

Then make them. What's stopping you?

comment 10mo ago · link · parent

In my opinion there's nothing wrong with it per se, but (a) it's still worth mentioning, because most people have the impression that Waymo cars are completely unassisted, and (b) it makes me wonder how feasible Waymo's operations would be if it weren't for global income inequality.

comment 10mo ago · link · parent

> It seems inevitable that they'll soon be used as the starting points for developing almost all video game environments.

Almost all video game environments? No way. That statement really needs to be qualified with the genres of games you're considering.

comment 10mo ago · link · parent

Functions are just a different kind of value. Needing to know the type of the values you're using when you use them isn't "nonlocal reasoning".

And it's not like curried function application involves type-driven parsing or anything. (f x y) is just parsed and compiled as two function calls ((f x) y), regardless of the type of anything involved, just as (x * y * z) is parsed as ((x * y) * z) in mainstream languages. (Except for C, because C actually does have type-driven parsing for the asterisk.)

Another way to look at it: languages like Haskell only have functions with one argument, and function application is just written "f x" instead of "f(x)". Everything follows from there. Not a huge difference.

comment 10mo ago · link · parent

Huh? Currying doesn't require any nonlocal reasoning. It's just the convention of preferring functions of type a -> (b -> c) to functions of type (a, b) -> c. (Most programming languages use the latter.)

comment 10mo ago · link · parent

> Even if a machine generates them.

That sounds wonderfully meritocratic, but in the real world, a machine generating it is a very strong signal that it's bullshit, and the people are flooding maintainers using the machines. Maintainers don't have infinite time.

comment 10mo ago · link · parent

> The ideal program is clear enough to be self explanatory.

That depends on what you're doing and who you expect to be reading your code, doesn't it? Sometimes what the human needs and what the computer/runtime needs are too far apart.

comment 10mo ago · link · parent

Don't these two situations (watching vote counts; understanding a complicated statistical argument that the vote is tamper-free) require the same kind of trust?

1. In both cases, everyone is theoretically capable of checking it themselves; they're theoretically zero-trust. In the former scenario, I'm theoretically capable of attending the vote count, and in the latter scenario, I'm theoretically capable of learning the statistics needed to verify the argument.

2. In both cases, most people cannot (or will not) practically check it themselves, and is trusting that someone they trust is doing the checking for them.

I'm not saying they're the exact same situation, but they both ask for a large amount of trust from most of the voters.

comment 10mo ago · link · parent

There's plenty of evidence of voter suppression in the US.

https://en.wikipedia.org/wiki/Voter_suppression_in_the_Unite...

comment 10mo ago · link · parent

I don't know why so many people in this thread are asking this, but as has been said elsewhere in this thread:

* It does apply to most other internet systems.

* Things like banking fraud can be detected and remedied. Election fraud is much harder to detect and even harder to remedy.

* Voting requires anonymity. Most internet systems are not anonymous: you are identified by your IP address at the very least.

comment 10mo ago · link · parent

The specific comment by popalchemist you're referring to is actually fine (they're talking about voter suppression, which is a problem in the US), and isn't at all one of the claims that hintymad says people are making.

comment 10mo ago · link · parent

Australia, as far as I know, doesn't require voters to show identity documents, and they seem to take election integrity very seriously.

comment 10mo ago · link · parent

Maybe, but the election ink stuff feels a bit overboard.

comment 10mo ago · link · parent

> It cannot convince a normal person of the same.

But you don't need everyone to be convinced of it first-hand. You just need everyone to trust someone who is convinced of it.

comment 10mo ago · link · parent

For their upper house elections (which can have giant ballots), Australia uses computers in its counting, but there are humans in the process. [Here's a video from the Austalian Electoral Commission.](https://youtu.be/9AqN-Y25qQo)

comment 10mo ago · link · parent

> The most charitable interpretation is that this whole project (supposed problems with CBZ, the readme, the code) is the output of an LLM.

Do LLMs perform de/serialization by casting C structs to char-pointers? I would've expected that to have been trained out of them. (Which is to say: lots of it is clearly LLM-generated, but at least some of the code might be human.)

Anyway, I hope that the person who published this can take all the responses constructively. I know I'd feel awful if I was getting so much negative feedback.

comment 10mo ago · link · parent

Zip also has per-asset checksums, contrary to the comparison table.

And what's the point of aligning the files to be "DirectStorage-ready" if they're going to be JPEGs, a format that, as far as I know, DirectStorage doesn't understand?

And the author says it's a problem that "Metadata isn't native to CBZ, you have to use a ComicInfo.xml file.", but... that's not a problem at all?

The whole thing makes no sense.

comment 10mo ago · link · parent

venv and sandboxes are such categorically different things that painting it as a spectrum the way this article does is more misleading than helpful.

I also think the article shouldn't mention chroot. From the man page:

> In particular, it is not intended to be used for any kind of security purpose,

I guess it could be part of a sandbox, but there are better tools for that purpose.

(I'm not sure what point there is in giving feedback on an article that's almost entirely LLM-generated, though.)

1
678
45