Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
draegtun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
391.
▲
by
draegtun
14y ago
>as that lady from Taiwan who implemented the Perl 6 in Haskell parser combinators That would be Audrey Tang. The Perl6 on Haskell project is called Pugs. * http://en.wikipedia.org/wiki/Audrey_Tang * https://news.ycombinator.com/u
392.
▲
Red Language Presentation, DevCon 2013 [video]
(youtube.com)
1 points
by
draegtun
14y ago
|
0 comments
393.
▲
by
draegtun
14y ago
It's probably God forbid any scripting language in this situation. However if forced I would much prefer Perl over Python or Ruby because Perl catches far more errors at compile time.
394.
▲
by
draegtun
14y ago
Nice. Here are some interesting non-macro variants, first in Rebol: select: func [block] [ totals: [] parse block [ set this word! 'from set coll word! (totals: map-each n (get coll)
395.
▲
by
draegtun
14y ago
These are also nice and would like to join in the party :) map *.total, @orders; # perl6 @orders.map: *.total; # perl6 OO map {$_->total} @orders; # perl5 orders map(total) # Io map-each n or
396.
▲
Perl and Perl Module Administration in the Modern Era
(speakerdeck.com)
63 points
by
draegtun
14y ago
|
14 comments
397.
▲
by
draegtun
14y ago
For OP reference here are a few CSV modules on CPAN (Perl) that maybe handy: * DBD::CSV - Treats your CSV file like it was a RDBMS so can use SQL to inspect/change it - https://metacpan.org/module/DBD::CSV * Parse::CSV - For parsing large
398.
▲
by
draegtun
14y ago
> Is there something like this for Clojure? Probably Incanter which uses the Parallel Colt Java library - http://incanter.org/ | https://sites.google.com/site/piotrwendykier/software/parall...
399.
▲
by
draegtun
14y ago
ClubCompy - https://clubcompy.com/
400.
▲
by
draegtun
14y ago
Plack/PSGI (Perl) == WSGI (Python) == Rack (Ruby) These are all abstraction layers (for each language) which then can be run seamlessly on top of CGI, SCGI, mod_(perl|python|ruby), etc. - http://plackperl.org - http://en.wikipedia.org/wi
401.
▲
by
draegtun
14y ago
Yep. Or alternatively go for Rebol which JSON was originally influenced by - http://www.rebol.com/cgi-bin/blog.r?view=0423
402.
▲
After XML, JSON. Then What?
(drdobbs.com)
13 points
by
draegtun
14y ago
|
8 comments
403.
▲
The Tail at Scale
(cacm.acm.org)
4 points
by
draegtun
14y ago
|
0 comments
404.
▲
by
draegtun
14y ago
Many thanks for all the subsequent up votes on this. Not sure my answer really deserves it but thanks :) For those that don't know... Perl development is on a fixed annual release schedule. Every April the release candidate for next versi
405.
▲
by
draegtun
14y ago
Eh? Why the downvote? Above is correct - http://perldoc.perl.org/perlpolicy.html#MAINTENANCE-AND-SUPP...
406.
▲
by
draegtun
14y ago
Perl 5.14 is still supported at least until 5.18 is released (due very soon!). Also it will receive any critical security patches for another year after this.
407.
▲
by
draegtun
14y ago
re: single process/multicores The single core benchmarks doesn't change the picture much either - http://benchmarksgame.alioth.debian.org/u32/ruby.php re: GMP / C libraries Generally I agree with you on this however agreeing on a lev
408.
▲
by
draegtun
14y ago
Other languages in those pidigits benchmarks (Perl, Lua, PHP, Racket, Lisp SBCL and probably more) also use the GMP maths library. So there is nothing stopping Ruby benchmarks also using it as well (just need to request relevant Ruby GMP
409.
▲
by
draegtun
14y ago
Mojolicious - http://mojolicio.us
410.
▲
by
draegtun
14y ago
And ditto for Perl: PDL - http://pdl.perl.org However I think the basis of these benchmarks is really to pit languages against each other and not it's frameworks/libraries.
411.
▲
by
draegtun
14y ago
I'm wondering if the OP is trying to point out that Ruby 2.0 is slower on these benchmarks than 1.9?
412.
▲
by
draegtun
14y ago
I don't think Numpy is allowed or used in these benchmarks. However GMP is and that's why pidigits is so much slower on Ruby.
413.
▲
by
draegtun
14y ago
It's very similar in that they both expose the OO inner workings but after that they're quite different. Perl requires a blessed reference (which doesn't have to be a hash but often it is the best option!) which only contains the objects st
414.
▲
by
draegtun
14y ago
The actual statement Larry Wall gave wasn't that bad... I thought Perl 5 had an oversimplified object system till I saw Lua. In Lua, an object is just a hash, and there's a bit of syntactic sugar to call a hash element if it happens to con
415.
▲
by
draegtun
14y ago
or even TMTOWTDI :) Here in perl5i ( https://metacpan.org/module/perl5i ): func deriv ($f) { my $dx = 0.0001; func ($x) { ($f->($x + $dx) - $f->($x)) / $dx }; } my $cube = func ($x) { $x ** 3 }; say deriv($c
416.
▲
by
draegtun
14y ago
>Piping subresults between functions really doesn't get much better in any language Piping operations like this can also be found in OCaml, F# and Perl6. For eg. in Perl6 this is called a Feed Operator ( http://perlcabal.org/syn/S03.h
417.
▲
UK axes government CIO role
(information-age.com)
1 points
by
draegtun
14y ago
|
0 comments
418.
▲
by
draegtun
14y ago
Have a look to see if there are any Planet type solutions for Ruby - http://en.wikipedia.org/wiki/Planet_(software) I'm going to spend some time looking at the two main Perl solutions, Perlanet & Plagger (used respectively by http:
419.
▲
LHC cements Higgs boson identification
(bbc.co.uk)
5 points
by
draegtun
14y ago
|
0 comments
420.
▲
by
draegtun
14y ago
I use Google Reader a lot so this is a shame|sad|annoying :( Still this video "Hitler finds out Gooder Reader is shutting down" at least put a broad smile back on my face :) http://www.youtube.com/watch?feature=youtu.be&v=A25VgNZD...
More ›