Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
prakashk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
prakashk
14y ago
> _if they want to indulge in 'worthless debates' they should be allowed to._ Calling a debate "worthless" is not the same as disallowing such debates. Just like one has the right to engage in debates (worthless or not), one also has th
152.
▲
Understanding Object Oriented Programming
(csis.pace.edu)
1 points
by
prakashk
14y ago
|
0 comments
153.
▲
by
prakashk
14y ago
Whether the voting public is a "representative sample" or not, it does not change the main point of the GP.
154.
▲
by
prakashk
14y ago
I don't think this is anywhere close to being as nefarious as voter suppression attempts. If the increase in early voting schedules (even assuming that there is an intent to manipulate on the part of one side) are favoring one side, it is e
155.
▲
by
prakashk
14y ago
If you think the situation applies, PUCL ( http://pucl.org ) might be an option. See the contact page for phone numbers. If nothing else, they should know some good lawyers.
156.
▲
by
prakashk
14y ago
As a parent of a kid who is currently undergoing this "torture" of the admissions process [1], I beg to differ. The Common Application is definitely one of the ways the pain is alleviated. I wouldn't want to imagine the times when every c
157.
▲
by
prakashk
14y ago
Perl was mentioned in the article, but PDL (Perl Data Language) wasn't. https://metacpan.org/module/PDL PDL is the Perl Data Language, a perl extension that [...] includes fully vectorized, multidimensional array handling, plus several p
158.
▲
by
prakashk
14y ago
Perl: # 97 characters for my $i (1..100) { say join("", map { {3=>'fizz',5=>'buzz'}->{$_} unless $i % $_ } 3,5) || $i } # 81, if those pesky spaces are removed for my$i(1..100){say join("",map{{3=>'fizz',5
159.
▲
by
prakashk
14y ago
Not identical, but appears to be similar: templatemaker ( https://code.google.com/p/templatemaker/ )
160.
▲
by
prakashk
14y ago
Template::Extract appears closer. https://metacpan.org/module/Template::Extract Here's something equivalent to the example in the OP: #!/usr/bin/env perl use Template::Extract; use Data::Printer; sub extractV
161.
▲
by
prakashk
14y ago
Also, overall health situation tends to deteriorate as one ages, so seniors as a group would need more healthcare dollars per capita compared to the younger population groups. No wonder healthcare becomes one of the most important issues fo
162.
▲
by
prakashk
14y ago
TheNextWeb appears twice on the page: first one after Mashable, and second after Geek. But, only the first four items are same in both lists. Fetched from different feed URLs? Others have already said it, but I will say it again. Please rem
163.
▲
by
prakashk
14y ago
> In perl there is YaML ... YAML is not just limited for use in Perl, nor is it as closely related to Perl as JSON is to Javascript. One of its creators, Ingy döt Net, was (and still is) an active member of the Perl community, so Perl h
164.
▲
by
prakashk
14y ago
> your filename could be called "--help." bash isn't interpreting '--help' at all, it is just passed on to the program being executed, and most GNU CLI programs conventionally interpret '--help' as a special option. If your filename is
165.
▲
by
prakashk
14y ago
Emacs is something that Vim aspires to become one day :)
166.
▲
by
prakashk
14y ago
For those of Perl persuasion, there are: * File::ChangeNotify (https://www.metacpan.org/module/File::ChangeNotify) * Filesys::Notify::Simple (https://www.metacpan.org/module/Filesys::Notify::Simple)
167.
▲
by
prakashk
14y ago
You'd still be wrong. Soghoian's "contribution" to the article is just his tweet cited by the actual author and nothing more.
168.
▲
by
prakashk
14y ago
Is it racism only when you consider the group as a whole? Can't one be racist when talking about individuals? [To be clear, I am neither supporting nor refuting the GP's claim that the birthers are racist.]
169.
▲
by
prakashk
14y ago
If I remember correctly, that would be "mtve" [1] (who sometimes went by a slightly longer "mtveurope"). If I had to pick the top three all-time Perl golfers, he would be one of them. [1] http://www.perlmonks.com/index.pl?node_id=143426
170.
▲
by
prakashk
14y ago
While I generally agree that the discretion must be observed when working on production code, I don't think the author is advocating these to be of wide use. These are very useful when you play Perl Golf, and can be pretty powerful in the h
171.
▲
by
prakashk
14y ago
Same here. We have been MS-Office free for more than three years and have LibreOffice on all our laptops (Linux for me, my wife's Windows and my son's Mac). Until a few years ago, when documents created/saved in (then) OpenOffice were sent
172.
▲
by
prakashk
14y ago
I did not paste the Clojure example from anywhere. I wrote it. It was not intentional on my part to write broken code, but if it was, it actually nicely illustrates my point.
173.
▲
by
prakashk
14y ago
If he chose his example without consideration of idiomatic Perl, then his attempt appears even worse. Further he chose to remove all spaces from the example, presumably to demonstrate that Perl code is "not clear". I have not written a sing
174.
▲
by
prakashk
14y ago
To the OP: If you have to take a cheap shot at Perl in order to demonstrate the benefits of Clojure, then you have failed. For the record, I am not implying that Perl is above criticism. But, showing a single arbitrary perl code segment, an
175.
▲
by
prakashk
14y ago
"Modern Perl" does not necessarily equals "use Modern::Perl;".
176.
▲
by
prakashk
14y ago
Only if HISTCONTROL is assigned 'ignoreboth' or 'ignorespace'.
177.
▲
by
prakashk
14y ago
Shorter and, IMHO, a bit simpler Perl one-liner: 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=s
178.
▲
by
prakashk
14y ago
Ancient India: A History of Its Culture And Civilization ( http://www.amazon.com/o/asin/B000WUC0CY ), by D. D. Kosambi ( http://en.wikipedia.org/wiki/D.D._Kosambi )
179.
▲
by
prakashk
14y ago
I do this too. It helps me to have a blank line between invocations of different commands. [prakash@kaveri 16:39:05 ~ :) ] >> sleep 10 ^C [prakash@kaveri 16:39:18 ~ :( ]
180.
▲
by
prakashk
15y ago
I came across a HN comment recently that has a bunch of resources: http://news.ycombinator.com/item?id=1033503 It's old, but still is useful. Also, see http://dev.clojure.org/display/doc/Getting+Started
More ›