Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samhw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
781.
▲
by
samhw
5y ago
> There are "management" companies that will employ you full time, and draw up contracts with other clients, who pay them directly, then they take a cut of their fees, withhold income tax, and pay you the rest. This sounds part
782.
▲
by
samhw
5y ago
Relatedly, there's the classic of this woman with the surname 'True', whose iCloud didn't work as a result: https://appleinsider.com/articles/21/03/06/coding-error-lock...
783.
▲
by
samhw
5y ago
Is it that rare? I have two middle names (William Howard) and I never thought much of it. As a kid, I was more amused by a friend of my sister's who had a quadruple-barrelled surname...
784.
▲
by
samhw
5y ago
Yup. We once analysed a particularly slow query (as in, a specific call to our server, not a path in the abstract) and saw that across the whole cluster it had resulted in eight million retries . And I think it was a 4xx in the end anyway
785.
▲
by
samhw
5y ago
> this invariably leads to hard-to-debug programs that terminate with unspecific errors like "i/o error", leaving it to the user or developer to figure out in which exact branch of the 9-layer call stack that error origina
786.
▲
by
samhw
5y ago
Nice to see so many people mentioning `map_err`. This is exactly what I've done when working with Rust (I have professional experience with both, slightly more with Go) and it's a dream compared with Go's error handling.
787.
▲
by
samhw
5y ago
It's true that explicit code is good, but "Go code reviews are a breeze" was not remotely my experience. For me and my past teams, reading through piles of boilerplate verbiage like this - among other 'explicit' syn
788.
▲
by
samhw
5y ago
This is how the bank I used to work at ended up with app loads taking almost a minute. People don't intuitively understand the impact of transitivity and exponential growth. It is a very, very bad idea to make a habit of using retry-
789.
▲
by
samhw
5y ago
The problem is that you don't need to mutate every error at every frame in the stack. I've seen codebases which religiously follow this rule, and most of the `fmt.Errorf` calls don't have much more to say than "error in
790.
▲
by
samhw
5y ago
Someone needs to write a proposal to make the program play the tune from Stayin' Alive whenever a function returns an error. That way the Go devs can still pretend it's the 70s, meanwhile the rest of us can sneak in some usable er
791.
▲
by
samhw
5y ago
Precisely. As soon as you go beyond a ten-line toy program, you'll hit this problem, and in my experience it's almost universally acknowledged to be a problem with Go. Rust's '?' sugar effectively replaces the whole
792.
▲
by
samhw
5y ago
I'm not sure how that code block is meant to work. You still need to check the value of error and conditionally return, unless you're suggesting that most functions only contain one function call.
793.
▲
by
samhw
5y ago
You mentioned Rust: well, Rust has the question mark operator for this case, so you can automatically unwrap a Result<T, E> and return the Err<E> with only one character of code. I worked with Go for years, and it's just no
794.
▲
by
samhw
5y ago
You witnessed the hiring process of the NSO Group, which begins at 4 years old in kindergarten? For a company which has existed for 11 years? I can't agree more with what the above commenter said. This is not infosec hiring, it's
795.
▲
by
samhw
5y ago
The police literally said as much, in the Wikipedia article for a similar device, the Quadro Tracker ( https://en.wikipedia.org/wiki/Quadro_Tracker ), which hilariously "could detect hidden drugs, explosives, weapon
796.
▲
by
samhw
5y ago
It does seem rather astonishing that they don't test these devices. It's not only fraud you need to rule out, but also genuine manufacturing errors, equipment wear and tear, etc. The only explanation I could understand is that the
797.
▲
by
samhw
5y ago
Fair enough, perhaps I should have said 'adults'. Every generation of adults, since time immemorial, has complained that 'kids these days' are intellectually or spiritually degenerate compared with their own generation.
798.
▲
by
samhw
5y ago
Rule #382: You can translate 'kids these days' commentary from one generation to the next by simply substituting $newthing for $oldthing, and inserting a new value of $newthing. For instance: 1990s: Kids these days wouldn't h
799.
▲
by
samhw
5y ago
They made $37bn revenue and $684m profit (presumably post-debt-payments) last year, so I don't think that line of credit will be terribly challenging for them to repay.
800.
▲
by
samhw
5y ago
It's full of 40-year-olds trying to justify how their phobia of TikTok is somehow different from their parents' phobia of video games or rock-and-roll.
801.
▲
by
samhw
5y ago
Is it a harsh truth? It's harsh, that's for sure. It strikes me as unbelievably illiberal and puritanical to suggest that it should be illegal to create content for children which (the speaker considers) is unedifying. I don'
802.
▲
by
samhw
5y ago
> But doesn't that make it way too easy for someone to extract the network and use it to train their "own" AI with distillation learning? If you're targeting medium-to-large businesses, I suspect lots of them will buy
803.
▲
by
samhw
5y ago
> That's why suddenly so many care about the rights of minority groups, too. Yes, as we all know, that idea was invented in 2004. Before that, it was unheard of to worry about the rights of minorities. The founding fathers of the US
804.
▲
by
samhw
5y ago
> the word has been wrongly used since the french revolution Words don't have to mean what their Ancient Greek component parts mean. Meaning = use.
805.
▲
by
samhw
5y ago
> it usually means letting a different group of investors (the funders of the startup) access a market I guess 'democratize' rolls off the tongue more easily than 'heteroligocratize'.
806.
▲
by
samhw
5y ago
It seems like quite a simple calculus to me: if ever the cost of reasonably using the API exceeds the cost of buying and operating a machine with 350GB RAM, then people will switch to the latter. Either way, I don't see how adding a ne
807.
▲
by
samhw
5y ago
> company is made of mostly software engineers This hits the nail on the head. If you dig down into it, this almost always aligns with the companies people describe as 'tech companies'.
808.
▲
by
samhw
5y ago
I'm not sure what the point is of correcting a comment in which someone is _describing their mistaken former belief_. He knows it's incorrect. What does this, along with your other pedantic comments in this thread, really add?
809.
▲
by
samhw
5y ago
You're right that 'match' would have obviated the ambiguity in this title, given the context, but I don't think it's the only 'correct' term in general. I'm British too, and I would have no objection
810.
▲
by
samhw
5y ago
You may be interested in the symbol grounding problem ( https://en.wikipedia.org/wiki/Symbol_grounding_problem#Groun... ). It's like the binding problem, but for symbols.
More ›