Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Nitramp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
Nitramp
12y ago
From glossing over the spec, it seems as if this does not include a file system abstraction. Operations are based on `path` objects; there's no additional state or context that'd allow e.g. implementing a virtual in memory file sy
212.
▲
by
Nitramp
12y ago
Said responsibility is then just not using C when you don't want buffer overflows, and by extension not using Node/JavaScript when you want readable code?
213.
▲
by
Nitramp
12y ago
I don't think it's fair to blame developer stupidity. Formulating something asynchronously makes your code quite a bit harder to read, test, etc, so it's only natural that developers would avoid that - and builtins like JSON.
214.
▲
by
Nitramp
12y ago
> By this logic, nobody should buy life insurance because the insurance companies have calculated their premiums so that they come out ahead. At least on average. If you flip the statement, it's " do insure against things th
215.
▲
by
Nitramp
12y ago
Health cost can very easily ruin you, even if you are quite well off. Even the possibly better prices negotiated by insurances for a serious illness are ruinous, and keep in mind you most likely won't have an income while you're s
216.
▲
by
Nitramp
12y ago
Don't buy insurance for things that won't ruin you. The insurer will calculate the risk of whatever happening, and obviously charge more than likelihood * cost. So unless your risk is higher than average, you're losing money.
217.
▲
by
Nitramp
12y ago
That's the VAT tax, comparable to the sales tax in the US, so this compares as 24% vs ~6% or so in most of the US. Income tax is separate from that, and depends on country to, but seems to work out to quite similar percentages, at leas
218.
▲
by
Nitramp
12y ago
I object to you both throwing all Russians into the same bucket and using 'we' as you're expressing your particular opinion, not necessarily shared by a wider group of westerners. As you can tell from Putin's elaborate u
219.
▲
by
Nitramp
12y ago
Defense in depth. Have another failsafe if your first line of defense fails (as it will).
220.
▲
by
Nitramp
12y ago
> > Benefit #3: Transformations > This is not a benefit of the language. This simply what it was originally intended to do. If a technology intends to be good at something, and then is, that's not a benefit of the technology?
221.
▲
by
Nitramp
12y ago
I work at Google, and have been using AngularJS in different projects for about three years. The OP raises a couple of good points (in particular his "The Bad Parts" are mostly valid), but I cannot understand some others, nor do I
222.
▲
by
Nitramp
12y ago
Interesting. In German speaking media, the universal recipe I found is to use any high-heat oil (canola, sunflower, etc), fill the pan with a lot of it (3 mm of oil in the pan), then add potato peels and a lot of salt. Fry the peels (and fl
223.
▲
by
Nitramp
12y ago
The US is very fortunate to require all government-produced cartographic data is solidly in the public domain. This is not the case in most countries. You can make the argument that making these maps costs money, so those that benefit fro
224.
▲
by
Nitramp
12y ago
I think it's a good idea to own your own domain name, at least as a tech savvy user. You can still use Google Apps with it (Google for work now?). That being said, I think it's a bit unfair to say companies won't lift a finge
225.
▲
by
Nitramp
12y ago
Angular 1.0 was released on Jun 13, 2012, and was built on the API developed much longer ago (and was compatible with it). So this is the first massive API change in probable well over five years, with lots of technology changes happening a
226.
▲
by
Nitramp
12y ago
> American products were inferior to German-Austrian-Swizzerland ones, but they were able to manufacture at a massive rate that Germanic countries were not able to compete. Keep in mind - WWII was won by Russia, not the US. Russia howeve
227.
▲
by
Nitramp
12y ago
> I wish someone would build a robust OS & GUI toolkit and ship it with developer tools... I think that's the web. The development that used to happen in VB6 & Delphi simply has migrated there, desktop apps from that segment
228.
▲
by
Nitramp
12y ago
And of course it's illegal to install other operating systems on smartphones and other devices. Citation required?
229.
▲
by
Nitramp
12y ago
Have you actually tested a net split situation, or a crash, or what it'd take to recover?
230.
▲
by
Nitramp
12y ago
... but that usually doesn't mean you have to have your full data set in memory, only the hot parts. And even if so, one or two ~10 ms seeks during a query aren't that terrible.
231.
▲
by
Nitramp
12y ago
Is MongoDB's distribution and scaling story really nicer? A cluster story that's easy to set up but then doesn't actually work (loses data, fails in potentially catastrophic ways) sounds not all that useful. http://
232.
▲
by
Nitramp
12y ago
I think people mix up three things: (1) Transactional model. Many NoSQL databases are non-ACID, but others are (Google's stores all have some transactional guarantees). Some databases try to gain efficiency by relaxing their transactio
233.
▲
by
Nitramp
12y ago
That's a nice exploit. It's worth noting that this is only breaching Angular's defense in depth though: input values should never make it to things evaluated against $scope; that's roughly equivalent of calling eval() on
234.
▲
by
Nitramp
12y ago
To be fair, with all the various ways how shell scripts (not only in bash) interpolate, evaluate, substitute etc., the typical shell language is much, much harder to keep safe against code injection than say Python (or even PHP). After all,
235.
▲
by
Nitramp
12y ago
DSL seems to somewhat taper off at 100 MBit/s over here in Germany, but that's actually quite reasonable speed for non-business customers, with 1080p taking 27 MBit/s. I once had cable in a crowded neighbourhood, it was prett
236.
▲
by
Nitramp
12y ago
I think App Engine's Datastore is generally an under-appreciated gem. Possibly because you have to use App Engine to use it without sacrificing performance, maybe because it's not easy enough to use if all you have is some JavaScr
237.
▲
by
Nitramp
12y ago
Not if the function is inlineable or an intrinsic (console.log will likely be either), which is the most basic trick of any JIT. Unless you can specifically measure caching the length is faster, I wouldn't do it. Most of the time it do
238.
▲
by
Nitramp
12y ago
Another quote: C++ most suited for demanding systems applications. [...] You choose C++ when the situation is already complicated. ... and then you have two problems </snark>. Yes, C++ has a lot of features, and those fe
239.
▲
by
Nitramp
12y ago
Or, you could just buy the already existing product. Is there anything they want to add beyond these? http://www.mercedes-benz-intelligent-drive.com/com/en/1_driv... For Mercedes: https://www.youtube.co
240.
▲
by
Nitramp
12y ago
I think this is a misunderstanding in terminology. "Network partition" in this context does not necessarily mean your LAN cable is broken, it means that you have a cluster of servers that expect to communicate, and some of them ca
More ›