November 2009
67 posts
Oh yeah, who just used a Venn Diagram in their work?
Windows utterly fails when 2 versions of Excel are installed: Simply says “Excel” is assoc. with .xls, and keeps opening with old version.
RT: @joshbuddy: OH: “Thats a load-bearing ‘puts.” (When code critical to your method succeeding is buried in the debug print statement)
3 tags
Interesting skateboarding video
Magical Perl bug of the day: Mechanize’s select( { n => $i } ) has numbering starting at 1. Not 0.
I never usually care about these electronic things, but this is seriously cool, I think I want one http://tinyurl.com/y8v5j9j
2 tags
Perl HTML::TableExtract, nbsp and ASCII 160
I was trying to match tables with what looked like spaces in them, using HTML::TableExtract,
but for some reason it wasn’t matching, using explicit $foo eq ’ ’ and $foo =~ /A\s*\z/.
After 30 minutes of banging my head against the wall, I found out that the spaces were actually in the source, and HTML::TableExtract unhelpfully changes them to their ASCII counterparts.
This is...
Aaaand new EVE expansion has a 100% fake trailer, that looks nothing like in-game combat http://www.eveonline.com/dominion/index.html
Which one? Please let it be Sabotage! *rolls across car bonnet* RT: @benschwarz: I like to imagine life as one big beastie boys film clip.
Abusters hasn’t updated their spoof ads in at least 5 years. All name and no trousers. https://www.adbusters.org/gallery/spoofads
Trying to use Web::Scraper to parse tables…
T: Man I really want to reply to the "WIndows 7 - Which one are you getting" with "Leopard"
T: er Snow Leopard
Ben: lol
Ben: It's somewhere on the same level as
Ben: STDs: Which one are you getting?
T: D:
Has anyone used Perl’s “wantarray” ?
Secret of being a Happy Perl Developer: Don’t look at all the shiny stuff Ruby has :(
Why are Perldoc HTML pages so hard to make in comparison to Ruby? Where’s http://yardoc.org/ for Perl?
2 tags
Perl variables and apostrophes
This came up recently. I’d been using #2 for a while but never hit #1 which was a surprise.
my $person = "Ben";
print "Check out $person's cat\n"; #1
print "Say hi to '$person'\n"; #2
print "What about $person\'s hat\n"; #3
Output:
Name "person::s" used only once: possible typo at test.pl line 6.
Use of uninitialized value in concatenation (.) or string at test.pl line 6.
Check out ...
The Monsters - Absolutely awesome video with a great twist at the end http://vimeo.com/6467111
Sweet! http://mynoveller.com/ (via http://www.theonion.com/content/news/new_noveller_allows_people_to_post)
#OmmWriter is quite nice, I might prefer it to #WriteRoom
3 tags
Korean for the Japanese Learner
I have jokingly said in the past:
The best way to learn Korean is to learn Japanese first.
If you know Japanese, you already have a huge advantage when it comes to learning Korean.
Most of this information you can find on the Wikipedia website for Korean, but I’m approaching it from the perspective of someone who understands Japanese. Bear in mind that I have been learning for less...
Spotify is the best thing of 2009 for me. Hands-down.
I there a snippet/shortcut in TextMate for swapping two parameters in a function call? I always want to do that.
http://open.spotify.com/track/4iUrN84Jzp5TtlqhBh66OX
Item: IBM Lotus Notes is an appalling piece of software. You could write an entire interface course using it as an example of what Not to do
Holy redesign, Batman http://www.perl.org/
Every project should have a single leader whose only work is to manage that...
– Some dude
3 tags
Super-hack for turning off Validation in Moose
Thanks to Sartak in #moose for this little gem of hack-tastic meta-fantastic goodness.
{
package Moose;
around has => sub {
my $orig = shift;
my $name = shift;
my %args = @_;
delete $args{isa};
$orig->($name, %args);
};
}
Seeing Mutemath tonight, supported by As Tall As Lions. Both sound really great!
Going to see MuteMath tomorrow in Tokyo. My first gig in Tokyo. Looking forward to it!
It’s weird that I’m looking forward to buying a new notebook, right? http://bit.ly/b0yFj
I found an amazing tshirt shop called Middle yesterday, it’s full of really funny tshirts: http://bit.ly/2twIyL
This is so awesome, thanks :D RT http://bit.ly/1rynGv some extra Korean practice for you (via @jamesshedden)
Wondering if I can go for a whole day without drinking tea or coffee.
Something is wrong when it’s easier to google for the answer than use the “man” page
Having to write production Bash scripts… :(
Watch Kieth Vaz get smacked down for inciting “Daily Mail moral panic” Finally some sanity http://news.bbc.co.uk/2/hi/technology/8342589.stm
Super Mario Wii is out in Australia first, then North America, then Europe, and finally Japan. I’m confused. I thought Japan was the future
Test::Cmd::Common is useless. Gives unhelpful error messages like:
diff expected vs. actual contents of STDERR
=====
9d8
Great.
Spacehog – In The Meantime: http://open.spotify.com/track/02lTDOxHeXTHsdwXoz6lpC
Still trying to get my head around Bread::Board http://bit.ly/Uz6ro
1 tag