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

IRC log for #mojo, 2014-07-22

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

All times shown according to UTC.

Time Nick Message
00:07 D4RK-PH0ENiX joined #mojo
00:47 Lingo_ joined #mojo
00:51 lipizzan joined #mojo
00:58 laouji joined #mojo
01:15 disputin joined #mojo
01:27 Adurah joined #mojo
01:49 klapperl_ joined #mojo
01:55 bowtie joined #mojo
02:18 Lingo__ joined #mojo
02:38 disputin joined #mojo
03:03 hesperaux joined #mojo
03:17 dvinciguerra joined #mojo
03:22 bowtie joined #mojo
03:23 Lingo___ joined #mojo
03:34 bowtie joined #mojo
03:58 basic6 joined #mojo
04:15 bowtie joined #mojo
04:16 mr-foobar joined #mojo
04:23 chankey joined #mojo
04:32 neyasov______ joined #mojo
04:42 Lingo____ joined #mojo
04:45 Lingo_____ joined #mojo
04:47 sujithm joined #mojo
04:52 KCL_ joined #mojo
04:59 Lingo_____ joined #mojo
05:03 denis_boyun joined #mojo
05:18 laouji joined #mojo
05:20 laouji_ joined #mojo
05:31 jberger_ joined #mojo
05:31 batman joined #mojo
06:07 denis_boyun joined #mojo
06:17 Lingo_____ joined #mojo
06:17 sujithm joined #mojo
06:19 dpetrov_ joined #mojo
06:36 basiliscos joined #mojo
06:38 dpetrov_ joined #mojo
06:40 rem_lex joined #mojo
06:40 WildPIkachu_ joined #mojo
06:47 Vandal joined #mojo
06:48 woz joined #mojo
06:53 sri this has been a long time coming... but now i'm temp banning charlie brady
06:53 sri maybe that will help
06:56 neyasov______ joined #mojo
07:05 batman charlie brady?
07:05 purl it has been said that charlie brady is too hostile for me, i avoid threads he participates in these days :/
07:09 dod joined #mojo
07:10 dotan joined #mojo
07:12 bowtie joined #mojo
07:17 mishantil WHo is Charlie Brady? Can't seem to habe seen any hostility here?
07:17 mishantil *have
07:26 sujithm_ joined #mojo
07:31 sri someone on the mailing list who has been exceptionally unpleasant to interact with for a very long time
07:33 sri and i'm cracking down un unpleasantness!
07:33 * sri puts on his community gardening hat
07:36 mire joined #mojo
07:39 trone joined #mojo
07:41 mishantil Ah. Don't think I've ever subscribet to the mailing list. Irc is just so.. convenient. :)
07:41 * firnsy is amused that "use Mojo::Base -strict" is now a reflex for new scripts
07:42 sri well, there's some 850 people on the list
07:43 sri that reminds me... i still have no clue what we're going to do about signatures in Mojo::Base
07:51 rawler joined #mojo
08:08 basiliscos joined #mojo
08:16 arthas joined #mojo
08:17 edestler joined #mojo
08:24 sujithm joined #mojo
08:31 marcus__ joined #mojo
08:40 sujithm joined #mojo
08:48 * sri wonders if there are more syscalls in mojolicious that can be optimized away
09:08 sri looks good for the O_APPEND change btw. http://www.cpantesters.org/distro/M/Mojolicious.html?oncpan=1&distmat=1&version=5.16
09:10 neyasov______ joined #mojo
09:38 dexteruk joined #mojo
09:47 dotan joined #mojo
09:51 punter joined #mojo
09:51 geira joined #mojo
09:55 dotan joined #mojo
10:01 D4RK-PH0ENiX joined #mojo
10:10 sujithm_ joined #mojo
10:24 D4RK-PH0ENiX joined #mojo
10:25 mire joined #mojo
10:31 meshl joined #mojo
11:01 dvinciguerra joined #mojo
11:16 mattastrophe joined #mojo
11:39 sujithm joined #mojo
11:48 sri everything is awesome
11:48 sri \o\
11:48 sri /o/
11:49 d4rkie joined #mojo
11:49 jberger \o/
11:50 lipizzan joined #mojo
11:50 jberger mishantil: even I'm not on the mailing list
11:51 jberger I do look on rare occasions
11:51 jberger I've traken the alternative of monitoring the SO tag
11:51 jberger taken
11:56 mishantil jberger: I look at SO from time to time, but not nearly frequent enough to be able to contribute anything useful.
11:56 d4rkie joined #mojo
12:13 batman jberger: https://twitter.com/convosby/status/491462470931087360 :)
12:14 neilhwatson joined #mojo
12:18 batman haha https://github.com/kraih/mojo/issues/650 :D
12:20 sri :)
12:20 sri that was a bit odd
12:32 WildPIkachu_ does someone have an example of an edit controller for me?  I was looking at loading the data using $validation->input() and and then ->optional() to get it in the output so its pulled into my form
12:39 fhelmber_ joined #mojo
12:46 sri i still sometimes wonder if we should have routes to helpers for more code reuse
12:47 jberger_ batman += 2!
12:47 sri my $authenticated = $r->under({helper => 'basic_auth'})->under({helper => 'some_other_garbage'});
12:47 batman jberger_: ah -lot- of changes :)
12:47 sri perhaps a plugin 'MyAuthHelpers'; behore
12:48 sri you know, putting code commonly shared between actions into plugins
12:49 batman jberger_: anything particular (other than the issue you posted) you are looking forward to?
12:49 batman would be cool to know if i actually made another useful change :)
12:49 batman i'm really exited about goto-anything
12:50 batman even though it's just "goto-most-things" ;)
12:54 sri could be easily wrapped in a method... my $authenticated = $r->with(qw(basic_auth some_other_garbage));
12:54 * sri shrugs
12:55 jberger_ Desktop notifications have never worked for me, that would be cool
12:55 batman ok. which browser?
12:55 jberger_ And the sidebars look sweet
12:55 jberger_ Chromium on  Ubuntu
12:57 jberger_ I haven't looked from the demos instance lately though
12:57 jberger_ I use it mostly from my phone
12:58 batman ok. thanks for the feedback
13:03 batman jberger_: do you have notifications from other sites?
13:09 jberger_ I don't know of other sites  that do desktop notifications
13:25 _WildPikachu_ joined #mojo
13:25 batman jberger_: i fixed notifications for chromium in convos now
13:25 mattastrophe joined #mojo
13:26 jberger_ \o/
13:26 inokenty joined #mojo
13:31 sri marcus, tempire: wake up!
13:31 bluescreen joined #mojo
13:41 rem_lex joined #mojo
13:47 batman sri: i don't think marcus is around
13:49 jberger_ And tempire has dissociated into sparkles
13:50 sri :O
13:51 sri yea, tempire looks busy :D https://scontent-b-lhr.xx.fbcdn.net/hphotos-xfp1/t1.0-9/10491215_10152550075699235_2245024752998354969_n.jpg
13:52 batman :D
13:52 neilhwatson Cannot unsee
13:52 jberger_ Hahahahaha
13:52 purl LOLCON 5 reached.
13:53 dvinciguerra joined #mojo
13:57 btyler joined #mojo
13:59 batman sri: i'm curious... any cool change coming up, since you require their presence?
13:59 sri i guess you could say that :)
13:59 * batman gets even more curious :)
14:00 sri i've seen marcus on twitter
14:00 batman sri: yeah, but i think he's on a bus, train, plane or in a car now. (i might be wrong though)
14:01 sri oh noes!
14:01 batman is there a pull request or something like that i can look at?
14:02 sri not yet, but you'll like it
14:02 * batman is trying to waste as much time as possible - not working
14:02 batman ok.
14:05 WildPikachu does someone have an example of an edit controller for me?  I was looking at loading the data using $validation->input() and and then ->optional() to get it in the output so its pulled into my form and displayed :)
14:06 batman WildPikachu: you already asked that.
14:08 batman try rephrasing. like actually telling us what you have done and what didn't work
14:08 WildPikachu sorry batman , thought maybe someone else joined that has an example
14:09 WildPikachu well, is populating $validation with data the correct way to populate an edit form?
14:10 batman WildPikachu: https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Rendering.pod#Form-validation
14:10 batman ^ have you read that?
14:11 WildPikachu yep, thats what I'm using at the moment to add data, I just need to know if that is the "right" thing to use for my editing
14:11 WildPikachu for instance populating $validation using input(), but the source being the DB
14:12 batman do you mean that you're trying to pre-populate <input> fields in your html?
14:13 WildPikachu I'm trying to pre-populate it when using /edit/:userid from the DB, yep
14:13 WildPikachu I'm doing the pre-population in the controller
14:13 batman then why are you messing around with the validator?
14:13 batman you only need to validate when getting data -from- the user
14:13 WildPikachu well, thats what I am asking, is using the validator to pre-populate the right way?
14:14 batman no.
14:14 batman $c->param($_ => $row->$_) qw( name address ); $c->render;
14:14 batman ^ something like that. the <input> will read data from $c->param() and use that
14:15 batman but only set it unless you have already gotten something from the user. something like this:
14:15 WildPikachu aha!! thats the missing piece
14:15 batman $c->param(address => $row->{address}) unless $c->param("address");
14:15 WildPikachu exactly what I was after, thanks bat
14:15 batman $c->param(address => $row->{address}) unless defined $c->param("address"); # might be even more correct... defined/length/...
14:16 WildPikachu right, I was missing the link between the data and the tag helpers, I missed the ->param() in _input() when I was looking at it earlier
14:17 batman "bat" ..? *nevermind*
14:28 dexteruk_ joined #mojo
14:41 * jberger_ refers to him as batty :-P
14:42 * batman tries to stay nice
14:42 batman ;)
14:43 WildPikachu thanks batman , sorry about the "bat", was a autocomplete typo :)
14:44 batman no pro pica
14:44 * batman hides
14:44 genio heh
14:46 WildPikachu ;)
14:46 WildPikachu do bats drink beer?
14:46 * WildPikachu hands batman a beer to see
14:47 jberger_ I had to teach my autocorrect not to capitalize batman
14:47 gryphon joined #mojo
14:48 sri yea, so this exists http://memeboss.com/wp-content/uploads/2013/02/grumpy-cat-joker-batman.jpg
14:48 batman ;)
14:50 jberger_ Recursive grumpy batman. Buffer overloading. Must. Stay....
14:55 WildPikachu https://www.gunandgame.com/attachments/bat_beer_bong_ars-jpg.32407/  <= that looks like beer to me!
14:58 sh4 joined #mojo
15:01 lipizzan joined #mojo
15:12 arthas joined #mojo
15:24 * sri yawns
15:25 Newbie__ joined #mojo
15:28 dvinciguerra joined #mojo
15:29 sri marcus: !!!
15:40 arthas joined #mojo
15:46 meshl joined #mojo
15:54 * tempire rematerializes
15:56 sri \o/
15:57 sri now we just need to catch marcus
15:57 * jberger_ throws a water balloon at marcus
15:58 Vandal joined #mojo
16:02 Ptolemarch joined #mojo
16:04 * sri tries to set marcus on fire
16:10 neyasov______ joined #mojo
16:24 * lb throws a vodka balloon at marcus
16:25 sri \o/
16:30 WildPikachu sri, if you lit that balloon on fire what would it be called?
16:33 fhelmber_ joined #mojo
16:35 sujithm joined #mojo
16:52 KCL joined #mojo
17:04 sri i don't think marcus is coming back :(
17:05 lb WildPikachu: flaming viking
17:08 Kripton joined #mojo
17:13 dvinciguerra joined #mojo
17:24 dod joined #mojo
17:32 denis_boyun joined #mojo
17:34 denis_boyun_ joined #mojo
17:40 disputin joined #mojo
17:41 tempire Maybe he defected to sweden
17:42 og01 joined #mojo
17:42 tempire Or PHP
17:42 tempire Sweden or PHP
17:42 tempire Those are pretty much the only options
17:43 lb haha, a norwegian defecting to sweden
17:43 og01 Hi i hope I can ask aboujt the Mango driver here, I want to setSlaveOk as per document here: http://docs.mongodb.org/manual/reference/method/Mongo.setSlaveOk/ but cannot work out how to do it via the Mango driver
17:43 lb DEEP TREACHERY
17:45 og01 also looking at the URI parsing code, it doesnt support passing the option there either such as mongodb://user:pass@localhost?slaveOk=true
17:45 og01 is there any way to do this?
17:57 berov joined #mojo
18:19 marty og01:  Are you using replica sets?
18:20 marty opps, I mean are you sharding?
18:21 marty og01: if you are not sharding then you may find this helpful. https://jira.mongodb.org/browse/SERVER-1594
18:29 * lb sharted :(
18:52 sri og01: unsupported
18:57 sri i'm not saying it will never be supported, but unless someone hands be a barrel full of money it will never be supported
18:58 sri the literal breaking bad kind of money barrel
19:00 * lb hands sri a barrel full of vintage italian lira
19:04 sri Oo
19:13 denis_boyun joined #mojo
19:16 Adura joined #mojo
19:22 marty It looks like the jira issue has received a higher priority than last time I looked.  So hopefully it will become reality some day.
19:23 lb every time i read about jira it's someone tweeting "at least i don't have to work with jira anymore"
19:25 denis_boyun joined #mojo
19:25 neyasov______ joined #mojo
19:29 genio We're trying to move away from our current setups (yes, plural) to Jira
19:29 denis_boyun_ joined #mojo
19:30 sri marty: planning bucket usually means it's at least a year away
19:32 marty That's not so bad.  It will probably coincide with the release of Perl 6.  :-S
19:32 sri realistically, i think it might arrive in 2 years
19:32 sri 2.14 maybe
19:34 sri but it's pretty uncertain, the official drivers support the current way of doing replication, so there is not much pressure from customers really
19:43 marty If it turns out that mongodb is not going to handle it in core then it might be worth looking at updating Mango.  via that barrel of money (or a kickstarter)
19:45 hummeleBop joined #mojo
19:50 hummeleBop joined #mojo
19:51 marcus Wat
19:51 stephan48 it lives!
19:51 marcus It's drinking beer on a ferry.
19:52 sri haha
19:53 marcus Welcome to the wrecking crew, jht. <3
19:53 sri \o/
19:53 sri marcus: he doesn't know
19:53 Newbie__ joined #mojo
19:54 marcus Gonna be a rude awakening then.
19:54 stephan48 wrecking crew?
19:54 sri way to spoil the surprise
19:55 marcus That's what I do best.
19:56 good_news_everyon joined #mojo
19:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/-BPesQ
19:56 good_news_everyon mojo/master da5c7f7 Sebastian Riedel: welcome to the Mojolicious core team Jan Henning Thorsen
19:56 good_news_everyon left #mojo
19:56 sri \o/
19:56 sri batman: welcome!
19:56 purl Welcome to the Internet, where men are men, women are men, and kids are cops.
19:56 marcus Batman to the rescue.
19:57 batman marcus: i didn't get what the "wrecking crew" was, so you didn't really spoil anything ;)
19:57 batman thanks team!
19:57 marty batman++
19:59 batman but... i never push anything :S
19:59 marcus Yeah that is your signature move.
20:00 marcus Going to lose internet now. Going to international waters. Back tomorrow evening.
20:00 sri o/
20:00 batman marcus: stay cool. drink beer. have fun. go crazy.
20:00 stephan48 batman: gratz! now take over the world!
20:01 * sri shuffles around pause permissions
20:01 stephan48 marcus: not nessessary in that orderofcourse
20:01 batman stephan48: i'm easily bought over. it will only cost one camel.
20:01 sri you should have quite a few co-maint bits now... i'm too lazy to sort them all out :)
20:01 * stephan48 hands  21:44:07  * Cuda verteilt ohrwürmer https://www.youtube.com/watch?v=eL_Dkly0CBM
20:01 stephan48 sorry
20:01 jberger_ batman++
20:01 stephan48 21:44:07  * Cuda verteilt ohrwürmer https://www.youtube.com/watch?v=eL_Dkly0CBM
20:02 stephan48 http://guest.engelschall.com/~sb/download/img/PerlCamel.gif this
20:02 stephan48 paste fail^2
20:02 jberger_ marcus have fun
20:02 batman sri, jberger_, crab, marcus: thanks for the confidence :)
20:02 jberger_ \o/
20:05 mire joined #mojo
20:09 sri \o\
20:09 sri /o/
20:11 sri batman: was funny when you wanted to step in for marcus earlier ;)
20:12 sri i needed his vote
20:13 batman Crap! Epic fail! Forgot to thank tempire :/
20:14 batman sri: yeah ;) guess I could have though, hehe
20:16 dod joined #mojo
20:18 edestler joined #mojo
20:18 dod left #mojo
20:20 lb batman: good job, now earn it!
20:20 * lb thwirps whip
20:21 lb that's not how you spell that, but i feel it ought to be
20:22 batman Earn it..?
20:23 * tempire stocks up on venom in case everything goes wrong
20:25 sri allright, all sorted... have fun with your new superpowers batman \o/
20:26 lb batman doesn't have superpowers, sri, it's all in the toolbelt
20:26 Akron joined #mojo
20:26 Akron batman++
20:28 batman sri: with great power, comes great responsibility.
20:29 batman lb: my tool belt is filled with awesomeness. Be aware ;)
20:29 * Akron vanishes again ...
20:30 lb it's mostly shark repellent bat spray and other bat stuff
20:31 batman First thing to do: charge my superpowers
20:31 * batman gets some sleep
20:35 meshl joined #mojo
20:41 jb360 joined #mojo
20:44 hesperaux_ joined #mojo
20:46 denis_boyun joined #mojo
20:46 zackiv31 joined #mojo
20:47 jb360 left #mojo
20:48 denis_boyun_ joined #mojo
20:50 meshl joined #mojo
21:13 basiliscos joined #mojo
21:18 denis_boyun joined #mojo
21:31 Newbie__ joined #mojo
21:37 neyasov______ joined #mojo
21:39 berov batman: congratulations!
21:39 purl congratulations! are you joel?
21:40 jberger_ purl: wtf
21:40 purl jberger_: bugger all, i dunno
21:57 denis_boyun joined #mojo
22:09 agorman joined #mojo
22:13 denis_boyun joined #mojo
22:15 btyler_ joined #mojo
22:21 denis_boyun joined #mojo
22:28 mattastrophe joined #mojo
22:42 D4RK-PH0ENiX joined #mojo
22:47 neyasov______ joined #mojo
22:50 Ptolemarch joined #mojo
22:51 hesperaux joined #mojo
23:13 meshl joined #mojo
23:17 firnsy batman++

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