minty
- Website: twitter.com/mintywalker
Recent Actions
-
Posted Gtk3::WebKit on Ubuntu to minty
After some really fantastic help & support from potyl I got Gtk3::WebKit to pass it's installation tests on Ubuntu 12.04 (precise, LTS).
Given that this requires one step that cpan/c…
-
Posted fresh perlbrew sugar to minty
A fresh new version of perlbrew is out that incorporates some sweet new sugar via
- Posted 99 problems to minty
-
Commented on Subtle Template Toolkit bug / quiz
@joel fair point, tho it works just fine, and it's not at all related to the actual bug. but if it helps, you can use: my $tmpl = q{ [%- SET foo = 0; foo = 1 IF 0; '--';...
-
Posted Subtle Template Toolkit bug / quiz to minty
What does this produce:
[%- SET foo = 0; foo = 1 IF 0; '--'; foo; '--'; %]
(If you don't see the answer, click through to the page ;)
-
Posted OT: Switching the MySQL replication Master to minty
This is one of those blog posts where I (ab)use blogs.perl.org to document some notes, primarily for myself ...
- Server A : is the old "Master"
- Server B : is the new "Master" (a rebuild of A) and for a transition period is replicating from A until it is promoted to th…
-
Commented on BPO Meta : UserPics, API Passwords & Site Build notes
I've just noticed that, once logged in, you can also click "Edit Profile" at the very top right of the page, and edit your profile pic from there also....
-
Posted BPO Meta : UserPics, API Passwords & Site Build notes to minty
It's been reported that blogs.perl.org UserPics are broken. I don't agree.
First login to blogs.perl.org
Then click the link to your user preferences. (Click the images to ge…
-
Commented on blogs.perl.org needs your help!
@colinnewell -- strange you should mention that, I have this week started on exactly that task. My main goal is an Amazon EC2 image of the site, which can be cloned, along with documenting the build process so others can...
-
Posted XML::LibXML parse_html_string iframe games to minty
Given HTML with certain "empty" tags that you wanted to manipulate via something like:
my $html = '<p><iframe src="..."></iframe></p>';
my $doc = XML::LibXML->new->parse_html_string($html);
# do stuff with $doc
$doc->toString()… -
Commented on Bad Mail Day
Google's 2 step verification works suprisingly well -- it's not nearly as painful as it might sound. https://www.google.com/accounts/b/0/SmsAuthConfig...
-
Commented on Putting Perl Back on Top in the Fields of Scientific and Financial Computing
1. identify a couple (or more) common (bioinformatics) tasks 2. write example apps that help 3. profit!...
-
Commented on Perl101: Encapsulation via Protected Abstract Methods
great post -- your 101 series is superb. from the peanut gallery : what about ending each post with a related "homework" question? That said, I was trying to think of an example that would apply to this post and...
-
Commented on use.perl refugee
Greetings! How’s the new home working out? In the real as well as virtual senses …...
-
Commented on Resurrecting Glasgow.pm
Good luck & if you are feeling kind, do please drop a post to edinburgh.pm when things are going and you've got a meeting setup! btw ... there are periodic mutterings of a tech talk at edinburgh.pm but we usually...
-
Posted DBIx::Class cache quiz to minty
Assume 'Artist' is a table with 10 rows
# http://search.cpan.org/perldoc?DBIx::Class::ResultSet#cache
my $rs = $schema->resultset('Artist')->search(
{},
… -
Commented on While I'm on the subject of shell scripting ...
Aristotle ... you need to drop a .pm on the end tho...
-
Commented on The All New Yahoo! eFail Client
I'd play with gmail. Sure, it has "labels", but if you don't believe the hype, they function like folders. If you plug in an imap client, they really function like folders. The main difference is your mail can be dual...
-
Commented on reading input from a file
#!/usr/bin/perl use strict; use warnings; open(DAT, "text.txt"); my @raw_data= ; close(DAT); for my $student (@raw_data) { chomp($student); my ($name, $roll_no, $class) = split(/\|/,$student); print "The student $name bearing roll number $roll_no is in class $class\n"; } I think fixes...
Comment Threads
-
colink commented on
Subtle Template Toolkit bug / quiz
Isn't this just a difference in operator precedence.
foo = (1 IF 0); # foo set to nothing
instead of
(foo = 1) IF 0; # foo not touched since !0
-
Joel Berger commented on
Subtle Template Toolkit bug / quiz
Its for this reason that I like Mojo::Template. There is no new language/syntax to learn, its just Perl. Now I know that's not for everyone, but I like it because I don't have to learn something new.
-
Jerome Eteve commented on
Subtle Template Toolkit bug / quiz
For someone accustomed to Perl, TT is often full of (good or bad) surprises..
Which is quite unfortunate, given the fact that it's mainly used in Perl based shops.
-
Randy Olson commented on
Putting Perl Back on Top in the Fields of Scientific and Financial Computing
I've never used Perl so I can't comment on Perl vs. Python, but you missed two critical libraries/tools that Python also brings to scientific computing:
pandas (http://pandas.pydata.org/): offers efficient R-like DataFrames with tons of built-in capability
IPython Notebook (http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html): provides a web-based notebook that enables scientists to log their research in HTML-like cells; embed images, figures, videos, and external web pages; run Python/R/octave code in code cells; and do all kinds of shell commands, data manageme…
-
taiwai commented on
Putting Perl Back on Top in the Fields of Scientific and Financial Computing
I am not sure what (3) exactly mean. For (1) and (2), Perl can also be done with just few lines. For example, with Chart::Gnuplot, it would be like:
my $chart = Chart::Gnuplot->new( output => "test.png", xlabel => "x-axis", # annotation text xrange => [0, 10], # axis range );
# About data point array 1
my $dataSet1 = Chart::Gnuplot::DataSet->new(
points => \@data1,
color => "blue", # line color chosen
);# About data point array 2
my $dataSet2 = Chart::Gnuplot::DataSet->new(
points => \@data…
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.