Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
s_q_b
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
s_q_b
10y ago
Yes, generally, and specifically that failure to handle this type of error can cause all sorts of plague, pestilence, and application compromise.
92.
▲
by
s_q_b
10y ago
Yeah, the whole idea is a terrible practice, but it is used in industry surprisingly often. People think that PHP's session lock will save them, seeing the potential race condition but not the decode failure. The scenario is typically
93.
▲
by
s_q_b
10y ago
Yes, exactly this. What I see a lot is initializing an object from a JSON parser which, when it receives malformed input, either halts execution outright or returns an empty object. In both cases you just want to make sure to handle the err
94.
▲
by
s_q_b
10y ago
Parsing JSON is indeed several orders of magnitude less complex than parsing HTML. In both cases there are excellent parsing libraries, but it would be very unwise to create your own HTML parser for production use, or to use any parser that
95.
▲
by
s_q_b
10y ago
Well, first and most obviously, if you are thinking of rolling your own JSON parser, stop and seek medical attention. Secondly, assume that parsing your input will crash, so catch the error and have your application fail gracefully. This is
96.
▲
by
s_q_b
10y ago
"People lived through winters and summers for thousands of years without needing central heating! Maybe we should learn something." Yeah... Those effete workers using the fruit of their increased productivity to better their qua
97.
▲
by
s_q_b
10y ago
In the United States, we're much more evolved: we don't just exclude people from government services, we also use innovative free market solutions to extract as much money from the "unbanked" as possible. First, corporat
98.
▲
by
s_q_b
10y ago
Stanford is not a member of the Ivy League, although it is a peer institution. I believe the OP's point was that the highest performing students will go wherever the most money can be made, and that elite institutions eventually steer
99.
▲
by
s_q_b
10y ago
I would wager most of those people are disabled, but for psychological reasons. As you point out, the level of stress caused by financial insecurity during any period of disability is extremely high. A lot of white collar workers in the U
100.
▲
Designer Bugs
(theatlantic.com)
1 points
by
s_q_b
10y ago
|
0 comments
101.
▲
The Mousepox Experience: On Dual-Use Research
(ncbi.nlm.nih.gov)
1 points
by
s_q_b
10y ago
|
0 comments
102.
▲
by
s_q_b
10y ago
Conservatively, it's about $7.00 per terabyte to store and retrieve data on Amazon Glacier per month. Working with petabyte size streams and storage is a pain, but it can be done. https://aws.amazon.com/glacier/pri
103.
▲
by
s_q_b
10y ago
Just ignore poor or improper feedback. That's pretty much what all other scientists do.
104.
▲
by
s_q_b
10y ago
Good scientists should welcome this challenge with open arms, sunlight all of their data and code in a repository, and show how proper statistically rigorous research is conducted. That's an elevator right to the top of the field. If I
105.
▲
by
s_q_b
10y ago
Ahh.. I forgot which field with which we're dealing. However, I do like the ring of it. Instead of Data Scientist, I think my new title will be Senior Methodological Terrorist.
106.
▲
by
s_q_b
10y ago
First, I don't understand why rapid feedback is bad. Communication adapts to new mediums all the time, and academia goes with it. The arXiv pre-print system is a great example of a field adapting well to a new technology. Secondly, add
107.
▲
by
s_q_b
10y ago
It would be economically sensible to take at least a 10% haircut on my salary to not have to commute, just based on the time-value of my labor. I look at a commute the same way I look at travel: it is a cost to me and I expect to be compens
108.
▲
by
s_q_b
10y ago
Thank you, I'll have to add it to my list.
109.
▲
by
s_q_b
10y ago
The endowments were created by the cumulative donations of alumni, largely with the intention of keeping monetary influence out of the university. If you remove that connection, you'll eventually kill the goose that laid the golden egg
110.
▲
by
s_q_b
10y ago
I think he knew the origin, but chose it anyway. It is an elegant phrase. Communists could be very eloquent. How else do you think they managed to convince so many people to be communists?
111.
▲
by
s_q_b
10y ago
Alcohol (ethanol) will be considered insane to drink at some point. There are chemicals, including other alcohols, that induce the same effect but with far less toxicity. Smoking will also be seen as a stupendously bad idea. I'm sure n
112.
▲
by
s_q_b
10y ago
My sister is currently finishing medical school at Penn. We talked about suicides in hospital and university settings. She had an interesting perspective on the problem. She said that it isn't the intensity of the work, the academic ri
113.
▲
by
s_q_b
10y ago
"The only truly secure system is one that is powered off, cast in a block of concrete and sealed in a lead-lined room with armed guards... And even then I have my doubts." [0] For your application to be secure, hundreds of thous
114.
▲
by
s_q_b
10y ago
Thank you for doing that. I sincerely apologize.
115.
▲
by
s_q_b
10y ago
The quote was intended to indicate general disagreement without specific justification. It was a sleep deprived and childish reply.
116.
▲
by
s_q_b
10y ago
The transition from IOC to FOC is outlined as part of the DoD acquisition contract, but under statute it means, "We've got at least one unit with associated services being run by the customer at at least one location." That&#
117.
▲
by
s_q_b
10y ago
IOC = Initial Operating Capability FOC = Full Operating Capability Most contracts have tranches of payment released with each phase: concept, IOC, FOC. IOC has also come to mean, "This works, but we aren't sure enough we got all t
118.
▲
by
s_q_b
10y ago
In many ways, I'd rather eat a flaming ball of excrement than work with 1960s technology again, especially when the code was written by programmers in the USG. These systems are horrible kludges. They're like the crumbling ruins o
119.
▲
by
s_q_b
10y ago
At what point shall we expect the approach of danger? By what means shall we fortify against it?-- Shall we expect some transatlantic military giant, to step the Ocean, and crush us at a blow? Never! All the armies of Europe, Asia and Afri
120.
▲
by
s_q_b
10y ago
If the use of IP addresses in this manner disturbs you, you should look into the the proposed changes to Federal Rule Of Criminal Procedure 41. This is the EFF's article, which is either a highly overzealous or highly prescient: https
More ›