Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sesse__
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
961.
▲
by
Sesse__
5y ago
Typically the other way around; ADTS is a way to get AAC within MPEG-TS through means of a wrapper. If you remux AAC from MPEG-TS (like e.g. a satellite feed) into MP4, it strips away the ADTS wrapper (and adds a single ASC header for the M
962.
▲
by
Sesse__
5y ago
internaltool.faang.com _is_ publicly accessible, as in, you can get to the login page.
963.
▲
by
Sesse__
5y ago
BankID: A system with a secret spec, where the bank holds your secret key, there is no transparency log whatsoever (so you have no idea what your bank used that secret key for), can be used to authenticate as yourself almost everywhere, and
964.
▲
by
Sesse__
5y ago
It authenticates the user to the service, but not the service to the user, so it's vulnerable to phishing (or MITM, of course, if you don't have TLS).
965.
▲
by
Sesse__
5y ago
Good to know. Another possible question is: What is the best strategy minimizing (at any point) _first_ the maximum number of tries, and second the EV (average number of tries over all possible words)? That's subtly different from eith
966.
▲
by
Sesse__
5y ago
You can get EV of 3.46393 with a guaranteed maximum of five tries. (I don't know whether this bound is tight.)
967.
▲
by
Sesse__
5y ago
BitTorrent isn't particularly efficient; a well-designed CDN beats it every time, and is pretty cheap these days. (Generally, you get random peers, not peers that are particularly close to you. You could try to fix that, but you'd
968.
▲
by
Sesse__
5y ago
If you're left with BLACK/FLACK/SLACK, you guess BEEFS, which tells you which is the correct one. So two guesses, not three.
969.
▲
by
Sesse__
5y ago
These are the formulas you want: https://webaudio.github.io/Audio-EQ-Cookbook/Audio-EQ-Cookbo... They are the classic IIR biquads. If you want steeper filters, just run multiple equal filters in series (high-order IIRs
970.
▲
by
Sesse__
5y ago
Your #3 is very optimistic. You can't just remove a join (be it inner, left, or really any other type) just because you didn't refer to any fields from one of the sides, and it's even harder when aggregation is in the mix. Th
971.
▲
by
Sesse__
5y ago
What if you do SELECT a + b, SUM(x) FROM t1? Should the implicit GROUP BY be on (a,b) or (a+b)?
972.
▲
by
Sesse__
5y ago
Not by the SQL standard, since projection (which creates aliases) happens after aggregation. There are many databases that allow it as an extension, though.
973.
▲
by
Sesse__
5y ago
Larger systems would usually use drive bays with 80-pin SCSI, which was the regular 68-pin SCSI, plus automated address configuration (ie., you got the address assigned to the bay), plus power, all in one connector.
974.
▲
by
Sesse__
5y ago
What confuses _me_ about this is that nothing seems to say what it _is_. It's like there's some giant practical joke I'm not a part of, and the README.md just throws off heatmaps and wants me to watch a 24-minute YouTube vide
975.
▲
by
Sesse__
5y ago
> In Win95 or MacOS 7, if you started a file copy (for example), the whole desktop froze until the copy was done. You couldn't do anything else except sit there and watch the progress bar. In Win95, the copy happened on the destinat
976.
▲
by
Sesse__
5y ago
The fact that CPUs internally have microcode doesn't mean there's a different RISC CPU lurking underneath that you could just take the lid off of. In particular, the instruction decoder, which is what you're proposing to chan
977.
▲
by
Sesse__
5y ago
More specifically, most devices will want _4:2:0_ Y'CbCr. It's highly unlikely that FFmpeg gave you anything that's not Y'CbCr (H.264 can technically encode RGB, but I've never ever seen it in use). And if it choose
978.
▲
by
Sesse__
5y ago
Thank you! It's becoming the default now, slowly (e.g., it will be the default in Debian and Ubuntu from the next releases, and Fedora is in a process to make it replace mlocate right now). It's just a tad too new, only about a ye
979.
▲
by
Sesse__
5y ago
And plocate is yet orders of magnitude faster than GNU grep. :-) And updates its database faster. You don't specify which locate you're using, but mlocate and BSD locate are basically obsolete by now. (Disclosure: I'm the aut
980.
▲
by
Sesse__
5y ago
Users generally don't want Python packages; they want software. They don't care what it's written in, and shouldn't have to install it differently depending on what you chose. “Just learn $language_package_manager_of_the
981.
▲
by
Sesse__
5y ago
Not defending Phoronix' benchmarks, but do you ever play YouTube videos? If so, you're most likely using dav1d.
982.
▲
by
Sesse__
5y ago
Linux has had real-time threads (round-robin and, more recently, deadline scheduling) and kernel preemption for a _long_ time. But the kernel isn't fully preemptible all the time, and latencies are not strictly bounded in all such situ
983.
▲
by
Sesse__
5y ago
Different cultures have different sources of dirty words. US dirty words are based on sexual references (e.g. “fuck”), while other languages (like my native Norwegian) will have dirty words based on diabolics (e.g. “hell” or various names f
984.
▲
by
Sesse__
5y ago
That would be nontrivial (although probably not impossible). At least that was Meson's experience in trying to support Rust: https://lwn.net/Articles/820836/
985.
▲
by
Sesse__
5y ago
Yes, I remember all the traffic about gimp-print on the mailing lists :-) It was never really the core of my interests, and eventually, I moved to other things. Probably everything you say is right, but also, image processing is sort of a n
986.
▲
by
Sesse__
5y ago
This isn't the same as the old Windows async I/O. ptrwis' links are what I thought of (and it's essentially a 1:1 copy of io_uring, as I understand it).
987.
▲
by
Sesse__
5y ago
I've used sendfile + kTLS on Linux for a similar use case. It worked fine from the start, was broken in two (?) kernel releases for some use cases, and now works fine again from what I can tell. This is software kTLS, though; haven
988.
▲
by
Sesse__
5y ago
This used to be the case, but with io_uring, Linux has very much non-broken buffered async I/O. (Windows has copied io_uring pretty much verbatim now, but that's a different story.)
989.
▲
by
Sesse__
5y ago
My first patch to an open-source project ever was to GIMP, as a 16-year-old with zero OSS experience. I actually didn't have much problems getting it merged, so I don't think it was as insular as you make it out. :-) But it wasn&
990.
▲
by
Sesse__
5y ago
Also, often special effects are done as manual one-offs on top of what comes out of the renderer (with whatever software package and techniques that happened to fit the bill for that particular effect); it's not like you can just type
More ›