Camelia, the Perl 6 bug

IRC log for #mojo, 2013-02-14

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 asarch joined #mojo
00:09 PanzerBjorn Anyone see anything wrong with these two lines? They are returning undefined to $jsonstr:
00:09 PanzerBjorn my $jsonobj = Mojo::JSON->new;   my $jsonstr = $jsonobj->encode(%json);
00:10 cfedde PanzerBjorn: \%json
00:10 PanzerBjorn Ah, it expects an href instead?
00:10 cfedde presuming there is somethign in %json
00:10 PanzerBjorn Yeah, it's a populated hash.
00:12 cfedde perl -MMojo::JSON -E '%j = ("a" .. "f"); say Mojo::JSON->new->encode(\%j)'
00:13 PanzerBjorn Yeah, converting to an href fixed it, thanks. =)
00:14 PanzerBjorn Wow, that file upload is painless. =D Thanks again guys for making such an awesome framework.
00:15 biz joined #mojo
00:17 Molaf__ joined #mojo
00:32 maxhq joined #mojo
00:45 egopro joined #mojo
00:52 al joined #mojo
00:58 PanzerBjorn Wow, Google's not much help for this question, so I will ask here: Are there any gold standards for Perl image manipulation these days? Any major, well-kept libraries for that in Perl?
00:59 PanzerBjorn I used to use PerlMagick, but it looks like it hasn't been maintained for over 7 years now.
01:06 jdoe er
01:06 jdoe perlmagick 6.82.0 = ~2 weeks ago
01:06 jdoe how much fresher do you need? :P
01:06 PanzerBjorn Sorry, looking at the Ubuntu package, not the CPAN one. My CPAN is broken on my servers for some reason. =/
01:07 jdoe dunno
01:07 PanzerBjorn PerlMagick has a heap of external dependencies that CPAN cannot provide, so I need Ubuntu packages.
01:07 jdoe can try bitching at the ubuntu maintainer.
01:07 PanzerBjorn I'd also like a Perl image lib that doesn't have all those deps, makes it very difficult to maintain PerlMagick on my servers.
01:14 ka2u joined #mojo
01:16 rem_lex joined #mojo
01:19 ka2u_ joined #mojo
01:24 ka2u joined #mojo
01:30 ka2u_ joined #mojo
01:35 ka2u joined #mojo
01:36 marty PanzerBjorn:   I user perl Imager which works pretty good.   http://search.cpan.org/~to​nyc/Imager-0.94/Imager.pm
01:39 PanzerBjorn Awesome marty, thanks, looking into it now. =)
01:40 ka2u_ joined #mojo
01:45 ka2u joined #mojo
01:50 ka2u_ joined #mojo
01:54 mattastrophe joined #mojo
01:55 ka2u joined #mojo
01:59 d4rkie joined #mojo
02:04 d4rkie joined #mojo
02:06 ka2u_ joined #mojo
02:11 ka2u joined #mojo
02:16 ka2u_ joined #mojo
02:21 ka2u joined #mojo
02:26 mattastrophe joined #mojo
02:26 ka2u_ joined #mojo
02:31 ka2u joined #mojo
02:32 xaka joined #mojo
02:36 ka2u_ joined #mojo
02:38 mattastrophe joined #mojo
02:41 ka2u joined #mojo
02:47 ka2u_ joined #mojo
02:52 ka2u joined #mojo
02:57 ka2u_ joined #mojo
03:08 ka2u joined #mojo
03:26 KindOne joined #mojo
03:39 xaka joined #mojo
03:46 xaka joined #mojo
03:51 gryphon joined #mojo
03:59 mattastrophe joined #mojo
04:12 xaka joined #mojo
04:50 arpadszasz_ joined #mojo
05:17 _visu joined #mojo
05:29 ka2u joined #mojo
05:52 Adurah joined #mojo
05:57 Molaf joined #mojo
06:02 spleenjack joined #mojo
06:38 Kulag joined #mojo
06:38 Vandal joined #mojo
06:53 yakudza joined #mojo
06:58 Kulag joined #mojo
07:03 egopro joined #mojo
07:03 jzawodn joined #mojo
07:07 Mike-PerlRecruiter_ joined #mojo
07:08 PanzerBjorn Oooh, a Perl Recruiter? =)
07:17 Kulag joined #mojo
07:18 arpadszasz_ joined #mojo
07:22 ladnaV joined #mojo
07:31 Kulag joined #mojo
07:32 Vandal joined #mojo
07:36 egopro joined #mojo
07:46 Kulag joined #mojo
07:50 ver joined #mojo
07:56 egopro_ joined #mojo
07:59 dpetrov_ joined #mojo
08:00 biz joined #mojo
08:14 Kulag joined #mojo
08:20 suy joined #mojo
08:23 arthas joined #mojo
08:33 daxim joined #mojo
08:36 dod joined #mojo
08:36 mugenken joined #mojo
08:48 marcus Imager zgood
08:48 dod joined #mojo
08:48 Kulag joined #mojo
08:49 PanzerBjorn After I realized how dependent my current web apps are on PerlMagick, I decided to stick with it.
08:50 fhelmber_ joined #mojo
08:54 suy joined #mojo
08:58 Kulag joined #mojo
08:58 arpadszasz_ joined #mojo
09:01 daxim jberger, you asked for feedback. for what reason did you invent a new protocol instead of reusing something existing, e.g. http put?
09:01 daxim gsend is severely disadvantanged right now because being new, it's incompatible with everything.  also, http would give you responses with well-defined semantics for free, but json is just a data structure
09:01 PanzerBjorn left #mojo
09:09 Kulag joined #mojo
09:17 Kulag joined #mojo
09:26 hrupp joined #mojo
09:42 Kulag joined #mojo
09:55 nelio joined #mojo
10:01 suy joined #mojo
10:04 nicolaas joined #mojo
10:06 nicolaas hello
10:07 nicolaas i installed Mojolicious via CPAN but I would like to downgrade it to the 3.43 ... unfortunately, I can't find out how to delete or downgrade a cpan module
10:07 nicolaas any idea ?
10:08 Kulag joined #mojo
10:16 dpetrov_ nicolaas: wouldn't something like: cpanm http://cpan.metacpan.org/authors/i​d/S/SR/SRI/Mojolicious-3.43.tar.gz
10:16 dpetrov_ do the work
10:21 suy joined #mojo
10:22 nicolaas yes thanks, i was afraid of possible conflicts
10:22 nicolaas but in the end, i decided to move up to the 3.85
10:23 nicolaas (on my dev machine i was on 3.43 and I had to deploy the app ... first I wanted to do so on the same Mojolicious version, but I have enough time to fix bugs if necessary)
10:26 nicolaas and here they comes "after_static_dispatch hook is DEPRECATED in favor of before_routes!!!"
10:26 nicolaas but i don't remember using after_static_dispatch" anywhere
10:29 nicolaas is that because of my "bridge" ?
10:33 ladnaV joined #mojo
10:37 ladnaV joined #mojo
10:50 dpetrov_ nicolaas: probably some plugin which you are using is using it?
11:11 dhg joined #mojo
11:12 Vandal joined #mojo
11:15 * marcus is at a 'learning firefox os talk'
11:28 maxhq joined #mojo
11:36 crab are you learning firefox os?
11:46 arpadszasz_ joined #mojo
11:56 nicolaas dpetrov_: ah yes, maybe the plugin mounting plugin
11:59 mire joined #mojo
12:00 marcus crab: no, I'm mostly making fun of it :p
12:03 GabrielVieira joined #mojo
12:08 marcus Apparently thinking that Telco's should be marginalized to raw data providers isn't a popular notion in this rooom ;-)
12:20 nicolaas dpetrov_: looks like it's the Mojolicious::Plugin::RequestTimer but i'm not using it
12:20 nicolaas (well, i made a search in Mojolicious sources and it's the only one calling "after_static_dispatch"
12:20 nicolaas )
12:27 laouji joined #mojo
12:27 marcus hmmm
12:28 Kulag joined #mojo
12:35 Kulag joined #mojo
12:39 Vandal joined #mojo
13:03 nicolaas "  Couldn't load application from file "./services/test/script/test": Can't locate object method "new" via package "Test" at C:/strawberry/perl/site/lib/Mojo/Server.pm "
13:03 nicolaas i don't get it .. my "Test.pm" main class was generated the same way (and with the same result) as my other apps
13:04 nicolaas (I'm using a Mojolicious Command class to do so)
13:04 nicolaas it looks exactly the same as an other working class
13:04 nicolaas why would it make my server bug ?
13:04 bobishh joined #mojo
13:07 nicolaas ah .. i'm using an old "Mojo::Command" package
13:09 nicolaas it's weird because the Mojo::Command still exists in my perl lib Mojo directory
13:10 sri old stuff doesn't get removed when you upgrade
13:10 sri you would have to use pm-uninstall or so
13:13 nicolaas didn't know about that .. but thanks
13:13 nicolaas i had to do the fix anyway
13:16 moltar joined #mojo
13:35 nicolaas well .. still doesn't get why new applications won't start
13:38 inokenty joined #mojo
13:40 Miked joined #mojo
13:42 _visu joined #mojo
13:43 jberger just fyi, I'm going to start moving my self-promotion of Galileo/GalileoSend to #galileo
13:43 jberger I'll still hang out here for technical/mojo things of course
13:43 jberger :-)
13:49 nicolaas ls
13:50 nicolaas woops
13:50 Britzel_ joined #mojo
13:55 ilbot2 joined #mojo
13:55 Topic for #mojo is now Mangolicious! | http://mojolicio.us | http://irclog.perlgeek.de/mojo/today
14:04 nicolaas joined #mojo
14:08 ObseLeTe joined #mojo
14:16 bluescreen joined #mojo
14:25 xxtjaxx sri: Do you get paid to work on mojolicious or is that all on your freetime?
14:26 gryphon joined #mojo
14:47 ka2u joined #mojo
14:48 GabrielVieira joined #mojo
14:51 sri xxtjaxx: freetime
15:02 inokenty sri is our hero!
15:02 inokenty *superhero
15:02 sri \o/
15:02 sri no wait
15:02 inokenty =)
15:03 * sri is a villain!
15:03 inokenty Oh right!
15:04 inokenty Supervillain in the Perl universe
15:07 suy joined #mojo
15:09 labrown joined #mojo
15:12 knight joined #mojo
15:32 nicomen https://github.com/missaugustina/libperl-hyperdex :-(
15:33 suy joined #mojo
15:41 suy joined #mojo
15:44 salparadise thanks to the people that told me about the mojo screencasts yesterday, I was a total noob, but today I have a nice dynamic page querying mysql and displaying the results, mojo is pretty awesome
15:44 Britzel_ \o/
15:46 zaltekk joined #mojo
16:17 suy joined #mojo
16:20 ka2u joined #mojo
16:29 dhg joined #mojo
16:30 * marty hugs mango
16:33 sri btw. the official driver being unsafe has been recognized as a bug https://jira.mongodb.org/browse/PERL-211
16:34 sri but they don't even consider it a critical bug
16:35 marty defaulting to unsafe writes even when you ask for safe is not critical?  Oh my.
16:35 sri it gets better
16:36 sri update is also affected, but that seems to just get ignored
16:36 sri support for ithreads and "slow" connects are considered critical bugs though
16:36 marty hence my reasoning for hugging mango.  :)
16:39 d4rkie joined #mojo
16:47 sri looks like the new 64bit test is a huge success \o/ http://www.cpantesters.org/​distro/M/Mango.html#Mango-0.04
16:49 duncanthrax joined #mojo
16:51 marty Look at all that green
16:51 marty sri++ great job
16:52 sri the new asset tests are not so successful though :( http://www.cpantesters.org/cpan/report​/eec7ec66-760f-11e2-9476-38a6ef1db04b
16:52 sri sri--
16:54 yakudza joined #mojo
16:54 sri https://github.com/kraih/mojo/b​lob/master/t/mojo/asset.t#L174 # those need to be more portable
16:57 sri wait, could it be that the directory already exists? :S
16:57 sri test is kind of a silly name
17:00 good_news_everyone joined #mojo
17:00 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/kDvV8g
17:00 good_news_everyone mojo/master c602724 Sebastian Riedel: improved portability of Mojo::Asset::File tests
17:00 good_news_everyone left #mojo
17:01 jberger is there some reason you don't use File::Temp->newdir?
17:03 sri i want to be sure the directory is different than the default
17:04 * sri has no clue how File::Spec->tmpdir behaves on different platforms
17:09 jberger File::Temp->newdir gives you an object representing a brand new temporary directory. It stringifies to the path and on DESTROY cleans up after itself (unless you tell it not to)
17:09 jberger I have used it in many of my test suites without issue
17:10 sri i know what it does
17:10 sri you're welcome to rework that specific test case, just make sure there are no new portability problems
17:11 xaka joined #mojo
17:12 sri if newdir never ever results in the same value as tmpdir good, but i don't know enough about the internals to ensure that
17:12 jberger I'm pretty sure thats true
17:12 jberger the names look like some kind of a hash creation
17:12 jberger let me look
17:13 sri also in different versions of those modules and different operating systems
17:13 Pizentios anybody got some recomendations on sending email through smtp (using TLS) in a mojolicious app?
17:14 Pizentios Mojolicious::Plugin::Mail uses MIME::Lite which doesn't support TLS out of the box
17:15 Pizentios i guess i could write a plugin that uses Net::SMTP::TLS
17:16 jberger sri: it seems to try pretty hard to be xplatform
17:17 jberger it is just random character template system, but it loops until it finds one that doesn't exist
17:20 good_news_everyone joined #mojo
17:20 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/JuA6Tg
17:20 good_news_everyone mojo/master 7f9b63f Sebastian Riedel: test tweaks
17:20 good_news_everyone left #mojo
17:32 dod joined #mojo
17:57 jpn joined #mojo
18:12 tagg joined #mojo
18:16 yakudza joined #mojo
18:22 nelio joined #mojo
18:35 HtbaaPi joined #mojo
19:08 Mike-PerlRecruiter_ joined #mojo
19:09 BeDa joined #mojo
19:11 tagg joined #mojo
19:32 phillipadsmith So, what's the most straightforward way to have different headers/footer blocks for different templates, but using the same default.html.ep layout: partials, blocks, inheritance? Seems I could do what I want using any these…
19:37 * phillipadsmith tries content blocks...
19:47 phillipadsmith Yep, content blocks are pretty perfect, actually. :)
19:48 jberger TIMTOWTDI of course :-)
19:49 phillipadsmith Yah, sure, but a little consistency is not a bad thing either! ;)
19:56 fhelmber_ joined #mojo
19:58 jberger :D
20:17 preflex joined #mojo
20:22 egopro joined #mojo
20:29 ObseLeTe joined #mojo
20:41 xaka joined #mojo
20:43 perlite joined #mojo
20:45 lukep joined #mojo
20:53 rem_lex|pivo joined #mojo
20:54 Akron joined #mojo
20:55 dpetrov_ joined #mojo
21:04 Polarn joined #mojo
21:25 egopro joined #mojo
21:58 jnbek joined #mojo
22:01 Akron left #mojo
22:01 Akron joined #mojo
22:26 egopro joined #mojo
22:56 hesperaux joined #mojo
23:09 priodev joined #mojo
23:15 jpn joined #mojo
23:26 jpn_ joined #mojo
23:28 jpn joined #mojo
23:43 sivoais joined #mojo
23:59 Averna joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary