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

IRC log for #mojo, 2016-12-12

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

All times shown according to UTC.

Time Nick Message
00:19 Adura joined #mojo
00:34 Grinnz if you like overwatch, there's also https://smile.amazon.com/Razer-Overwatch-BlackWidow-Mechanical-Keyboard/dp/B01DXVKETE/ref=sr_1_1?ie=UTF8&qid=1481502874&sr=8-1&keywords=razer+overwatch+keyboard
00:47 cosimo joined #mojo
01:22 jontaylor joined #mojo
01:23 aborazmeh joined #mojo
01:59 mib_okgq0r joined #mojo
01:59 mib_okgq0r Hola
01:59 mib_okgq0r Espero puedan ayudarme, estoy trabajando en un proyecto con Mojo
02:00 mib_okgq0r Y me encuentro con el problema de no saber redirigir dos paginas, tengo mi proyecto en mi pc, por ejemplo pag1.pl y pag2.pl como se debe redirigir de una a otra?
02:14 nicomen mib_okgq0r: si preguntas en inglés todos te pueden ayudar
02:14 nicomen yo me voy a la cama
02:15 nicomen this might help though: http://mojolicious.org/perldoc/Mojolicious/Controller#redirect_to
02:15 nicomen night
02:29 mib_okgq0r Hello, I am working on a project in Mojolicious and I do not know how to redirect through a button to another page. For example I have pagina1.pl and I want that by means of a button send me to pagina2.pl. How do I do it?
02:40 asarch joined #mojo
03:12 noganex joined #mojo
03:13 inokenty-w joined #mojo
04:08 mikegrb joined #mojo
04:10 mikegrb joined #mojo
04:17 jontaylor joined #mojo
04:26 mikegrb joined #mojo
05:04 dboehmer joined #mojo
05:20 polettix joined #mojo
05:47 tholed joined #mojo
06:20 Lee joined #mojo
06:51 polettix joined #mojo
06:51 Vandal15263 joined #mojo
07:13 dod joined #mojo
07:18 dod joined #mojo
07:52 ronsavage joined #mojo
07:54 ronsavage I need help using JSON. I've posted a long gist https://gist.github.com/ronsavage/61eda14f569263da19b1e309d2405081 which hopefully explains what I tried and the results. TIA.
07:54 salva joined #mojo
07:58 Lee joined #mojo
08:01 mbudde joined #mojo
08:06 kwa ronsavage: You're not passing the arguments to render properly.
08:06 kwa In your display method, you're adding a stash key called json.
08:07 kwa In the documentation you've read and linked to, it passes json as an argument to the render method.
08:07 kwa This bit is important, because it's this argument that sets the render format (which automatically uses Mojo::JSON).
08:19 trone joined #mojo
08:23 AndrewIsh joined #mojo
09:55 Jonis -w 4
10:00 ronsavage kwa: $many x $thanx. I shall investigate tomorrow. It's 9pm here now.
10:01 ronsavage kwa: I did assume my code was at fault, but sometimes we just can't see it.
10:49 tchaves joined #mojo
11:34 tyldis sri: Did you try https://terrycain.github.io/razer-drivers/ ?
11:48 gregf_ joined #mojo
12:03 osfabibisi joined #mojo
12:08 xdg sri, FYI, I suggested to Andreas that the list of PAUSE admins should be made public per your comments and he agreed. It's now a link on the main PAUSE menu.
12:09 xdg I'm off to get kids up, but wanted to mention it ASAP. &
12:13 howitdo joined #mojo
12:23 dotan_convos joined #mojo
12:37 dotan_convos joined #mojo
12:37 dotan_convos joined #mojo
12:38 dotan_convos joined #mojo
12:54 polettix joined #mojo
12:59 polettix joined #mojo
13:24 jontaylor_ joined #mojo
13:28 gizmomathboy joined #mojo
13:43 Dandre joined #mojo
13:56 gryphon joined #mojo
14:00 jontaylor joined #mojo
14:08 Pyritic joined #mojo
14:11 marty joined #mojo
14:13 ramortegui joined #mojo
14:35 jberger xdg nice
14:37 sri good start
14:42 sri Andreas also told me that he would get involved if a PAUSE admin ever  abused their power
14:42 xdg Yes.  I do hope to find time to draft my take on "perl governance" writ large and how all the pieces interconnect and what the checks and balances are.
14:42 sri and that he wants PAUSE admins not to get involved in permission disputes in the future
14:43 Dandre joined #mojo
14:43 xdg No one should have to wonder how it works, even if "how it works" isn't a beautiful temple and more like a sausage
14:43 asarch joined #mojo
14:45 xdg Yes, he shared his response with all the admins.
14:45 genio nice!
15:16 osfabibisi joined #mojo
15:37 karjala joined #mojo
15:37 foursixnine joined #mojo
15:45 Pyritic joined #mojo
15:54 lluad joined #mojo
16:08 stryx` joined #mojo
16:15 [vlad] joined #mojo
16:25 mcsnolte joined #mojo
16:33 batman joined #mojo
16:34 disputin joined #mojo
16:42 marcus xdg: I never understand why people aren't more interested in sausage factories
16:43 marcus http://i3.kym-cdn.com/photos/images/original/000/460/975/6dd.jpg
16:43 * genio has worked in one before.
16:44 xdg I once consulted to a supermarket and met someone who got to tour a Jimmy Dean factory.  He described the packages rolling off the assembly line as still warm from body heat.  But, hey, tasty!
16:45 marcus at least you know they have meat in them then.
17:32 genio We made hog's head cheese, different sausages, etc.  I do love me some good country sausage.
17:32 genio negative on the cheese though
18:00 khfeng_ joined #mojo
18:19 cfedde joined #mojo
18:23 disputin joined #mojo
19:07 disputin joined #mojo
19:09 howitdo joined #mojo
19:14 polettix joined #mojo
19:14 gizmomathboy joined #mojo
19:19 disputin joined #mojo
19:27 disputin joined #mojo
19:33 dod joined #mojo
19:34 dod joined #mojo
19:52 gizmomathboy joined #mojo
19:52 PryMar56 joined #mojo
19:54 gryphon joined #mojo
19:55 pink_mist https://twitter.com/workergnome/status/807704855276122114 <-- I notice sri was already on the internet back in the early 70s =) (note the upper left corner)
19:56 Grinnz lol
20:07 pink_mist https://twitter.com/gadgetopia/status/807887068361879552 <-- heck, even in 1969!
20:19 sri busted
20:28 Pyritic joined #mojo
20:46 kes joined #mojo
20:59 disputin joined #mojo
21:00 kes Hi. may someone help me with parameters validation?
21:00 kes http://stackoverflow.com/questions/41109465/how-to-validate-router-parameter
21:03 preaction kes: Validation objects take an "input" parameter, which could be from $c->param or $c->stash http://mojolicious.org/perldoc/Mojolicious/Validator/Validation#input
21:04 kes It seems ugly a bit: $v->input({ login => $self->param( 'login' ) });
21:04 kes because force me to care of other params
21:05 kes but, thank you
21:05 preaction isn't there a way to get the names of all the params?
21:06 pink_mist ... isn't there a ::Guide for validation? perhaps something that would be nice to have
21:06 preaction $v->input( { map { $_ => $c->param( $_ ) } @{ $c->param } } ); or something
21:07 preaction http://mojolicious.org/perldoc/Mojolicious/Controller#param this doesn't seem to indicate that without arguments it will return the names though, so I'm not sure that'll work
21:10 pink_mist $c->req->params->names ?
21:11 preaction probably
21:11 howitdo joined #mojo
21:14 kes seems it is better to pass argument as query parameter (
21:15 Grinnz preaction: https://github.com/kraih/mojo/wiki/Upgrading#parameter-name-listing
21:16 howitdo joined #mojo
21:21 marty joined #mojo
21:40 stryx` joined #mojo
21:45 ronsavage joined #mojo
21:52 zivester joined #mojo
21:57 cpan_mojo Mojolicious-Plugin-Vparam-2.02 by RSHADOW https://metacpan.org/release/RSHADOW/Mojolicious-Plugin-Vparam-2.02
22:24 sri oh, that's neat https://github.com/blog/2293-resolve-simple-merge-conflicts-on-github
22:26 PryMar56 joined #mojo
22:27 jberger nice
22:27 jberger I like that
22:28 Grinnz that's neat
22:28 Grinnz doesn't look like it uses the 3-way merge conflicts though :(
22:35 jberger Grinnz: http://imgur.com/gallery/qHHqd
22:47 Adurah joined #mojo
22:48 marty joined #mojo
22:54 disputin joined #mojo
23:05 Adura joined #mojo
23:32 polettix joined #mojo
23:35 tchaves joined #mojo
23:45 disputin joined #mojo

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