Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sacado2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
361.
▲
by
sacado2
8y ago
Good point. We found ways to overcome these issues, but that's a tradeoff, for sure.
362.
▲
by
sacado2
8y ago
Not a lot, but when your test environment is on a remote server (because it replicates the production DB and you can't have that on your dev machine for security reasons), you tend to do it a lot. Add fast compilation to the mix, and y
363.
▲
by
sacado2
8y ago
Isn't the bias in loss aversion the fact that losing 50 bucks out of 100 isn't symmetric to winning 50 bucks from a capital of 100? If I lose 50, I need to double my new capital to recover my former position, but when I win 50, I
364.
▲
by
sacado2
8y ago
You can deploy an executable on a server just by typing GOOS=linux GOARCH=386 go build foo && scp foo user@server: That's a lot of time saved, especially when you do it on a daily basis, and not something you can do as
365.
▲
by
sacado2
8y ago
I'm pretty sure qubex means he does not want to raise someone else's kid, let alone his own.
366.
▲
by
sacado2
8y ago
Thank you Steve. I'll have a look at map_err().
367.
▲
by
sacado2
8y ago
I don't know, most of the time, I add information to the error before propagating it: if f, err := os.Open(path); err != nil { return nil, fmt.Errorf("could not open path: %v", err) } This is the vast maj
368.
▲
by
sacado2
8y ago
I think the safer your job/situation is, and the less debt you have, the less you need to protect your assets in case a downturn happens. I have a government job in France, which is basically the safest situation on Earth, I'm sup
369.
▲
by
sacado2
8y ago
Basically, if your old unit tests break, or if the post-conditions changed (in case you use design by contract), that's a new major version, otherwise, it's not. But yeah, there are counter-examples, and anyway a user can expect a
370.
▲
by
sacado2
8y ago
The real problem is people (including the author of the article, apparently) think ML is necessarily some kind of ultra-complicated technique that needs a PhD and a GPU. But, come on, 80% of the times you can use ML, dead-easy techniques ar
371.
▲
by
sacado2
8y ago
If you're looking at a way to teach a basic AI for beginners (yes, even teens), you could just try Markov chains. You can make an easy garbage text generator / automatic text-completion (à la text messages) with markov chains, th
372.
▲
by
sacado2
8y ago
I preferred the "try!" syntax. The ? is harder to parse visually, harder to find, and makes the language a little more complex (that's one more operator, one more thing to understand, one more thing to parse for tools, etc.)
373.
▲
by
sacado2
8y ago
Putting your entire life savings into one asset is always a bad idea, I thought this was a well-known fact nowadays.
374.
▲
by
sacado2
8y ago
I actually rarely type that very snippet. In like 3/4 of the cases, I make the error more specific, like if err != nil { return nil, fmt.Errorf("could not parse file %s: %v", path, err) } the remainder be
375.
▲
by
sacado2
8y ago
Then just `panic` first on all errors, and correct it as you go on. This is not really the advised practice, but if it works for you...
376.
▲
by
sacado2
8y ago
In all big packages I use: yes, it is. This is actually a must given there was no (standard) version management system. If you have no versioning system and don't make your code backwards compatible, you break someone else's code.
377.
▲
by
sacado2
8y ago
Genuine question: how is bitcoin a better inflation hedge than gold, especially in (somewhat) poor countries where making online transactions (and mining bitcoin) is not as easy/affordable as in the most developed countries?
378.
▲
by
sacado2
8y ago
French Revolution was also a way for the "bourgeoisie" (the riches, basically) to get the power that was still held by the aristocracy. So, actually people that had lots of money and thought they deserved to have more power.
379.
▲
by
sacado2
8y ago
Another virtue of non-fancy methods is that they can provide a basic explanation of their reasoning, which is very important in the medical field. I think one of the main drawbacks of deep learning is its opacity.
380.
▲
by
sacado2
8y ago
I starting using rust recently and I noticed my programs tend to use the techniques described in this article. Using an "object" pool that is responsible for the creation / management / destruction of values and their re
381.
▲
by
sacado2
8y ago
It comes from the time where TV and electronic devices could be either completely switched off, or in sleep mode (ie can react to remote control): the red LED made it clear the device was not completely switched off. Nowadays, this is obvio
382.
▲
by
sacado2
8y ago
Although I don't think living in 1 room when you're alone (or maybe a couple) in necessarily bad, I can't understand how living with a whole family in a single room can be ok. I mean, how are you supposed to have sex when you
383.
▲
by
sacado2
8y ago
I found that, but this is in French, obviously: http://www.leparisien.fr/rozay-en-brie-77540/rozay-en-brie-c... My own (approximate) translation of parts of the text: "Sur Facebook, le trentenaire avait apposé un
384.
▲
by
sacado2
8y ago
Most of your friends, family, coworkers, etc. have your e-mail or your phone number (or both). Some (most) of them use facebook, and a significative portion of them share those information with facebook, so even if you never subscribe to th
385.
▲
by
sacado2
8y ago
If you like everything, or if you say "my birthday is the 32nd of February", the algorithm can detect you're trying to defeat the system, and ignore you: you become a known unknown. But if you start to like random things, or
386.
▲
by
sacado2
8y ago
Exactly. In France people have been convicted because they "liked" illegal opinions. As if the fact that such a thing as an illegal opinion exists was not enough of a problem, it's been decided by justice that the semantic of
387.
▲
by
sacado2
8y ago
Wow. Deep learning would certainly not be my technique of choice on constrained architectures, but there are situations where you don't really have viable alternatives right now, so I'm glad to see that's actually doable.
388.
▲
by
sacado2
8y ago
Free jazz in the 30's ? That was more the era of early be-bop.
389.
▲
by
sacado2
8y ago
No people in charge is alive, but the company still is. It means at least some of its current assets are of dubious origin.
390.
▲
by
sacado2
8y ago
Anyway, an opponent necessarily runs out of time before all the rounds are over.
More ›