Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

hanekomu (8123)

hanekomu
  (email not shown publicly)
http://hanekomu.at/blog/
AOL IM: hanekomu (Add Buddy, Send Message)

Go (Baduk) player and Perl hacker.
+ -

  Journal: Thanks, but bye-bye on 2009.04.30 6:49

Journal by hanekomu on 2009.04.30 6:49
User Journal

I'm leaving use.perl. This will be my final post here. use.perl has become less than useless, more like an embarrassment. For two weeks there were no frontpage news. This is not what those curious about Perl should find. The only real news were tucked away in a little side box and pointed to the journal entries. And the journal capabilities are a bit basic, to say the least. Technology has moved on.

Read More 12 comments
Comments: 12
+ -

  Comment: Re:JDrama (Score 1) on 2009.04.18 4:53

by hanekomu on 2009.04.18 4:53 (#68174)
Attached to: why TV shows should stop after season two
Yes, of course. They're available with English subtitles. I'll show you at the next Vienna.pm meeting. :)
Read More 4 comments
Comments: 4
+ -

  Comment: JDrama (Score 1) on 2009.04.18 4:06

by hanekomu on 2009.04.18 4:06 (#68172)
Attached to: why TV shows should stop after season two

That's another reason I like Japanese drama series. They usually have around 12 episodes, often fewer, and that's that. They're not drawn out forever.

Read More 4 comments
Comments: 4
+ -

  Journal: Perl benchmarks: Nested data structures on 2009.02.23 10:51

Journal by hanekomu on 2009.02.23 10:51
User Journal

The conclusion first: Nested arrays and hashes in Perl are slow. They get slower the more levels you nest. For most applications this won't be a problem, but if you cache values in a hash, you might want to use as few levels of nesting as possible.

Read the details.

By the way, I've enabled comments on my blog - let's see how that goes...

Read More 0 comments

+ -

  Comment: Re:Why the seprate namespace? (Score 1) on 2009.02.19 12:49

by hanekomu on 2009.02.19 12:49 (#67492)
Attached to: any::feature

I thought about that, but somehow it feels wrong to stomp on someone else's namespace; especially it's not clear what would happen if someone on 5.10 (or later) would use "install feature" in the CPAN shell...

Read More 4 comments
Comments: 4
+ -

  Journal: Tree map for CPAN on 2009.02.19 11:53

Journal by hanekomu on 2009.02.19 11:53
User Journal

This is a tree map for the minicpan mirror, containing only the latest versions of all CPAN distributions. Within the application, you can mouse over the rectangles to see which files and folders they represent, but here I've just annotated a few interesting blocks. Somehow it feels like a city layout...

See the blog entry.

Read More 1 comments
Comments: 1
+ -

  Journal: any::feature on 2009.02.18 8:05

Journal by hanekomu on 2009.02.18 8:05
User Journal

I've released any::feature. (It will take a while to appear on CPAN; look at the development repo on github.) It can be used like Perl 5.10's 'feature' pragma and will try to "do the right thing", regardless of whether you use Perl 5.8 or Perl 5.10.

So far it's a proof-of-concept and will only handle the 'say' feature.

Read More 4 comments
Comments: 4
+ -

  Comment: autovivifying symbol tables (Score 1) on 2009.02.16 17:59

by hanekomu on 2009.02.16 17:59 (#67410)
Attached to: Bug in Perl Causes a Small Class::Sniff Issue

Actually, the line

print scalar keys %Foo::;

will autovivify the symbol table, so if you use that anywhere in your test program, it will print "*main::Foo::" all three times.

Read More 5 comments
Comments: 5
+ -

  Comment: Text::Pipe? (Score 1) on 2009.02.13 5:25

by hanekomu on 2009.02.13 5:25 (#67337)
Attached to: I think this module should exist

Maybe you could write a Text::Pipe plugin that does what you need? See this test file for an example using syntactic sugar of how text pipes are stackable.

Read More 11 comments
Comments: 11
+ -

  Comment: Re:why not in English? (Score 1) on 2009.02.03 7:09

by hanekomu on 2009.02.03 7:09 (#67186)
Attached to: Introduction to Modern Perl Book (In Japanese)

(Oops, clicked the wrong "Reply" button before...)

Maybe because this is for Japan and the Japanese Perl Association? English doesn't get you all that far in Japan.

Read More 4 comments
Comments: 4
+ -

  Comment: World != English (Score 1) on 2009.02.03 7:08

by hanekomu on 2009.02.03 7:08 (#67185)
Attached to: Introduction to Modern Perl Book (In Japanese)

Maybe because this is for Japan and the Japanese Perl Association? English doesn't get you all that far in Japan.

Read More 4 comments
Comments: 4
+ -

  Comment: Nice! (Score 1) on 2009.02.03 5:41

by hanekomu on 2009.02.03 5:41 (#67183)
Attached to: Introduction to Modern Perl Book (In Japanese)

Sounds really good; I'll get a copy when I'm back in Japan. Perl in Japan truly is interesting...

Read More 4 comments
Comments: 4
+ -

  Comment: Interesting... (Score 1) on 2009.01.28 3:54

by hanekomu on 2009.01.28 3:54 (#67057)
Attached to: Japan Perl Association is coming

That's cool; I hope to be able to attend. Hopefully it's going to be late September rather than early September because I heard that Tokyo is still pretty hot in early September.

Good luck with the JPA - is there an English web site somewhere? (I realize it's the Japan Perl Association, but connections to the outside world are important as well, I guess...

Read More 9 comments
Comments: 9
+ -

  Journal: Persuading the Cloud to run your benchmarks on 2008.11.04 8:40

Journal by hanekomu on 2008.11.04 8:40
User Journal

I've had quite a bit of feedback about the accessor generator benchmarks; mostly requests to add this or that module to the benchmarks. Adding the code, rerunning the benchmarks and updating the blog entries took quite a bit of time, so I thought I could automate the process.

Read More 0 comments

+ -

  Journal: Dissecting the Moose 4 - Benchmarking only get/set ops on 2008.11.01 7:09

Journal by hanekomu on 2008.11.01 7:09
User Journal

I've followed up the previous benchmark, which tested mainly object creation, with one that performs a million get/set operations on the same object.

Full post

Read More 1 comments
Comments: 1