Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gbog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
gbog
10y ago
The problem is not to add some checks (asserts? No, just kidding), the problem is that you're quickly writing a little thing for a demo out an experiment, and faster than you'd expect these ten lines of innocuous code have grown i
122.
▲
by
gbog
10y ago
why would a programmer? Because the programmer would just run the code and check what different methods return as result. Then if it looks like the ordered keys, said programmer will rely on this behavior. For instance, I'm writing som
123.
▲
by
gbog
10y ago
It's not a matter of percent. If a very corrupted country decided to get rid of all mafia at once, it could mean a high percentage of the countrymen tried. However getting rid of an ethnic minority, or of the homosexuals, is not ok. Th
124.
▲
by
gbog
10y ago
Yes. If your kid is obviously a piano genius at five and asks for a good master you should provide. But be careful to not project your own dreams onto your kids. No need to push.
125.
▲
by
gbog
10y ago
Shut the book and watch tv (and eat chocolate bars) is the sure way to low self esteem, you'd never go that way. Your kid being super smart doesn't matter here. Also most parents will believe their kid is smarter than average, no
126.
▲
by
gbog
10y ago
Sure honor killing is an exception, but tiger mothers will tell you that they work hard to make sure their kids will be happy in their adult life. Maybe I wouldn't agree with their definition of happiness, because to me bring the best
127.
▲
by
gbog
10y ago
It seems weird to me that nobody seems to see the evidence: as a parent you just want your kids to be happy. Happy in the correct way, which means long-term happiness, built with good cultural background, reasonable social skills, construct
128.
▲
by
gbog
10y ago
For many reasons. The remote server is in a data center, supposedly better maintained than your PC, it has backups, RAIDx all the stuff. If you automate some tasks, or run long-lasting scripts, it is much more reliable. Also, keeping it in
129.
▲
by
gbog
10y ago
It is hard to draw the line, because you need first to build the concept of a "people" (or nation?) then try to find out what's the collective will. But you can't either dismiss this, as people right of self-determinatio
130.
▲
by
gbog
10y ago
Use vim or emacs not feasible? not desirable? If most of the greatest programmers use them, if you're a wannabe programmer how would you not use these tools? It's like willing to be a cowboy but for thanks to the horse and the gun
131.
▲
by
gbog
10y ago
I agree in the main lines but this has limits. I like to take an example with a family living nearby: you hear that the father is spanking his kids, ok, that's none of your business. But if you hear that said father is abusing his kids
132.
▲
by
gbog
10y ago
Building, editing, testing, all of that is better done remotely with ssh and gnu screen or similar.
133.
▲
by
gbog
10y ago
Depends on the kind of music. If you're listening to the recording of an harpsichordist playing Scarlatti in a room, then you can measure the difference between what you hear through your speakers and what you would have heard if you w
134.
▲
by
gbog
10y ago
Every time I get a link from this foreign policy site, I get the impression that this is, very well disguised but still strong, the good old "voice of the white West". It is obviously never explicit, but there a smell of "we
135.
▲
by
gbog
10y ago
I'd say humans are much more resilient than you think, and Indians probably even more so, because they are used to hard life. Or, to say it another way, many parts of India or other countries at this latitude have never been "suit
136.
▲
by
gbog
10y ago
I always cut more pieces than eaters and unevenly, because some people want just one small piece, some want a big piece, and some will be happy to have another piece later.
137.
▲
by
gbog
10y ago
I would not propose a blind test to anyone and "experts" (oenologist) will kindly refuse to do the test. I tried my "wine liking" friends with this kind of blind test, and actually proved them they do not feel anything (
138.
▲
by
gbog
10y ago
Not even. Religious faith is usually disconnected from reality, and in a way can't be proven false. Here a simple check backwards and outward will tell anyone that, if "DNA for commerce" makes any sense at all for a country,
139.
▲
by
gbog
10y ago
I was sceptical too, then I tried once with a good friend, it was not the "do you feel the qi?" thing, more like "follow my moves". In the evening, my body was so full of some electric shit I couldn't sleep. This fr
140.
▲
by
gbog
10y ago
There's this joke by one of my Chinese colleague: "When I was at school, we had to choose between swimming and taiqi, but there was no swimmig pool..." So I think a big slice of Chinese people have praticed taiqi or some rela
141.
▲
by
gbog
10y ago
That's completely subjective, most characters are not symmetrical anyway, and when they are it's a mistake to draw them symmetrical.
142.
▲
by
gbog
10y ago
I don't think being blunt is more efficient. First, adding a few "kind" softener words do not really take so much time, don't you think so? Second, efficiency in human to human communication is not only a function of raw
143.
▲
by
gbog
10y ago
Great, for the same reason I switched back to Firefox for all my browsing needs on all my devices. I think using Mozilla products is also an important way to support them.
144.
▲
by
gbog
10y ago
Any book on the long history of China would do, I'm not sure which one in English should be recommended.
145.
▲
by
gbog
10y ago
It's worse than that: taxi drivers count the amount of money they made in a day and stop when it's enough. Then if it rains they make their day quickly and go home, while they will cruise much longer during low demand days. This i
146.
▲
by
gbog
10y ago
Chinese civilization is different from western civilization, specially in its habit to absorb other culture, instead of conquering them. China had a Mongol dynasty, a Manchu dynasty. But it never rode to the other side of the world to force
147.
▲
by
gbog
10y ago
Yes. And same with art. I think western societies really do not have a need for more artists, musicians, djs and so on. We need more engineers, more plumbers, more bike fixers, and more teachers.
148.
▲
by
gbog
10y ago
Test suite being slow: you shouldn't have to run all the tests all the time, just bask the code where you are working, run the full suite and take note of the failed tests, then just run constantly these and a few more while coding. Th
149.
▲
by
gbog
10y ago
Many people tell you to hire an "expert". Be careful, many such security experts are experts in fud and taking the money of clueless frightened people. For a lot of money they'll run their attack bot on your servers and send
150.
▲
by
gbog
10y ago
This is not true, Chinese people are very able to find Chinese characters to express slang or dialect words, they do it all the time, and the case of M. Chan's hair is a rare exception.
More ›