Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
johnsoft
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
johnsoft
12y ago
That's it! Thanks a million :)
92.
▲
by
johnsoft
12y ago
This is only tangentially related, but I remember seeing a site a few years ago that ranked languages by crowdsourcing about 100 subjective comparisons between different pairs of languages. It made statements like: - Programs written
93.
▲
by
johnsoft
13y ago
Here's something I didn't know - you can use unicode escapes outside of strings. Code like `\u0061\u006c\u0065\u0072\u0074(1)` translates to `alert(1)` and runs just fine.
94.
▲
by
johnsoft
13y ago
>for no real reason I won't give anyone investment advice, but the recent drop does have a real reason behind it. The Chinese government released a notice[1] tightening regulation on bitcoin activity within the country. There is of
95.
▲
by
johnsoft
13y ago
It would be interesting to compare this figure to Western Union's electricity usage from their network infrastructure and all their brick-and-mortar locations, and see which of the two supports more transaction volume per kWh expended.
96.
▲
by
johnsoft
13y ago
stdafx.h is a Microsoft invention used to help speed up C++ compilation. Instead of parsing your 100000 lines of headers for every source file, you would do it once, and the compiler would dump its state to disk. Then, whenever you started
97.
▲
by
johnsoft
13y ago
That's probably my favorite research paper ever. The web link in the PDF is offline, but it looks like they moved everything to the Microsoft site -- http://research.microsoft.com/en-us/um/people/kopf
98.
▲
by
johnsoft
13y ago
There are a few language corners that don't translate, such as: var x = "".constructor(5); // The property 'constructor' does not exist on value of type 'String'. The exceptions make
99.
▲
by
johnsoft
13y ago
In that case, you announce a reroll, along with a published paper explaining that x^1 == x. But, assuming you use SHA-256 or higher, the chances of that happening are less than one over the number of atoms in the observable universe, so you
100.
▲
by
johnsoft
13y ago
archive.org is my other go-to for downed sites - http://wayback.archive.org/web/20130619160043/http://www.chr...
101.
▲
by
johnsoft
13y ago
For me at least, partial indices are the killer new feature of this release - https://www.sqlite.org/partialindex.html
102.
▲
by
johnsoft
13y ago
Memory is I/O from the hardware standpoint, but I don't think that makes sense from a Python coder's standpoint. Python doesn't release the GIL while waiting for a memory fetch, so multiple threads can't concurrentl
103.
▲
by
johnsoft
13y ago
Linux and Macs have hosts files too, at /etc/hosts.
104.
▲
by
johnsoft
13y ago
Python 3 lets you define functions with keyword-only arguments: >>> def foo(a, *, b="Default"): ... print((a, b)) ... >>> foo(1, b="bar") (1, 'bar') >>>
105.
▲
by
johnsoft
13y ago
That reminds me of this blog post – http://dev.hasenj.org/post/3272592502/ibm-and-its-minions
106.
▲
by
johnsoft
13y ago
So instead of exponential growth, each additional suspect causes the total to asymptotically approach 100% of the vertices in the graph. I can't help but feel that's what they're really going for with three hops.
107.
▲
by
johnsoft
13y ago
The size of the nodes are based on how much influence a language's design has had on later languages. PHP may have a lot of market share, but not a lot of languages have copied its features. A better title for the page would be the one
108.
▲
by
johnsoft
13y ago
That truly is mind-boggling. I see cops turn their lights on to run red lights where I live and it makes me just as mad. One of these days one of them is going to get T-boned. I wonder whether this "protection" happened at the sta
109.
▲
by
johnsoft
13y ago
Bitcoin nodes will reject transactions that conflict with ones they have already seen. Once the transaction is broadcasted, the only way to replace it would be to mine the next block and include it yourself. The only other feasible way to d
110.
▲
by
johnsoft
13y ago
I've been using Dragon NaturallySpeaking for the past year or so, and it works well once you get over the initial curve of learning to say "cap" and "comma" in all the right places. I couldn't imagine using it for programming, but for dicta
111.
▲
by
johnsoft
13y ago
Such an experiment would be unethical (for obvious reasons), but many cases have happened "outside the lab" over the years, and when found the people are observed after the fact. There have been many cases where "stray humans" have been tak
112.
▲
by
johnsoft
13y ago
This is a great, straightforward idea. But the main problem with these kinds of approaches is that the system breaks down if you ever need to change any of your passwords. There's also the problem of sites with password restrictions like al
113.
▲
by
johnsoft
13y ago
Here's Evernote - http://i.imgur.com/EeXRsNA.png and Apple - http://i.imgur.com/ufutrhZ.png I think they actually look pretty cool, almost like pieces of modern art.
114.
▲
by
johnsoft
13y ago
I've always wondered, why do people use this argument for medical care, but not food? Both are necessary to carry on living, and both are provided by people who themselves work full-time and need to keep the lights on somehow.
115.
▲
by
johnsoft
14y ago
The reason it became popular in the first place is because Linksys included GPL code in their stock firmware, and because of the terms of the license, they were forced to release the entire firmware source under the same license. Once the f
116.
▲
by
johnsoft
14y ago
The ratio of trade volume to transaction volume has been trending downwards since the start of the year. In other words, the growth in goods/services exchange has outpaced the growth in speculation (in terms of BTC, not USD). [1] Further, i
117.
▲
by
johnsoft
14y ago
It's right; MtGox has been down/frozen for the past hour (at the time of this post). Bitcoinity is a pretty solid site in my experience.
118.
▲
by
johnsoft
14y ago
From the title, I was expecting to read a review of ReactOS looking at whether it would be viable as a day-to-day OS. This leaves me a little bit disappointed.
119.
▲
by
johnsoft
14y ago
"Some sites nowadays depend on advertising as a revenue stream," is a far cry from "The Internet was created on the foundations of advertising." Reading through http://en.wikipedia.org/wiki/History_of_the_Internet , if I had to guess what
120.
▲
by
johnsoft
14y ago
Just to check if I'm understanding the presentation right, will the implementation involve compiler magic to turn this: @coroutine def getresp(): s = socket() yield from loop.sock_connect(s, host, port)
More ›