Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wging
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
wging
2y ago
The key for trait errors is https://docs.rs/axum-macros/latest/axum_macros/attr.debug_ha... -- it's made solving my problems much easier.
92.
▲
by
wging
2y ago
> Code is simple, safe, ergonomic and obvious. Dunno about 'safe' -- or at least not in the more general sense that you seem to intend, rather than the more limited sense of rust's safe/unsafe distinction. If you stor
93.
▲
by
wging
2y ago
Way more, actually. It likely predates HN by decades.
94.
▲
by
wging
2y ago
Caffeine doesn't only come in coffee. Caffeine pills and powders make overdoses much easier. For example: https://pmc.ncbi.nlm.nih.gov/articles/PMC8824417/
95.
▲
by
wging
2y ago
Another way to write that number is as the log base 2 of 3. The log base 2 of the number of possible states gives you the number of bits of information in a value chosen from that many possible states; here, a trit has 3 possible states.
96.
▲
by
wging
2y ago
Another cool thing that seems related: exploiting alignment to free up N bits in a 'pointer' representation, because your values have to be aligned. The JVM does this to expand the set of possible addresses representable in 32 bit
97.
▲
by
wging
2y ago
Maybe I'm taking you too literally, but I wouldn't want to have a handoff sync-up (or any meeting, really) on a Friday night, nor push that earlier so significant things can happen between sync-up and the actual shift in responsib
98.
▲
by
wging
2y ago
I don't think that is true. I'm sure they are more concerned about legal consequences than PR, even if both are important.
99.
▲
by
wging
2y ago
Small but important correction: no polynomial with integer coefficients (equivalently, rational coefficients). p(x) = (x - 3^(sqrt(3))) is a perfectly fine polynomial with real coefficients.
100.
▲
by
wging
2y ago
This seems to be a somewhat edited version of https://cacm.acm.org/practice/you-dont-know-jack-about-bandw... , discussed previously here: https://news.ycombinator.com/item?id=41793658
101.
▲
by
wging
2y ago
Does anyone know why the name of this series was changed from ‘JVM Anatomy Park’?
102.
▲
by
wging
2y ago
I don't think speed of a full compile (including your dependencies) is the right thing to optimize for -- and incremental compiles don't rebuild dependencies. In a project that depends on serde, for example, most compiles in an
103.
▲
by
wging
2y ago
In this case, you win by flagging all the mines. That isn't how winmine worked -- you just had to uncover all non-mine spaces.
104.
▲
by
wging
2y ago
The cheapest plates can be higher variance than you might expect. I’ve seen reports of 45s that are 10% light.
105.
▲
by
wging
2y ago
In nodejs you at least get a warning along with the problematic behavior: Welcome to Node.js v22.7.0. Type ".help" for more information. > setTimeout(() => console.log('reached'), 3.456e9) Timeout
106.
▲
by
wging
2y ago
Sshhh...
107.
▲
by
wging
2y ago
That’s mostly right, but some of them don’t require a computer. I’ve never solved one with just pencil and paper, but in some of the solution threads you will actually find pencil and paper solutions. I’m not sure if any of the later proble
108.
▲
by
wging
2y ago
If you want a few similar problems, in ascending order of difficulty, try #81 through #83: https://projecteuler.net/problem=81 https://projecteuler.net/problem=82 https://projecteuler.net/pr
109.
▲
by
wging
2y ago
I'd really prefer for emacs' implementation language to have been a lisp-1 rather than a lisp-2. It's annoying to have to do different things to treat a function as a value (put it into a list, assign it to a variable, etc.),
110.
▲
by
wging
2y ago
For instant startup I recommend daemon mode and emacsclient. Start emacs via emacs --daemon, open windows (in the terminal or otherwise) via `emacsclient` / `emacsclient -nc` (I use aliases for these).
111.
▲
by
wging
2y ago
It's better compared to the baseline of a for-profit corporation, especially given the stakes -- but it's strictly worse compared to the intended purpose of the existing structure that was recently hollowed out. The nonprofit enti
112.
▲
by
wging
2y ago
That's not what page 35 says at all. Check out page 36: > 92. Mullenweg’s premise was false, as WPE’s CEO had never interviewed with or negotiated a job offer with Automattic. To the contrary, back in 2022 Automattic had asked if sh
113.
▲
by
wging
2y ago
Expectations should be lower as far as responsiveness or even availability, for someone who is not actually on call. The load (and expectation) is also not evenly distributed: IME senior and staff/principal-level engineers (and manager
114.
▲
by
wging
2y ago
“Exact wording” would be Ancient Greek. Euclid did not even write in English. You’re checking whether the model matches a specific translation, which is not valuable. If you search around you’ll find many sources that choose a more intellig
115.
▲
by
wging
2y ago
In what browser did it fail to work? It works for me in both iOS Safari and desktop Firefox.
116.
▲
by
wging
2y ago
English inserts an additional ‘p’ in some cases; for precedent consider “stoppable”, “unflappable”, “skippable”. See https://english.stackexchange.com/questions/30001/why-is-shi...
117.
▲
by
wging
2y ago
"Do you want to be alive" is, for most people, not all that complicated a question.
118.
▲
by
wging
2y ago
The ability to convert it to any human-readable time is actually the problem: without additional information you don't know which one to pick, and are forced to make certain assumptions, such as using the user's local time zone or
119.
▲
by
wging
2y ago
> In other words, the function responsible for transforming a timestamp into a human-readable date is not injective, as each element of the set of timestamps corresponds to more than one element of the "human dates" set. The au
120.
▲
by
wging
2y ago
It's an interesting exercise to find the right generalization of this proof to sqrt(n) for arbitrary numbers n that are not perfect squares, and for kth roots for m >= 2. I.e. prove that if kth_rt(n) is rational, then n is a perfect
More ›