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 ]

miyagawa (1653)

miyagawa
  (email not shown publicly)
http://bulknews.vox.com/
AOL IM: bulknews (Add Buddy, Send Message)
+ -

  Comment: Re:Nope (Score 1) on 2010.03.15 16:19

by miyagawa on 2010.03.15 16:19 (#71779)
Attached to: Job queues

It was fixed on the SVN repo more than an year ago but no CPAN release has been made, which was now done a few minutes ago.

Read More 8 comments
Comments: 8
+ -

  Comment: Re:Nope (Score 1) on 2010.03.12 8:09

by miyagawa on 2010.03.12 8:09 (#71772)
Attached to: Job queues

> C Gearman server does not retry jobs if a worker returns failure.

Because returning a failure is not an error :)

Read More 8 comments
Comments: 8
+ -

  Comment: Re:Nope (Score 1) on 2010.03.12 4:14

by miyagawa on 2010.03.12 4:14 (#71769)
Attached to: Job queues

Yes, that's a shame and I will try to upload the new version soon.

But as you can see from the patches, that's not a code fix, just a bad test. Not something considered as dead / unused.

Read More 8 comments
Comments: 8
+ -

  Comment: Nope (Score 1) on 2010.03.11 20:07

by miyagawa on 2010.03.11 20:07 (#71767)
Attached to: Job queues

TheSchwartz isn't dead, it's just so stable. We use heavily on our production sites such as typepad.com every day. We own the maintenance bit on that module so we can ship if there are critical bugs etc. which we haven't heard any yet.

Gearman could be made reliable if you use Brian's C Gearman server, while you can still use the Gearman perl binding http://gearman.org/

Read More 8 comments
Comments: 8
+ -

  Comment: Re:MojoMojo installs fine with cpanm (Score 1) on 2010.03.10 20:42

by miyagawa on 2010.03.10 20:42 (#71765)
Attached to: When a 99% solutions works, and when it doesn't

False. No, i didn't add any specific workarounds or anything to MojoMojo and its dependencies. I just used that, along with Jifty, Catalyst and KiokuDB, as a known source of "huge dependencies of well-maintained modules" test bed. I also tested with randomly selected 100 modules from from 02packages, the same thing.

Read More 9 comments
Comments: 9
+ -

  Comment: Re:Strongly, strongly disagree (Score 1) on 2009.09.30 20:12

by miyagawa on 2009.09.30 20:12 (#70728)
Attached to: Why is Perl on Mac such a disaster

Now committed to http://svn.ali.as/cpan/trunk/File-HomeDir as r9436 and r9437.

Read More 44 comments
Comments: 44
+ -

  Comment: Re:Strongly, strongly disagree (Score 1) on 2009.09.30 19:54

by miyagawa on 2009.09.30 19:54 (#70727)
Attached to: Why is Perl on Mac such a disaster

chansen, this looks awesome: works fine on 10.5 and 10.6.

Updated my patch to use Mac::SystemDirectoty on 64bit perl, Carbon in 32bit and then fallback to pure perl: http://gist.github.com/198615

Read More 44 comments
Comments: 44
+ -

  Comment: Re:Strongly, strongly disagree (Score 1) on 2009.09.30 16:19

by miyagawa on 2009.09.30 16:19 (#70720)
Attached to: Why is Perl on Mac such a disaster

Here's a patch to fallback ~/Documents and a like if Mac::Files is not available
http://gist.github.com/198459

It also fixed the bug in darwin.t where it skips the whole tests if you have multiple users.

Read More 44 comments
Comments: 44
+ -

  Comment: Re:A big thank you! (Score 1) on 2009.04.08 4:15

by miyagawa on 2009.04.08 4:15 (#68058)
Attached to: DBD::SQLite and Unicode

I just fixed the method to encode text passed to sth_execute (that's what I think my patch does at least, based on my low XS-fu :))

You could update/patch the test to include the query itself so that we can improve? Thanks!

Read More 3 comments
Comments: 3
+ -

  Journal: DBD::SQLite and Unicode on 2009.04.07 18:51

Journal by miyagawa on 2009.04.07 18:51
User Journal

Attention to anyone using DBD::SQLite and $dbh->{unicode} attribute set to 1.

This module has a long standing bug where it assumes passed strings internal encoding is UTF-8 when inserting values into the database and I'm trying to fix it.


use DBI;
use Encode;

Read More 3 comments
Comments: 3
+ -

  Comment: US != American (Score 1) on 2009.03.04 15:34

by miyagawa on 2009.03.04 15:34 (#67693)
Attached to: The First Non-American

Yes, you're the first non-US resident but you're not the first non-American :)

--
Tatsuhiko Miyagawa, non-American who lives in California

Read More 2 comments
Comments: 2
+ -

  Comment: Japanese edition will be out soon (Score 1) on 2009.01.16 19:51

by miyagawa on 2009.01.16 19:51 (#66904)
Attached to: Modern Perl

Our friend Daisuke Maki just wrote the book titled Modern Perl and it will be out in mid February 2009.

Read More 39 comments
Comments: 39
+ -

  Comment: Re:You have 0 friends on CPAN. (Score 1) on 2009.01.16 14:49

by miyagawa on 2009.01.16 14:49 (#66891)
Attached to: CPAN Timeline

Looks cool, but by Timeline I mean something like Twitter timeline which is a dashboard where you can get a glance of people's activities.

Read More 5 comments
Comments: 5
+ -

  Comment: Re:You have 0 friends on CPAN. (Score 1) on 2009.01.15 18:05

by miyagawa on 2009.01.15 18:05 (#66871)
Attached to: CPAN Timeline

The address needs to match with what you register with PAUSE, but apparently your address is obfuscated like [AT]. Try adding a full name to the contact "Johan Lindstorm" and the app will match as well.

Alternatively, you can add me (miyagawa@bulknews.net) to see what happens :)

But yeah, the fundamental problem is that your GMail contact list is almost empty. I hope I could other discovery options like using Social Graph API :)

Read More 5 comments
Comments: 5
+ -

  Journal: CPAN Timeline on 2009.01.15 12:57

Journal by miyagawa on 2009.01.15 12:57
User Journal
Have a Google account and Perl hacker friends? Try CPAN Timeline and see what your friends are hacking on. This could be a proof-of-concept app how to make CPAN more social place. The other approach using the existent social network includes Leon's facebook CPAN app.
Read More 5 comments
Comments: 5