Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
draegtun
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
541.
▲
by
draegtun
14y ago
Clickable links of CPAN modules mentioned (from one slide) in the talk: * https://metacpan.org/module/Import::Into * https://metacpan.org/module/Dist::Zilla::Plugin::AutoModuleS... * https://metacpan.org/module/CPAN::Repository * htt
542.
▲
'Rogue planet' spotted 100 light-years away
(bbc.co.uk)
2 points
by
draegtun
14y ago
|
0 comments
543.
▲
by
draegtun
14y ago
It looks like the Quack & Hack 2013 Europe in Paris is now Quack & Hack 2012 Europe and scheduled for 7th-9th December 2012 (still in Paris) - http://act.yapc.eu/qh2012eu/
544.
▲
DuckDuckGo & DuckDuckHack [video from YAPC::Europe 2012]
(youtube.com)
2 points
by
draegtun
14y ago
|
2 comments
545.
▲
by
draegtun
14y ago
I agree. It reminds me of FancyRoutes which I also found off putting - http://news.ycombinator.com/item?id=1100248 Path.py may already do it (docs are limited so I'm not sure) but something like below would be better: my $foo = dir(
546.
▲
by
draegtun
14y ago
Also similar to (in Perl)... * HTML::AsSubs - https://metacpan.org/module/HTML::AsSubs * Template::Declare - https://metacpan.org/module/Template::Declare * Template::Caribou - https://metacpan.org/module/Template::Caribou * Markapl -
547.
▲
by
draegtun
14y ago
Blimey... I've completely forgotten about Perl Power Tools! Here's the project home page - http://ppt.sourceforge.net/
548.
▲
by
draegtun
14y ago
Also see this HN post from a few months ago about a Linux/Unix distribution written in Perl - http://news.ycombinator.com/item?id=4395076
549.
▲
by
draegtun
14y ago
Neither would I because refinements are something completely different to traits ! Refinements proposed in Ruby 2.0 allows you to localise monkey-patching much like you can do in Perl with dynamic scoping (for e.g.: http://news.ycom
550.
▲
by
draegtun
14y ago
Ruby 2.0 was (and hopefully still) earmarked to have traits which are an enhancement on mixins providing a much better & refined compositional implementation. Thus it (should) allow you to do things like excluding or renaming methods/
551.
▲
Tapper - All-embracing test infrastructure (by AMD)
(amd.github.com)
2 points
by
draegtun
14y ago
|
0 comments
552.
▲
by
draegtun
14y ago
For reference - http://news.ycombinator.com/user?id=joeyh
553.
▲
by
draegtun
14y ago
Additional to above, 11 months ago I also recorded some SO stats: http://news.ycombinator.com/item?id=3286348 Using these figures the % growth in questions asked in the last 11 months would be: java 76% php 76% java
554.
▲
by
draegtun
14y ago
Many thanks for link. For posterity here is the list produced sorted on average : avg std dev php 24 41.2894351860362 javascript 26 43.0588803567294 c 27 45.4245721268946 c++ 28 4
555.
▲
by
draegtun
14y ago
From a visual quick scan of the tags here is a list of the top languages : 1 c# 371433 2 java 317047 3 php 295016 4 javascript 279976 5 c++ 156107 6 python 1
556.
▲
by
draegtun
14y ago
As they say in chess... A bad plan is better than no plan at all
557.
▲
by
draegtun
14y ago
Another interesting comparison would be with the Text::Markdown CPAN module which is Gruber's original code & comments converted to an OO interface with POD documentation added + bug fixes. This comes (including blank lines, comments
558.
▲
by
draegtun
14y ago
For reference here are three recent HN discussions on sweet.js - http://news.ycombinator.com/item?id=4687442 | http://news.ycombinator.com/item?id=4650929 | http://news.ycombinator.com/item?id=4560691
559.
▲
by
draegtun
14y ago
>I would love pointers to Markdown processors that are implemented in a more principled way than the original code, for example using standard-looking lexing and parsing passes... Have a look at Markdent - An event-based Markdown pars
560.
▲
by
draegtun
14y ago
Also worth looking at the tests for Text::Markdown which is the canonical version of Markdown on CPAN. https://metacpan.org/source/BOBTFISH/Text-Markdown-1.000031/...
561.
▲
by
draegtun
14y ago
Perl (5 & 6) also has multiple inheritance. Current best practise in the Perl community is to avoid using MI and instead make use of roles. ref: https://metacpan.org/module/Moose::Role | http://en.wikipedia.org/wiki/Perl_6#Roles
562.
▲
by
draegtun
14y ago
For event programming I use AnyEvent (Perl) the so called DBI of event loop programming . It's well documented, straightforward to use, robust and works seamlessly on top of many event loops (libev, libevent, Glib, Tk and more). And I just
563.
▲
by
draegtun
14y ago
> ... Compare to Twisted, which is built on libevent, or to Node, which is built on libev/libuv Or compared to AnyEvent which works with [m]any event loop - https://metacpan.org/module/AnyEvent
564.
▲
by
draegtun
14y ago
The examples show how new syntax can be added to JS which is something you won't be able to do in OOP. For more examples of where macros can be useful see this previous HN post: http://news.ycombinator.com/item?id=3124920
565.
▲
Windows 8: The Most Confused OS Launch Ever
(drdobbs.com)
35 points
by
draegtun
14y ago
|
21 comments
566.
▲
by
draegtun
14y ago
Perl6 also has a macro keyword for creating hygienic macros - http://en.wikipedia.org/wiki/Perl_6#Macros For Perl5 you can use Devel::Declare ( https://metacpan.org/module/Devel::Declare ) or Devel::CallParser ( https://metacpan.org/mo
567.
▲
Bringing the Cloud Back Home (Stackato) [video/Ingy döt Net/YAPC::NA 2012]
(youtube.com)
1 points
by
draegtun
14y ago
|
0 comments
568.
▲
by
draegtun
14y ago
For the reverse of this see HN discussion Given a list of regexes, generate all possible strings that matches all of them - http://news.ycombinator.com/item?id=2579783
569.
▲
by
draegtun
14y ago
Great movie! For reference here's the HN discussion about mapofcpan.org from last year: http://news.ycombinator.com/item?id=3355859
570.
▲
by
draegtun
14y ago
Also see App::PipeFilter - https://metacpan.org/module/App::PipeFilter The module is a framework/collection of shell pipelines which include JSON processing: curl -s 'http://api.duckduckgo.com/?q=poe&o=json' | jsonpath -o '$..To
More ›