Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaoD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
571.
▲
by
kaoD
5y ago
You might already know this, but WASM isn't even at a stage where it can replace JS. Bindings to the browser APIs are currently done through a JS bridge, which can be pretty slow. I've lost track of the process (there were several
572.
▲
by
kaoD
5y ago
2021's bit-twiddling trickery was 1985's engineering.
573.
▲
by
kaoD
5y ago
QA testing would be replication. Peer review is more like code reviews... but the code is hidden and you can only see the comments.
574.
▲
by
kaoD
5y ago
> I just dont see how getting a shot every year or six months for eternity is a viable solution What do you mean? We have yearly flu vaccinations.
575.
▲
by
kaoD
5y ago
You're both right. I've used Ghidra to reverse-engineer a game's serialization format[0] and, even though the C-ish result was marginally better than manually tracking registers across the disassembly, it was far from underst
576.
▲
by
kaoD
5y ago
At least in Google Collab I found longer prompts to work better. E.g. instead of "graffiti sunset" you might get better results with "a sunset painted in the style of graffiti" or similar.
577.
▲
by
kaoD
5y ago
I think this is called HRTF. The bad news is there are many of them and only a few work for each person. This often results in being unable to tell front/back apart, frontal sounds perceived as coming from above, etc.
578.
▲
by
kaoD
5y ago
Good catch! It's one of the variants of ESP cheats.
579.
▲
by
kaoD
5y ago
It's not a problem of bandwidth, it's a problem of latency. What a client sees at any point in time is actually a client-side prediction. If this wasn't the case, and the server wouldn't send player positions until they
580.
▲
by
kaoD
5y ago
VQGAN+CLIP seem to have this dream-like quality where they generate images that are evocative of your prompts but don't actually picture them. I find it fascinating because in some cases it's not as obvious as "lump of white
581.
▲
by
kaoD
5y ago
https://en.m.wikipedia.org/wiki/Beat_(acoustics)
582.
▲
by
kaoD
5y ago
It's not a problem with types. It's a problem with call semantics. If `foo()` behavior depends on whether `foo` is async or not, you're implicitly introducing yield points that might lead to bugs like race conditions. Even wo
583.
▲
by
kaoD
5y ago
Another reason: when you `await` a promise your function pauses until promise resolution and other code will run meanwhile. In contrast, since JavaScript is single-threaded, calling synchronous functions means only that function will be run
584.
▲
by
kaoD
5y ago
If a function is async it's because it is potentially long-running or expensive. I don't want that fact hidden. I don't find `await` particularly bothersome to write, and it explicitly tells me which calls are async and can b
585.
▲
by
kaoD
5y ago
If `await` could be omitted, every async call would be blocking. Sometimes you don't want that. E.g. you can store a `Promise` in a variable and then `await` it later (or even just never `await` it and let it resolve/reject and ig
586.
▲
by
kaoD
5y ago
I see philology/linguistics as quite science-y too. You can argue that's just the building blocks of the art (literature), but so is the science-y side of music (which we call "musical language" in Spanish conservatories
587.
▲
by
kaoD
5y ago
Scale degrees are 1-indexed. Unison is the "first" when it should be zeroth if you want to add indices like that. (3-1) + (3-1) = (5-1)
588.
▲
by
kaoD
5y ago
Hyperactive and inattentive types are very different. I'm not even sure why we group then in the ADHD umbrella.
589.
▲
by
kaoD
5y ago
I switched to rust-analyzer and it made a huge difference. Have you tried it?
590.
▲
by
kaoD
5y ago
> but there’s no denying that Go is much easier to program than Rust. Well here I am to deny it. I personally find Go super hard to write anything that is not a few lines of glue code (and in that case I just reach for Node). Rust made m
591.
▲
by
kaoD
5y ago
And that's a terrible abstraction that, for some reason, happens for any application, whether they have a background job or not. System tray + taskbar is miles better.
592.
▲
by
kaoD
5y ago
Criticism is not negativity. It's valuable when someone in the room challenges ideas and pushes back over-abstraction (if done respectfully and constructively).
593.
▲
by
kaoD
5y ago
But how is that related with vanishing points? EDIT: To give a bit more context, in 3D geometry, isometric (and other orthographic projections) are just projections which do not apply a perspective divide. No time component anywhere. https
594.
▲
by
kaoD
5y ago
- Assuming `Int` and `Bool` are user-defined types (Rust has `bool` and many types of ints like `usize`, `i64`, etc. instead). If you want to work over ANY primitive integer you can use the `num_traits` crate and make your type generic over
595.
▲
by
kaoD
5y ago
Not trying to sound rude, but this looks like it was generated by GPT3. What do you mean?
596.
▲
by
kaoD
5y ago
Huh, there is no alert, but the script node is there in the DOM. I'm confused.
597.
▲
by
kaoD
5y ago
What Nvidia man are you referring to?
598.
▲
by
kaoD
5y ago
Because Golang was touted as a systems programming language (a better C).
599.
▲
by
kaoD
6y ago
But it doesn't mean you have to mobilize an angry mob to ruin his career.
600.
▲
by
kaoD
6y ago
Adding to the fun: some implementations bark at you if you include it!
More ›