Camelia, the Perl 6 bug

IRC log for #mojo, 2010-09-10

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

All times shown according to UTC.

Time Nick Message
00:08 awnstudio left #mojo
00:08 awnstudio joined #mojo
00:11 [1]awnstudio joined #mojo
00:12 awnstudio left #mojo
00:12 [1]awnstudio is now known as awnstudio
00:19 awnstudio left #mojo
00:25 awnstudio joined #mojo
00:39 awnstudio left #mojo
01:19 Alias__ joined #mojo
01:21 keith left #mojo
01:22 murata left #mojo
01:23 Alias left #mojo
01:27 xantus[] hey
01:27 xantus[] sri: thanks for fixing that bug
01:30 tempire left #mojo
01:32 DaTa left #mojo
01:32 DaTa joined #mojo
01:33 lee7 left #mojo
01:33 tempire joined #mojo
01:33 lee7 joined #mojo
01:33 gizzlon left #mojo
01:33 perlite left #mojo
01:33 gizzlon joined #mojo
01:33 keith joined #mojo
01:33 perlite joined #mojo
01:33 go|dfish left #mojo
01:34 go|dfish joined #mojo
01:45 perlite_ joined #mojo
01:45 perlite left #mojo
02:03 tempire left #mojo
02:04 tempire joined #mojo
02:35 janus left #mojo
03:07 janus joined #mojo
03:08 yakudzo joined #mojo
03:26 awnstudio joined #mojo
03:36 yakudzo left #mojo
03:58 yakudzo joined #mojo
04:03 tholen42 joined #mojo
04:05 tl left #mojo
04:15 GabrielVieira left #mojo
04:23 xantus[] my downloads are working ok now btw, they aren't timing out while xfering
04:53 Alias_ So, how do I get a bug fixed that is small enough I don't really think it's worth a full bug report
04:53 * Alias_ wants the Mojo version echoed into Mojolicious::Lite
04:53 Alias_ It's already echoed into Mojolicious itself, but not into ::Lite
04:53 Alias_ So I can't do "use Mojolicious::Lite 0.1234"
04:55 xantus[] just ping sri and he'll do it
04:58 xantus[] you can gist your diff I suppose
05:00 Alias_ gist?
05:00 Alias_ I still have a few problems in the diff area
05:00 Alias_ 1. No way to make them
05:00 Alias_ 2. No git client worth a damn
05:01 Alias_ Eventually I'll get my own implementation working in Padre
05:01 su-bzero joined #mojo
05:04 Alias_ oh dear, current release FAIL for me :(
05:05 Alias_ oh I see, dead entirely on Windows
05:05 * Alias_ notes that that sucks
05:06 Alias_ gah, and he's deleted all the older versions off CPAN
05:06 Alias_ sigh
05:07 Alias_ Bug duly filed
05:08 Alias_ https://rt.cpan.org/Ticket/Display.html?id=61229
05:08 crab hi Alias.
05:08 Alias_ hiya
05:08 crab i assume you mean windows git clients when you say there are none worth a damn?
05:08 * Alias_ reverts to testing with 0.9003
05:08 Alias_ crab: Of course
05:09 Alias_ The MSys client is starting to get usable
05:09 crab i don't use windows, so i don't know their current state, but these days i hear "everything works fine". i take it the msysgit thing doesn't work well enough?
05:09 Alias_ But really, version control on Windows with command line feels unnatural
05:09 crab ah.
05:10 Alias_ Now it works well enough to start learning, I do plan to investigate it though
05:10 crab there was some tortoisegit project to make a gui client, but i think it got abandoned.
05:10 Alias_ Plus, the gui integration version control really isn't very fun
05:10 Alias_ I hated TurtleCVS and TortoisSVN and whatever
05:10 Alias_ You lose the overall view of projects
05:20 xantus[] ah, you're not the Alias I know
05:23 xantus[] btw, http://gist.github.com/
05:24 xantus[] its like nopaste
05:25 Alias_ ?
05:26 Alias_ oh, weird
05:26 Alias_ ok
05:26 omega except every paste is it own git repo, can be forked and changed :p
05:26 xantus[] yea
05:26 Alias_ ok, so question
05:27 Alias_ If I have a Mojolicious::Lite app
05:27 Alias_ And I want some common bit of functionality
05:27 xantus[] plugin
05:27 Alias_ I mean, like 5 lines of code
05:27 xantus[] which are
05:27 Alias_ To be shared across a half a dozen get handlers
05:27 Alias_ Do I just use plain functions?
05:27 xantus[] like what
05:28 xantus[] you may just need a ladder
05:28 xantus[] where a function gets called for every route below the ladder
05:28 Alias_ http://svn.ali.as/cpan/trunk/Top100-Mojo/top100.pl
05:29 Alias_ Note: I'm not a big fan of magic declarative stuff
05:29 xantus[] like you don't want to dupe that one sub right
05:29 Alias_ But then that doesn't help you much
05:29 xantus[] then breat it out into sub graph { and use \&graph
05:29 Alias_ Assume there will have a half dozen other route variants
05:30 xantus[] ah, but slightly different for each one?
05:30 Alias_ more or less
05:30 xantus[] you may just be setting one or two things right
05:30 Alias_ Different routes to prepare the complicate graph params, all feeding into one thing that generates the graph and returns it
05:30 xantus[] you can have that as part of the route
05:30 Alias_ More like 5 or 6 things
05:30 xantus[] with stash vars predefined
05:31 Alias_ Anyways
05:31 Alias_ Lets stick to the X :)
05:31 xantus[] lets see all the code, we can break it down
05:31 Alias_ That is all the code
05:31 xantus[] ah
05:31 Alias_ I've set myself the rule for the moment of putting the entire site in one script
05:31 Alias_ We'll see how long that lasts...
05:32 xantus[] k
05:32 xantus[] whats the site
05:32 Alias_ But you should assume dependency_graphviz(%param) takes up to 7 or 8 optional params, and I'll be feeding it in a wide variety of different ways
05:32 Alias_ http://ali.as/top100
05:32 Alias_ I'm doing a competition to rewrite it to be dynamic
05:33 Alias_ Implementing exactly the same thing in both Mojo and Dancer
05:33 Alias_ To see which one I like more
05:33 xantus[] wait, you are the alias on cpan...ok
05:33 Alias_ Yes
05:33 xantus[] I do know you then..thought you were someone else
05:33 Alias_ Unlikely to be other Alias' on irc.perl.org
05:33 Alias_ Maybe on freenode
05:33 xantus[] yea
05:34 Alias_ Anyways, the code in that file assumed I could do $self->anything
05:34 xantus[] I used to hang out in #poe
05:34 Alias_ And that's not true
05:34 Alias_ So what's the recommended alternative
05:34 Alias_ Solving JUST the code you see there
05:34 Alias_ Do a plain function call, passing self?
05:34 xantus[] a helper
05:35 Alias_ Example?
05:35 Alias_ Actually, wait
05:35 Alias_ I'm supposed to be pretending to be a newbie
05:35 Alias_ So let me go look for ladder
05:35 xantus[] its app->helper(graph => \&graph);
05:36 xantus[] and $self->graph calls your fn
05:36 xantus[] you get $self without looking funky: graph( $self ... );
05:38 xantus[] I'm hacking on a file fetcher + websocket sample app
05:40 xantus[] couchdb for the list of urls + watcher to live update the browser, download progress, etc via websocket
05:40 Alias_ That helper declaration looks almost as funky
05:41 Alias_ But hey, moving onto
05:43 Alias_ Can't locate object method "helper" via package "Mojolicious::Lite" at top100.pl line 48.
05:46 Alias_ for new I'll give up and go the funky way
05:50 xantus[] this is latest github version, not cpan
05:50 Alias_ I'm using 0.9003
05:50 Alias_ CPAN version doesn't install
05:52 xantus[] Mojo/0.999930 is latest
05:52 Alias_ Like I said, it's uninstallable
05:52 Alias_ 100% FAIL on Windows
05:52 xantus[] you meant github version then
05:52 Alias_ hrm?
05:52 Alias_ I'm don't use development software
05:52 Alias_ I don't
05:53 xantus[] ok
05:53 Alias_ Cause I'm (notionally) a newbie here
05:53 xantus[] ok, good luck with that assumption
05:53 Alias_ It's a condition of the competition
05:53 xantus[] I see..
05:53 Alias_ That I would try to act somewhat like the main market for both Dancer and Mojo
05:57 xantus[] I suggest the docs: http://search.cpan.org/~kraih/Mojolic​ious-0.999929/lib/Mojolicious/Lite.pm
05:57 xantus[] and the mojolicio.us site
05:57 xantus[] cya tomorrow....its 1am here
05:58 xantus[] I'm in the st louis area doing some contract
06:09 koban joined #mojo
06:36 xantus[] left #mojo
06:41 tholen42 left #mojo
06:41 tholen42 joined #mojo
06:47 perlrocks Twitter: "Just had a successful pull request on #mojolicious on some documentation stuff. Great! Motivation for the next one. #perl" --rabenfeder http://twitter.com/rabenfeder/status/24083567169
06:50 maettu joined #mojo
06:51 maettu the qooxdoo dispatcher I talked about some days ago, shouldn't it be better put into MojoX instead of Plugins?
06:55 perlrocks Twitter: "@rabenfeder Welcome to the club!  Have some pie.  You'll be a #perl #mojolicious guru in no time." --tempiretech http://twitter.com/tempiretech/status/24083928082
07:16 ysyrota joined #mojo
07:30 ltriant left #mojo
07:36 ptomli joined #mojo
07:53 spleenjack joined #mojo
07:58 yko joined #mojo
08:05 esskar joined #mojo
08:07 awnstudio left #mojo
08:12 esskar moin
08:12 esskar is there a GIT protocol spec somewhere?
08:14 ptomli gitscm.org somewhere i guess, can't see it off hand though
08:16 esskar maybe i have to wait until their wiki is up again
08:17 ptomli maybe http://peepcode.com/products/git-internals-pdf
08:43 koban left #mojo
09:07 yko left #mojo
09:11 sri Alias_: please no more rt tickets, we are on github
09:12 sri Alias_: we are not competing with dancer, thats almost an insult, we are competing with catalyst
09:12 sri Alias_: the bugs you reported are fixed on github
09:13 vti sri: how about 'why mojo will not kill catalyst' post? ;p
09:13 sri that offer has been declined
09:14 sri now we are going to eat their lunch
09:14 sri :)
09:14 arpadszasz joined #mojo
09:14 sri i hate rt :S
09:15 sri nothing better than rt tickets to ruin my morning
09:16 sri and then he's even spamming me with them
09:16 vti i think you can replace rt with your issues link on cpan
09:17 vti and release often!
09:17 sri how?
09:17 arpadszasz sri: what's then the prefered way to send patches? github issues or by email to the mailing-list?
09:17 sri github
09:18 sri fork and send pull request
09:18 ysyrota vti: is there some sample of using moggregator?
09:18 arpadszasz ok, noted
09:18 vti sri: i just heard, never tried
09:18 vti sri: let me check :)
09:18 vti ysyrota: it's old and not complete, don't use it
09:19 vti i am not sure if you even can start it, because mojo changed singificantly
09:20 ysyrota vti: what was the idea?
09:20 sri Alias_: and i want to get rid of the version number in the Mojo package, it is deprecated
09:21 sri Alias_: whats the point of adding a version to Mojolicious::Lite?
09:21 vti ysyrota: same as plagger or perlanet
09:22 sri sri: btw. i think your newbie review of mojolicious is entirely flawed, so i'm not going to support it in any way
09:22 sri umm
09:22 sri Alias
09:22 vti talking to yourself? ;p
09:22 sri sri: you are awesome!
09:23 sri \o/
09:23 vti sri: where is it?
09:23 sri it was on use.perl some months ago
09:31 vti sri: http://search.cpan.org/~pla​ven/Padre-0.70/lib/Padre.pm
09:31 vti they have trac link, not RT
09:31 arpadszasz vti: http://use.perl.org/~Alias/journal/40292 and http://use.perl.org/~Alias/journal/40312
09:32 vti arpadszasz: thanks :)
09:32 arpadszasz these articles got me interested in Mojolicious
09:32 arpadszasz so thanks Alias_ ! :)
09:33 vti sri: i guess it is simply as adding "bugtracker 'http://padre.perlide.org/trac/';" to Makefile.PL
09:33 vti *as simple as
09:33 sri vti: lets see
09:35 GitHub8 joined #mojo
09:35 GitHub8 mojo: master Sebastian Riedel * 37f967d (3 files in 2 dirs): changed bugtracker - http://bit.ly/9jONQG
09:35 GitHub8 left #mojo
09:36 sri ooh, iterm2
09:36 sri how is it?
09:36 omega its ok
09:36 vti looks the same :)
09:37 omega but bookmarks is a bit more confusing for now
09:37 vti except preferences window
09:37 omega and some annoyances, like not able to close bookmark window from keyboard easily
09:44 perlrocks Twitter: "RT @rabenfeder: Just had a successful pull request on #mojolicious on some documentation stuff. Great! Motivation for the next one. #perl" --kraih http://twitter.com/kraih/status/24091210211
09:45 sri Alias_: btw. the windows breakage goes pretty deep, we had to deactivate UNIX performance hacks for which windows was simply too weak, stuff that needs to be tested on github first
09:47 sri especially since i have found no real information why the kernel send buffer behaves so different on windows
09:48 esskar sri, --reload still does not reload templates in /templates
09:48 sri as in throwing exceptions if someone tries to write directly
09:52 koban joined #mojo
09:56 sri esskar: confirmed
09:58 ltriant joined #mojo
10:00 GitHub61 joined #mojo
10:00 GitHub61 mojo: master Sebastian Riedel * d8ab87a (3 files in 3 dirs): fixed automatic reloading for external templates - http://bit.ly/bOervw
10:00 GitHub61 left #mojo
10:00 sri esskar: fixed
10:04 esskar http://perlpunks.de/paste/show/4c8a02c2.66f.2ad
10:05 esskar sri: but reload works now. thanks
10:06 sri Oo
10:06 sri are you sure you have the latest version?
10:06 esskar just pulled it
10:06 sri (of everything)
10:07 esskar git pull
10:07 sri the broken test could point at a serious windows flaw again
10:08 sri is IO::Poll broken in your perl?
10:08 esskar no clue. got strawberry here
10:08 sri hmm
10:08 sri Alias_: broken?
10:09 sri we might have to disable the test on windows :S
10:09 esskar IO::Poll is up to date (0.07).
10:09 sri if it can't support the safety net
10:09 esskar what does test actually
10:10 sri corrupted connection
10:10 sri http://github.com/kraih/mojo/blo​b/master/lib/Mojo/IOLoop.pm#L536
10:10 sri thats the code
10:10 sri test obviously returns true when it should return false
10:11 sri (which would trigger the trashing of the old connection in favor of a new one)
10:11 sri oh shit
10:11 sri i know
10:11 sri argh
10:12 sri my fault
10:12 esskar always ;)
10:12 esskar ehhh
10:12 esskar never
10:12 sri windows flaw
10:12 sri windows can't write directly, and never taints the connection
10:15 sri i hate windows with a passion
10:15 sri so many workarounds
10:15 GitHub62 joined #mojo
10:15 GitHub62 mojo: master Sebastian Riedel * 477c18d (1 files in 1 dirs): fixed windows test - http://bit.ly/936X7s
10:15 GitHub62 left #mojo
10:15 sri esskar: ok should be fixed
10:16 crab i'm so glad i don't even have to pretend to support windows
10:17 sri it's a miracle we can support so much on windows
10:17 esskar sri, nope
10:17 sri but every small unix optimization usually means total breakage on windows
10:18 sri huh?
10:18 esskar same error
10:18 sri ops
10:18 sri typo
10:18 esskar :D
10:19 GitHub81 joined #mojo
10:19 GitHub81 mojo: master Sebastian Riedel * 0e8f0db (1 files in 1 dirs): fixed typo - http://bit.ly/cgwZaN
10:19 GitHub81 left #mojo
10:19 sri esskar: now ;p
10:20 esskar looks great and clean again
10:20 sri \o/
10:22 marcus sri: been working hard at breaking windows support today? :)
10:22 sri every chance i get
10:22 sri http://www.horriblelogos.com/ # lol!
10:24 ltriant left #mojo
10:24 ltriant joined #mojo
10:25 esskar can you add base to URI which returns scheme://host[:port] ?
10:25 sri ?
10:26 esskar s/URI/URL/
10:26 sri i don't get the question
10:28 esskar $req->url->base could return scheme://host:[port]
10:29 sri true
10:38 spleenjack hmm. if i create mojo::lite application and using plugin that was register themself already on hook would running in reverse order - my plugin will be run first and it's look like it won't do anything. for example, powered_by plugin. look at the test: http://pastebin.com/92Za6ffA . test passed if uncomment line 12.
10:38 ysyrota vti: uh, Plagger requires half of cpan to install
10:38 vti ysyrota: that's why i tried to write moggregator ;p
10:38 vti ysyrota: try perlanet
10:39 ysyrota vti: I noticed that plagger has ability grab whole page, it's is interesting feature for me, I want to see
10:40 ysyrota vti: however plagger last release was in 2006, I wonder is it useful  yet
10:41 vti ysyrota: what do you mean by 'whole page'? do you mean that you need grabbing a full article, not just rss summary? moggregator does it.. i think perlanet too
10:42 ysyrota vti: yes, I want to grab full article
10:42 ysyrota vti: so, I will look to perlanet then
11:01 maettu left #mojo
11:10 maettu joined #mojo
11:14 su-bzero_ joined #mojo
11:14 sri spleenjack: oh thats correct
11:14 sri spleenjack: the hook needs to be renamed
11:14 sri and run in normal order
11:18 su-bzero left #mojo
11:42 sri how about before_request?
11:44 sri weird, the whole documentation for the hook is out of line
11:45 spleenjack but the list of hook listeners still contains two listeners with the same name. is that right? may be each plugin must have unique handler in within identical hook?
11:46 sri that would never work
11:47 * ptomli whistles
11:47 sri make a real proposal if you have a better idea
11:48 ptomli yeah, i know. over the w/e i expect i'll look closer at how it all get plumbed together
11:49 spleenjack no, create new plugins instance and fill it with required plugins - it's much simpler for me)
11:50 sri PoweredBy is not even a good example
11:50 sri that code has only been put into a plugin as an example
11:50 sri normally it would just go into Mojolicious.pm and you would be expected to redefine the header
11:50 yakudzo left #mojo
11:51 sri (so don't use it in a proposal, i want a *real* example) :)
11:51 sri after_build_tx is totally broken though
11:52 sri gonna go with before_request
11:53 vti before_the_earth_was_created
11:53 sri you fool!
11:53 sri timemachines only work forward in time!
11:53 sri have you learned nothing from futurama?
11:53 vti forgive me, master!
11:54 sri just this one time
11:56 sri damn, someone might be using the hook already
11:56 sri no renaming, just changing the plugin hook philosophy
11:57 sri is anyone using the hook?
11:57 vti since when you care about users? ;p
11:57 sri since always?
12:03 GitHub135 joined #mojo
12:03 GitHub135 mojo: master Sebastian Riedel * 2e5f55e (3 files in 3 dirs): fixed after_build_tx plugin hook callback order - http://bit.ly/bbJoyC
12:03 GitHub135 left #mojo
12:05 sri vti: if you think a change i did was wrong just speak up, i'm sure we can sort it out
12:11 vti sri: me? i don't use after_build_tx plugin :)
12:27 * sri goes back to finishing hypnotoad
12:27 sri please test the current github version, i want to release soon!
12:28 sri (especially on windows)
12:28 sri next release might even be worthy of a new codename, considering the massive improvements
12:29 sri marcus: what were your suggestions again recently?
12:29 sri i only remember snowflake for the christmas release :0
12:29 sri :)
12:30 sri or maybe someone else has a fun sugegstion?
12:30 sri next release needs a codename!
12:31 ptomli what's the focus of the improvements been
12:32 sri no focus really, we'll have a whole new production server, template block syntax and helper system
12:32 sri basically stuff that gets end users really excited
12:32 ptomli orgasmo ?
12:32 sri or.... stuff that gets me excited :D
12:32 ptomli :D
12:32 sri it has to be a unicode symbol
12:33 sri thats our codename theme
12:33 sri i tend towards Heart (see topic)
12:34 sri ah, "BLACK HEART SUIT" thats the real name
12:34 marcus sri: black pawn?
12:34 sri not bad
12:35 sri http://en.wikipedia.org/wiki/Misc​ellaneous_symbols_(Unicode_block) # here are a few
12:35 marcus did you use U+2601 yet?
12:35 sri nope
12:36 marcus I guess it's an obvious mojo release, but maybe for the version that autodeploys to ec2 ;)
12:36 sri hehe
12:36 ptomli 2615
12:37 ptomli HOT BEVERAGE
12:37 marcus ooh, good one
12:37 sri :D
12:37 marcus looks like java tho
12:37 ptomli you could go with the austin powers theme....
12:37 ptomli 26A3
12:38 ptomli DOUBLED MALE SIGN
12:38 marcus 2668 is even more like java :)
12:38 marcus HOT TUB TIME MACHINE
12:38 sri number? Oo
12:39 marcus was kidding. 2668 is hot spring
12:39 sri after the emoticon addition i believe basically everything...
12:39 ptomli 2619 REVERSED ROTATED FLORAL HEART BULLET
12:39 marcus Looking forward to Mojolicious RECYCLING SYMBOL FOR TYPE-5 PLASTICS
12:39 sri http://unicode.org/Public/6.0.​0/charts/versioned/U1F600.pdf # seriously
12:40 sri SMILING CAT FACE WITH HEART-SHAPED EYES
12:40 ptomli lol
12:40 marcus or DIE FACE-1
12:41 marcus sri: those are pretty awesome
12:41 ptomli 2699 GEAR
12:41 sri so far we've only had Snowman and Comet
12:41 marcus Gear++
12:42 marcus or 2690 WHITE FLAG
12:42 marcus :)
12:43 marcus http://www.fileformat.info/inf​o/unicode/char/2692/index.htm # WTH, SHOULDNT IT BE HAMMER AND SICKLE?
12:43 phillipadsmith joined #mojo
12:44 marcus sri: http://www.fileformat.info/inf​o/unicode/char/26a3/index.htm # Mojolicious Gay
12:44 spleenjack 1F68E TROLLEYBUS
12:45 sri lol
12:45 sri marcus: thats a mining sign
12:45 marcus spleenjack: I think Oncoming bus would be better.
12:45 marcus sri: kinky
12:46 sri the first xD
12:46 sri argh
12:46 marcus aha :)
12:46 marcus too much unicode goodness
12:46 spleenjack marcus: or police car
12:46 sri HOT BEVERAGE is my favorite
12:47 marcus it's good
12:47 ptomli ++
12:49 ptomli where does the URI blah-blah -> Blah::Blah conversion happen?
12:50 sri Mojo::ByteStream::decamelize
12:50 sri or camelize actually
12:50 sri which gets called from MojoX::Dispatcher::Routes i think
12:51 ptomli yeah, _generate_class
12:52 GitHub179 joined #mojo
12:52 GitHub179 mojo: master Sebastian Riedel * 026e089 (2 files in 2 dirs): new code name - http://bit.ly/9NuFLC
12:52 GitHub179 left #mojo
12:52 ptomli was just looking if it was possible to config that handling
12:54 GitHub198 joined #mojo
12:54 GitHub198 mojo: master Sebastian Riedel * cd382dc (0 files in 0 dirs): removed deprecated file - http://bit.ly/dgSSG8
12:54 GitHub198 left #mojo
12:55 ptomli /account/credit-history Unknown command
12:55 ptomli /account/credit-history -> Account::CreditHistory
12:58 perlrocks Twitter: "The next #mojolicious release will be called "Hot Beverage". :) http://bit.ly/dcEXX1 #perl" --kraih http://twitter.com/kraih/status/24101960890
13:01 sri Cloud, Umbrella, Star, Lightning, Thunderstorm...all good names
13:02 sri marcus: here's your Hammer and Sickle ☭
13:10 marcus nice
13:10 marcus good revolutionary symbol
13:11 marcus I have the T-shirt :)
13:12 GitHub151 joined #mojo
13:12 GitHub151 mojo: master Sebastian Riedel * dadb065 (1 files in 1 dirs): cleanup - http://bit.ly/ap07SB
13:12 GitHub151 left #mojo
13:18 perlrocks Twitter: "RT @kraih: The next #mojolicious release will be called "Hot Beverage". :) http://bit.ly/dcEXX1 #perl" --esskar http://twitter.com/esskar/status/24103425719
13:18 sri esskar: i don't see the point of load_plugin_direct
13:19 esskar i want write package Foo; use base 'Mojolicious::Plugin::Cms'; ... 1;
13:19 sri esskar: we talked about that exact topic yesterday actually
13:19 esskar and load plugin 'foo';
13:20 sri app->plugin('Foo') would work just as well
13:20 ptomli lol
13:20 esskar why?
13:21 sri we just need to check the first char for uppercase to detect a module name
13:21 esskar wll, ok
13:21 esskar +e
13:22 esskar if you want to do that instead ...
13:22 sri it would be the cleaner solution, but i actually don't want it at all yet ;p
13:23 yko joined #mojo
13:23 esskar daim it ;)
13:23 sri why would anyone name a plugin Foo?
13:24 marcus why would anyone name a framework Mojo?
13:24 sri because it deserves a root namespace?
13:25 esskar sri Foo was just a "placeholder" ;)
13:25 sri we've been playing around with MyApp::Plugin::* yesterday
13:25 sri thats already possible
13:25 esskar i just read it
13:26 esskar but then you are forced to use Mojolicous without ::Lite
13:26 sri nono
13:26 sri we've stepped back and allow people to add namespaces
13:27 sri http://github.com/kraih/mojo/blob/master/​t/mojolicious/lib/MojoliciousTest.pm#L22
13:27 sri there's an example
13:27 perlrocks Twitter: "RT @kraih: The next #mojolicious release will be called "Hot Beverage". :) http://bit.ly/dcEXX1 #perl" --marcusramberg http://twitter.com/marcusr​amberg/status/24104109331
13:28 sri i'm very much interested in making plugins more fun to use, but this specific topic is quite complicated and i think we might need to gather more experience before we can move forward again
13:29 esskar hmm
13:29 sri allowing ->plugin('Foo::Bar') might be acceptable though
13:30 sri thoughts?
13:31 ptomli is Foo::Bar in that example the full package name? :)
13:31 xantus[] joined #mojo
13:32 sri it is
13:32 esskar i would like it
13:32 xantus[] it is?!
13:32 xantus[] ;)
13:33 xantus[] left #mojo
13:33 ptomli i want to look at the plugins in more detail, no comment at this point ;)
13:36 MojoGuest936 joined #mojo
13:36 MojoGuest936 From: http://www.google.de/ (2 hits)
13:37 MojoGuest936 left #mojo
13:46 ptomli is it going to be possible for me to add condition/controller/action to the my-app routes output?
13:46 ltriant left #mojo
13:47 sri not sure what you mean
13:47 ptomli when you run script/my-app routes it prints out the path and regex, i would like to see conditions and controller/action too
13:48 sri no thats not possible
13:48 ltriant joined #mojo
13:49 sri i think yko was working on a more verbose version of the command
13:49 ptomli but vti set the kgb on him, now we're lost... lost i tell you
13:51 sri indeed :/
13:59 esskar should Mojo::DOM->text not return the charset encoded text?
14:00 sri no
14:03 GitHub155 joined #mojo
14:03 GitHub155 mojo: master Sebastian Riedel * 873be4d (5 files in 5 dirs): added experimental support for loading of plugins by full module name - http://bit.ly/99HJ7D
14:03 GitHub155 left #mojo
14:07 esskar \o/
14:11 GitHub186 joined #mojo
14:11 GitHub186 mojo: master Sebastian Riedel * faa5e9c (1 files in 1 dirs): cleanup - http://bit.ly/b1Off6
14:11 GitHub186 left #mojo
14:51 awnstudio joined #mojo
14:55 Rhaen puuuh! Just finished building a crappy xml ant based toolchain for work.
14:55 Rhaen time for some fun, hand over that mojolicious sources.
14:56 yko left #mojo
14:56 * ptomli thinks it Friday evening, fun == bears & vodka
14:56 sri right, vti promised us a plugin!
14:56 Rhaen ptomli: true.
14:57 Rhaen vti: where is it? We need it _NOW_!
14:57 Rhaen :)
14:58 ptomli i had to check, but he didn't promise per se, merely mentioned that he had to write one
14:58 sri sneaky vti
14:58 vti no time today, i have to refactor some bad written C code :(
14:59 * ptomli suggests h2xs
15:01 MojoGuest743 joined #mojo
15:01 MojoGuest743 From: http://www.google.com/search?sourceid=ch​rome&ie=UTF-8&q=websockets+demo (2 hits)
15:01 MojoGuest743 test
15:01 MojoGuest743 left #mojo
15:01 ptomli boots: check, helmet: check; cash: ....
15:02 ptomli laters all
15:02 ptomli left #mojo
15:02 Rhaen is there any usable interface to couch db in perl or do you use it "plain" from mojolicous?
15:03 koban left #mojo
15:03 awnstudio left #mojo
15:04 vti Rhaen: http://github.com/vti/mojox-common​/blob/master/lib/MojoX/CouchDB.pm
15:05 vti no docs, sorry :D
15:05 Rhaen hm, ok :)
15:05 Rhaen I will look into it. However, time to go home for me. I'll start idling, see you later!
15:24 sri bbq time
15:37 xantus[] joined #mojo
15:37 xantus[] hi hi
15:51 arpadszasz left #mojo
16:00 marcus hmm
16:00 marcus Am I the only one having some trouble with google's dns servers today?
16:00 marcus xantus[]: isn't it early for you to be online here? :)
16:04 ashleydev left #mojo
16:04 ashleydev joined #mojo
16:06 xantus[] its like 11am here
16:07 xantus[] I'm in St Louis at mastercard
16:08 marcus xantus[]: lucky you
16:08 ysyrota xantus[]: what is the value of sizeof(xantus)? :)
16:08 marcus xantus[]: their firewalls allow ssh/irc?
16:11 meraxes joined #mojo
16:14 maettu left #mojo
16:20 xantus[] marcus: no, we have to use 3G so I can get to corp email @ gmail
16:20 xantus[] and corp irc chan on freenode
16:20 marcus xantus[]: the joys of enterprise consulting.
16:21 xantus[] yay...
16:21 xantus[] ysyrota: 0
16:22 xantus[] so I have to work on their windoes pc too
16:22 xantus[] *GAG*
16:23 xantus[] can't connect unapproved hardware to their network too
16:23 xantus[] lol
16:23 marcus xantus[]: why do they want you to be there at all?
16:23 sri decoration?
16:23 xantus[] lol
16:23 marcus it's like hiring a contractor and tell him he's not allowed to use any tools.
16:24 marcus "Yes, I want you to hit those nails with your bare hands. No cheating!"
16:24 * xantus[] nods
16:25 sri nobody ever got fired for not allowing something
16:25 xantus[] very limiting
16:25 xantus[] but what can you do?
16:25 sri it all comes down to that in the enterprise world
16:26 sri one of the things that sets apple apart, they take risks like a startup
16:26 marcus xantus[]: work for a startup? :)
16:29 spleenjack left #mojo
16:29 perlrocks Twitter: "Did i mention how much i love the new #mojolicious helper system? :) #perl" --kraih http://twitter.com/kraih/status/24119139062
16:38 esskar sri, what crap i'm able to do now: http://github.com/esskar/lu​zy/blob/master/lib/Luzy.pm
16:38 esskar +see
16:38 sri X_x
16:40 esskar http://github.com/esskar/luzy/blob​/master/lib/Luzy/Plugin/Iso639.pm and http://github.com/esskar/luzy/blob/master/luzy.pl
16:41 sri actually interesting
16:42 esskar i know
16:42 esskar ok, "partyevening" now ;)
16:42 sri pluggable apps with plugins
16:42 tab joined #mojo
16:42 sri you sir have redefined the term evil
16:43 esskar ]:)
16:43 tab hi
16:44 marcus tab: ho
16:44 * sri waves
16:44 sri these pluggable application experiments will be very very interesting to watch and learn from
16:45 ysyrota left #mojo
16:46 esskar first i had Mojolicious::Plugin::Cms::Plugin::Iso639 in mind
16:46 esskar but that just looked ugly
16:46 sri indeed
16:47 marcus I love Luzy?
16:47 esskar marcus, not yet, wait until i'm done with her
16:47 esskar ok got to go. the other girl is waiting
16:48 marcus esskar: you dog.
16:48 tab i´ve got an encoding problem. until now everything worked well: umlauts were displayed correctly when they came from the mysql database.
16:48 tab but now they are displayed as these stranged question marks
16:48 tab do you have any idea where i should search?
16:49 marcus tab: did you turn on utf8 in DBD::mysql?
16:50 tab no, i´m using DBIx::Class
16:50 tab i will look there
16:51 tempire left #mojo
16:53 marcus tab you probably need mysql_enable_utf8 in connect_info
16:54 tab yes, thanks.
16:54 tab i´ve added it :-)
16:54 tab i only wonder why this work so long without this option ...
16:54 GabrielVieira joined #mojo
16:55 janus autodetection was it for me
16:55 janus only a few days back i realized being an utf8nazi can have it's merits ;)
16:58 GitHub167 joined #mojo
16:58 GitHub167 mojo: master Sebastian Riedel * c909fe3 (1 files in 1 dirs): add block helper recipe - http://bit.ly/crKpPF
16:58 GitHub167 left #mojo
16:59 sri isn't it pretty? :)
17:06 sri *crickets*
17:06 * sri cries
17:13 esskar_ joined #mojo
17:16 * marcus gives sri an atomic wedgie.
17:16 marcus Now you really have something to cry about.
17:16 marcus also, my internet is borkbork, so I cannot connect to github atm
17:17 tab left #mojo
17:18 sri IT'S THE END OF THE WORLD!
17:25 sri <- getting a little crazier every day
17:37 spleenjack joined #mojo
17:39 perlrocks Twitter: "@kraih Mojolicious doesnt handle parallell fetching in Mojo:Client + keep-alive? #Mojolicious" --farnejoppa http://twitter.com/farnejoppa/status/24124438753
17:45 xantus[] left #mojo
17:45 xantus[] joined #mojo
18:04 su-bzero_ left #mojo
18:22 perlrocks left #mojo
18:48 xantus[] HOT COFFEE
18:52 marcus sri: is that true?
18:52 sri marcus: what?
18:53 marcus what farnejoppa said
18:53 sri of course not
18:53 marcus but if you are doing paralell requests to the same host?
18:53 marcus will it start parallel requests?
18:53 sri it will
18:53 marcus or use the same keepalive
18:53 marcus ok
18:54 sri fetching stuff sequential you can do yourself, wouldn't be much of a point doing that internally
18:55 marcus sri: guess he's just referring to the keep-alive issue you fixed yesterday.
18:56 sri no point guessing
18:56 sri if he wants to be understood he needs to be more specific ;p
18:56 marcus sri: it's the sysadmin from startsiden.
18:56 marcus so I'm pretty sure that is what he means
18:56 sri ah
18:58 marcus ooh, hypnotoad is in trunk now.
18:58 marcus didn't notice
18:58 sri it's not
18:59 marcus it's in changes
18:59 sri still messing with making it easier
18:59 sri the changes lie :)
18:59 marcus is it cake?
18:59 * marcus is drinking port
18:59 sri Oo
19:00 marcus cake+port == win
19:00 xantus[] port 22
19:00 marcus port wine
19:00 xantus[] ;P
19:00 xantus[] NO, PORT 22
19:00 marcus NO, IT'S ONLY 10 YEARS OLD
19:00 marcus and it won't get a lot older
19:01 xantus[] nothing is on port 10
19:01 marcus Unassigned is
19:01 xantus[] lol, port 9 is discard
19:01 marcus don't discard the port!
19:01 marcus drink it instead.
19:01 sri good wine is older than SMTP?
19:02 xantus[] :)
19:02 marcus sri: I tried a glass of 75 year old port during YAPC::EU a few years back
19:02 marcus was totally worth the 18 euros I paid for it.
19:05 sri i don't like wine at all
19:05 sri having a thing for cuban cigars though
19:06 marcus I don't like red wine
19:06 marcus port isn't the same thing tho
19:06 marcus it's more like sweet cognac.
19:08 MojoGuest757 joined #mojo
19:08 MojoGuest757 From: http://www.google.ca/url?sa=t&amp;source=web&amp;c​d=3&amp;ved=0CCkQFjAC&amp;url=http%3A%2F%2Fdev.xan​tus.org%2F&amp;rct=j&amp;q=websockets%20demo&amp;e​i=CIKKTN-nNdmRnAfLseXFCw&amp;usg=AFQjCNGw6nZv0wO42​uzUnHhWcD0vcKNULg&amp;sig2=fMtPUIIid5D887qftwhDRA (1 hits)
19:08 MojoGuest757 left #mojo
19:28 Rhaen_ joined #mojo
19:28 Drossel left #mojo
19:28 Rhaen_ hep.
19:28 Rhaen_ vti: I've checked all the repos! Have you finished the vodka plugin already?
19:30 ilyuhan joined #mojo
19:34 Drossel joined #mojo
19:35 Rhaen_ left #mojo
19:40 Rhaen_ joined #mojo
19:44 marcus sri: begin and end is pretty :)
19:45 Rhaen left #mojo
19:45 Rhaen_ is now known as Rhaen
19:46 marcus huh, so couchdbx is rebranded as couchone now
19:46 marcus interesting
19:56 marcus vti: t/mojox/couchdb/00setup.t .......................... 1/3 Fri Sep 10 21:54:53 2010 error Mojo::Client:762 [76395]: Event "read" failed for connection "IO::Socket::INET=GLOB(0x100af7ac0)": Can't locate object method "has_error" via package "Mojo::Transaction::HTTP" at /Users/marcus/Source/mojox-com​mon/lib/MojoX/CouchDB/Base.pm line 133.
19:57 marcus did Mojo::Transaction::HTTP changed?
19:59 marcus -D
19:59 marcus NEED MOAR PORT
20:01 chansen bier++
20:01 esskar_ agreed
20:03 esskar_ $c->param does not read anything from stash, does it?
20:03 esskar_ oh, it does
20:03 esskar_ thats evil
20:04 marcus $c?
20:04 esskar_ $c as in $self
20:04 esskar_ as in controller
20:05 marcus $celf
20:05 esskar_ i thought it's just s shortcut to $self->req->param
20:18 xantus[] left #mojo
20:18 xantus[] joined #mojo
20:30 Drossel left #mojo
20:48 xantus[] wait, $c->param reads from the stash?
20:50 ilyuhan left #mojo
21:00 marcus my $params = $self->stash->{'mojo.params'} || $self->req->params;
21:01 marcus so that routes can add to them, apparently
21:07 esskar_ whats {'mojo.params'}?
21:08 marcus it's a clone of the params
21:08 marcus my $p = $c->stash->{'mojo.params'} ||= $c->tx->req->params->clone;
21:16 awnstudio joined #mojo
21:17 meraxes left #mojo
21:21 xantus[] HIDE YOUR KIDS, HIDE YOUR WIFE
21:21 xantus[] http://www.youtube.com/watch?v=y54yESyq6Io
21:21 xantus[] then watch this one
21:21 xantus[] http://www.youtube.com/wat​ch?v=hMtZfW2z9dw&amp;NR=1
21:21 tholen42 left #mojo
21:22 tholen42 joined #mojo
21:23 perlite_ left #mojo
21:23 perlite joined #mojo
21:28 tholen42 left #mojo
21:28 tholen42 joined #mojo
21:43 awnstudio left #mojo
21:43 tholen42 left #mojo
21:51 xantus[] left #mojo
21:51 xantus[] joined #mojo
21:53 sri esskar: not the whole stash
21:53 sri $self->param is $self->req->param + route captures
21:53 sri only captured values, not the whole stash
21:55 sri marcus: still says couchdbx here
21:57 xantus[] left #mojo
22:00 sri you americans are weird
22:00 sri i'll never click on a youtube link again
22:01 awnstudio joined #mojo
22:14 GitHub177 joined #mojo
22:14 GitHub177 mojo: master Sebastian Riedel * 98f478d (1 files in 1 dirs): cleanup - http://bit.ly/cwynER
22:14 GitHub177 left #mojo
22:24 vti whiskey!
22:31 sri !
22:54 Kulag joined #mojo
23:33 tempire joined #mojo
23:37 tempire americans++ !
23:37 tempire http://www.youtube.com/watch?v=OQSNhk5ICTI
23:52 spleenjack left #mojo

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