Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
draegtun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
301.
▲
by
draegtun
13y ago
The best place to search (for Perl REPL's) is on CPAN - https://metacpan.org/search?q=repl The current grandaddy is Devel::REPL - https://metacpan.org/release/Devel-REPL The new kid on the block
302.
▲
by
draegtun
13y ago
Sigils are what make Perl standout, in syntax and behaviour, to (most) other languages so it would be silly to get rid of them! i.e. it's a differentiator to what is or isn't Perl.
303.
▲
by
draegtun
13y ago
re: refinements nomenclature... Rebol got there first though! - http://www.rebol.com/r3/docs/datatypes/refinement.html Matz is known to like Rebol - https://twitter.com/matz_translated/
304.
▲
A Better Syntax For Unit Tests
(drdobbs.com)
1 points
by
draegtun
13y ago
|
0 comments
305.
▲
by
draegtun
13y ago
>why perl? Perl is very popular in India. Here's what Flipkart said in their blog post about HostDB: The first prototype was written in Python by Abhishek. Both Krishnan and I refuse to read Python and Krishnan rewrote the whole
306.
▲
by
draegtun
13y ago
The Perl script will be slower because there are some extra steps it's going through in that code. So it can be improved. First here is the base line (using my own transaction.list file): $ time awk '{ SUM+=$5 } END {printf &
307.
▲
Lou Reed And The Problem With The Innovation Imperative
(forbes.com)
2 points
by
draegtun
13y ago
|
0 comments
308.
▲
by
draegtun
13y ago
You can see these in dialects or domain specific languages (DSL). For eg. a cron scheduler Rebol dialect: at 18:30 do %batch.r at 10-Sep-2009/02:00 do %batch.r every minute do %job.r every month on #15 not [sat sun] do %job.r
309.
▲
Doing It Wrong (web scraping HN with Rebol)
(recoding.blogspot.in)
1 points
by
draegtun
13y ago
|
0 comments
310.
▲
by
draegtun
13y ago
I've posted this before on HN (see https://news.ycombinator.com/item?id=608927 ) use List::Enumerator qw/E/; my $fizzbuzz = E(1)->countup ->zip( E("&qu
311.
▲
by
draegtun
13y ago
Indeed The Raven is a very good album. Who am I? (Tripitena's Song) from the album is an extremely beautiful & touching song about life & death which strikes a poignant note right now.
312.
▲
Between Thought and Expression Lies A Lifetime [2011]
(blog.aweissman.com)
1 points
by
draegtun
13y ago
|
0 comments
313.
▲
by
draegtun
13y ago
Surprised but deeply heartened see this at top of HN. I'm a long time fan of Lou Reed and was extremely saddened when I heard of his passing earlier today. Good to know his music and life also had strong effect on other hackers. Be
314.
▲
by
draegtun
13y ago
That comes from Perl (which was added at 5.12 however it originated from the Perl6 spec). See http://search.cpan.org/~jesse/perl-5.12.0/pod/perlop.pod#Yad... And search for "yada" in the following l
315.
▲
What's new in Unicode 7.0?
(babelstone.blogspot.de)
5 points
by
draegtun
13y ago
|
0 comments
316.
▲
by
draegtun
13y ago
Something similar is this blog post about using Selenium + Perl (and bit of GD) to create screenshots of all your website pages via its sitemap. A contact sheet for your website - http://techblog.babyl.ca/entry/contac
317.
▲
by
draegtun
13y ago
I have to agree with some of the others here and say that not all of the above is very intuitive. In particular a[3, 5] . I would be expecting it to return elements 3 & 5 (shortcut to a[3] & a[5] ) instead of doing a length slic
318.
▲
Why Don't You Use Tap?
(dailyjs.com)
1 points
by
draegtun
13y ago
|
0 comments
319.
▲
by
draegtun
13y ago
Here's the video for this presentation: http://perltv.org/v/parsing-json-with-a-regex
320.
▲
PDL 2.007 released (with 64bit platform support) [Perl Data Language]
(mailman.jach.hawaii.edu)
1 points
by
draegtun
13y ago
|
0 comments
321.
▲
by
draegtun
13y ago
Here's a couple of interesting Perl alternatives: my @files = map { IO::File->new($_->[0], $_->[1]) || die $! } ([shift, 'r'], [shift, 'w']); $files[1]->print( sort $files[0]->get
322.
▲
by
draegtun
13y ago
In Rebol: Rebol [] files: map-each n system/options/args [to-file n] write/lines files/2 sort read/lines files/1
323.
▲
Lola - The Local-Language Environment Manager
(github.com)
1 points
by
draegtun
13y ago
|
0 comments
324.
▲
by
draegtun
13y ago
> Ruby still has some ugly stuff inherited from Perl (globals for regex results, or the use of unreadable "magical" globals such as $:) And Ruby also has some pretty stuff inherited from Perl like postfix statements & firs
325.
▲
Snapchat hack secretly saves images using app
(bbc.co.uk)
2 points
by
draegtun
13y ago
|
0 comments
326.
▲
by
draegtun
13y ago
UNIX is my IDE. perl5 is my VM. CPAN is my language. ref: http://shadow.cat/blog/matt-s-trout/but-i-cant-use-cpan/ | https://news.ycombinator.com/item?id=968757 NB. Though I think someone e
327.
▲
by
draegtun
13y ago
You might find Rebmu interesting, its a Rebol dialect designed for code golfing - https://github.com/hostilefork/rebmu Here's a fun(!) presentation of Rebmu given by Dr. Rebmuthalamonious Golfstanipetrovitch (!!)
328.
▲
by
draegtun
13y ago
Unfortunately it's only available via WayBackMachine now but there was a fun Webapp in a 140 character tweet challenge back in the day (2009!) - http://web.archive.org/web/20111221094809/http://f05
329.
▲
by
draegtun
13y ago
Here it is in Perl6: [+] ^6 Actually cheated slightly because ^6 creates list from 0..5 :) So correct match would be... [+] 1..5 Here's how you would do it in Io: list(1, 2, 3, 4, 5) reduce(+) In Rebol there isn&
330.
▲
Heinz and Reckitt Benckiser replace Captcha words with interactive games
(brandrepublic.com)
2 points
by
draegtun
13y ago
|
0 comments
More ›