Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blossoms
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
blossoms
9y ago
Dead link
2.
▲
by
blossoms
12y ago
GitHub's is also not clean: https://www.google.com/safebrowsing/diagnostic?site=github.c...
3.
▲
by
blossoms
12y ago
My ISP is seemingly blocking that site. I can access it from my DO VPS, though.
4.
▲
by
blossoms
12y ago
NB a tuple of one item only requires a trailing comma, and a tuple of zero items is represented as ()
5.
▲
by
blossoms
12y ago
I don't mean to be pedantic, but a list (I am assuming df is a list) requires an int. (That sentence I wrote about using hashable types need not apply, sorry!) If you ran that code, you would get this error: TypeError: list indic
6.
▲
by
blossoms
12y ago
alist = [foo(word) for word in words if word.startswith('a')] alist = map(foo, filter(lambda word: word.startswith('a'), words)) Which reads better?
7.
▲
by
blossoms
12y ago
Afaik Apple's switching power supplies support the specifications you described (for example, see Mac Mini's tech specs https://www.apple.com/mac-mini/specs.html -- 50-60Hz 100-240v AC). Not to mention Apple
8.
▲
by
blossoms
12y ago
Anybody have a link to the document? It's behind a paywall?
9.
▲
by
blossoms
12y ago
Any internet website can be attacked this same way.
10.
▲
Lambdairc – Experiment using Python without statements
(github.com)
1 points
by
blossoms
12y ago
|
0 comments
11.
▲
by
blossoms
12y ago
>Your Python code is just wrong. Could you elaborate? I want to understand how to fix it. EDIT: I really want to know what is wrong with my code. It works. Is it a stylistic concern? $ dd bs=1m count=10 if=/dev/random o
12.
▲
by
blossoms
12y ago
That mangles binary data. $ printf 'binarydata'|awk '{ print }'|hexdump -C 00000000 62 69 6e 61 72 79 64 61 74 61 0a |binarydata.| 0000000b
13.
▲
by
blossoms
12y ago
There are some comments on the Gist claiming Python or Ruby is a one liner. My response: https://gist.github.com/kosta/9777932/#comment-1199293
14.
▲
by
blossoms
13y ago
http://i.imgur.com/Jmjf3y2.png
15.
▲
by
blossoms
13y ago
Unrelated but it looks like www.aol.com's robots.txt is served as text/html http://www.aol.com/robots.txt Is this a common mistake?
16.
▲
by
blossoms
13y ago
I respect your work, but I must say this: "You are terrible." Why you might ask? Well ask any kid who has been forced off to Bible Camp or some other humiliating childhood summer activity. Keep up the great work!
17.
▲
The Roost Stand - Space-age laptop stand
(therooststand.com)
1 points
by
blossoms
13y ago
|
0 comments
18.
▲
by
blossoms
13y ago
http://clojurescriptkoans.com/#higher-order-functions/10 got me good. Why is it one needs to use `(count a) (count b)` instead of just `a b` like worked when comparing string lengths in a previous ClojureScript Koan?
19.
▲
by
blossoms
13y ago
After pondering this article, I think the only reason to run SSH on a different port is to prevent zero day ssh authentication bypasses, which I don't think is a decent reason -- I'll eat my hat when this happens again.
20.
▲
by
blossoms
13y ago
This is a cool idea but I am skeptical of how effective it is long-term. If I am understanding the design correctly this method comparable to simply changing the name attributes on input tags. It'll take awhile for spammers to catch on