The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2013-12-31

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

All times shown according to UTC.

Time Nick Message
00:02 meshl joined #mojo
00:03 meshl joined #mojo
00:03 meshl is there any Mojolicious plugin that minimifies Javascript?
00:04 sri https://metacpan.org/release/Mojolicious-Plugin-AssetPack
00:05 meshl Great sri, thanks, and happy new year to you!
00:13 basiliscos joined #mojo
00:21 meshl sri: would AssetPack work fine on Heroku's Ephemeral filesystem?
00:43 dsteinbrunner joined #mojo
01:10 wingfold joined #mojo
01:10 rem_lex|pivo joined #mojo
01:29 wingfold joined #mojo
01:33 wingfold joined #mojo
01:42 marty joined #mojo
01:47 D4RK-PH0ENiX joined #mojo
02:12 klapperl joined #mojo
02:59 dsteinbrunner joined #mojo
03:21 webart joined #mojo
03:50 btyler joined #mojo
04:35 ashleydev joined #mojo
04:35 phips joined #mojo
04:35 Ralesk joined #mojo
04:35 BinGOs joined #mojo
04:35 mfontani joined #mojo
04:35 phillipadsmith joined #mojo
04:35 zanity joined #mojo
04:35 da5id joined #mojo
04:35 mtj joined #mojo
04:35 charsbar___ joined #mojo
04:35 Phil21 joined #mojo
04:35 allison joined #mojo
04:35 preaction joined #mojo
04:35 kmx joined #mojo
04:35 keedi joined #mojo
04:35 nicomen joined #mojo
04:35 tudorconstantin joined #mojo
04:35 tholen42 joined #mojo
04:35 jzawodn joined #mojo
04:35 cottoo joined #mojo
04:35 akiym joined #mojo
04:35 bd joined #mojo
04:35 moritz joined #mojo
04:35 DaTa joined #mojo
04:35 omega joined #mojo
04:35 Zmodem joined #mojo
04:35 lestrrat joined #mojo
04:35 tianon joined #mojo
04:35 nic joined #mojo
04:35 Farow joined #mojo
04:35 Gedge joined #mojo
04:35 Kovensky joined #mojo
04:35 stephan48 joined #mojo
04:35 malikai joined #mojo
04:35 buu joined #mojo
04:35 Kundun joined #mojo
04:35 bowtie joined #mojo
04:35 howitdo joined #mojo
04:35 bpmedley joined #mojo
04:35 batman joined #mojo
04:35 bowtie_ joined #mojo
04:35 go|dfish joined #mojo
04:35 firnsy joined #mojo
04:35 cfedde joined #mojo
04:35 priodev joined #mojo
04:35 jnbek^dt joined #mojo
04:35 preflex joined #mojo
04:35 odc joined #mojo
04:35 d4rkie joined #mojo
04:35 Kulag joined #mojo
04:35 tempire_ joined #mojo
04:35 amirite joined #mojo
04:35 wingfold joined #mojo
04:35 marty joined #mojo
04:35 D4RK-PH0ENiX joined #mojo
04:35 webart joined #mojo
04:35 dsteinbrunner joined #mojo
04:35 klapperl joined #mojo
04:35 stokachu joined #mojo
04:35 cooper joined #mojo
04:35 Adurah joined #mojo
04:35 tempire joined #mojo
04:35 marcus joined #mojo
04:35 mtths joined #mojo
04:35 bjoernfan joined #mojo
04:35 suy joined #mojo
04:35 Zx3 joined #mojo
04:35 diegok joined #mojo
04:35 sawtooth joined #mojo
04:35 robinsmidsrod joined #mojo
04:35 Dandre joined #mojo
04:35 bobkare joined #mojo
04:35 mattp joined #mojo
04:35 bayashi joined #mojo
04:35 inokenty joined #mojo
04:35 cosimo joined #mojo
04:35 chansen joined #mojo
04:35 Bender joined #mojo
04:35 useless_chat joined #mojo
04:35 caeles joined #mojo
04:35 mikegrb joined #mojo
04:35 groundnuty joined #mojo
04:35 avenj joined #mojo
04:35 dabudabu joined #mojo
04:35 crab joined #mojo
04:35 sycobuny1 joined #mojo
04:35 augensalat joined #mojo
04:37 purl joined #mojo
04:38 irq joined #mojo
04:40 dvinci joined #mojo
04:44 preflex_ joined #mojo
04:48 arpadszasz_ joined #mojo
05:50 zivester joined #mojo
05:59 zivester joined #mojo
06:05 arpadszasz_ joined #mojo
06:39 amirite joined #mojo
06:40 Vandal joined #mojo
06:45 drift joined #mojo
07:06 laouji joined #mojo
07:37 denisboyun joined #mojo
07:47 batman there's a bug with assetpack and toadfarm. it seems like that every now and then the "asset" helper is called on another $app that is mounted in toadfarm
07:48 batman i'm wondering if it's because of the optimization that was done for the helpers some time ago...
07:49 batman can it be possible for a template namespace to leak a helper into another template..?
07:50 batman i got two apps mounted: convos and batware. sometimes when a batware template calls asset() it is called with the convos application
07:50 batman (and the other way around)
07:58 denis_boyun joined #mojo
07:59 mst batman: find that commit, apply the patch in reverse, see if the problem goes away
08:01 batman good idea...
08:20 batman doesn't seem like there's a bug in mojo...
08:20 batman testing more with assetpack
08:20 drift joined #mojo
08:21 mst I keep reading that as asspack
08:26 batman asspack an mypp... i keep on selecting excellent project names :D
08:27 batman you can have a piece of my asspack anytime mst :)
08:29 batman s/an/and/
08:33 denisboyun joined #mojo
08:44 voegelas joined #mojo
08:49 drift joined #mojo
08:51 batman i think there is a bug in mojo after all: https://github.com/jhthorsen/mojo/blob/helpers-leeking-in-template/test.t
08:51 batman sri: care to have a look?
08:52 batman i hope i'm doing something weird...
08:57 maxhq joined #mojo
09:06 dod joined #mojo
09:10 drift joined #mojo
09:15 basiliscos joined #mojo
09:16 basiliscos joined #mojo
09:26 dod joined #mojo
09:46 amirite joined #mojo
09:48 arthas joined #mojo
09:50 batman tempire_: i guess you might understand it as well, since you made the change?
10:00 ver joined #mojo
10:02 drift joined #mojo
10:10 denisboyun joined #mojo
10:22 denis_boyun joined #mojo
10:22 ka2u joined #mojo
10:29 mire_ joined #mojo
10:33 dvinciguerra joined #mojo
11:22 ka2u joined #mojo
11:23 mire_ joined #mojo
11:25 irq joined #mojo
11:29 sh4 joined #mojo
11:47 hrupp joined #mojo
11:47 denis_boyun joined #mojo
11:48 dsteinbrunner joined #mojo
13:00 ka2u joined #mojo
13:45 drift joined #mojo
14:09 arpadszasz_ joined #mojo
14:37 irq joined #mojo
14:37 marcus just a matter of time before sri is begging for more candy crush game play on facebook!
14:41 btyler joined #mojo
14:45 sri batman: too complicated test case for me, if tempire broke it he should fix it
14:46 batman sri: but do you get it? because i don't :(
14:46 batman i'm thinking maybe the problem is that the template namespace is shared between the two apps
14:46 sri when i say too complicated i mean TLDR
14:47 * batman wants to throw his computer into the wall
14:56 * marcus hopes batman got a bouncing bat-computer for christmas.
14:56 batman me to
14:56 useless_chat i wish i understood the problem batman
14:56 useless_chat so i could try and help
14:57 useless_chat but i would forsake my name
14:58 batman i'm making an easier test now... i think
14:58 sri if i understand it right, then the problem is pretty simple
15:00 sri both mounted apps have a helper with the same name that stores internal state, both apps share the same template namespace, helpers are initialized once, so the second app wins and both get to use the same helper with its internal state
15:01 marcus FEATURE
15:01 sri yea, if you change the template namespace it will work with both apps
15:01 batman \o/
15:01 paraplexed joined #mojo
15:01 batman i made it simpler: https://github.com/jhthorsen/mojo/blob/helpers-leeking-in-template/test.t
15:02 useless_chat so who wants to recommend how to make rsa encrypting some 20 byte strings more efficient
15:02 useless_chat i'm sure there's padding support already
15:02 useless_chat but i gotta pad this shit out
15:02 useless_chat so the short text is not an issue i think
15:03 batman so how do i fix assetpack? and isn't it the standard way to close over $plugin object inside a plugin?
15:05 marcus batman: in this example, you would have to set a different template namespace for one of the apps, like sri said?
15:05 batman i guess i can save the state back into the $app and use that inside the helper
15:06 batman marcus: i think it's aweful that _i_ should set the template namespace
15:06 batman can't mojo do that instead?
15:06 sri you're welcome to make a proposal and have a vote
15:06 batman sri: can i add a patch that set template namespace from app name?
15:06 batman will you consider that pull request?
15:06 sri hell no
15:07 sri seriosuly, put some thought into it
15:07 batman then i won't fix mojo. i'll just fix assetpack :(
15:07 batman this is seriously messed up
15:08 btyler joined #mojo
15:08 sri i was thinking a different default namespace per app... but batman demotivated me so much that i don't care anymore
15:08 * marcus can feel that new year's spirit creeping in.
15:08 marcus :D
15:08 batman how is that idea different from mine??
15:08 batman sri: ^
15:08 useless_chat hmmm it's a good point marcus
15:08 batman actually -- it want's even mine
15:08 sri batman: i'm done with you
15:08 useless_chat where's the topic link to buy people beer for new years?
15:09 sri not having that attitude today
15:09 useless_chat sri: i demand you take things easy and reduce stress around new year!
15:09 batman sri: i'm very sorry for not understanding what you're saying :(
15:10 * marcus has bought beers @ tax free on his way home from denmark today.
15:10 marcus Lots of delicious norwegian micro brews \o/
15:10 useless_chat marcus: hmmm
15:11 useless_chat marcus: what styles?
15:11 purl styles are not required to use all 3 colors.
15:11 useless_chat i have a couple of porters and an ale or two remaining
15:11 useless_chat and a 750ml bottle of chimay blue
15:11 useless_chat which frankly is like being assaulted
15:11 useless_chat sri: do you drink? what do you drink?
15:12 marcus useless_chat: IPA, Porter, Imperial Stout, more IPA, Norwegian Wood, harvest ale...
15:12 useless_chat imperial stout eh
15:12 useless_chat sounds like you're a fan of the finer stuff
15:12 useless_chat IPAs are usually a bit bland and with a single strong flavour to me
15:12 useless_chat but always worth a try
15:14 useless_chat srsly though, why isn't there "buy sri a beer, help him be less stressed" link
15:14 * batman will use 2014 to think about how to communicate better
15:15 batman and 2015. and 2016, and...
15:15 marcus I really likehttp://www.ratebeer.com/beer/haandbryggeriet-fyr-og-flamme/130379/ which I bought one of.
15:15 useless_chat yeah used to that batman
15:15 useless_chat marcus: that's a relatively strong IPA, extremely high rating for one
15:15 useless_chat will add it to my list, friend of mine goes to sweden relatively regularly
15:15 useless_chat but i think i JUST missed his last visit for 6 months :(
15:16 batman useless_chat: i always do that. the problem seems to be that i'm not improving, i'm just getting more aware of others :(
15:16 batman do they have haandbryggeriet in sweden..?
15:16 useless_chat well sweden is closer to where they might have it
15:16 useless_chat than the UK :)
15:16 marcus useless_chat: i have one in my fridge
15:17 useless_chat marcus: well boo to you :p
15:17 useless_chat i have two 'Hercule Poirot's in mine
15:17 marcus You might get it at systembolaget
15:18 useless_chat marcus: http://www.ratebeer.com/beer/ellezelloise-hercule-stout/6701/
15:18 useless_chat haha @ 'on tap common'
15:18 useless_chat bloody isn't
15:18 paraplexed left #mojo
15:18 useless_chat €5-6 a bottle it is
15:27 tianon while I don't think there's a link to directly buy sri a beer, he does have donation information
15:28 marcus useless_chat: looks nice. I just finished a Russian Imperial Stout that I brewed this summer.
15:28 * marcus is listening to Masters of Doom today. Such a great book!
15:29 mattp joined #mojo
15:30 useless_chat oh it's about iD!
15:30 useless_chat i half expected music
15:31 useless_chat the master of doom is of course steven(phen?) o'malley
15:31 drift joined #mojo
15:34 * sri is not stressed, just doesn't believe batman being snippy all the time is a language issue
15:34 * sri will be drinking becks soon
15:34 useless_chat you're also snippy :p
15:34 useless_chat let me buy you a better beer
15:35 batman sri: the problem is that i don't mean to me snippy :(
15:36 batman i'm just a complete tool from time-to-time
15:36 batman i really wish i knew i was snippy so i could stop.
15:36 marcus useless_chat: now you've done it. Never insult a German's beer.
15:36 useless_chat haha
15:36 batman marcus: have you read my feedback in #convos?
15:36 useless_chat beer fight!!!
15:40 gryphon joined #mojo
16:00 sri http://pastie.org/8589863 # what i had in mind
16:04 batman sri: that looks awesome too me!
16:05 drift joined #mojo
16:05 batman i guess the steady_time part is to enable mounting the same app multiple times?
16:08 dabudabu Happy new year!
16:10 marcus sri: +1 from me on that change.
16:19 marcus useless_chat: saving the fyr og flamme for later tonight, opened this one now - http://www.ratebeer.com/beer/nogne-o-india-pale-ale/28509/ :)
16:19 useless_chat marcus: jealous :)
16:19 marcus also a pretty decent rating.
16:19 marcus nøgne ø was just bought by one of the biggest breweries in Norway. Wonder how that will turn out
16:33 drift joined #mojo
16:34 sri it would be nice if you didn't just accept the first proposal
16:34 sri it can also be done without different namespaces
16:37 sri when i say "put some thought into it"... i mean myself too
16:38 good_news_everyone joined #mojo
16:38 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/rkvj6A
16:38 good_news_everyone mojo/master 206045e Sebastian Riedel: fixed helper export bug in Mojolicious::Plugin::EPRenderer
16:38 good_news_everyone left #mojo
16:38 sri trivial fix https://github.com/kraih/mojo/commit/206045e09d4ada22ecb668eaf743f119852c9297#diff-3232c50beb28eaedf75f5a67dd9b1ca4L56
16:39 marty joined #mojo
16:49 dsteinbrunner can toad farm handle sites on different domains?
16:49 dsteinbrunner batman: see above
16:50 dsteinbrunner I'm going to be trying it once I'm done porting a catalyst app but figure it would be nice to know if it is not possible upfront
16:50 batman dsteinbrunner: that's my primary usage of toadfarm
16:51 batman https://metacpan.org/pod/release/JHTHORSEN/Toadfarm-0.40/README.pod#Application-config # look for "Host"
16:51 dsteinbrunner from looking at the docs it appears multiple apps on the same domain
16:51 dsteinbrunner I'll look again, thanks
16:51 batman it's like virtual hosts in nginx/apache
16:51 dsteinbrunner that was my hope
16:51 batman dsteinbrunner: you control which app to dispatch to based on headers
16:53 batman sri: sorry about that. my excuse is lack of knowledge. i'm been arguing before -- when i have (or believe) i have knowledge on the area
17:01 marty_ joined #mojo
17:04 * sri wonders if there's a noticeable performance cost
17:05 sri it's 4 extra method calls
17:08 batman https://github.com/kraih/mojo/blob/206045e09d4ada22ecb668eaf743f119852c9297/lib/Mojolicious/Plugin/EPRenderer.pm # i don't see the change :(
17:09 batman dsteinbrunner: example config: https://metacpan.org/source/JHTHORSEN/Toadfarm-0.40/t/basic.conf
17:09 dsteinbrunner thanks
17:09 batman dsteinbrunner: let me know if you have any issues
17:09 dsteinbrunner will do
17:10 batman also: please send me a doc patch.
17:10 batman :)
17:10 dsteinbrunner this is just part of a project that is due by the end of the year
17:10 dsteinbrunner ;-P
17:10 batman oh. good luck :/
17:11 dsteinbrunner and from 6 -> midnight I'll away from the keyboard
17:11 batman it's already 6 here :)
17:11 dsteinbrunner but I'm EST so that gives me a few hours still
17:11 dsteinbrunner 12 here
17:12 batman timezones...
17:12 purl i think timezones is http://www.twinsun.com/tz/tz-link.htm or suck
17:12 batman :D
17:17 ka2u joined #mojo
17:18 drift joined #mojo
17:22 zivester joined #mojo
17:28 D4RK-PH0ENiX joined #mojo
17:43 cfedde is there a standardized way to access the username given to Mojolicious::Plugin::BasicAuth or do I need to tuck it away somewhere on my own?
17:45 stephan48 it is not saved by the Module if you mean that, it just gives you both values for verification
17:46 cfedde OK I'll return it from the call back then stuff it into the stash.
17:46 stephan48 you might want to look into Mojolicious::Plugin::Authentication
17:47 * cfedde goes to look
17:50 cfedde in this case I'm using basic auth with a REST interface. I'm not sure that app level auth is what I need.
17:50 D4RK-PH0ENiX joined #mojo
17:50 cfedde is it common to use user and password request attributes in a REST api?
17:52 stephan48 i use M::P::A and M::P::BA together in several apps, and for the case of a REST api i can't really answer whats deemed best practice there
17:53 cfedde you use M::P::BA to drive M::P::A?   interesting.
18:08 stephan48 yes, for prompting for username and password
18:16 stokachu is the routes command able to show protected routes that rely on a session variable?
18:20 stokachu here is some example code of my problem: http://scsys.co.uk:8002/288665
18:21 stokachu wasn't sure if this was intended behavior of the routes output
19:01 dsteinbrunner batman: does toad farm work with lite apps?
19:02 dsteinbrunner nevermind
19:05 dsteinbrunner I'm seeing configs for secrets, paths and the like.. if those are defined in the apps then those are respected, correct?
19:16 batman yes
19:16 batman dsteinbrunner: it supports both loading app classes and app.pl
19:17 dsteinbrunner I'm deep into thing now
19:17 batman seems like you're doing thing a bit too complicated or my doc sucks
19:17 batman probably both..?
19:17 dsteinbrunner found a minor doc thing that I'll patch
19:17 batman cool
19:17 batman if you want me to look at a config, then just pastebin it
19:17 batman maybe i can give you some pointers
19:17 dsteinbrunner cool, thanks
19:18 batman i think maybe setting the secret is broken... i haven't had time to look into it myself, since i have secret set in my apps
19:18 batman apps = the apps loaded into toadfarm
19:19 dsteinbrunner Invalid/missing hypnotoad => listen at /Ubic/Service/Toadfarm.pm line 89.
19:19 batman you need to specify hypnotoad { listen => [...] } in the config
19:20 batman you need to specify { hypnotoad =>  { listen => [...] } } in the config
19:20 dsteinbrunner k
19:20 batman i would suggest using this as a template https://metacpan.org/pod/release/JHTHORSEN/Toadfarm-0.40/README.pod#CONFIG-FILE
19:20 dsteinbrunner looked as though that might not be required
19:21 batman oh.
19:21 batman i see now that i should have a better default config in the documentation
19:21 dsteinbrunner for instance the ubic for normal hypnotoad use does not require it
19:22 dsteinbrunner it would be nice for defaults of 8080 and 10 were set
19:22 batman i know. i require it because i like you to know from the config and not forgetting it.
19:22 dsteinbrunner ok
19:22 batman hm... i will consider it
19:22 batman makes sense if you know hypnotoad i guess
19:23 batman oh! sorry. it doesn't make sense anymore: it was because of some old dependency i had
19:23 batman will remove it now
19:23 batman this is super weird...
19:24 batman new years eve is probably not the best day to fix bugs, haha
19:24 dsteinbrunner ;-P
19:24 dsteinbrunner or set deadlines around
19:24 batman i really don't get this. i was sure i had remove the status_impl() doing HEAD a long time ago...
19:25 batman i can help you cheat:
19:25 batman * * * * * /local/bin/toadfarm --start /path/to/apps.conf
19:25 batman ^ put that into crontab :)
19:26 batman --start will start the app if it's not running and do nothing if already running
19:26 batman no need for ubic
19:27 dsteinbrunner but I like it ;-P
19:27 batman me to. but @work doesn't :(
19:27 batman at least not yet
19:27 batman but does it work now that you've set listen => [] ?
19:27 dsteinbrunner nope
19:27 batman what does it say?
19:28 dsteinbrunner Starting toadfarm... [Tue Dec 31 11:26:52 2013] [info] Mounting /path/to/app/app.pl with conditions
19:28 dsteinbrunner not running
19:28 dsteinbrunner not running in red
19:29 batman have you tried starting it from command line?
19:29 batman toadfarm -f /path/to/toadfarm.conf ?
19:29 dsteinbrunner that was my next step
19:29 batman dsteinbrunner++
19:30 batman also: perl /path/to/toadfarm.conf # always helpful
19:31 dsteinbrunner ok, does not my logs
19:32 dsteinbrunner sending it to a dir
19:32 dsteinbrunner because I'm not combining
19:32 batman but if it didn't die, then it should be running
19:32 dsteinbrunner I guess this is problematic
19:32 batman keep it running and try "curl localhost:8080" or something
19:33 batman or check netstat or something (not sure if you're on linux or not)
19:33 dsteinbrunner curl: (7) couldn't connect to host
19:33 dsteinbrunner I'll try with combine
19:33 batman let me understand something...
19:33 batman 1) you're running toadfarm with -f ?
19:34 batman ...and toardfarm config file?
19:34 dsteinbrunner yes
19:34 dsteinbrunner yes
19:34 batman 2) does it return to prompt or "hang" ?
19:34 dsteinbrunner prompt
19:34 batman then something is wrong
19:34 batman -f should keep it running
19:35 batman no idea why you don't see the error message in terminal
19:35 batman toadfarm --man # which version are you running?
19:35 dsteinbrunner I just installed it
19:35 batman ok. super weird.
19:35 dsteinbrunner with combined to a file it works
19:35 dsteinbrunner without combined to a dir it does not
19:35 dvinciguerra joined #mojo
19:35 * batman <--- looks like a question mark
19:36 batman weird. not sure what's going on there... maybe it doesn't have permission to write to whatever/other/log.file?
19:37 dsteinbrunner so.. the server is up but more work to do
19:37 batman i would suggest combined anyway. and { apps => [], plugins => [ AccessLog => {} ] }
19:38 batman the AccessLog will log with hostname and everything
19:38 batman might be too much, but at least useful in the beginning :)
19:42 * batman will be back in ten minutes
19:42 dsteinbrunner k
19:43 batman it's almost 9pm. preparing to go out
19:47 mire_ joined #mojo
19:56 dsteinbrunner so.. is the host enough
19:56 dsteinbrunner or are headers needed?
19:58 batman Host is a header
19:58 batman do you have nginx or something in front of the app?
19:59 dsteinbrunner yeah but trying to get it working without first
20:00 batman ok. then Host should be set by the browser. http://somehost.com/path/foo/bar => Host = somehost.com
20:00 batman have you added AccessLog plugin?
20:00 dsteinbrunner yeah
20:00 batman then you should see the whole url in the combined log. make sure it match the Host in the toadfarm config
20:01 dsteinbrunner getting failraptor with nginx request
20:01 batman ok. have to configured nginx to pass on Host ?
20:01 batman https://metacpan.org/pod/release/SRI/Mojolicious-4.63/lib/Mojolicious/Guides/Cookbook.pod#Nginx
20:02 dsteinbrunner proxy_set_header Host $host;
20:03 batman then it should be enough. what does AccessLog say?
20:03 dsteinbrunner I'm seeing an application level error
20:03 batman oh. then i think you need to help yourself :(
20:03 dsteinbrunner well kind of
20:03 dsteinbrunner does not happen in a normal setup though
20:04 dsteinbrunner I'll see what I can find
20:04 dsteinbrunner access log does not appear to generate… I'll look into that later
20:04 batman also.. try setting log => { level => 'debug', combined => 1, ... }
20:05 batman maybe "debug" kan help you ^
20:05 dsteinbrunner my $config = plugin 'Config' => { file => 'libertyaction.conf' };
20:06 dsteinbrunner I have a feeling this is not working anymore
20:09 batman :(
20:11 batman can you paste me your toadfarm config? http://p.thorsen.pm
20:11 dsteinbrunner no that is loading
20:12 batman ok.
20:13 dsteinbrunner DBIx::Class::Schema::source(): Can't find source for Candidate
20:13 dsteinbrunner if the conf is loading I'm not sure what the issue would be with db access
20:14 batman maybe you need to setup PERL5LIB in your ubic starter?
20:14 dsteinbrunner use lib "$FindBin::Bin/lib";
20:14 dsteinbrunner that might be it
20:14 batman yeah...
20:14 batman try $ENV{PERL5LIB} = "..."; before Ubic::Service::Toadfarm->new()
20:15 batman i really have to go now...
20:15 batman wish you good luch dsteinbrunner
20:15 dsteinbrunner may thanks
20:15 dsteinbrunner many thanks rather
20:15 batman happy new year!
20:15 purl Akemashite Omedetou
20:15 batman mojo++ # you rock
20:21 sh4|2 joined #mojo
20:42 irq_ joined #mojo
22:13 gryphon joined #mojo
22:51 marty joined #mojo
23:14 marty joined #mojo
23:18 cfedde Mojo::Collection has a first and a reverse but no last?
23:23 jberger joined #mojo
23:23 jberger Wow, it's an active #mojo today
23:24 jberger Happy New Year everyone!
23:25 jberger Also well done on the namespace bug
23:25 cfedde yay!
23:30 Adurah Ah jberger, used your ForkCall for pngcrush-ing. It sure spits out warnings, though.
23:30 jberger Yeah, I have had some trouble with it too sadly
23:30 jberger I need to tinker
23:30 Adurah It works... just loudly.
23:31 jberger Hehe, well I'm glad of that
23:31 jberger I have had at least one case where it did not work
23:31 Adurah Larger files make it louder on Windows.
23:32 Adurah It's always loud on Linux.
23:32 jberger It has to do with the way it exits the child
23:33 jberger I have been thinking about removing Child.pm so that I could have more control of it
23:33 Adurah Yeah, makes it do that finish event multiple times, seemingly.
23:34 jberger All on my todo list
23:35 Adurah Alrighty.
23:35 purl Alrighty. is, like, there a way to do that without having to start a new process
23:39 jberger Glad to see that people are using it though
23:40 Adurah Great way of using all these int cores.
23:42 jberger In the mean time, AnyEvent::Util::fork_call doesn't suffer these problems
23:42 jberger Which is what I ported from

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