Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
luikore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
luikore
13y ago
That's what I meant. For most cases Go's performance over Python or even some messy C++ offers little use. But in some rare cases that we need to push the very limit of hardware, C++/C/assembly is more preferable than Go
62.
▲
by
luikore
13y ago
A language which had aimed for system programing but not fast compared with C++, now aims for web programing but still harder to use than script languages, static typing but no generic types, forces boilerplate in several aspects (exception
63.
▲
by
luikore
13y ago
Yeah, idiomatic any language can be faster than a mess of Go.
64.
▲
by
luikore
13y ago
My experience: it's incredibly easier to NOT use devise. I've wasted so much time reading and hacking devise source code, while the result is slower and more vulnerable than rolling my own. It does a simple job, but there are too
65.
▲
by
luikore
13y ago
Too many people were trained to think in the OO style, especially class-based OO, no matter if it fits the problem or not. Any language with prototype but not classes will end up with hand-crafted classes. Any language without neither will
66.
▲
by
luikore
13y ago
"Stable" sometimes means people are more familiar with the bugs than bug-fixes... Conservative tech choices: I'm only familiar with X so I don't choose Y like you guys who are familiar with both. -- This is OK because th
67.
▲
by
luikore
13y ago
You don't have to use the same function to solve every problem.
68.
▲
by
luikore
13y ago
You can just use projectlombok.org and val x = new Foo<Things>();
69.
▲
by
luikore
13y ago
Internet runs fine without JS, just like Hacker News... But yes, I should not spend time arguing something which doesn't worth it and go back make some real things.
70.
▲
by
luikore
13y ago
There are great things in other languages and they are not so hyped like in the JS world. JS is more like a language used to say average (or below) things.
71.
▲
by
luikore
13y ago
Absolutely not. These statements are boring because everyone knows there are javascript everywhere on the internet. But so what? We should pay more attention to GOOD languages rather than popular languages. It's not javascript a great
72.
▲
by
luikore
13y ago
I think it could be of more coolness if named "Hegemon", which is more connected to "Ansible"...
73.
▲
by
luikore
13y ago
But the one-page manual of coffeescript is far more useful to users than those looong specifications. No document about the syntax is better than the annotated source of the parser. And you can find specifications about all kinds of javascr
74.
▲
by
luikore
13y ago
The first one may be your localhost not mapped to 127.0.0.1 ? The second one may be a problem of backlog size. On my system (ruby 2.1.0dev (2013-08-06) [x86_64-darwin12.4.0]) it's 128 and there's no reset. But you can manual chang
75.
▲
by
luikore
13y ago
It's one at a time. But, since the server only performs a one-shot task without the "hang on and wait 30 seconds"-like long connections, and, the default socket backlog of TcpServer is > 100, so every client gets served wi
76.
▲
by
luikore
13y ago
So this Go server is slower than a single threaded, blocking TCP server in Ruby. And the memory? Almost the same: require "socket" s = TCPServer.new 'localhost', 1201 loop do c = s.accept if c.read(4) c <<
77.
▲
by
luikore
13y ago
It's Penrose's view that a brain is quantum, but this paper http://arxiv.org/pdf/quant-ph/9907009v2.pdf shows human brain is more classical than quantum. Maybe the simulation algorithm is the thing that
78.
▲
by
luikore
13y ago
We still don't have any proof of earth having consciousness. Even if it has, it's probably not thinking in a human way... Do you really think it has the same definition of "screw up" as we do? Maybe earth thinks forests
79.
▲
by
luikore
13y ago
By doing this they survived first and took place of some other honest companies. Still very large benefits.
80.
▲
by
luikore
13y ago
While I'm arguing that modern libraries can avoid threads... Since you have Haskell and Actors, but worrying thread-safety of some other libraries. You can consider a single-threaded/multi-process deploy. By setting the thread poo
81.
▲
by
luikore
13y ago
It depends on your service multiplexing scheme. If you are using something like NodeJS or EventMachine, then thread safety provides nothing but only increased complexity and slowness. And 0mq is for inter-process communication. While you ar
82.
▲
by
luikore
13y ago
LLVM IR is designed for machine, not human, it's too verbose, and requires SSA form. A normal person can't easily reason the logic in such verbose language. Plus people are more familiar with C.