Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grandalf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
grandalf
9y ago
Not sure why I'm getting downvotes. Why should legacy automakers get bailed out when there are people like Musk who could have raised money to take over a big swath of the industry. The status quo is so full of entrenched rent seeking,
242.
▲
by
grandalf
9y ago
Right. Industry and regulators team up to take from society by imposing a weak regulatory framework and then acting surprised when we hit a bump in the road and it falls apart. Capitalism only makes sense when the big guys are allowed to fa
243.
▲
by
grandalf
9y ago
Taxpayers making "profit" is the wrong metric. Why should those who mismanaged risk get bailed out? Better to fire sell it to someone more capable.
244.
▲
by
grandalf
9y ago
The recent admission of accepting $150K from a "Russian fake news entity" hardly scratches the surface of the massive influence that Facebook's algorithm had on Trump's victory. It is the algorithm itself that made Trump
245.
▲
by
grandalf
9y ago
Excellent point. Per your question I'm also curious if there is a way to make aggregate ratings more useful as a quality measurement. For instance, if I see a product on Amazon with a 4.8 average rating but notice a lot of very angry
246.
▲
by
grandalf
9y ago
Since it sounds like you very much favor agile, I'm curious about your take on the following questions: - What adaptations to classic agile have you seen successful teams make that you think were very smart decisions? - What sort of pr
247.
▲
by
grandalf
9y ago
I think Agile is a response to the reality that in many organizations writing code is a thankless and cynicism-inspiring burden. Agile tips the balance and puts the technical team in control of process and expectation management in a way th
248.
▲
by
grandalf
9y ago
> Net neutrality has to do with packet discrimination: blocking or throttling traffic based on its content or destination So do you think that QoS to prioritize voip traffic violates network neutrality?
249.
▲
by
grandalf
9y ago
Well, customers who demand the higher tier service do so because their content requires it.
250.
▲
by
grandalf
9y ago
True. I predict that in 20 years he'll be the richest man in the world many times over, things are just getting started.
251.
▲
by
grandalf
9y ago
> not discriminating traffic based on destination or content by blocking or throttling This assumes all traffic is of the same kind, such as web traffic. For other protocols or use-cases, things like latency have a big impact on the con
252.
▲
by
grandalf
9y ago
Ironically, this offering is precisely the argument against network neutrality -- different customers need different QoS guarantees.
253.
▲
by
grandalf
9y ago
This article is definitely FUD, there are a few irritating things about React Native, but I think it's still far preferable to native development for most apps. I'll list the annoyances: - npm is a mess, and many libraries in the
254.
▲
by
grandalf
9y ago
Chris is one of the few well-known developers who conveys a deep love of software engineering. Looking forward to reading some of the code he writes in the coming months.
255.
▲
by
grandalf
9y ago
I think a corollary of the author's point is that by the time someone is college age , selection bias is the most powerful force in education. I'd be curious to see a study of younger people to see if perhaps there are some assim
256.
▲
by
grandalf
9y ago
Impact in terms of what? Alleviating suffering or helping to fix the institutions whose brokenness has let the problems fester?
257.
▲
by
grandalf
9y ago
I have a lot more respect for someone like Elon Musk who invests his money back into new ideas than someone who simply gives most of it away to charity. Malaria, low literacy rates, etc., are the byproducts of failed political systems and c
258.
▲
by
grandalf
9y ago
I get a bit awkward socially after a focused stretch of coding. Some days I'll go 4-6 hours only speaking to one person (a barista) briefly to order some coffee. The next conversation I have after the coding stretch usually finds me s
259.
▲
by
grandalf
9y ago
Wasn't the server in question unpatched for quite some time, meaning that any number of adversaries might have hacked it while it was vulnerable? Chances are at least a half dozen state actors and another half dozen private entities wo
260.
▲
by
grandalf
9y ago
Yes, and the only reason I was interested in the leaked information was because of the transparency it provided into the DNC and Clinton Foundation. In a democracy, transparency is a good thing. There are still a variety of things that were
261.
▲
by
grandalf
9y ago
By that logic nearly all errors are formatting errors.
262.
▲
by
grandalf
9y ago
> It can refine the status code instead of overriding it. True, this is sometimes possible when (coincidentally) one of the HTTP specs or extensions defines one of the codes in a way that feels similar enough. The mistake is to assume th
263.
▲
by
grandalf
9y ago
> when the operation was not successful. Well, do you care about all the successful and unsuccessful aspects of TCP that underlie the connection? No, you just care that it was successful, allowing the HTTP request. Assuming that is succ
264.
▲
by
grandalf
9y ago
Versioning a resource, per WebDAV is a very specific application. > using 200 OK for everything that didn't fail at the transport layer is a super frustrating experience regardless of whether or not it's semantically correct Th
265.
▲
by
grandalf
9y ago
> (If you are tunneling another application-layer protocol over HTTP, your argument makes sense, but that's not the general case with APIs.) I'd argue that that is actually what most APIs are doing that are not purely "RES
266.
▲
by
grandalf
9y ago
If it was an error you expected, then you should handle it using application logic. If you use a programming language with exceptions and one gets thrown and you use it for flow control, that doesn't mean the sever is broken. The API
267.
▲
by
grandalf
9y ago
Unless I'm doing some sort of pure REST API I'm simply using HTTP as a transport protocol for my application specific protocol. If HTTP delivers my application protocol's message successfully, it's an HTTP 2xx, but my ap
268.
▲
by
grandalf
9y ago
Your slides illustrate a custom response payload which happens to use codes that numerically match HTTP status codes. You also use a response message, I think we actually agree. I'd recommend using a different numerical namespace to a
269.
▲
by
grandalf
9y ago
> You should never, ever, ever return a 2xx status code with an error payload. The 2xx series means "Success" and you're abusing HTTP to use it to mean anything else. If the transport was successful, then it was an HTTP su
270.
▲
by
grandalf
9y ago
Exactly.
More ›