Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sesse__
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
631.
▲
by
Sesse__
2y ago
No, because I had hardware H.264 encoder support. :-) (The decoding in FFmpeg on the other side was still software. But it was seemingly much cheaper to do a H.264 software decode.)
632.
▲
by
Sesse__
2y ago
At some point, I had a similar issue (though not related to licensing), and it turned out it was faster to do a high-bitrate H.264-encode of the stream before sending it over the FFmpeg socket than sending the raw RGBA data, even over local
633.
▲
by
Sesse__
2y ago
All major, and not a single one of them has leaked it?
634.
▲
by
Sesse__
2y ago
I guess not a lot of games really use OpenGL at all anymore? But I haven't gone around and tried making a survey. :-)
635.
▲
by
Sesse__
2y ago
https://github.com/oyvindln/vhs-decode
636.
▲
by
Sesse__
2y ago
OpenGL also supports SPIR-V, a similar intermediate format, since 2017 (it came into core in OpenGL 4.6).
637.
▲
by
Sesse__
2y ago
For NES Tetris, playing on PAL is basically considered easy mode. Some of the top players have been doing it to train for difficult feats.
638.
▲
by
Sesse__
2y ago
Yes, I think “only rarely useful” covers it :-) I know there are some codecs that support it, e.g. VP9?
639.
▲
by
Sesse__
2y ago
The big change is basically that we now typically specify exactly which integer approximation to the (real-valued, “ideal”) DCT to use; this means the decoder and encoder is much likely to fall out of sync. As a bonus, this means we can use
640.
▲
by
Sesse__
2y ago
The DCT, just like the DFT, is a discrete version of the (analog) Fourier transform. (FFT is just a clever, fast implementation of the DFT, just like when people say “DCT” they usually mean a similarly fast implementation of the DCT. Call i
641.
▲
by
Sesse__
2y ago
> For MySQL, for smaller deployments, I've found Galera to really be a handy HA system to get going: Well, at least if you don't value your data. ( https://aphyr.com/posts/327-jepsen-mariadb-galera-cluster ;
642.
▲
by
Sesse__
2y ago
Better than rsync (over SSH): - You do not need an existing trust relationship (or trust on first use) - Easier to punch holes through NAT/firewalls - Easier for non-technical users Worse than rsync (over SSH): - Multi-f
643.
▲
by
Sesse__
2y ago
My basic problem is that I'm really struggling to hear the difference between many of your samples :-) And I've already got a bit of experience with microtonality (DSP background, playing and have tuned multiple instruments, reaso
644.
▲
by
Sesse__
2y ago
If you have two addresses in the same /64, you know almost certainly they are on the same LAN. If you have two addresses in neighboring /64s (same initial 63 bits), or in general within the same /48 (same initial 48 bits), yo
645.
▲
by
Sesse__
2y ago
By being part of a larger, routable prefix. gnfargbl didn't say the _address_ was unroutable, but that effectively, routing policies mean that /48 is a common minimum unit for administrative purposes (similar to how /24 has a
646.
▲
by
Sesse__
2y ago
But the /64 would not be publicly routable (i.e., be visible in the global BGP table). I guess in practice, it's more like IPv4 /24 = IPv6 /48, though. The closest analog to an IPv4 /32 would probably be an IPv6 &#x
647.
▲
by
Sesse__
2y ago
I agree with that statement, but it has nothing to do with snprintf() versus e.g. strcpy_s(), where you have exactly the same requirement to pass the right size. (Separately, there's a discussion about how many bytes you are allowed to
648.
▲
by
Sesse__
2y ago
The sanest solution is, surprisingly, snprintf(dst, sizeof(dst), "%s", src).
649.
▲
by
Sesse__
2y ago
I sometimes write intrinsic comparisons (e.g., something like "x < 'a'" instead of "_mm_cmplt_epi8(x, _mm_set1_epi8('a'))") just to make sure the compiler understands what's going on and can d
650.
▲
by
Sesse__
2y ago
One thing that's not all that obvious from this large chunk of assembly is that Clang manages to rewrite (x >= 'a' && x <= 'z') into (x - 'a') < <some constant> which s
651.
▲
by
Sesse__
2y ago
In NetWare 4.x (and even more so in 5.x), you could give NLMs their own address space. But by then, it was probably lost anyway.
652.
▲
by
Sesse__
2y ago
My favorite PhD dedication: ”To my surprise”
653.
▲
by
Sesse__
2y ago
It's actually surprisingly hard to get on some IRC networks these days. A lot of e.g. EFNet servers have pretty narrow I-lines, and it's not always easy even to get a server list unless you're already on. I like IRC for the c
654.
▲
by
Sesse__
2y ago
A sugar pill does not make tumors disappear. That's not what the placebo effect does; it changes your perception of pain and well-being, but not much else. (Of course, that can have a value in itself, but it's nothing like the mag
655.
▲
by
Sesse__
2y ago
By default, it seems git-send-email adds the in-body From: with the committer. (I don't know if git am picks this up, but I suppose it does.) If I add --from _after_ $oldsha..$newsha, it seems that's the git-format-patch --from, w
656.
▲
by
Sesse__
2y ago
I deliver and read mail locally. I don't think that matters a whole lot in this case, though? As long as you can send email from your server to yourself somehow, I guess you're fine.
657.
▲
by
Sesse__
2y ago
It is so that the push doesn't actually become a push. :-) If the pre-receive hook exits with success, the push goes through and random people can write whatever they want to my repository. If it fails, the repository is left exactly a
658.
▲
by
Sesse__
2y ago
They also, effectively, fit information in the indexes of the parameters. I.e., _which_ of the parameters are nonzero carries real information. In a sense, they have done their fitting using nine parameters, of which five are zero.
659.
▲
by
Sesse__
2y ago
> What would the alternative be, as you can't just edit someone else's repo? git push directly to the repository, in a separate branch namespace. This is how e.g. Gerrit works (pushing to a special ref makes a review, which is
660.
▲
by
Sesse__
2y ago
And I do vividly recall someone saying that the later CS betas had lag-compensating things that were unfair, and invited others to play beta 1, “where you actually hit what you aim at”!
More ›