Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ghostdiver
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
ghostdiver
13y ago
this code is so smart, maybe because it is Python after all from operator import add expr = "28+32+++32++39" print reduce(add, map(int, filter(bool, expr.split("+")))) but in JavaScript it looks much mor
122.
▲
by
ghostdiver
13y ago
Nice one, a fun list of hobby side projects made by Golang enthusiasts. I'm gonna drop Jetty and Java altogether in favor of AeroNotix/wedge!
123.
▲
by
ghostdiver
13y ago
It is also the only one library available for Golang atm. Actually I think that this example written in Java8 with lambda expressions would be more impressive.
124.
▲
by
ghostdiver
13y ago
I like the trick in Golang marketing, where we get a code full of references to some libraries. Same could be done about other languages. Oh, look, web server in 5 lines of code, in Java! public static void main(String[] args) throws
125.
▲
by
ghostdiver
13y ago
Programmer who is looking at keyboard while typing code - not good enough.
126.
▲
by
ghostdiver
13y ago
Cancer has been around for tens of thousands of years, yet human kind did just fine.
127.
▲
by
ghostdiver
13y ago
Hint: use something like var DEV = true; (function() { var priv = function() {}; if(DEV) this.priv = priv; })(); and then use Closure Compiler with option: --define DEV=false
128.
▲
by
ghostdiver
13y ago
think about Google Analytics tracking script
129.
▲
by
ghostdiver
13y ago
> GWT Emscripten - C++ -> JS, that's exciting, compared to Java -> JS > Solr Who cares about technology behind Solr? You didn't even mention Lucene
130.
▲
by
ghostdiver
13y ago
Postgres already offers HTTP interface: http://wiki.postgresql.org/wiki/HTTP_API
131.
▲
by
ghostdiver
13y ago
Scala or Cloujre, just like Java will be used for not so exciting programming tasks, syntactic sugar won't help here.
132.
▲
by
ghostdiver
13y ago
police, pedophiles, stalkers etc.
133.
▲
by
ghostdiver
13y ago
that is false statement actually HTML is an amazing language for creating static documents, but it was never designed for interactive web apps
134.
▲
by
ghostdiver
13y ago
It is bundled also in Firefox, Opera and Safari.
135.
▲
by
ghostdiver
13y ago
with JavaScript, there is no need to know how computer works, so why would anyone learn(deeply) about that?
136.
▲
by
ghostdiver
13y ago
I see one problem: - Entire generation of programmers may not have any knowledge about how computer works
137.
▲
by
ghostdiver
13y ago
Technically Poland was under soviet occupation, so it was like Vichy France during WWII, but for almost 5 decades.
138.
▲
by
ghostdiver
13y ago
How about DEFCONlike game: Single player: http://gtanczyk.warsztat.io/Dupocracy/game/index.html?loopba... Multi player: http://gtanczyk.warsztat.io/Dupocracy/game/index.html Source: htt
139.
▲
by
ghostdiver
13y ago
it is always possible to explain why some particular program is running slow and in case of programs running inside JVM, JVM itself is almost never the (only) reason.