Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klodolph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
451.
▲
by
klodolph
2y ago
The public interest reason for mandating radios is so that drivers can receive emergency broadcasts.
452.
▲
by
klodolph
2y ago
Right, and if we put everybody in work camps, unemployment would drop. It’s easy to improve a single metric (like “amount of litigation”) if you don’t care about any of the other effects it would have.
453.
▲
by
klodolph
2y ago
This is why, as policy, I don’t judge negatives any more. I always print contact sheets and make my initial judgments there.
454.
▲
by
klodolph
2y ago
Why not serialize / just print one? Parallel is faster. Why not wait? Because it’s nice to see results as they come in. Yes, there are pathological possibilities here, if an early request is slow. But this complaint sounds like a compl
455.
▲
by
klodolph
2y ago
So, this would be done in AWS by having e.g. IAM roles that you can assume from your user account. Your user account is your identity, and the IAM role that you assume is what grants you permissions. You can then log something like “this ac
456.
▲
by
klodolph
2y ago
The place I work has a list of security guidelines that is, like, ten pages long and full of links to more detailed explanations. The exact advice depends on how you’re running your services. My starting advice, for cloud, is this: 1. Run i
457.
▲
by
klodolph
2y ago
I wrote that Amazon wants “attrition”, which means the opposite.
458.
▲
by
klodolph
2y ago
> no apparent reason besides investors wanted them? If investors want it, I don’t see why any other reason would be necessary, ever, to explain a company’s behavior.
459.
▲
by
klodolph
2y ago
I’ve heard this argument before and I don’t buy it. By that, I mean it may be true (that people want to prop up real estate prices), but I don’t think that this is enough of an explanation. If it were just about real estate, then Amazon wou
460.
▲
by
klodolph
2y ago
I say this is wrong, and the true reason to ship slower is when shipping something wrong is catastrophic. Let’s say you are making something well-understood like a PCB. To me, the “ship fast” option is to make a prototype PCB fast, even if
461.
▲
by
klodolph
2y ago
I don’t know how many k hours of coding I have. 10k is long in the rear-view mirror. My advice? Ship fast. The way you get good is by being fast. Think of two junior engineers, we’ll call them Uno and Dos. Uno is working hard on a feature a
462.
▲
by
klodolph
2y ago
That’s not the only real danger. The angle grinder can suddenly shift in practically any direction. It’s very easy to lose control of it.
463.
▲
by
klodolph
2y ago
Okay, maybe I just don’t understand the flow of the conversation here. Too many referents, not enough clarity about which referents we’re talking about.
464.
▲
by
klodolph
2y ago
> There's a lot of value in the entire product team understanding the customer/user. This has to be the most common fallacious line of thought that I see in discussions about roles and experiences at work. Whether something has
465.
▲
by
klodolph
2y ago
Seems like there are some steps missing between the quoted at the beginning and the outrage in the article. I don’t really understand the specifics of the complaint. My main thought reading the quote at the top is, “you shouldn’t call peopl
466.
▲
by
klodolph
2y ago
I like to phrase it this way—in life, there’s a lot of bullshit. In college, there’s a lot of bullshit. If you can handle four years of bullshit in college, that’s a good sign.
467.
▲
by
klodolph
2y ago
I’m a fan of community college, but I’m not surprised that no companies reached out. It is rough to try and jump into an entry-level position after only two years of studying programming. If you want to be a programmer, the way community
468.
▲
by
klodolph
2y ago
I think I would add an exception for this too, because it crops up a lot.
469.
▲
by
klodolph
2y ago
Yes, note you’ll also see: defer f.Close() Instead of, defer func(){ _ = f.Close() }() I think this is likely a code style difference due to working with a linter that alarms on discarded error returns, but I’m not sure. Both
470.
▲
by
klodolph
2y ago
Eh, the real answer is close twice (as in the article update): func f(filename string) error { fp, err := os.Create(filename) if err != nil { return err } defer fp.Close() if _, err := fmt.Fprintln(fp, "He
471.
▲
by
klodolph
2y ago
The implementation of `os.File.Close()` in Go clears the file descriptor. https://pkg.go.dev/os#File.Close “Close will return an error if it has already been called.” An os.File is a data structure containing a file descrip
472.
▲
by
klodolph
2y ago
Practically speaking that’s often true, but there are also projects where someone has figured out deterministic builds. There’s usually not a technical reason why you can’t have a deterministic build, but rather, it’s a question of whether
473.
▲
by
klodolph
2y ago
That would require a pretty creative interpretation of the CFAA.
474.
▲
by
klodolph
2y ago
I have seen the lecture before. Or, parts of it. I took many classes in school where we worked with higher dimensional spaces. You wouldn’t send a physics major a lecture on physics, say it was “eye opening”, and expect them to feel the sam
475.
▲
by
klodolph
2y ago
Any extreme quantitative difference is going to be a qualitative difference.
476.
▲
by
klodolph
2y ago
Ehh… you can intuitively think about it. Intuition is something you develop with time as you gain familiarity with a subject. You just can’t bring all of your intuitions about 3D space into higher-dimensional spaces.
477.
▲
by
klodolph
2y ago
No, that would be incorrect. A plane is 2D. If you have two functions, and take their span, you get a 2D plane. It is a regular, flat, 2D plane. When people say “hyperplane” they are generally talking about something with more than two dime
478.
▲
by
klodolph
2y ago
> that means functions have a ‘cosine similarity’ which is not remotely geometric. It obeys the normal rules you learned in geometry. For example, pick three functions a,b,c. The functions form a triangle. The triangle obeys the triangle
479.
▲
by
klodolph
2y ago
I don’t see how that argument follows.
480.
▲
by
klodolph
2y ago
I get why people want those things but you can’t spec out undefined behavior and end up with a version of C that people want. Not sure what “standardize ABI” is supposed to mean… each platform has its own ABI, and most of those ABIs are alr
More ›