Skip Menu |

This queue is for tickets about the Acme-LOLCAT CPAN distribution.

Report information
The Basics
Id: 33521
Status: open
Priority: 0/
Queue: Acme-LOLCAT

People
Owner: Nobody in particular
Requestors: nathan.vonnahme [...] bannerhealth.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: <kent [...] c2group.net>
Subject: Acme::LOLCAT Patch for "I HAS A BUKKET"
Date: Fri, 22 Feb 2008 12:47:06 -0900
To: <bug-Acme-LOLCAT [...] rt.cpan.org>
From: "Vonnahme, Nathan" <nathan.vonnahme [...] bannerhealth.com>
Playing with your cool Ajax LOLCAT translator, I noticed it didn't produce the right translation for the original LOLRUS (http://icanhascheezburger.com/2007/01/14/i-has-a-bucket/) "I have a bucket" translates to "I HAVE BUKKIT." but I expect "I HAZ A BUKKET" at least sometimes. So I patched the test script: --- t/lols.t 2007-10-25 18:03:57.000000000 -0800 +++ /cygdrive/c/Documents and Settings/nvonnahm/.cpan/build/Acme-LOLCAT-0.0.4-BTX6XO/t/lols.t 2008-02-22 12:33:08.785754700 -0900 @@ -29,7 +29,7 @@ "translated domination phrase: $p" ); like( $p = translate( "i think that is a nice bucket" ), - qr/I THINK THAT AR (?:TEH )?NICE BUKKIT/, + qr/I THINK THAT AR (?:TEH )?NICE BUKK/, "translated bucket phrase: $p" ); like( $p = translate( "hello, i want to ask you a question" ), @@ -43,3 +43,8 @@ like( $p = translate( "free parties, events & more! what's happening? who's going?" ), qr/FREE PARTIE$Z?, EVENT$Z? & MOAR! WH?UT$Z HAPPENIN$Z?\? HOO$Z GOIN$Z?\?/, "translated party ad text: $p" ); + +like( $p = translate( "I have a bucket." ), + qr/I HA[SVZ] ?A? BUKK/, + "translated bucket having phrase: $p" ); + And I patched the module to behave better. The tests pass. --- lib/Acme/LOLCAT.pm 2007-10-25 18:05:22.000000000 -0800 +++ /cygdrive/c/Documents and Settings/nvonnahm/.cpan/build/Acme-LOLCAT-0.0.4-BTX6XO/lib/Acme/LOLCAT.p m 2008-02-22 12:32:31.311495700 -0900 @@ -27,11 +27,12 @@ eady => 'eddy', 'ome\b' => 'um', 'of\b' => [qw/of ov of/], 'uestion' => 'wesjun', want => 'wants', 'ead\b' => 'edd', - ucke => 'ukki', sion => 'shun', + ucke => [qw/ukki ukke/], sion => 'shun', oth => 'udd', '\boh\b' => [qw/o ohs/], eak => 'ekk', age => 'uj', like => [qw/likes liek/], love => [qw/loves lub lubs luv/], - 'have a' => 'has', '\bis\b' => ['ar teh','ar'], + 'have' => ['has','hav', 'haz a'], + '\bis\b' => ['ar teh','ar'], who => 'hoo', q(') => q(), 'ese\b' => 'eez', outh => 'owf', scio => 'shu', esque => 'esk', Cheers, nathan -- nathan vonnahme, web programmer at fairbanks memorial hospital 1650 cowles street, fairbanks alaska 99701. 907-458-5464

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

CC: <bug-Acme-LOLCAT [...] rt.cpan.org>
Subject: RE: Acme::LOLCAT Patch for "I HAS A BUKKET" [rt.cpan.org #33521]
Date: Fri, 22 Feb 2008 13:33:14 -0900
To: "Kent Cowgill" <kent [...] c2group.net>
From: "Vonnahme, Nathan" <nathan.vonnahme [...] bannerhealth.com>
Show quoted text
> From: Kent Cowgill [mailto:kent@c2group.net] > Sent: Friday, February 22, 2008 1:11 PM
Show quoted text
> I've actually done further development on the module that I had not > yet released - I won't be able to cleanly apply your patches, but I > *will* roll the changes in for the next release.
That's the beauty of CPAN! Actually I just wrote a script to download images from icanhascheezburger.com and reformat for my (lame) digital photo frame. I always start something like that by checking CPAN, so that's how I found your thing and got on a tangent :) -n
Fixed in v0.0.5, now on CPAN
Subject: RE: [rt.cpan.org #33521] Acme::LOLCAT Patch for "I HAS A BUKKET"
Date: Thu, 25 Jun 2009 11:22:56 -0800
To: <bug-Acme-LOLCAT [...] rt.cpan.org>
From: "Vonnahme, Nathan" <nathan.vonnahme [...] bannerhealth.com>
Great! The new test passes, and I see what you did there with the Ceiling Cat one. But this still needs the new version :) http://www.kentcowgill.org/lolcat.html -n Show quoted text
> -----Original Message----- > From: Kent Cowgill via RT [mailto:bug-Acme-LOLCAT@rt.cpan.org] > Sent: Thursday, June 25, 2009 10:55 AM > To: Vonnahme, Nathan > Subject: [rt.cpan.org #33521] Acme::LOLCAT Patch for "I HAS A BUKKET" > > <URL: https://rt.cpan.org/Ticket/Display.html?id=33521 > > > Fixed in v0.0.5, now on CPAN
Subject: Re: [rt.cpan.org #33521] Acme::LOLCAT Patch for "I HAS A BUKKET"
Date: Thu, 25 Jun 2009 15:39:34 -0400
To: bug-Acme-LOLCAT [...] rt.cpan.org
From: Kent Cowgill <kent [...] c2group.net>
On Jun 25, 2009, at 3:23 PM, Vonnahme, Nathan via RT wrote: Show quoted text
> Queue: Acme-LOLCAT > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=33521 > > > Great! The new test passes, and I see what you did there with the > Ceiling Cat one. But this still needs the new version :) > http://www.kentcowgill.org/lolcat.html
Ha, of course! Kent Cowgill kent@c2group.net http://kentcowgill.org/blog http://youtube.com/kcowgill http://kentcowgill.org/photos http://flickr.com/people/kcowgill
Subject: RE: [rt.cpan.org #33521] Acme::LOLCAT Patch for "I HAS A BUKKET"
Date: Thu, 25 Jun 2009 11:43:17 -0800
To: <bug-Acme-LOLCAT [...] rt.cpan.org>
From: "Vonnahme, Nathan" <nathan.vonnahme [...] bannerhealth.com>
Sweet! Good job. Show quoted text
> -----Original Message----- > From: Kent Cowgill via RT [mailto:bug-Acme-LOLCAT@rt.cpan.org] > Sent: Thursday, June 25, 2009 11:40 AM > To: Vonnahme, Nathan > Subject: Re: [rt.cpan.org #33521] Acme::LOLCAT Patch for "I HAS A > BUKKET" > > <URL: http://rt.cpan.org/Ticket/Display.html?id=33521 > > > > On Jun 25, 2009, at 3:23 PM, Vonnahme, Nathan via RT wrote: >
> > Queue: Acme-LOLCAT > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=33521 > > > > > Great! The new test passes, and I see what you did there with the > > Ceiling Cat one. But this still needs the new version :) > > http://www.kentcowgill.org/lolcat.html
> > > > Ha, of course! > > Kent Cowgill kent@c2group.net > > http://kentcowgill.org/blog http://youtube.com/kcowgill > http://kentcowgill.org/photos http://flickr.com/people/kcowgill > > >