Camelia, the Perl 6 bug

IRC log for #mojo, 2010-09-16

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

All times shown according to UTC.

Time Nick Message
00:07 tl left #mojo
00:07 tl joined #mojo
00:09 meraxes left #mojo
00:30 omega can't you use hashrefs for different value and label?
00:31 omega oi, sorry, was scrolled up here
00:45 awnstudio left #mojo
00:57 meraxes joined #mojo
02:12 GabrielVieira left #mojo
02:35 janus left #mojo
03:01 yakudzo joined #mojo
03:13 janus joined #mojo
03:37 Kulag left #mojo
03:39 Kulag joined #mojo
04:03 tholen42 joined #mojo
04:05 tl left #mojo
04:21 Kulag left #mojo
04:25 gabiruh_ joined #mojo
04:25 gabiruh left #mojo
04:28 Foxcool joined #mojo
04:37 Kulag joined #mojo
05:08 Kulag left #mojo
05:11 kvorg left #mojo
05:21 Kulag joined #mojo
05:30 Foxcool left #mojo
05:35 kvorg joined #mojo
05:40 yakudzo I use mojo with couple of perl modules that hosting do not have, eg XML::Simple. Is there any solutions to add this modules to mojo applications. To get as the result complite working application on any host that has only perl installed ?
05:40 yakudzo Or I need to do some kind of installator
05:40 yakudzo that will install all needed modules automatically ?
05:41 cognominal left #mojo
05:45 Kulag left #mojo
05:45 kvorg omega: I could do name-value pairs in hashrefs and option groups in arrayrefs, giving [ 'item', { named=>'item'}, groupname=>[ 'item2', { named2=>'item2', 'etc'] ]
05:46 kvorg *{item2'},
05:46 Foxcool joined #mojo
05:46 kvorg but it is not exactly pretty. sri?
05:54 kvorg given the less frequent use of option groups, i will go with {} pairs for option groups and [] pairs for named options:
05:55 kvorg [ 'item', [ named=>'item'], { groupname=>[ 'item2', [ named2=>'item2'], 'etc'} ]
05:58 Kulag joined #mojo
06:09 DM joined #mojo
06:13 yakudzo any help please
06:13 yakudzo ?
06:21 omega kvorg: I really like it better the other way around
06:22 omega key => value makes more sense in a hashref to me
06:23 kvorg you are right there, but aren't name=>value and optiongroup=>[options] bot key=>value situations?
06:24 omega I guess
06:24 kvorg in the end, sri was right, all can be done with [] since name=>value can not have a ref for the value, and option group has to
06:24 kvorg isn't this too complicated? [ 'item', { named=>'item'}, { groupname=>[ 'item2', { named2=>'item2'}, 'etc'} ]
06:25 kvorg oh, should be: [ 'item', { named=>'item'}, { groupname=>[ 'item2', { named2=>'item2'}, 'etc']} ]
06:26 kvorg alternative is: [ 'item', [ named=>'item'], [ groupname=>[ 'item2', [ named2=>'item2'], 'etc']] ]
06:26 kvorg oh, should be: [ 'item', { named=>'item'}, { groupname=>[ 'item2', { named2=>'item2'}, 'etc']} ]
06:26 kvorg [ 'item', { named=>'item'}, { groupname=>[ 'item2', { named2=>'item2'}, 'etc']} ]
06:26 kvorg [ 'item', [ named=>'item'], [ groupname=>[ 'item2', [ named2=>'item2'], 'etc']] ]
06:28 omega I think I would like a mix: [ 'item', { named => 'item' }, [ groupname => [ 'blah' ] ] ]
06:29 omega but I won't meddle too much :p
06:29 omega kvorg: pick which ever one your most happy with, thats the most important
06:30 kvorg thanks for the input, but i think sri is pretty good at filtering out unreadable syntax ... so if I miss, he will fix it
06:31 awnstudio joined #mojo
06:35 und3f[A] is now known as und3f
06:35 Kulag left #mojo
06:36 Kulag joined #mojo
06:42 awnstudio left #mojo
06:45 esskar joined #mojo
06:45 jest joined #mojo
06:45 esskar hi
06:45 esskar i get "Waiting for delayed response, forgot to render or resume?"
06:45 esskar since this morning
06:46 esskar strangly, i havent changed i line of code since 1 week
06:46 esskar but updated mojo
06:46 esskar on the maschine the script is running on
06:46 dotan joined #mojo
06:46 esskar any thoughts?
06:50 esskar hmm
06:51 esskar ladder/under and WWW-Authenticate is not working anymore
06:55 awnstudio joined #mojo
07:00 dotan yakudzo: if you have a shell account, you can use Cpan Minus and local::lib (well, local::lib didn't work for me).
07:01 yakudzo dotan, thats is a problem I do not have shell account there I need some kind of installator ):
07:01 dotan yakudzo: if the modules don't require compilation, you can just install them in a local directory and add use lib '/myaccount/myperl/lib'; at the top of your scripts.
07:02 yakudzo thanks. Hope it will help
07:03 yakudzo And I hope I dont use modules that require compilation
07:03 yakudzo (:
07:03 dotan yakudzo: if the module is pure perl, it should be that simple.
07:05 dotan if it requires compilation, you'll need to know the architecture of the hosting server and maybe the versions of dynamic libs installed...
07:06 dotan And if your XML::Simple use is simple, look at Mojo::DOM as a simple pure perl alternative with no dependancies.
07:11 yakudzo dotan, actually would need to install mojolicious there too (:
07:11 tholen42 left #mojo
07:13 tholen joined #mojo
07:14 dotan yakudzo: by "install to a directory" I mean "put the files in a directory" - get the latest tarball of the CPAN module you need or the latest git version of mojolicious and ftp the contents of the "lib" directory to a directory on your hosting server (preserving the directory structure).
07:16 dotan Then at the top of your mojolicious or mojolicious::lite script, add the "use lib" line (above any other "use" statements). The directory will be added to the list of directories where perl searches for modules (the @INC variable).
07:16 yakudzo gr8
07:17 yakudzo many thanks dotan. If I finish deployment and installation issues today my boss will let me to go to vacation (:
07:21 janus moin
07:23 und3f is now known as und3f[A]
07:39 Rhaen good morning, everyone!
07:41 zoo-zed joined #mojo
07:42 zoo-zed left #mojo
07:51 perlrocks Twitter: "is adding some more magic to Mojolicious::Plugin::WriteExcel thanks to kraih's new app->helper: http://tinyurl... http://plurk.com/p/7l2lcd" --zakame http://twitter.com/zakame/status/24645437680
08:08 kvorg http://github.com/kvorg/mojo/tree/taghelpers for updated form tags support (persistent values now also in radiobuttons, support for option - menus)
08:09 kvorg yakudzo: be careful, XML::Simple requres binary modules and the expat library, so you might have issues with missing files, mismatched libraries and the like if you are not very careful
08:10 kvorg yakudzo: but Mojolicious itself is a perl-only well behaved package that you can just stuff in a lib/ dir and set PERL5LIB accordingly
08:11 Rhaen I'd prefer setting just lib.
08:11 Rhaen Messing around with env inside webapplications tend to be dangerous
08:12 yakudzo wow did not know that XML::Simple is so heavy. thanks will check it out
08:12 kvorg ah, use lib? of course
08:12 Rhaen not in case of security, more in a manner of stability of other apps :)
08:12 spleenjack joined #mojo
08:12 Rhaen yakudzo: if you need to install a full blown module suite check out local::lib on CPAN which does the job for you
08:12 kvorg it is not heavy, its dependencies are: XML::Simple requires either XML::Parser or XML::SAX.
08:14 kvorg XM::Parser iuses XML::Parser::Expat, which is a lower level interface to James Clark's expat library
08:14 Rhaen and is based on xs :)
08:15 kvorg XML::SAX uses XML2 by default, I think, but you can try to get away with XML::SAX::PurePerl
08:49 vti .цшт 5
08:49 vti oops
08:50 kvorg there u have it for UTF compatibiliy
08:51 omega ¿uǝɥʇ sı̣ɥʇ ʇnoqɐ ʍoɥ  
08:54 vti omega: ;p
09:11 jest left #mojo
09:14 esskar !tweet #mojolicious is awesome!
09:14 perlrocks esskar: http://twitter.com/perlrocks/status/24649053124
09:14 perlrocks Twitter: "#mojolicious is awesome! --esskar" --perlrocks http://twitter.com/perlrocks/status/24649053124
09:15 perlrocks Twitter: "RT @perlrocks: #mojolicious is awesome! --esskar" --esskar http://twitter.com/esskar/status/24649101805
09:39 und3f[A] is now known as und3f
09:50 awnstudio left #mojo
09:51 kvorg omega: can you also do an inverted snowman? ☃
09:52 omega theres lots you can do :)
09:52 kvorg nice, web log survived, albeit the fonts in firefox do not look half as nice ...
09:53 kvorg yeah, i went with rxvt-unicode for terminal because of niceties such as extensive UTF support (and embedded perl with perl regex search in the scrollback buffer, and it is tiny)
09:53 kvorg on the other hand, I still get confused when shipping utf through Mojolicious: form->url->param->html|form value
09:55 kvorg anyone knows how to get correct escaping for value="" and only escape html, but not convert utf into escaped entities, when displaying the value?
09:55 kvorg probably too simple for me to comprehend
09:58 und3f is now known as und3f[A]
10:00 vti kvorg: there is automatic escaping, and it does nothing to utf afaik
10:13 kvorg what is the currently recommended way to get params into the template, then?
10:14 kvorg my attemps appear unsuccessful: http://pastie.org/1162481
10:14 vti kvorg: and what's the result?
10:15 kvorg if i enter <i>punčka</i>, i get <i>pun&#269;ka</i> for escaped (with escaped entities so that they render as &# etc.) and for unescaped, it is, of course, in italics.
10:16 kvorg what I would like to see, is what is in the text input window: escaped tags, but entities rendered properly
10:16 kvorg hit me, i have the brown paper bag ready
10:17 vti hm
10:17 vti i thought escaping from just xml_escape and not html_escape
10:19 kvorg i tought the problem is that going through the get request converts utf to entites, and entities get escaped
10:20 vti are you using utf8 plugin?
10:20 kvorg no, isnt't utf8 now a default?
10:21 vti kvorg: try plugin 'charset' => {charset => 'utf-8'};
10:21 kvorg wow, that worked like a charm
10:22 * kvorg applies the brown paper bag to self.
10:22 kvorg with the new tag helpers, I am all set. perhaps we should put some more form handling examples into Mojolicious::Lite now.
10:23 Kulag left #mojo
10:27 Kulag joined #mojo
10:28 kvorg hmm, with the new tag helpers and this, I get to delete half of my program :-)
10:29 vti kvorg: deleting always feels good :)
10:29 esskar how do i enable debug logging in Mojolicious; i tried setting MOJO_LOG_LEVEL=debug
10:29 esskar and
10:29 esskar $self->log->level('debug');
10:30 esskar nothing getts debugged
10:30 kvorg if you are missing a log file, mkdir log
10:31 esskar ah, log file ... *head bang
10:31 kvorg if you are not having any on STDOUT, set MOJO_MODE to develoment or use the command line option --mode development (but it is the default)
10:31 kvorg yeah, that was my reaction ... with sri, always have a brown paper bag on the ready
10:32 vti what's the joke behind a brown paper bag? :)
10:32 kvorg u can delete/remove the dir if you want STDERR.
10:32 kvorg but there is nothing wrong with tail -F
10:33 kvorg context is american cartoons: u put one on your head when feeling very stupid
10:33 kvorg there was a brown paper bag release of linux kernel a few days after a new very unstable version was released as stable one day
10:34 kvorg vti: but u don't seem to need it much ...
10:36 vti kvorg: :)
10:37 esskar first time using Mojolicious
10:37 esskar only used Lite before
10:40 gabiruh_ is now known as gabiruh
10:50 Kulag left #mojo
10:52 kvorg there is a general lack of Mojolicous non-lite examples :-(
10:54 Kulag joined #mojo
10:54 Foxcool left #mojo
10:58 DM left #mojo
10:58 esskar i thinking about internal routes/hooks in luzy
10:59 esskar +am
11:00 esskar /foo/bar right now searches for a content page called /foo/bar.en.cms
11:00 esskar and just displays it
11:00 Kulag left #mojo
11:00 esskar additional hooks would be nice
11:01 esskar so that plugins could provide addional data
11:01 esskar but that feels like another mojo inside mojo
11:01 esskar not sure if its making sense
11:01 esskar any thoughts?
11:02 janus hooks for what?
11:02 esskar you know luzy?
11:02 janus at least the code, yes
11:02 janus (nice example btw)
11:03 esskar so, you can manage your content
11:03 Kulag joined #mojo
11:03 esskar but now you would like to add functionality to your content
11:04 esskar hmm
11:04 janus ah, and that wouldn't be in the content nor the content itself?
11:04 esskar yes
11:04 esskar but i think, it's better to have a content renderer
11:05 esskar so you write [random_number] for example inside your content markup
11:05 esskar und [random_number] will be replaced with a random number
11:06 esskar s/u/a/
11:07 esskar or like <!-- more --> switch in wordpress
11:09 Kulag left #mojo
11:10 Kulag joined #mojo
11:11 janus and it needs to be known in advance or can has a namespace where those funtions can be found and error are thrown in case of misses?
11:14 janus another question is how much it influences urls or is influenced by plugins
11:15 janus s, or,$& an url,
11:18 jest joined #mojo
11:24 koban joined #mojo
11:24 koban left #mojo
11:48 murata left #mojo
11:58 janus also, my questions wrt/ route modifications a few days back seem related ;)
12:17 yakudzo left #mojo
12:29 murata joined #mojo
12:32 vti sri: looks like you have a new competitor http://github.com/petermichaux/Perl-Web-Framework *lol*
13:04 cognominal joined #mojo
13:38 kvorg that is so cool, i think i understand all of the documentation of the Perl-Web-Framework
13:40 sri vti: lol
13:41 kvorg sri: was that useful at all or too horrible to look upon?
13:41 sri kvorg: been away for the whole day, just catching up with everything
13:42 kvorg sorry ... i was boxed in the office the whole day, was looking for distractions
13:47 sri oh my, no tests
13:48 esskar sri, do you recomment using Mojo::DOM to replace content on the fly?
13:49 sri esskar: guess it can do the job
13:50 esskar fast?
13:50 esskar ;)
13:50 sri as fast as a pure perl module can do it
13:50 sri if you want performance go C
13:50 sri or even assembler
13:51 sri everything is a tradeoff
13:53 sri kvorg: no tests means it will take a very long time for me to apply the patches
13:54 sri hmm, you also put like 3 changes in the patch set :S
13:56 sri kvorg: why did you decide to aupport nested groups?
13:56 sri s/a/s/
13:57 janus esskar: be careful at least, i tried it with libxml and it failed because of immense xpath lookup costs
13:57 jest left #mojo
13:57 esskar janus: what did you try?
13:58 janus esskar: working with and modifying xml
13:58 esskar ok
14:00 janus i've come to the conclusion that xml is ok for data exchange, which usually is a materialization of data structures as input and/or output but rarely in between.
14:01 janus essentially boils down to not use xml as backend storage format because of high costs in comparison to other models... but then there are different oppinions out there i'm aware of :)
14:02 sri good conclusion
14:08 kvorg sri: to tell you the truth, I though you could tell me if this approach is acceptable at all before i finish. i can fix that and do the tests and publish again
14:09 sri ah
14:09 sri why hashref again?
14:09 kvorg sri: but it would be nice to know if it is generally too ugly or not
14:10 kvorg damn, did i leave the hash ref in the docs?
14:10 sri yes
14:10 * kvorg fetches the brown paper bag again.
14:10 kvorg will fix docs, it is all []
14:10 sri good, then it is acceptable
14:11 sri please turn your commits into a single one next time
14:11 kvorg <%= selection 'both', [ [a => [[abar => 'A Bar'], [abaz=>'A Baz']] ] ] %>
14:11 sri ok, thats what we decided yesterday afair
14:11 vti looks scary
14:11 kvorg ah, i misintepreted your instructions
14:11 sri no reason why it should be worse today :)
14:12 sri vti: it's generating scary stuff
14:12 kvorg vti: that is the most scary combination, most of the time we should have [ qw/ a b c / ]
14:12 kvorg so i refactor, fix recursion and resubmit?
14:13 sri and flatten the commits
14:13 sri no need to have your whole history in the mojo repo
14:13 kvorg but the recursive parsing with function reference is not too hairy?
14:13 sri i've not looked at internals
14:13 kvorg ah, ok.
14:13 kvorg then don't, i'll give you docs instead
14:14 kvorg *tests, not docs
14:14 sri at some point i will have to look ;p
14:14 sri why would you need recursion?
14:14 kvorg another issue: the w3 recommendation says we should have default values for selects and radio buttons. ideas for the syntax?
14:15 sri ignore the w3c recommendation
14:15 kvorg i can do that gladly
14:15 kvorg to parse the name, value pairs on the first level and inside option groups
14:15 sri hmm, i don't see why you can't do it without
14:16 kvorg there is a reason why i submit most patches to the docs, you know
14:45 kvorg left #mojo
14:58 perlrocks Twitter: "Added support for resolvers EXPERIMENTAL http://github.com/esskar/luzy Luzy # cms # # # perl mojolicious" (pt) --esskar http://twitter.com/esskar/status/24670924013
14:58 esskar wtf
14:58 esskar i did not right it like that
15:00 esskar perlrocks changed the sentence oO
15:02 GabrielVieira joined #mojo
15:06 esskar any thoughts to that? http://github.com/esskar/luzy/blob/maste​r/lib/Mojolicious/Plugin/Cms/Resolver.pm
15:09 sri esskar: perlrocks thinks your language is pt
15:09 sri so it goes through google translate
15:09 esskar portuguese?
15:09 sri ye
15:09 esskar nice
15:10 esskar will add this language to my CV then
15:10 esskar next to tacheles und kaudawelch
15:10 janus heh :)
15:10 esskar s/u/a/
15:10 sri if google says you speak pt then i guess you do
15:12 esskar i think that counts as a reference
15:14 esskar try Lingua::Identify
15:40 sri i don't understand why so few people actually do TDD
15:40 sri it is so much better
15:49 esskar lazyness
15:53 awnstudio joined #mojo
15:59 janus blocks in perl are so much more powerful than any switch statement... :)
16:02 janus you can do it in c too by abusing loop context (do {} while (0)), but that gives even more features :)
16:04 dotan left #mojo
16:05 janus to kinda put it into mojo perspective: sub { my $self = shift; { last unless($self->req->method eq 'POST'); $do->something(); return $self->redirect_to($somewhere); } $self->render('default'); }
16:06 meraxes left #mojo
16:07 janus i think i need to write a proper article or something
16:07 meraxes joined #mojo
16:09 esskar changed the resolver interface
16:12 GabrielVieira left #mojo
16:12 esskar now you can replace by css3 selectors
16:13 esskar $self->resolver->bind( time => sub { time } );
16:14 esskar and in the content you write <time />
16:14 perlrocks Twitter: "Mojo::DOM is great! #mojolicious #mojo #perl" --esskar http://twitter.com/esskar/status/24677374352
16:16 Rhaen Yay!
16:16 Rhaen I just started a wiki (for myself) with mojo lofi examples
16:16 Rhaen maybe it might be useful - one day.
16:17 Rhaen at least for me.
16:17 Rhaen :)
16:17 esskar you could use luzy
16:18 Rhaen who is this girl luzy?
16:18 Rhaen And where can I find her?
16:18 esskar just write a Converter for wiki code
16:18 Rhaen what for?
16:18 esskar Rhaen: http://github.com/esskar/luzy
16:19 Rhaen ah! NICE!
16:19 esskar a converter like http://github.com/esskar/luzy/blob/master/lib​/Mojolicious/Plugin/Cms/Converter/Markdown.pm
16:19 Rhaen let me advance a little bit :)
16:20 esskar luzy already supports multi-language content and revisions
16:20 Rhaen hm. ok ok ok.
16:21 Rhaen I'll have a closer look!
16:21 Rhaen your project is being watched!
16:21 Rhaen *points*
16:23 sri did kvorg run away? :o
16:23 Rhaen hm, sri?
16:23 Rhaen sri!
16:23 sri that me!
16:23 sri *+s
16:24 Rhaen Do you have a working tmbundle for TM for mojo?
16:24 sri had
16:24 Rhaen ah.
16:24 Rhaen o.
16:24 Rhaen well well.
16:24 sri deleted it after switching to macvim
16:24 sri you can have it if you want to take it over
16:24 Rhaen cool. same here
16:24 sri ah
16:24 Rhaen why Macvim?
16:24 Rhaen because it looks so cool?
16:24 sri ye
16:25 Rhaen ah, that's always the most important thing when choosing editors!
16:25 esskar i closed vim again after 5 minutes
16:25 sri http://twitpic.com/2o3twl/full # love looking at my vim theme :)
16:25 Rhaen why should I code something when I can configure an editor!
16:26 Rhaen :)
16:26 Rhaen nice!
16:26 sri esskar: pure vim sucks
16:26 sri i needed nerdtree and ack.vim before i could work again
16:27 Rhaen oh, yep. really! nerdtree is awesome.
16:27 Rhaen Do you use any specific perl plugins?
16:28 sri nope
16:29 sri but my vimrc is growing every day
16:29 janus hm, reminds me... folding support for closures is missing
16:29 sri lots of custom mappings for buffer switching and stuff
16:31 Rhaen same here. :)
16:32 Rhaen I found it useful to put it in git :)
16:40 esskar cannot find the vim plugin folder in windows
16:40 esskar ok
16:47 sri hmm, twitpic sucks, i really need an alternative
16:51 spleenjack left #mojo
17:04 Rhaen hm.
17:04 Rhaen ok, off to the local BSE
17:05 Rhaen (Berkeley Social Event) - a meeting for the BSD guys
17:07 perlrocks Twitter: "nerdtree makes #vim so much better. http://twitpic.com/2p0aiq/full #perl #mojolicious" --kraih http://twitter.com/kraih/status/24681491530
17:12 tempire TDD FTW.  Makes programming enjoyable.
17:13 tempire esskar: did you work out the 'Waiting for delayed response, forgot to render or resume?' error?
17:13 esskar tempire: nope
17:13 tempire if not, it's due to the changes in async txns.
17:13 esskar i removed my ladder for now
17:13 tempire mojolicious assumes async unless otherwise specified
17:14 und3f[A] is now known as und3f
17:14 tempire you need to render specifically at the end of the controller action
17:14 sri yes, rendering is a requirement
17:14 sri or at least $self->rendered
17:14 tempire as of .999930
17:15 esskar so in the ladder?
17:15 esskar or where?
17:15 sri whenever you are done
17:15 sri if the ladder ends processig you need to render
17:15 esskar ok
17:16 sri otherwise it will expect a delayed response as in long polling
17:16 tempire I just accepted a job in Malaysia.
17:16 * tempire wonders if he's crazy
17:16 sri tempire: you're crazy :)
17:17 tempire excellent.
17:18 sri esskar: we've done this so there is no requirement for pause/resume anymore
17:19 sri async client requests int he background now *just work* with $self->client->async->get('kraih.com' => sub {...});
17:20 sri you simply render delayed in the callback
17:20 esskar ok
17:21 esskar i did not notice it yesterday, since the broweer cached my credenials
17:24 sri generating responses without rendering was a gamble before anyway, it didn't work everywhere
17:24 sri now it's consistent :)
17:27 tempire damnit sri.
17:27 tempire your theme still looks better than mine.
17:27 sri \o/
17:27 tempire post it!
17:29 perlrocks Twitter: "Here's the latest version of my #vim theme, it's not finished yet though. :) http://pastie.org/1163228 #perl #mojolicious" --kraih http://twitter.com/kraih/status/24683095573
17:30 tempire The vim pastie plugin doesn't work for me.  I need to dig into the internals, it would be quite useful.
17:40 sri i'm still trying to use as few plugins as possible
17:43 [1]awnstudio joined #mojo
17:43 vti sri: nerdcommenter is nice too
17:43 vti and snipMate!!!
17:44 sri i might pick up snipmate too
17:45 sri hmm, wonder if i should just finish kvorgs patch or wait for him to return :S
17:49 sri guess i'll just start merging the simple changes i understand
17:50 spleenjack joined #mojo
17:51 [1]awnstudio left #mojo
17:51 sri annoying when people don't use perltidy
17:52 sri is there any excuse not to?
17:54 vti whip is not heavy enough
17:55 sri whip is broken :(
17:57 dotan joined #mojo
18:01 vti sri: why? ::)
18:02 * sri shrugs
18:02 sri and why do you have 4 eyes? Oo
18:03 vti sri: typo!!
18:04 sri yeye...
18:05 sri all aliens would say that
18:06 * vti atomizes sri
18:07 * sri vaporizes into a dust cloud
18:08 sri http://www.youtube.com/watch?v=54-hxIwQH-A
18:17 vti sri: :D
18:29 GitHub121 joined #mojo
18:29 GitHub121 mojo: master Sebastian Riedel * e6a8418 (3 files in 3 dirs): added support for radiobuttons to Mojolicious::Plugin::TagHelpers - http://bit.ly/cIFWTn
18:29 GitHub121 left #mojo
18:56 dotan left #mojo
19:08 vti home-made wine is good
19:39 tempire left #mojo
19:40 Rhaen_ joined #mojo
19:44 GitHub163 joined #mojo
19:44 GitHub163 mojo: master Sebastian Riedel * 0853269 (3 files in 3 dirs): added many new tag helpers to Mojolicious::Plugin::TagHelpers - http://bit.ly/cf8NUU
19:44 GitHub163 left #mojo
19:44 sri those should be fun
19:45 sri makes the input helper kinda obsolete
19:45 Rhaen left #mojo
19:45 Rhaen_ is now known as Rhaen
19:49 vti you always make my code obsolete
19:49 * vti cries
19:49 sri aww
19:49 * sri hugs vti
19:50 Rhaen awww. how nice!
20:00 tempire joined #mojo
20:08 GitHub99 joined #mojo
20:08 GitHub99 mojo: master Sebastian Riedel * a513ea9 (3 files in 3 dirs): added even more tag helpers - http://bit.ly/brNlDb
20:08 GitHub99 left #mojo
20:08 sri :)
20:09 vti i demand 'vti' tag!
20:09 sri accepted
20:09 sri $app->helper(vti => sub { sleep 30 });
20:09 sri :D
20:10 * vti cries
20:10 sri BECAUSE YOU ARE A SLACKER!
20:10 vti me?
20:10 vti maybe
20:11 vti i have two jobs now, switching is hard :D
20:12 perlrocks Twitter: "Added many fun new tag helpers to #mojolicious today. :) http://bit.ly/dfdWxc http://bit.ly/dpyXdw #perl" --kraih http://twitter.com/kraih/status/24693771619
20:17 perlrocks Twitter: "Added many fun new tag helpers to #mojolicious today. :) http://bit.ly/dfdWxc http://bit.ly/dpyXdw #perl (via @kraih)" --vtivti http://twitter.com/vtivti/status/24694160821
20:51 kvorg joined #mojo
21:01 spleenjack left #mojo
21:05 vti sri: where is hypnotoad???!!
21:06 sri over there ->
21:06 sri in the other window
21:07 vti new channel? ;p
21:07 sri nope, the vim window
21:07 janus an asciitoad?
21:08 vti sri: ^W w nothing's there
21:31 GabrielVieira joined #mojo
21:59 perlite left #mojo
22:00 perlite joined #mojo
22:01 ltriant joined #mojo
22:03 keith left #mojo
22:13 und3f is now known as und3f[A]
22:38 sri http://www.ahinea.com/en/tec​h/perl-unicode-struggle.html # quite good
22:38 sri for those that think they understand perl unicde but really don't
22:38 sri :)
22:42 sri kvorg: waiting for the patch :)
22:42 kvorg sri: the pull request is waiting in your inbox
22:42 sri kvorg: i've already added a few helpers in case you didn't notice
22:42 sri :O
22:42 sri \o/
22:42 kvorg well, it was waiting all of 1 minute, but it was great writing that answer
22:43 kvorg ooooh, I have noticed and enjoyed very very mucho
22:43 kvorg my program is getting shorter and shorter ...
22:43 sri oh, that patch looks much better
22:43 sri one patch, perfect
22:44 kvorg sorry, the first attempt was kinda cry for help in order to get smacked in the right direction B-)
22:44 sri some lines are longer than 80 chars though
22:44 sri but i can clean that up
22:46 kvorg hmmm i pulled tricks on perltidy?
22:47 sri the test
22:47 sri select will get its own test though, no big deal
22:49 kvorg even better, but i have to get up eary and had no stamina for that
22:50 kvorg bye, thanx
22:50 sri nn
22:50 sri kvorg++
22:51 chansen sri: unicode is quite simple: if you got a UTF-X string without knowing the users intend output encoding, the only safe thing is to downgrade it or fail because you can't tell the difference between a upgraded Latin1 string or a decoded unicode string since they are internally represented as the same
22:52 chansen there is unfortunately no meta about the decoded or intended output encoding :(
22:53 [1]awnstudio joined #mojo
22:56 kvorg left #mojo
22:57 chansen but don't think I have ignored the problem, I have prototype of a working solution: http://nopaste.snit.ch/23397
23:18 [1]awnstudio is now known as awnstudio-h
23:42 dotan joined #mojo
23:47 sri chansen: quite sure we've talked about that before :)

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