Camelia, the Perl 6 bug

IRC log for #mojo, 2013-04-23

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

All times shown according to UTC.

Time Nick Message
00:22 ka2u joined #mojo
00:44 jb360 joined #mojo
00:55 ruz joined #mojo
01:01 zivester joined #mojo
01:07 shmuel joined #mojo
01:09 d4rkie joined #mojo
01:25 ka2u joined #mojo
01:26 drift joined #mojo
01:31 egopro joined #mojo
01:31 tempire what am I saving?
01:32 whitebook joined #mojo
01:33 tempire if one is to be negative, one must use perfect grammar.
01:33 tempire else one looks like a goober
01:34 tempire oh, the head/get thing.
01:46 zivester joined #mojo
01:47 sri tempire: you almost saved it
01:51 * sri would be very surprised if tempire voted -1 on it though
01:53 tempire well
01:54 tempire I do not
01:54 tempire mostly because I do not understand what was changed.
01:55 sri $ua->get('example.com' => form => {test => 123}); now generates query parameters instead of a urlencoded message body
01:55 tempire reasonable.
01:57 Meiermann joined #mojo
01:58 tempire maybe crab became a terrorist
01:59 * tempire looks into backbone marionette
02:00 tempire ever since google reader died, I have no idea what's going on.
02:00 * tempire wonders what the internet is up to
02:00 jberger tempire, isn't that what twitter is for?
02:01 tempire I stopped opening twitter
02:01 tempire it was so much
02:01 jberger lists ftw
02:01 sri cat pictures and memes of course
02:02 tempire oh, foy wrote a thing
02:02 tempire and mentioned a greg hinkle
02:02 tempire wonder who that is
02:02 jberger did y'all see the cat dressed as a shark riding a roomba chasing a chick
02:02 jberger the internet is over now
02:05 tempire it's encouraging how times have changed
02:05 tempire not so long ago, the big names didn't like mojolicious.
02:05 tempire I credit sri's cheerful smile
02:06 sri :D
02:07 * sri also uses twitter to stay informed btw
02:08 zivester joined #mojo
02:16 zivester joined #mojo
02:19 jberger brian is the first one who pointed me to mojo btw
02:19 jberger for Mojo::UserAgent
02:27 tempire machine learning course starts again today
02:27 tempire who wants to get on the boat?!
02:27 ka2u joined #mojo
02:27 omega <-- have already signed up
02:27 tempire \o/
02:39 egopro joined #mojo
02:46 * jberger has had all the learning and all the machines he can handle for the time being :-)
02:55 omega fsck me the coursera player is horrible
02:56 amirite joined #mojo
02:56 omega tempire: did the "question" work for you? here it just showed me the answer
02:57 tempire the questions played within the lectures?
02:57 tempire yes
02:57 tempire you can switch the player to flash if you have problems
02:57 tempire though those questions don't matter
02:58 omega I picked html5 and it still give me flash
02:58 tempire jberger: I read up to page iii
02:58 tempire I'm convinced.
02:59 jberger hope my committee is as easy to convince :-o
02:59 tempire pizza
02:59 tempire I had a friend who presented her thesis, and she's convinced the pizza put it over the edge
02:59 jberger I'm going way beyond pizza: http://www.jaroschbakery.com/
02:59 jberger ;-)
03:00 tempire let's hope no one is gluten intolerant
03:00 jberger weren't you proposing the gluten delight that is pizza ?!
03:11 preaction_ find macrons and they'll love you forever! and your wallet will murder you in your sleep
03:11 preaction_ macarons
03:11 preaction_ http://www.frenchmarketchicago.com​/vendor/beavers-donuts-and-coffee <- apparently these people have really really really good donuts. i keep meaning to stop by
03:12 preaction_ or are you getting a 3-tier cake?
03:12 preaction_ wait, does this kind of bribery even work?
03:14 hesperaux joined #mojo
03:16 rem_lex| joined #mojo
03:17 jberger I think its expected at this point unfortunately
03:17 jberger "what, not even donuts? fail"
03:21 xaka joined #mojo
03:21 preaction_ an offering to capricious gods
03:25 jberger preaction_, hey, congrats on getting andy to fill it
03:25 jberger s/it/in/
03:26 jberger has me seeing if I can swing by (I really can't)
03:26 preaction_ luck. i'm almost pissed that there was only 4 days notice on it
03:26 jberger yeah, thats true
03:27 jberger blog post! go!
03:29 preaction_ finding an acceptable limit for marketing to a crowd of people who are vehemently opposed to marketing can be tough
03:29 jberger true, but you have an out! last minute, big name replacement
03:29 jberger anyone who has organized anything will understand that
03:31 jberger on a hot topic no less
03:31 jberger come see what the new ack has to offer from the man himself
03:31 jberger (which is why, I'm sure, he's coming in for it)
03:34 preaction_ eh. i sent out the meetup and the chicago.pm mailing lists stuffs. that's all opt-in marketing so i don't feel bad. subscribing to the full blogs.perl.org RSS feed is a little different (the mixed reaction to JT's blog-a-day leading up to YAPC 2012)
03:35 preaction_ that said, most were fine with it
03:37 jberger most were fine with it, and you are only jumping on to say, "hey last minute change in plans, come see andy lester talk about this tool we all love!"
03:37 preaction_ right, but i never ever say "hey, here are the plans". it's an anomaly
03:44 jberger and thus the need to get the word out
03:44 jberger do it and say I said its ok :-)
03:45 * jberger wonders if we can use ack 2.0 to find crab?
03:45 jberger ack crab
03:45 jberger hmmmmm
03:48 sh4 joined #mojo
03:52 crab hi
03:52 crab sorry, i was travelling on work. spain is nice.
03:53 crab tempire: maybe i became a terrorist? wtf?
04:00 jberger ACK FOUND CRAB!!!
04:01 jberger ack can find anything!!!
04:12 jberger I would love to visit spain
04:12 jberger france more maybe, but spain too
04:13 jberger ok germany can be on the list too
04:14 lucs crab: Where in Spain?
04:16 rem_lex|pivo joined #mojo
04:45 noize joined #mojo
04:45 noize left #mojo
04:53 sh3 joined #mojo
04:54 crab barcelona
04:59 hesperaux_ joined #mojo
05:02 arpadszasz joined #mojo
05:04 ka2u joined #mojo
05:14 ka2u joined #mojo
05:16 sh4|2 joined #mojo
05:18 jberger__ joined #mojo
05:43 tempire must be the new 2.0 functionality
05:46 bpmedley_ joined #mojo
06:12 tholen42 joined #mojo
06:17 yakudza joined #mojo
06:23 Mike-PerlRecruiter_ joined #mojo
06:28 egopro joined #mojo
06:36 dod joined #mojo
06:47 lukep_ joined #mojo
06:53 Vandal joined #mojo
06:54 dpetrov_ joined #mojo
06:55 ObseLeTe joined #mojo
06:59 rihegher joined #mojo
07:03 dod joined #mojo
07:09 ka2u joined #mojo
07:20 denisboyun_ joined #mojo
07:20 rihegher left #mojo
07:40 hrupp_ joined #mojo
07:49 jamesw joined #mojo
08:12 jzawodn joined #mojo
08:35 mire joined #mojo
08:36 plu joined #mojo
08:48 cosimo joined #mojo
08:59 maxhq joined #mojo
09:07 nelio joined #mojo
09:25 suy joined #mojo
09:28 jpn joined #mojo
09:37 riba joined #mojo
09:37 riba marcus: ping
09:38 riba MojoMojo deps on Catalyst::Controller::HTML::FormFu deps on Regexp::Assemble which fails tests with the new podlators (5.16ish)
09:39 lukep joined #mojo
09:49 riba also mojo *itself* fails t/02pod.t
09:49 riba the rest passes though with a number of severe-ish warnings
09:53 denisboyun joined #mojo
09:59 Adura joined #mojo
10:18 nic The timestamp format in Mojo::Log relies on localtime()
10:18 nic Is there an env var that influences that format?
10:19 riba nic: from `perldoc -f localtime`: The format of this scalar value is not locale-dependent but built into Perl.
10:19 riba nic: in other words - sorry, no
10:19 nic damn
10:19 memowe \o/
10:20 nic Perhaps I can do some hacky monkey_patch solution
10:22 nic Actually, I guess I just need to $app->log(Some::Other::Log->new(..))
10:26 mire joined #mojo
10:40 Britzel joined #mojo
10:47 whitebook joined #mojo
11:25 bowtie joined #mojo
11:46 rihegher joined #mojo
11:46 rihegher left #mojo
12:31 Adurah joined #mojo
12:36 denisboyun joined #mojo
12:48 maxhq joined #mojo
12:49 riba left #mojo
12:55 chinaxing joined #mojo
13:06 Slatibart Hi, this is not strictly a mojo question. But has anyone a good example/skeleton/tutorital to build own modules ?
13:17 mire joined #mojo
13:21 gryphon joined #mojo
13:45 espent joined #mojo
14:01 sh4 joined #mojo
14:09 btyler joined #mojo
14:11 good_news_everyone joined #mojo
14:11 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/JfLK2g
14:11 good_news_everyone mojo/master cbdfddd Sebastian Riedel: better tests for Mojo::URL
14:11 good_news_everyone left #mojo
14:23 Kripton joined #mojo
14:24 dvinciguerra joined #mojo
14:28 d4rkie joined #mojo
14:28 denisboyun_ joined #mojo
14:37 Kripton joined #mojo
14:39 rem_lex| joined #mojo
14:42 D4RK-PH0ENiX joined #mojo
14:47 dvinciguerra joined #mojo
15:28 denisboyun_ joined #mojo
15:30 moltar joined #mojo
15:32 btyler joined #mojo
15:40 mire joined #mojo
15:44 sh3 joined #mojo
15:51 whitebook joined #mojo
15:51 Britzel joined #mojo
16:06 labrown joined #mojo
16:06 tianon joined #mojo
16:10 xaka joined #mojo
16:14 basiliscos joined #mojo
16:15 dod joined #mojo
16:15 tianon with the latest changes to Mojo::URL, we no longer get handy information from ftp:// URLs (which are syntactically equal to http URLs; optional userinfo, port, and path) - I'm planning to submit a pull request to add ftp to the list of schemes that get the shiny parsing, but wanted to check and make sure that's acceptable first :)  (I suppose technically, I should also include ftps and sftp, since they have similar formatting)
16:16 tianon I'm definitely not proud of needing FTP urls, but Mojo::URL certainly makes them much more bearable :P
16:25 sri tianon: well, ftp was never officially supported, and core doesn't need it, so i'd rather not add it as a feature
16:25 sri at the end of the day it's just maintenance cost
16:32 tianon sri: ok, thanks; that's exactly why I asked here instead of just submitting a pull request :)  what about making that list a user-facing attribute so I could do the additions at runtime, like we do for plugin namespaces?  would that be more acceptable?  I guess that's a little harder, since we don't have an instance of Mojo::URL yet when we need to add it, so I'm definitely interested in your thoughts on how I could go about doing so in a sligh
16:33 tianon sri: perhaps an extra option to ->new to force it to ignore the "supported" list?  I guess that would encourage too many people to try using it for unsupported things and then come crying when it doesn't work the way they like, kind of like me O:)
16:36 tianon sri: perhaps making the list an instance attribute, then I have to do ->new with an empty object, update the list, and then invoke ->parse manually?
16:38 tianon sri: and do feel free to tell me I'm up in the night and should just copy Mojo::URL if you'd just rather not have the headache of people misuing the feature, I'm just trying to spitball a little here in case any of this sounds palpabale so I can work up a pull request for you :)
16:46 yakudza joined #mojo
16:59 jb360 joined #mojo
17:06 tianon sri: and while perusing the Mojo::URL code, I also noticed that ->parse only sets data if the protocol is not a supported one, and since ->parse can be called on an existing object and there's no real way to access or modify ->{data} otherwise, it seems to me that perhaps the top part of that if statement ought to either undef or delete ->{data}, but I'm not positive
17:07 sri Mojo::URL objects are not meant to be reusable, too much of a headache
17:08 sri parsing multiple times is undefined behavior
17:09 batman i like Mojo::URL objects
17:09 batman can you give me details about parsing multiple times?
17:11 sri if you want to change Mojo::URL it should a) be relevant to Mojolicious core functionality or b) result in less code/make maintenance easier
17:13 suy joined #mojo
17:15 sri i would have been more open to discussions about it yesterday, but now that it has been released already i'd rather wait and see how the current behavior works out for people
17:20 tianon ok, that's completely understandable :)
17:20 tianon thanks for taking the time to explain your position to me, it's very much appreciated :)
17:21 tianon also, I'll be sure to watch the development much closer in the future so I can discuss things before they go into a release :)
17:26 sri one thing i did consider was a scheme_data attribute
17:30 asarch joined #mojo
17:40 good_news_everyone joined #mojo
17:40 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/3NlaXA
17:40 good_news_everyone mojo/master 8b87105 Sebastian Riedel: added scheme_data attribute to Mojo::URL
17:40 good_news_everyone left #mojo
17:42 sri not sure yet if it will stay
17:43 marcus sri: Aw, but it's so adorable.
17:44 sri Oo
17:44 batman marcus: have you seen my pull request?
17:47 tianon scheme_data is definitely more transparent, which is handy, and makes Mojo::URL a very nice place for passing arbitrary URLs through and being able to, for example, given when on the scheme/protocol and pull out just the useful data to act upon
17:48 * sri agrees
17:48 sri i'm mostly unsure about the attribute name :)
17:48 tianon ah, I see :)
17:49 sri scheme_data is from the whatwg spec... but i doubt many people understand it
17:51 sri maybe ->data
17:52 basiliscos1 joined #mojo
18:03 labrown joined #mojo
18:09 good_news_everyone joined #mojo
18:09 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/KgAhfw
18:09 good_news_everyone mojo/master aebb685 Sebastian Riedel: renamed scheme_data attribute to data
18:09 good_news_everyone left #mojo
18:19 * marty nominates sri for the April "responsive dev" award.  o/
18:22 Mike-PerlRecruiter_ joined #mojo
18:33 mire joined #mojo
18:41 sh3 joined #mojo
18:54 kvorg joined #mojo
18:54 kvorg_ joined #mojo
19:17 * sri does not respond to that
19:20 moltar joined #mojo
19:24 coff joined #mojo
19:26 Mithaldu left #mojo
19:35 coff When would mojo return 'Action "Foo" is not allowed'?
19:36 coff Hm. Reserved words in mojo perhaps? I have an action called 'send'. Is that frowned upon?
19:37 sri http://mojolicio.us/perldoc/​Mojolicious/Controller#send
19:37 * coff smacks himself around with a large trout
19:37 whitebook joined #mojo
19:38 coff Thanks sri.
19:56 gryphon joined #mojo
20:17 kvorg joined #mojo
20:18 kvorg_ joined #mojo
20:28 perlite joined #mojo
20:28 nelio joined #mojo
20:29 rihegher joined #mojo
20:32 rihegher left #mojo
20:33 gryphon_ joined #mojo
20:42 gryphon joined #mojo
20:52 amirite_ joined #mojo
21:02 MeierM joined #mojo
21:34 lukep joined #mojo
21:47 kvorg_ hmm has anyone written a dumbed-down intro to advanced parts of Mojolicious router? I would like to add twig-like routes to places and don't know what the most elegant way would be.
21:49 kvorg_ nevermind, i think i solved my mind-bug when i tried to give an example... funny, that.
21:52 kvorg_ but i still find it wierd i can't find more articles on the router, besides the wiki and the guides
21:53 jnbek joined #mojo
22:04 atweiden joined #mojo
22:08 atweiden Hello- I'm trying to use the include helper in default.html.ep to render partial templates within templates/layouts/includes. http://pastebin.com/gLwRnUaN
22:09 atweiden the includes aren't rendering
22:14 ka2u joined #mojo
22:19 Gedge joined #mojo
22:23 Adura joined #mojo
22:38 good_news_everyone joined #mojo
22:38 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/t1lLRQ
22:38 good_news_everyone mojo/master c64c463 Sebastian Riedel: better descriptions for many object constructors
22:38 good_news_everyone left #mojo
22:41 sri kvorg_: you're welcome to write some
23:48 ka2u joined #mojo

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