Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
echaozh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
echaozh
11y ago
Even if energy can be saved... why not make the companies set different office hours at different times of the year, rather than make people reset their watches? If companies' office hours are not to be messed with, why are the people&
182.
▲
by
echaozh
11y ago
Why not outlaw locks the government cannot pick and vaults the government cannot break into? They're quite the same thing, just less digital.
183.
▲
by
echaozh
11y ago
I think the outermost comment made a great point that religion is basically a tool to manipulate people, to make them make irrational moves. After all, if you want people to move rationally, you make rational suggestions, otherwise even if
184.
▲
by
echaozh
11y ago
Religion is among the best tools to brainwash people then. If something really makes sense, you don't need people to believe it blindly.
185.
▲
by
echaozh
11y ago
If there is a type inferred, single character operator which can cast one numeric type to another, both sides can be happy.
186.
▲
by
echaozh
11y ago
> (This last one relies on the operating system placing myRNG at a different address every time the program is run. It's not as strong as the other techniques.) from: http://www.pcg-random.org/useful-features.html#id
187.
▲
by
echaozh
11y ago
If you allow car racing, why not drug racing?
188.
▲
by
echaozh
11y ago
Speak of JS, Jiangsu in China is also an option. http://en.wikipedia.org/wiki/Jiangsu
189.
▲
by
echaozh
11y ago
Because PHP is for really fast development, and not for slow movers who actually think a lot. That's what I sense after joining a company using PHP. The language itself feels like a bag of features copied over from top contenders from
190.
▲
by
echaozh
12y ago
If someone really wants to try, he can always loan money and buy land/start a company. This is hacker news after all. Feeling being slaved can be a very good motivation for entrepreneurship. Moaning about it is lame, in this circle at
191.
▲
by
echaozh
12y ago
If you fill out a questionaire, why wait for a human to do the Googling? Shouldn't the machine be better at it, and isn't Watson closer to this goal then ever?
192.
▲
by
echaozh
12y ago
The game somehow reminds me of go. Sometimes you have to "grow" the blue dots, and sometimes you have to stop its "growth". Like playing both sides at the same time.
193.
▲
by
echaozh
12y ago
Asynchronicity doesn't necessarily mean the function will be call at a later time. Rather it should mean the function will not be called by me at a previously known time without knowing the implementation of the function I am calling.
194.
▲
by
echaozh
12y ago
You either have an AOT compiler or an interpreter with JIT compilation. What's a JIT compiler?
195.
▲
by
echaozh
12y ago
If you make the units base-12, leaving the numerical system base-10, it will be really inconvenient. How much is 12^4? 10^4 is obvious, even if this 10 is a decimal 12. Base 2 is successful partly due to the fact that 2^10 is very close to
196.
▲
by
echaozh
12y ago
So it's a specialized mapping operator for the Result functor. Why restrict it to Result only? What about using option to denote a failure condition without a specific reason? Or other kinds of interesting functors?
197.
▲
by
echaozh
12y ago
Nice try.
198.
▲
by
echaozh
12y ago
I never thought people will actually come up and defend code duplication. It's definitely more than ugliness. The need to fix all the copies when they need to be updated is a bigger problem.
199.
▲
by
echaozh
12y ago
The point is, even if people do buy such a car, they don't often come back for a second car. The business will run out of customers very quickly. You do the math.
200.
▲
by
echaozh
12y ago
When I was in middle school, I had a book (in Chinese), teaching children how to carry out some simple calculations fast. It had a back story, with village boys trying to help out the adults when they're stuck with such simple calculat
201.
▲
by
echaozh
12y ago
It sounds like you can swap school to avoid learning anything! Seriously, it sounds like a good way to avoid memorizing historical or political knowledge.
202.
▲
by
echaozh
12y ago
I think if people really want something like docker on Windows or MacOSX, they should go out and write themselves one. For docker guys, obviously, they don't find it an attractive market. Who will run MacOSX in server farms anyway? If
203.
▲
by
echaozh
12y ago
I am not very familiar with pyc, but IMHO, if pycs compiled from both versions are compatible, the migration process should not be that painful. Syntax can change, but given stable ABI, librariescan be shared without pain. Why has no one do
204.
▲
by
echaozh
12y ago
Though people often criticise immutability on the ground that the machine code mutates registers and memory addresses as they're scarce resource, the compilers don't often generate such code directly. The compilers generate IR in
205.
▲
by
echaozh
13y ago
[concat $ replicate (fromEnum $ x `mod` 3 == 0) "Fizz" ++ replicate (fromEnum $ x `mod` 5 == 0) "Buzz" | x <- [1..101]] or let f = (replicate . fromEnum . (==0)) .: mod in [concat $ f x 3 "Fizz" ++ f x 5 &q
206.
▲
by
echaozh
13y ago
Though I really like your idea, and think that I may fit into 1 or more categories described in your post, I don't think it is a good thing for the brilliant guy. The world only remembers the one who finishes, rather than the one who t
207.
▲
by
echaozh
13y ago
+1. A repl is definitely better. Also, the size of the console grows larger for demo 3, and shrinks back when I go for other demos. I may have a bigger font than usual, but can it be fixed?
208.
▲
by
echaozh
14y ago
All bugs are embarrassing. What one can only do is to argue whether it's a bug or a feature.
209.
▲
by
echaozh
14y ago
My personal grudge with Go is its sorting interface. You have to typedef various kinds of slices and define methods for them. I mean, all Len() and Swap() calls look exactly the same (at least in the sort package), it's such a horrible dupl
210.
▲
So, these days distributing malicious software is considered okay?
(pavelmachek.livejournal.com)
1 points
by
echaozh
14y ago
|
0 comments
More ›