Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
epr
2y ago
I did not mean to endorse current software interviewing practices by pointing out a small overlap with good optimization fundamentals. The current status quo "google" style interview is basically a joke. It started from a good pla
32.
▲
by
epr
2y ago
I meant this kind of thing to fall under #1. Don't do work that can be avoided includes pulling 1M rows * a bunch of columns you don't need over the network. From your description though, it doesn't sound like something I
33.
▲
by
epr
2y ago
If the point of this article is that there's generally performance left on the table, if anything it's understating how much room there generally is for improvement considering how much effort goes into matmul libraries compared t
34.
▲
by
epr
2y ago
No
35.
▲
by
epr
2y ago
I've been daily driving Linux for maybe 10 years, and I see all these pushes for "lets make it easy. no cli!" as counter-productive. The cli is the interface on unix based systems, and the more time you spend learning fundame
36.
▲
by
epr
2y ago
Feynman's Razor
37.
▲
by
epr
2y ago
I can only assume the Google example would be part of a script/cli program that is meant to crash with an error on a bad parameter or similar. Perhaps the point is to catch the exception for control flow? My personal goal is to get thi
38.
▲
by
epr
2y ago
The example is hilariously terrible. Firstly, this is the currently required code: def set_deadline(deadline): if deadline <= datetime.now(): raise ValueError("Date must be in the future") set_deadl
39.
▲
by
epr
2y ago
Did we not all evangelize Google in it's early days? Also, none of these accounts saying nice things appear to be bots or kagi-focused in any way, so I think it's safe to assume they do actually just like it.
40.
▲
by
epr
2y ago
Obviously, some of this branching, etc. is not differentiable. Is it doing finite differences?
41.
▲
by
epr
2y ago
> Even most Hello Worlds don't check the pipe was written to correctly. The word for this is not "perfect", but "overengineered"
42.
▲
by
epr
2y ago
Funny, the original commit message for that suggests it was simply a precaution. It's not out of the ordinary to avoid newer kernel features just in case. > This is a short-term patch. Unprivileged use of CLONE_NEWUSER is certainly
43.
▲
by
epr
2y ago
Exactly, "set up". Many people (not all) don't want to fiddle with things, they just want it to work out of the box. The importance of secure defaults can't be overstated, especially when there are virtually no downsides
44.
▲
by
epr
2y ago
As I mentioned in another comment, the linux kernel feature (user namespaces) that enables "rootless" containers was released in February 2013, and Docker was released soon after in March of that year. For whatever reason, they ha
45.
▲
by
epr
2y ago
Unikernels aren't too complicated conceptually. They're more or less a kernel stripped down to the bare minimum required by a single application. The complete bundle of the minimal kernel and application together is called a unike
46.
▲
by
epr
2y ago
No mention of user namespaces whatsoever, which is the primary security isolation mechanism for containers on linux. This is what enables "rootless" mode. Of course, this is from 2017, but user namespaces were released with linux
47.
▲
by
epr
2y ago
The tech industry spends just as much lobbying as other large businesses in the us [1]. Fiduciary duty more or less forces larger corporations to engage in lobbying, considering the great value per dollar spent. [1]: https://www.
48.
▲
by
epr
2y ago
Is it? Is there no reasonable case where you have a subsystem in a game crash, then restart itself? Unless I'm mistaken, I've experienced this myself in video games more than once. Anything beats a full crash with a pointless erro
49.
▲
by
epr
2y ago
> Are we all not glad we don’t use the Unix method of communicating on the web? Right? Any arbitrary command string can be the argument list for your program, and any arbitrary set of characters can come out the other end. Let’s all writ
50.
▲
by
epr
2y ago
It's nice to know that. Could not tell that easily by reading the entire readme or the linked docs. If founders/devs are reading this, it'd probably be a good idea to make it obvious what this is for up front. Even just a one
51.
▲
by
epr
2y ago
Justine Tunney: https://justine.lol/
52.
▲
by
epr
2y ago
One of the tokens represents stopping. If you sample stop from the probability distribution instead of a normal text token, then you stop autoregressive sampling.
53.
▲
by
epr
2y ago
Guilty as charged! Although it's also an opportunity for practicing useful skills instead of useless ones.
54.
▲
by
epr
2y ago
A JPEG decoder or TCP stack are very clearly not individual concepts though. There's obviously some subjectivity as to what constitutes a single "concept" or "algorithm", but I'm not sure either of those two ex
55.
▲
by
epr
3y ago
> Sales is mostly just lying to collect a commission check. Depends on the type of sales. A pretty good indicator is how many times a customer makes a purchase from the same salesperson. If it's just one purchase (like ERP consultin
56.
▲
by
epr
3y ago
Wow, the fact that he can understand what's being said at that speed is incredible. His brain must've repurposed most of those visual processing neurons for audio.
57.
▲
by
epr
3y ago
XML and other document markup languages are objectively horrible data storage formats. Why is "forgiving" a desired quality in this case?
58.
▲
by
epr
3y ago
> A single Jia Tian can be infiltrating 10s or more OSS projects each week Single? 10s or more per week?! I can't help but think you are underestimating the cost of developer time. How many hours of work did it take JT to infiltrate
59.
▲
by
epr
3y ago
I've never been concerned about spies infiltrating open source projects compared to legitimate maintainers being hacked, even now after this whole xz incident. I'll put it this way. Let's say a bad guy had a decent budget to
60.
▲
by
epr
3y ago
> Except in the special case where all memory can be easily handled in arenas, good tracing GCs have long ago surpassed manual memory management in throughput Citation needed
More ›