HackerTrans
TopNewTrendsCommentsPastAskShowJobs

creata

no profile record

Submissions

OWASP Cheat Sheet Series

cheatsheetseries.owasp.org
1 points·by creata·قبل 7 أشهر·0 comments

SIMD Programming with Highway [video]

youtube.com
2 points·by creata·قبل 8 أشهر·0 comments

WebR – R in the Browser

webr.sh
117 points·by creata·قبل 8 أشهر·29 comments

Are We GUI Yet?

areweguiyet.com
3 points·by creata·قبل 8 أشهر·1 comments

Pattrns Playground

pattrns.renoise.com
1 points·by creata·قبل 8 أشهر·0 comments

comments

creata
·قبل 3 أشهر·discuss
I have been watching people write UI frameworks in Rust for over a decade, you meanie.

The results tend to involve more dynamic allocation than you'd see in a garbage-collected language, or tons of reference counting (e.g., in Leptos) that acts as a less efficient GC. I've read many of raphlinus's posts, and while they're always interesting, the total experience in the Xilem examples just seems like much more effort than using FFI (even C FFI) to glue to something more workable.

Your comparison to assembly is very bizarre - languages of the sort I mentioned are usually at least as safe as Rust, and the "scripting language for top-level logic + compiled language for the bits that need to be fast" combination is ancient. In fact, your vague allusions to "a stable base, without infinite danger everywhere" shows much less understanding of what's at stake, in my view.

I'm sorry my question wasn't enlightened enough for you.

And this is a news aggregator. Not the official discussion forums or anything. People can ask small insignificant questions here, or so I thought.

I'm so tired. You write one measly paragraph that could simply be ignored and someone calls you a "perpetuate drain". Even the chatbots have more humanity than you've got.
creata
·قبل 3 أشهر·discuss
What's the rationale for using Rust to write a UI? Using a scripting language (or at least a garbage-collected language) is much less restrictive, and it's not like the "what goes where" UI code is especially performance-sensitive.
creata
·قبل 3 أشهر·discuss
That's... uh, an interesting approach to security.
creata
·قبل 3 أشهر·discuss
If it runs inside the sandbox and the guest is compromised, can't the guest just lie?
creata
·قبل 3 أشهر·discuss
The part that worries me here is the diff. Does it happen in the host or in the guest? What code gets run when you run `yoloai diff`?
creata
·قبل 3 أشهر·discuss
> The only practical defense is for these frontier models

Another practical defence for many of these devices would be to just disconnect them... I feel like an old man yelling at a cloud, but too much is connected to the Internet these days.
creata
·قبل 5 أشهر·discuss
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.
creata
·قبل 5 أشهر·discuss
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.
creata
·قبل 5 أشهر·discuss
> 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.
creata
·قبل 5 أشهر·discuss
> 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.
creata
·قبل 5 أشهر·discuss
> 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.
creata
·قبل 5 أشهر·discuss
Iirc Gauss suggested "lateral numbers". Not the worst idea, but it's too late now.
creata
·قبل 5 أشهر·discuss
Clifford algebras are harder to philosophically motivate than complex numbers, so you've reduced a hard problem to a harder problem.
creata
·قبل 5 أشهر·discuss
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. ;)
creata
·قبل 5 أشهر·discuss
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.
creata
·قبل 5 أشهر·discuss
> greatly lags Racket performance

This is a different implementation of Guile, though. Has Hoot (on, say, V8) been benchmarked?
creata
·قبل 5 أشهر·discuss
It's the static site generator of vibe coded projects.
creata
·قبل 5 أشهر·discuss
> I want to be able to make art and music and movies and games.

Then make them. What's stopping you?
creata
·قبل 5 أشهر·discuss
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.
creata
·قبل 5 أشهر·discuss
> 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.