HN user

creata

2,632 karma

only a fool would take anything posted here as fact

Posts39
Comments957
View on HN
cheatsheetseries.owasp.org 7mo ago

OWASP Cheat Sheet Series

creata
1pts0
www.youtube.com 8mo ago

SIMD Programming with Highway [video]

creata
2pts0
webr.sh 8mo ago

WebR – R in the Browser

creata
117pts29
areweguiyet.com 8mo ago

Are We GUI Yet?

creata
3pts1
pattrns.renoise.com 8mo ago

Pattrns Playground

creata
1pts0
www.sinerj.org 11mo ago

Virtual Pianos Comparison

creata
2pts0
www.youtube.com 1y ago

The Art of the Rolling Start

creata
1pts0
docs.kernel.org 2y ago

Bcachefs Coding Style

creata
3pts0
gruss.cc 2y ago

Fantastic Timers and Where to Find Them [pdf]

creata
2pts0
webgl2fundamentals.org 3y ago

WebGL2 State Diagram

creata
3pts0
github.com 3y ago

Knuth-Plass Thoughts

creata
71pts10
engineering.fb.com 3y ago

Fighting fraud using partially blind signatures

creata
1pts0
taginfo.openstreetmap.org 3y ago

Amenity Types on OpenStreetMap

creata
1pts0
milkytracker.org 3y ago

MilkyTracker

creata
161pts50
www.youtube.com 4y ago

Randomized Condorcet Voting [French]

creata
2pts0
developer.mozilla.org 4y ago

Web Audio API example and tutorial: simple synth keyboard

creata
3pts0
www.mseymour.ca 4y ago

Hex: A Strategy Guide

creata
158pts43
github.com 4y ago

Sidebery – Firefox extension for managing tabs and bookmarks in sidebar

creata
1pts0
www.cl.cam.ac.uk 4y ago

Higher-Order Reverse-Mode Automatic Differentiation [pdf]

creata
2pts0
learntla.com 4y ago

Learn TLA+

creata
3pts0
github.com 4y ago

Effects bibliography – bibliography of work related to computational effects

creata
1pts0
www.cs.ubc.ca 4y ago

Fluid Simulation – Siggraph 2007 Course Notes [pdf]

creata
44pts13
smallcultfollowing.com 4y ago

Little Orphan Impls (2015)

creata
1pts0
graphics.stanford.edu 4y ago

Primitives for Computational Geometry [pdf]

creata
1pts0
www.janestreet.com 4y ago

RustBelt: Logical Foundations for the Future of Safe Systems Programming (2019)

creata
21pts1
terrytao.wordpress.com 4y ago

The blue-eyed islanders puzzle

creata
2pts1
github.com 4y ago

Diffractor.jl – Next Generation Automatic Differentiation

creata
3pts0
xenaproject.wordpress.com 4y ago

Half a year of the Liquid Tensor Experiment: developments

creata
1pts0
math.andrej.com 4y ago

Representations of Uncomputable and Uncountable Sets (2008)

creata
45pts9
davidchristiansen.dk 5y ago

Checking Dependent Types with Normalization by Evaluation [pdf]

creata
1pts1

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.

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.

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.

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.

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.

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.

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.

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.)

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.

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.

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.