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

IRC log for #mojo, 2014-05-19

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

All times shown according to UTC.

Time Nick Message
00:15 maxhq left #mojo
00:19 fhelmber_ joined #mojo
00:21 maxhq joined #mojo
00:24 shmuel joined #mojo
00:52 laouji joined #mojo
01:10 klapperl joined #mojo
01:52 Su-Shee_ joined #mojo
01:54 * tempire shakes fist at crab
01:55 * jberger shakes crab at tempire!
02:01 hlin joined #mojo
02:07 btyler joined #mojo
02:14 asarch joined #mojo
02:22 marty joined #mojo
02:42 * sri shakes jberger
02:46 meshl joined #mojo
02:48 * jberger prefers to be stirred not shaken
03:05 * sri loves the new iss webcams
03:05 sri http://www.ustream.tv/channel/iss-hdev-payload
03:06 tempire whoa
03:07 * tempire watches for his house
03:07 tempire there's no zoom.
03:07 sri night approaches!
03:07 preaction enhance... enhance...
03:07 tempire space is not HD
03:12 tempire ipad mini or air?
03:13 tempire jberger: we're on the same flight coming back
03:13 tempire I suspect
03:14 laouji joined #mojo
03:17 laouji joined #mojo
03:35 irq joined #mojo
03:51 basic6_ joined #mojo
04:11 laouji joined #mojo
04:20 fhelmber_ joined #mojo
04:31 denis_boyun joined #mojo
05:07 laouji joined #mojo
05:45 Vandal joined #mojo
06:05 Eke- joined #mojo
06:13 dexteruk joined #mojo
06:26 alnewkirk joined #mojo
06:37 dod joined #mojo
07:00 sugar__ joined #mojo
07:03 basiliscos joined #mojo
07:09 irq joined #mojo
07:12 laouji joined #mojo
07:16 laouji joined #mojo
07:26 cosimo joined #mojo
07:28 rawler joined #mojo
07:32 babl joined #mojo
07:34 trone joined #mojo
07:43 mtths joined #mojo
08:20 fhelmber_ joined #mojo
08:25 onur joined #mojo
08:29 Su-Shee left #mojo
08:36 laouji joined #mojo
08:36 onur Hi. Can I get array of form elements in mojo? I have multiple text inputs with name="servers[]", I need to get all of them but param ('servers') returns only first one.
08:36 onur *param ('servers[]')
08:41 igorsutton joined #mojo
08:43 fhelmber_ joined #mojo
08:44 nicomen onnur: my @foo         = $c->param('foo');
08:44 nicomen no [] needed AFAIK
08:45 laouji_ joined #mojo
08:56 sugar joined #mojo
08:57 KindOne joined #mojo
09:04 dod joined #mojo
09:15 laouji joined #mojo
09:19 onur still, @foo only contains one form element nicomen
09:24 shmuel joined #mojo
09:35 cosimo joined #mojo
09:46 meshl joined #mojo
09:48 kmx joined #mojo
09:49 neyasov___ joined #mojo
10:23 Jonneh joined #mojo
10:29 basiliscos joined #mojo
10:33 batman onur: no. it contains the values from all the form elements with name="foo"
10:41 d4rkie joined #mojo
10:58 d4rkie joined #mojo
11:09 D4RK-PH0ENiX joined #mojo
11:09 aleksey joined #mojo
11:10 aleksey left #mojo
11:13 laouji joined #mojo
11:24 onur joined #mojo
11:24 onur yes sorry guys, one of my form elements name was different
11:36 fhelmbe__ joined #mojo
11:42 fhelmber_ joined #mojo
11:43 fhelmbe__ joined #mojo
12:07 denis_boyun joined #mojo
12:11 gatitskiy joined #mojo
12:14 rem_lex|pivo joined #mojo
12:15 denis_boyun joined #mojo
12:21 nic sri: Do you see Minion ever having pluggable (non-mongo) backends?
12:25 zivester joined #mojo
12:32 sugar_ joined #mojo
12:36 ivan joined #mojo
12:42 espent joined #mojo
12:46 mudler joined #mojo
13:14 asarch joined #mojo
13:36 btyler joined #mojo
13:55 dgikiller joined #mojo
14:01 bluescreen joined #mojo
14:06 sh4 joined #mojo
14:31 gryphon joined #mojo
14:32 igorsutton Do you guys know if ";" is a valid query string separator?
14:33 igorsutton the rfc3986 is sort of vague about it.
14:33 dgikiller joined #mojo
14:34 mishantil I believe it is perfectly valid.
14:35 igorsutton hrm
14:36 trone joined #mojo
14:36 igorsutton For instance, if you get a URL like this: http://localhost/foo;jsessionid=12312313123
14:37 igorsutton would the ";" be properly delimit the beginning of the query string?
14:37 mishantil Oh, you did not mean separator between query parameters
14:37 mishantil ?
14:37 mishantil Ah.
14:37 mishantil I would be hesitant to do that myself.
14:37 igorsutton well, most java containers aren't :(
14:38 igorsutton and worse, I got a url with "jsessionid=xxxx:-aaa"
14:38 mishantil Naturally it depends on the configuration of your webserver, many already accept both for ';' and '&' for separation of query parameters
14:38 mishantil So using it in place of '?' might screw with the natural order of things.
14:38 igorsutton the problem is when I'm hitting it with www::mechanize :)
14:39 igorsutton there are some many things wrong with the url I need to hit
14:40 igorsutton I'm checking it with Mojo::URL
14:41 igorsutton Giving the full story: I have the following relative URL "Foobar;jsseess=ladskjflsdjf:-1"
14:41 mishantil But is the problem in creafing the url on the client side or getting the server to accept it on that side?
14:41 igorsutton When I feed it to Mojo::URL it parses it and I get the scheme being "Foobar;jsession=123123"
14:43 igorsutton mishantil: I'm trying to process the given url using WWW::Mechanize, which doesn't work, because URI can't parse properly the relative URL. Then I looked into Mojo::URL, which also doesn't parse it properly.
14:43 igorsutton Properly is a very strong assumption, I don't know if that is even valid.
14:43 igorsutton I noticed that Mojo::URL considers everything up to the first colon as being the scheme
14:44 mishantil I bet sri has some knowledge about that part of the question. :)
14:45 igorsutton And RFC3986 says that ";" is reserved among others
14:47 igorsutton So the proper behaviour I think would be slurp everything up to the first reserved character and then check if the first reserved character is a :
14:48 neyasov___ joined #mojo
14:49 neyasov____ joined #mojo
14:57 genio So, proper subroutine signatures tomorrow?
15:00 onur joined #mojo
15:03 igorsutton joined #mojo
15:11 aggrolite joined #mojo
15:15 rem_lex| joined #mojo
15:18 neyasov____ joined #mojo
15:20 neyasov_____ joined #mojo
15:22 sri nic: unlikely, at least i have no plans to work on it
15:22 nic k
15:22 sri mishantil: ; is not actually a valid separator as of html5
15:28 onur joined #mojo
15:29 dotan joined #mojo
15:40 sugar__ joined #mojo
15:53 beyondcreed joined #mojo
15:54 dotan joined #mojo
16:07 r0b3rt joined #mojo
16:10 Akron joined #mojo
16:17 basiliscos joined #mojo
16:32 denis_boyun joined #mojo
16:39 sri mishantil: in case you were wondering http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#url-encoded-form-data
16:43 denis_boyun_ joined #mojo
16:43 sri nic: i guess i would consider making it independent from mango if we added minion to the core...then maybe use a file based backend by default or so
16:44 sri wouldn't be a particularly good default though
16:45 ua joined #mojo
16:46 nic I would offer to help, but I'm short of inspiration and time these days
16:50 d4rkie joined #mojo
16:51 D4RK-PH0ENiX joined #mojo
16:52 denis_boyun joined #mojo
16:52 nic oh, thanks for the recommendation of the mango patterns book
16:52 nic i'm about halfway through it now
16:57 denis_boyun_ joined #mojo
16:59 denis_boyun__ joined #mojo
17:02 denis_boyun joined #mojo
17:05 disputin joined #mojo
17:13 * tempire needs to look more into minion
17:14 tempire Having a job queue has part of the core would be huge
17:39 cpan_mojo Mojolicious-Plugin-AppCacheManifest 0.03 by Simon Bertrang - http://metacpan.org/release/JANUS/Mojolicious-Plugin-AppCacheManifest-0.03
17:51 dod joined #mojo
18:08 dod joined #mojo
18:10 irq joined #mojo
18:14 btyler joined #mojo
18:21 disputin joined #mojo
18:49 hrupp joined #mojo
19:03 da5id joined #mojo
19:22 cpan_mojo Mojolicious-Plugin-AppCacheManifest 0.04 by Simon Bertrang - http://metacpan.org/release/JANUS/Mojolicious-Plugin-AppCacheManifest-0.04
19:23 janus meh, those details... sorry for the noise :/
19:26 mishantil Was there a neat way of calling a method in a controller from _inside_ a template?
19:27 mishantil like ´app->Foo::Bar->method()` or something similar?
19:28 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Embedded_Perl
19:34 basiliscos joined #mojo
19:39 mishantil Ah. Thanks. Ended up doing more in the controller instead, as I should.
19:46 punter joined #mojo
19:53 Gedge_ joined #mojo
19:54 basic6_ joined #mojo
19:55 omega joined #mojo
19:56 michael joined #mojo
20:02 lb joined #mojo
20:07 bd joined #mojo
20:07 onur joined #mojo
20:13 michael joined #mojo
20:14 bd joined #mojo
20:17 mil joined #mojo
20:22 bjoernfan batman: Hi man. Is there any way you can make an invoice for the mojoconf ticket? That's the way the boss man wants it.
20:27 aggrolite joined #mojo
20:32 bjoernfan Yay, train tickets for Oslo \o/
20:41 mil joined #mojo
20:47 bjoernfan Are there any plans for friday or saturday night? I'm getting there friday afternoon.
20:53 mil joined #mojo
20:54 nic joined #mojo
21:03 gryphon_ joined #mojo
21:14 Drossel joined #mojo
21:21 meshl joined #mojo
21:29 good_news_everyon joined #mojo
21:29 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/Rc4iIA
21:29 good_news_everyon mojo/master 6f543e3 Sebastian Riedel: removed no_compression method and added with_compression method
21:29 good_news_everyon left #mojo
22:01 mire joined #mojo
22:19 bowtie joined #mojo
22:33 meshl joined #mojo
22:58 punter joined #mojo
22:59 d4rkie joined #mojo
23:00 d4rkie joined #mojo
23:44 sugar joined #mojo

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