Camelia, the Perl 6 bug

IRC log for #mojo, 2012-06-14

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

All times shown according to UTC.

Time Nick Message
00:10 ispy_ joined #mojo
00:23 ispy_ joined #mojo
00:30 ispy_ joined #mojo
00:37 ispy_ joined #mojo
00:59 laouji joined #mojo
01:02 scott_ joined #mojo
01:04 mojocasts joined #mojo
01:05 mojocasts hello hello
01:05 tempire hello
01:21 mason joined #mojo
01:40 rwstauner joined #mojo
01:44 pointer joined #mojo
01:44 mason joined #mojo
01:48 mason left #mojo
01:49 mason joined #mojo
01:56 d4rkie joined #mojo
01:59 rem_lex|pivo joined #mojo
02:06 rwstauner joined #mojo
02:27 Foxcool joined #mojo
02:41 ispy_ joined #mojo
02:52 sri \o\
02:52 sri /o/
02:54 tempire \o
02:54 tempire o/
02:57 mason joined #mojo
03:09 xiaoyafeng joined #mojo
03:14 xiaoyafeng joined #mojo
03:16 gryphon joined #mojo
04:12 Leandr joined #mojo
04:59 laouji joined #mojo
05:00 tempire wonder how idraw compares to sketch
05:13 sri tempire: don't bother
05:14 sri nothing comes close to sketch 2
05:14 ovnimancer joined #mojo
05:20 Leandr joined #mojo
05:43 tempire thinking about making the deploy command only upload only public and templates
05:46 tempire would fix the issue of trying to upload a huge directory
05:46 tempire sri: anything I'm missing?
05:47 sri tempire: bad idea, more directories are not uncommon
05:47 tempire for lite apps?
05:47 sri like a directory for uploads
05:48 tempire ah
05:48 tempire oh, I can just alert the intention of uploading the directory in question
05:48 sri or a directory for a tiny sqlite db
05:48 tempire so when it hangs for a while, they'll read and understand what's happnin
05:50 d4rkie joined #mojo
06:17 GitHub154 joined #mojo
06:17 GitHub154 [mojo] kraih pushed 1 new commit to master: http://git.io/24xwgA
06:17 GitHub154 [mojo/master] removed 449 status code - Sebastian Riedel
06:17 GitHub154 left #mojo
06:19 sri i guess 509 is so common it makes sense to just keep it
06:20 sri http://gwan.ch # haha, not sure if troll or stupid
06:22 sri http://gwan.ch/faq#license # has to be a troll
06:29 tempire oh!  http://blog.yapcna.org/post/2​5069765587/streaming-via-vlc
06:31 sri :O
06:39 fhelmber_ joined #mojo
06:41 Vandal joined #mojo
07:05 scott__ joined #mojo
07:13 dominik joined #mojo
07:16 marcus I've stopped using the norwegian keyboard bindings on the mac now.
07:17 marcus Only using alt-a alt-o and alt-q instead.
07:17 marcus Møøøøse!
07:18 batman joined #mojo
07:18 marcus sri: I think stupid.
07:19 * sri has been using us keyboards for years
07:21 marcus I've been switching back and forth with a keybinding
07:21 marcus but it's frusterating to not know what state your keyboard is in.
07:23 sri if i ever need umlauts i just keep the key pressed in lion
07:23 * sri likes that lion feature
07:23 marcus yeah, but here it maps the alt-a to å and alt-q to œ and alt-o to ø
07:24 sri Møøøøøøøøøøøøse
07:24 marcus not sure why it does that when I use the canadian keyboard layout, but it makes me happy.
07:25 marcus sri: it does the same for you?
07:25 sri yea
07:31 AmeliePoulain joined #mojo
07:37 AmeliePoulain joined #mojo
07:37 marcus hmm, the other talks have more stars than glen's :-/
07:38 AmeliePoulain joined #mojo
07:39 marcus petdance and cwest plan to attend it, I see.
07:41 pau4o joined #mojo
07:42 marcus sri: there's a talk for you as well today, I see - http://act.yapcna.org/2012/talk/179
07:43 sri \o/
07:45 marcus sri: when is tempire's talk in normal time?
07:53 sri marcus: 21:30 i believe
07:58 mire joined #mojo
08:00 osprey_ joined #mojo
08:02 phillipadsmith joined #mojo
08:19 hugh joined #mojo
08:38 cosmincx joined #mojo
08:45 fhelmbe__ joined #mojo
08:47 fhelmber_ joined #mojo
08:47 hugh left #mojo
08:49 sri oh, i didn't know pcre had jit :o
08:52 daxim joined #mojo
09:01 phillipadsmith joined #mojo
09:33 ysyrota joined #mojo
10:00 chansen joined #mojo
10:05 Vandal joined #mojo
10:15 andrefs joined #mojo
10:49 cosmincx joined #mojo
10:50 andrefs joined #mojo
10:51 ki0 joined #mojo
10:55 pau4o joined #mojo
11:26 GitHub173 joined #mojo
11:26 GitHub173 [mojo] kraih pushed 1 new commit to master: http://git.io/mDx9CQ
11:26 GitHub173 [mojo/master] switched from HMAC-MD5 to HMAC-SHA1 for signed cookies - Sebastian Riedel
11:26 GitHub173 left #mojo
11:31 preflex_ joined #mojo
11:44 sri wonder at which point a Changes file should be cleaned up
11:44 sri ours is now almost 3000 lines
12:01 stephan48 probably list the changes from 1 major to another major and the older changes in a wiki page which is linked from the changes fiele?
12:01 stephan48 file*
12:05 sri tempire: oh i know what you need to show in your talk, the failraptor! :D
12:05 stephan48 "this is what haunts your when your code fails"
12:28 dhoss sri: have you written up a "catalyst vs mojolicious" article yet?
12:29 sri dhoss: nope, and am not planning to
12:29 stephan48 dhoss: why?
12:30 stephan48 dhoss: each framework has its advantages
12:30 dhoss stephan48: same reason someone compares rails and catalyst, or DBIx::Class::Passphrase vs DBIx::Class::EncodedColumn
12:31 dhoss it would also be interesting to see what sri has to say about things he felt he did better in mojolicious
12:31 dhoss etc
12:31 dhoss i'm probably just trolling right now
12:32 sri i've touched that subject in an interview, but i don't think it's important enough for an article
12:33 sri http://www.activestate.com/blog/2011/02​/mojolicious-interview-sebastian-riedel # over a year ago though
12:34 sri http://mojolicio.us/perldoc/Mojolicio​us/Guides/FAQ#How_does_Mojolicious_co​mpare_to_other_Perl_web_frameworks3F
12:34 sri i like the FAQ answer more
12:34 dhoss i enjoy that it supports web socket stuff
12:36 osprey_ left #mojo
12:37 sri it's all about real-time web and the things to come, may it be spdy or higher level websocket based protocols
12:38 sri even smaller html5 features like event source are special
12:39 sri it requires being able to terminate a http response with a connection close (instead of using a content-length header)
12:40 andrefs joined #mojo
12:42 * dhoss digs
12:42 fhelmber_ joined #mojo
13:09 Psyche^ joined #mojo
13:28 tempire I wonder if there's a place where a failraptor would fit
13:28 tempire I took a different approach than most other people
13:28 tempire the talk flows more like a mojocast than a regular tech talk
13:29 tempire so it attempts to capture attention by interest in the topic, rather than humor
13:34 jnap joined #mojo
13:35 tempire but!
13:35 tempire there is a hypnotoad
13:36 tempire which is probably a bad thing, because I explain a rather complicated concept while the hypnotoad is moving slowly, truly hypnotizing the audience
13:36 tempire let me explain this concept a bit fuALL PRAISE THE HYPNOTOADwait what just happened
13:47 nic I'm not sure a talk in which rainbows and toads are first class entities is lacking in humour
13:47 nic Are there any unicorns?
13:48 nic (a general question; nothing to do with YAPC)
13:49 tempire a valid question.
13:49 tempire unfortunately due to the number of failing web apps on the internet, fail raptors have all but eaten most of them.
13:50 tempire I think there may still be some left in iran
13:50 gryphon joined #mojo
13:51 andrefs joined #mojo
14:02 sri nucular unicorns
14:04 sri stream quality is pretty good
14:14 Leandr joined #mojo
14:28 Foxcool joined #mojo
14:29 * marty is reading an article on the 20th anniversary of the fall of the Berlin wall.  Amazing stuff!
14:44 tempire sri: the raptor used on the yapc logo, that's a derivation of yours, right?
14:45 sri tempire: i'm not sure
14:46 sri tail and arms suggest it, but feet look weird
14:49 Htbaa joined #mojo
14:50 * sri wonders if rjbs will mention p5-mop in the future of perl5 talk
14:55 Foxcool joined #mojo
14:56 pointer joined #mojo
14:57 mire joined #mojo
15:05 tempire ok
15:05 tempire last touch made
15:05 tempire raptors added!
15:05 sri \o/
15:05 tempire hmm
15:06 tempire I'm going to have to miss a PDL talk because of this
15:06 tempire I hope you're happy!
15:06 sri :(
15:06 tempire I bet I can record a screen capture of the stream
15:07 sri easy with vlc
15:08 tempire I trust you've already parsed that message from last night.
15:08 tempire do you have a url?
15:10 sri http://video.ics.uwex.edu/0b2e0799-7f20-4a07-a6​7a-2a9c75baaf6a?playbackTicket=d7dc1d622bfa4ea5​8a1a8e1c3e1cd09e&site=ics.webcast.uwex.edu
15:11 sri that's the stream
15:11 sri can be opened with vlc
15:11 sri (for your room)
15:16 pointer joined #mojo
15:19 tempire dude
15:19 tempire https://gist.github.com/2926115
15:19 tempire \o/
15:19 Foxcool joined #mojo
15:19 dhoss who's talking?
15:21 tempire in the beginner room?  no idea.
15:25 pointer left #mojo
15:25 asarch joined #mojo
15:25 dhoss i meant in whatever sri posted
15:25 dhoss also how do i use this in ::Lite https://metacpan.org/module/Mojoli​cious::Plugin::Captcha::reCAPTCHA
15:26 tempire that's the beginner room
15:26 sri that's the beginner room
15:26 sri heh
15:26 dhoss i wondered when someone asked "what's a sigil"
15:28 tempire does anyone really use that word in conversation?
15:28 tempire I can understand people not knowing it.
15:28 dhoss oblivion did!
15:28 tempire nerds.
15:28 dhoss u r
15:29 dhoss is there a list of the videos being streamed?
15:29 sri http://act.yapcna.org/2012/schedule?day=2012-06-14
15:29 tempire pretty much everything useful is on the yapcna.org home page
15:30 dhoss oh
15:30 dhoss see, i don't pay attention
15:30 tempire you're out of the loop
15:30 tempire get in the loop!
15:30 dhoss sounds hard
15:31 dhoss dammit EVERYONE made it to this yapc
15:34 tempire HTML::TreeBuilder is downright painful in comparison to Mojo::UserAgent
15:34 tempire at least for lookup
15:35 sri it's painful in general, lots of legacy
15:36 daxim M::UA does not compete with TreeBuilder, but pQuery, HTML::Query, Web::Query
15:36 daxim the latter one wins, going by the API
15:36 dhoss i like Web::Scraper
15:36 sri Mojo::DOM is part of Mojo::UserAgent
15:37 daxim bleh, Scraper needs named results, unwieldy
15:39 tempire web::query looks like the collections aspect of useragent
15:42 daxim has joelaberger written optimal code in http://stackoverflow.com/a/10674630?  how would you improve it?
15:44 sri no he has not
16:00 inokenty joined #mojo
16:08 sri oh, interesting secret perl5 roadmap
16:08 sri smaller core, mop and autoboxing
16:09 * sri likes
16:24 tempire ok, I'm ready for the day.  lucky drawers: check.  matching outfit: check
16:28 sri don't forget pants
16:29 tempire every time!
16:29 dhoss pants are overrated
16:56 sri http://i.imgur.com/Tgaf7.png
16:58 inokenty =)
17:04 Leandr joined #mojo
17:31 andrefs joined #mojo
17:32 d4rkie joined #mojo
17:34 pau4o left #mojo
17:35 mire joined #mojo
17:47 d4rkie joined #mojo
17:58 marcus hai
17:58 marcus tempire: good luck!
18:10 ispy_ joined #mojo
18:26 * marcus just bought two licenses for sublime text 2
18:34 memowe \o/
18:55 sri \o\
19:02 sri argh, opera still ships legacy websockets :S
19:07 asarch joined #mojo
19:10 diegok \/o/
19:17 sri Oo
19:19 diegok tempire: mucha suerte! :)
19:20 dhoss do i have to do something special to get methods to work properly in my Mojolicious::Lite apps? dumb question i know, but i have a method called clean_params that looks like sub clean_params { my $self = shift; # clean shit here } and calling it in post "/" => sub { .... }; dies with Can't call method "param" on an undefined value at contact.pl line 72.
19:20 sri tempire: good luck!
19:20 diegok dhoss: what's in line 72? :)
19:21 JerJer joined #mojo
19:21 dhoss oh for christ's sake
19:21 dhoss thanks
19:21 dhoss i can't read :-)
19:21 diegok dhoss: :-p
19:21 sri tepire will be live in 10 minutes
19:22 sri *tempire
19:22 diegok \o\ /o/
19:22 diegok |o|
19:22 dhoss okay now it's dying with this, which is what i MEANT to paste Can't locate object method "clean_params" via package "Mojolicious::Controller" at contact.pl line 35.
19:22 JerJer i think i discovered a bug somewhere…  if I have more than perhaps 2 or 3 browsers subscribed to EventSource events, at some point the "event" isn't passed to the callback
19:23 sri /o/
19:25 diegok dhoss: are you using lite or full app?
19:25 dhoss diegok: lite
19:25 JerJer hmm - maybe its just too old of a FF  … still testing
19:26 diegok dhoss: so, you are calling clean_params on $self?, is't not a class, lite is't just main namespace.
19:27 diegok dhoss: you have each controller being a controller class on full apps.
19:27 dhoss diegok: oh. i'm spoiled by catalyst i guess
19:27 diegok dhoss: unless you define clean_params as a helper
19:27 dhoss how do i do that?
19:28 diegok dhoss: http://search.cpan.org/~tempire/Mojolici​ous-2.98/lib/Mojolicious/Lite.pm#Helpers
19:28 dhoss oh that's not so bad
19:28 diegok dhoss: no, it's not :)
19:31 dhoss diegok: cool, thanks!
19:31 diegok dhoss: if you will need such a method on several apps you can create a plugin ;-)
19:31 JerJer i think async code just bit me - $event is a hashref of hashrefs
19:32 JerJer $engine->emit('pbx_data' => $event);
19:32 JerJer delete $event->{'Event'};
19:32 dhoss diegok: i'm just writing a contact form
19:33 JerJer i don't want to send the 'Event'  - but it seems there may be a race condition (?? is that posible) on if the element gets deleted before it actually gets emitted or not
19:34 JerJer this module has a base of MojoEmitter
19:34 diegok json pointers!! :-)
19:37 diegok dhoss: oh, fine then. No plugins for now :)
19:59 sri i dig the slides :)
20:04 maettu joined #mojo
20:05 maettu @tempire thanks for the talk @yapc! (watching on television) cool
20:06 maettu @everybody: It is really cool how cool Mojo has become over the last years
20:06 JerJer hellsyeah
20:06 stickpin joined #mojo
20:08 cfedde joined #mojo
20:09 maettu anybody in the room with tempire at the moment?
20:10 marcus hay maettu :)
20:10 maettu pat him on the shoulder from me, ok?
20:10 sri from me too please :)
20:10 JerJer maettu:  which live stream?
20:11 maettu yapc live stream
20:11 * maettu fetches link..
20:11 JerJer there seem to be several
20:11 JerJer looks like 101
20:11 maettu right
20:12 JerJer there we go :D
20:12 maettu http://yapcna.org/
20:12 maettu under live streams
20:12 maettu "Pyle 325"
20:13 lungching joined #mojo
20:13 sri it's almost over, but i think they put up a recording later
20:13 maettu I hope so!
20:21 * JerJer shudders at the thought of using cPanel ever again   [dood's tshirt in stream]
20:21 marcus http://akdubya.github.com/dustjs/#about interesting design constraints.
20:21 sri tempire: i get now what you mean with too many advanced topics, the time seemed way too short
20:24 JerJer heh oddly enough it is a different cPanel .. who'd a thunk it
20:29 tempire well?
20:29 tempire what did you think?
20:29 maettu coooool!
20:29 maettu excellent talk
20:29 tempire \o/
20:29 sri i like your style
20:30 CromeDome joined #mojo
20:30 marcus tempire++
20:31 cfedde tempire: good work.
20:31 cfedde the camera was kind of dark so I could not see your pretty face.
20:32 lungching tempire: very helpful. thanks!
20:35 CromeDome tempire: great talk, thank you
20:49 tempire :D
20:49 tempire I'm happy
20:50 tempire I started out a bit fast, but it went really well, especially as I gained some comfort.
20:50 tempire I'm pumped
20:50 tempire ready for another talk
20:50 tempire GO GO GO
20:50 tempire http://www.youtube.com/watch?v=7mZZd4gQrrg
20:50 maettu tempire: looking forward to it! :-)
20:51 sri :D
20:51 tempire now the real question is whether people will click on the "What is Mojolicious" link at the bottom of /yapc
20:51 tempire that's where the real truth lies
20:52 sri but you sent them to mojocasts and the docs :o
20:52 maettu tempire: upload that video to youtube and it will do a lot of good
20:53 andrefs joined #mojo
20:53 tempire is that bad?
20:54 sri nono, i mean they won't go to /yapc
20:55 tempire I'm talking about the resources link in the presentation
20:55 tempire and there's also the banner on mojocasts.com; I think it's obvious enough
20:55 sri oh
21:07 hide tempire: nice job on the talk, I watched the stream, came through really well.
21:07 cfedde how do I include a template in a template?
21:10 marty cfedde:  % include 'path/to/your/template';
21:10 sri you answered your own question :)
21:11 marty http://mojolicio.us/perldoc/Mojolicious/Gu​ides/Rendering#Including_partial_templates
21:12 marty tempire++  Good job on the presentation
21:15 cfedde finding userdoc for ep is killing me.
21:16 marty https://metacpan.org/module/Mojo::Template
21:17 * marty wonders if a mac pro offers much over a macbook pro for video editing.
21:19 cfedde Mojo::Template does not include the word "include"?
21:21 marty include is a helper.  https://metacpan.org/module/Mojo​licious::Plugin::DefaultHelpers
21:24 * cfedde 's head explodes.
21:24 batman joined #mojo
21:26 sri eww
21:26 * sri sweeps cfedde under the rug
21:29 ashleydev joined #mojo
21:30 ashleydev joined #mojo
21:30 cfedde as good as some of the screencasts are the basics continue to be a bit thin.  Starting from perldoc Mojolicious I find no hints to look in Mojo::Template and from there I find no hints to look in Mojolicious::Plugin::DefaultHelpers.  And that doc only implies that these elements are used in templates.
21:31 cfedde maybe I'm just thick.
21:31 sri Mojo::Template is a bad start, you're supposed to read the rendering guide
21:32 sri which covers helpers and everything else
21:33 cfedde Mojolicious::Guides::Rendering?
21:33 hide cfedde: it's not just you, I had the same issues.
21:34 cfedde the on ramp seems to be hidden behind a bush.
21:34 sri http://mojolicio.us/perldoc/Mojolicious/Gu​ides/Rendering#Including_partial_templates
21:34 sri that was the first thing marty linked to
21:35 cfedde I guess I am thick.
21:39 * sri wonders if anyone is working on autoboxing for core yet
21:40 kthakore_ sri: what that?
21:40 sri rjbs showed his secret roadmap for perl5 in his talk
21:40 cfedde spreading method notation to all functions.  push @a, $foo becomes @a->push($foo)
21:40 sri it includes mop and autoboxing
21:41 heytrav joined #mojo
21:41 sri https://metacpan.org/module/autobox # only implementation i know of
21:46 lukep joined #mojo
21:46 kthakore_ cool
21:46 kthakore_ inky
21:47 zivester joined #mojo
22:04 ojo joined #mojo
22:05 diegok tempire: you did pretty well and your slides are amazing (and with rainbows!, and unicorns!) ;-)
22:31 ojo joined #mojo
23:18 ojo joined #mojo
23:20 ojo joined #mojo
23:31 cfedde Is there a convenient way to run my app in a debugger?
23:47 CromeDome joined #mojo

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