Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
reichstein
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
by
reichstein
9d ago
Processor instructions are not _strongly typed_. They take bit patterns as input and output new bit patterns. The bits are untyped, the choice of operation decides how the bits are interpreted. Nothing enforces the type of that result, you
2.
▲
by
reichstein
22d ago
Yes, but for backwards compatibility, Unicode doesn't uppercase ß to ẞ.
3.
▲
by
reichstein
22d ago
I guess that's why you shouldn't be _validating_ things, and then praying them on as-is. "Parsing is validation" is (also) the idea that after validation, your data is in a format that reflects and enforces what's k
4.
▲
by
reichstein
1mo ago
I think "reflect top to bottom" is intended to mean "swap top and button". A mirror reflects left, right, top and bottom perfectly. It's front and back that it swaps. Someone saying that a mirror swaps left and rig
5.
▲
by
reichstein
1mo ago
The image you see in the mirror is a reflection of a human. Or, more precisely, a 2-dimensional projection of the frontal outer surface of a human. One half of one dimension less than a human. But sure looks convincing on the surface.
6.
▲
by
reichstein
1mo ago
Ethics is what people agree on. Not doing unnecessary harm is usually easily agreed on. Don't exploit people who know less it's also on the list. Doesn't mean we didn't learn something valuable from KZ camp experiments,
7.
▲
by
reichstein
1mo ago
Stressful on the body. Odd hours, sitting too much, inhaling too many exhaust fumes, having people yell at you if _they're_ late. Sounds like a fairly hard job.
8.
▲
by
reichstein
1mo ago
RegExps is the way to tokenize, so it's not surpassing you can look for individual tokens using them. It's parsing that's hard , for example when it needs to match up braces, or start and end tags, even if either is easily ma
9.
▲
by
reichstein
2mo ago
Models do not have assumptions. They have probabilities for what the next token should be. With enough context, in the context window and built into the model, that next token isn't completely random, it's correlated with somethi
10.
▲
by
reichstein
2mo ago
LLMs to inspect: - Simple robust syntax > - One obvious way to do things That always leads to more verbosity. Much syntactic sugar is a more specialized way to do a subset of a more general thing. Why have `a + b` when you could just w
11.
▲
by
reichstein
2mo ago
So the `+` is not _overloaded_, the `+` syntax is a shorthand for calling a method named `__add__` on the value of the first operand, with the value of the second operand as an argument . That is: `e1 + e2` is syntactic sugar for `e1.__add_
12.
▲
by
reichstein
2mo ago
Hyperbolic title is, unsurprisingly, misleading. At least the article follows the style consistently. The "ghost cut" is a two-step text move. A perfectly fine operation to have, _because_ it's not the same as a cut operation
13.
▲
by
reichstein
2mo ago
Probably don't care. I have no idea what "randoseru" means, or what kind of backpack it is. Looking it up, it seems to be a design that carries special meaning in Japan, and not really anywhere else. While other countries _ma
14.
▲
by
reichstein
2mo ago
The distinction is not physical vs (entirely) digital. If you buy games at GOG, you get entirely non-physical products, but you own and control those bits. You can download the game and keep playing it as long as you can provide it with a s
15.
▲
by
reichstein
2mo ago
> https://www.build.aau.dk/report-from-aau-warns-danish-homes-... The Danish Building code has requirements for retaining heat in the house, which is great in the cold winters, but devastating in the heart of modern summ
16.
▲
by
reichstein
2mo ago
It's not that I don't agree, but lawyers will then ask you to define "buy" in such a way that it is distinguishable from a perpetual lease with a cancellation clause _to buyers_, without also disallowing a lot of actuall
17.
▲
by
reichstein
3mo ago
Just because it's my windmill to tilt at: `[\s\S]` can be written shorter and more precisely as `[^]`.
18.
▲
by
reichstein
4mo ago
Assigning to multiple variables in a single expression is fine and useful. Take ``` target[i++] = source1[j++] + source2[k++]; ``` That's idiomatic, it shows the intent to read and consume the value in a single expression. You can
19.
▲
by
reichstein
4mo ago
The value of the variable is not hoisted by the Java compiler. (It's not that JVM, that only executes the byte code, what y doesn't have that kind of ambiguities.) The semantics of Java is not undefined on multiple assignments to
20.
▲
by
reichstein
8mo ago
... thus falling into the Pitt of failure, where every way out is just a little too far away.
21.
▲
by
reichstein
10mo ago
Semantic major/minor version 0.15 means it's still in development. It's not supposed to be stable. Going from 0.14 to 0.15 allows breaking changes. Try making a similar change between version 5.0 and 6.0, with hundreds of th
22.
▲
by
reichstein
1y ago
So "cooperative multitasking is not preemptive multitasking". The typical use of the word "asynchronous" means that the _language is single-threaded_ with cooperative multitasking (yield points) and event based, and exte
23.
▲
by
reichstein
1y ago
Aks. "Every beef anyone has ever had with Nvidia in one outrage friendly article." If you want to hate on Nvidia, there'll be something for you in there. An entire section on 12vhpwr connectors, with no mention of 12V-2x6. A
24.
▲
by
reichstein
1y ago
JSON is a text format. A parser must recognize the text `2` as a valid production of the JSON number grammar. Converting that text to _any_ kind of numerical value is outside the scope of the specification. (At least the JSON.org specificat
25.
▲
by
reichstein
1y ago
Your irony detector may need calibration. Or mine does.
26.
▲
by
reichstein
2y ago
The JSON spec only defines the JSON text format. It doesn't say what the text means. There are obvious interpretations, but every program that reads or writes JSON can decide what it does with it. On the other hand, the thing that make
27.
▲
by
reichstein
2y ago
So you're saying that "an ask" is "an order" or "a demand", rather than "a request". Why not use those words? I don't understand what "an ask" means. I don't know what the sp
28.
▲
by
reichstein
2y ago
I'm personally convinced that the reason the conditional operator of called "the ternary operator" it's that the ANSI C Programming Language book contains the phrase "the ternary operator, ?:", and a lot of rea
29.
▲
by
reichstein
2y ago
Agree, other than that I wouldn't use "2-arity". Maybe "2-ary", but that's just "binary" written confusingly. It works for "n-ary". I'd rather say that a binary operator _has_ an arity
30.
▲
by
reichstein
2y ago
"Success" is to achieve the intended goal, without causing new problems that outweigh the benefit of reaching that goal. Reaching the goal is not a moral measurement, it is all about efficiency. If you don't reach the goal, y
More ›