Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spal
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
spal
14y ago
If you look where we started ( http://news.ycombinator.com/item?id=4076559 ), I'm not trying to feed the regex pattern to grep via stdin, but I'm trying to feed the input stream to be searched for the pattern to grep via stdin.
2.
▲
by
spal
14y ago
Why are you extracting 35 characters with 'cut -c6-40'? SHA1 produces a 160-bit message digest. That's 20 bytes or 40 hex-digits.
3.
▲
by
spal
14y ago
BTW, the commands involving 'openssl' can be fixed in this manner. $ printf linkedintrouble | openssl sha1 | cut -c10- | grep -f - combo_not.txt 3ac85868a20c977661a12f770f0d116f87c74831
4.
▲
by
spal
14y ago
No, he is trying to demonstrate how to use 'xargs node -e'. Are you even reading this discussion properly or are you just searching for some shell snippets and ridicule them as soon as you get a chance? This is what it looks like from your
5.
▲
by
spal
14y ago
This doesn't work, because: $ printf linkedintrouble | openssl sha1 (stdin)= 3ac85868a20c977661a12f770f0d116f87c74831 The leading '(stdin)=' messes the pattern being fed to 'grep'. Yes, I've read http://partmaps.org/era/unix/award
6.
▲
by
spal
14y ago
$ cat combo_not.txt | grep `printf linkedintrouble | sha1sum` 3ac85868a20c977661a12f770f0d116f87c74831 $ cat combo_not.txt | grep `printf nathanlinkedin | sha1sum` a4d28368130ad555c77ec6a4dd18b8977ac0f589 $ cat combo_not.txt |
7.
▲
by
spal
15y ago
In my experience, I haven't found this to be true. The algo-guys I've met are also critical thinkers when it comes to designing scalable and reliable systems.
8.
▲
by
spal
15y ago
You care about your identity and your tweets on Twitter. So, this is a sensitive account. It wasn't clear earlier whether you cared about your perlmonks.org identity so much. So, assuming the worst case scenario, this should have been consi
9.
▲
Browsing behavior for web crawling - Geeking with Greg
(glinden.blogspot.com)
1 points
by
spal
15y ago
|
0 comments
10.
▲
Some comparisons between ImageMagick and GD (PHP)
(rubblewebs.co.uk)
1 points
by
spal
15y ago
|
0 comments
11.
▲
Science, Technology and Humanity at Singularity Summit 2011
(physorg.com)
3 points
by
spal
15y ago
|
0 comments