939 karma · joined April 5, 2010
perl -MDigest::SHA=sha1_hex -le '$h = substr( sha1_hex(shift), 5 ); open F, "<combo_not.txt"; print "found $_" for grep /$h/, <F>' password
Or: perl -MDigest::SHA=sha1_hex -lne 'BEGIN {$pw = shift} $h = substr( sha1_hex($pw), 5 ); print "found $_" if /$h/' password combo_not.txt [prakash@kaveri 16:39:05 ~ :) ]
>> sleep 10
^C
[prakash@kaveri 16:39:18 ~ :( ]It's old, but still is useful.
Also, see http://dev.clojure.org/display/doc/Getting+Started
What if the kid leaving with the bat found out that the people who control the playground had imposed some rules that are not agreeable to him, and in his opinion are not favorable to the other kids at large?
> People here are reading way too much into it.
You are Dave Winer. How can you expect people to not read into it, especially one with such a provocative title?Are duplicate entries accepted? "Eloquent Javascript" has two entries.
http://hackershelf.com/book/40/eloquent-javascript/ http://hackershelf.com/book/39/eloquent-javascript/
Perhaps, they are submitted around the same time?
Edit: Now, I notice two entries for "Learn You a Haskell" too which are pretty far apart in their ids.
your two line signature could be reduced to one line by linking your name to www.kswizz.com.
What if the recipient is using a non-HTML mail client?Ok. Back to the topic.
I am an Indian and I have never heard of the word "lacuna" used in the two Indian languages that am proficient in (you do know that there is not one "Indian" language, but many many of them, don't you?)
See http://www.masteringemacs.org/articles/2010/11/01/running-sh... for comparison.
I would write your code as:
foo($_) foreach @bar;
sub foo {
my $var = shift;
$var =~ s/foo/bar/;
print $var;
}
You can also fix this is to localize $_ inside the function, if you don't want to pass $_ as a parameter. foo foreach @bar;
sub foo {
my $var = $_;
$var =~ s/foo/bar/;
print $var;
}
You can even use $_ instead of $var (although it looks a little weird assigning $_ to itself): foo foreach @bar;
sub foo {
my $_ = $_;
s/foo/bar/;
print;
}Also of interest: NoSQL - a non-SQL RDBMS, seems to have been inspired by rdb and implemented using awk (http://www.strozzi.it/cgi-bin/CSA/tw7/I/en_US/nosql/Home%20P...):
NoSQL is a fast, portable, relational database management system without arbitrary limits, (other than memory and processor speed) that runs under, and interacts with, the UNIX1 Operating System. It uses the "Operator-Stream Paradigm" described in "Unix Review", March, 1991, page 24, entitled "A 4GL Language". There are a number of "operators" that each perform a unique function on the data. The "stream" is supplied by the UNIX Input/Output redirection mechanism. Therefore each operator processes some data and then passes it along to the next operator via the UNIX pipe function. This is very efficient as UNIX pipes are implemented in memory. NoSQL is compliant with the "Relational Model".
If you say a "std lib" is something that is installed along with the language, then CPAN fits the bill.
$ corelist CPAN
CPAN was first released with perl 5.004It lets you explore the CPAN ecosystem without installing the modules.
$ cpandoc XML::Twig
[ ... documentation for XML::Twig ...]
[1] Coincidentally, today's Perl Advent article covers cpandoc (http://perladvent.org/2011/2011-12-15.html).That's their employee count worldwide. Shouldn't only the US-based numbers be relevant in the current context?
I know there are alternatives like It's All Text extension [1] which lets me hook emacs into Firefox, but it's not been updated for recent versions of Firefox.
[1] https://addons.mozilla.org/en-US/firefox/addon/its-all-text/
Perhaps if your campaign page had some verbiage about this font's special features and how it is really different than others, it would help more people to notice?
The harassment women get is much, much worse than men.
Me and my wife are both computer scientists, and have both given talks at many conferences. My wife and our female friends consistently get much more, and much worse, harassment than me and our male friends. There is no comparison, and over time I've seen it grind several women down to the point where they just give up (fortunately not my wife yet).
I think everyone should help to reduce the often hostile attitude in IT and FOSS in particular, and a fairly obvious part of that is to stop treating women so badly. Just treating them like everyone else would be a fine start.
It's a good thing then that the author of this article falls in your 10% group: someone who actually knows a thing or two about language implemetations, and not a hobby horse rider.