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

IRC log for #mojo, 2014-07-30

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

All times shown according to UTC.

Time Nick Message
00:18 disputin joined #mojo
01:03 laouji joined #mojo
01:08 circ-user-B0pYs joined #mojo
01:45 klapperl joined #mojo
02:04 d4rkie_ joined #mojo
02:18 noganex joined #mojo
02:19 hesco1 joined #mojo
02:24 marty_ joined #mojo
02:30 marty joined #mojo
02:41 btyler joined #mojo
02:44 meshl joined #mojo
03:03 disputin joined #mojo
03:07 woz joined #mojo
03:32 basic6_ joined #mojo
03:39 chankey joined #mojo
03:58 gatitskiy joined #mojo
04:18 woz joined #mojo
04:39 d4rkie joined #mojo
04:59 woz joined #mojo
05:43 sujithm joined #mojo
05:49 gatitskiy joined #mojo
06:00 sujithm joined #mojo
06:04 woz joined #mojo
06:07 denis_boyun joined #mojo
06:24 voegelas joined #mojo
06:31 sujithm joined #mojo
06:36 denis_boyun_ joined #mojo
06:48 dpetrov_ joined #mojo
06:57 trone joined #mojo
07:08 woz joined #mojo
07:11 marcus o/
07:11 batman o/
07:12 batman marcus: when should we meet?
07:13 marcus batman: I have to pick up in the kindergarden, so sometime after dinner I suppose :)
07:13 batman eight o'clock?
07:13 batman earlier..?
07:13 purl earlier is harder than later for people
07:13 marcus probably earlier
07:13 batman \o/
07:13 marcus wife said she'd be home before 6
07:13 batman wife++
07:14 batman where's the place to be today?
07:17 marcus Hmm, maybe you could come up to my place around 5-6, and we could throw something on the bbq?
07:17 batman it's a date :)
07:17 * batman brings beer
07:18 batman what else?
07:18 marcus cool beans. I do have some beer in the fridge as well.
07:18 marcus Maybe you could bring lompe and potato salad? I have ze meat.
07:18 KindOne joined #mojo
07:18 batman ok
07:23 gatitskiy joined #mojo
07:23 dod joined #mojo
07:24 dod joined #mojo
07:26 dod joined #mojo
07:32 * firnsy wonders what cool beans tastes like on the bbq
07:34 * jberger_ wants to bbq in Oslo!
07:35 jberger_ Not this week maybe, but sometime :-P
07:35 marcus jberger_: you're always welcome.
07:36 batman jberger_: noticed anything weird with demo.convos.by that need fixing before the new release?
07:38 Vandal joined #mojo
07:43 nicomen jberger_: you should wait a bit, so it's closer to 80ºF instead of 90ºF
07:46 oetiker joined #mojo
07:51 basiliscos joined #mojo
07:55 denis_boyun joined #mojo
07:59 woz joined #mojo
08:13 mire_ joined #mojo
08:14 jberger_ batman: once or twice I've seen messages that have come in close succession from different posters get lumped together
08:14 batman what does that mean?
08:14 purl You're a nut! You're crazy in the coconut!
08:15 jberger_ Like if you post a bunch of  things in a row, it only shows your name and avatar once for the block
08:16 batman it's supposed to look
08:16 batman like that
08:16 batman :)
08:16 jberger_ I thought i had seen a few times that a message from a different user get bundled in
08:17 jberger_ When lots were coming in at the same time
08:17 jberger_ So it would look like the wrong person sent something
08:18 batman http://home.thorsen.pm/private/raw/notverysecret/lumped-together.png
08:18 batman oh! that's awful. are you sure or do you *think*?
08:18 batman i don't see how that's possible, but of course... it's software :)
08:19 jberger_ I seem to recall it back in the hn bit
08:19 batman "in the hn"? (hackernews...?)
08:21 jberger_ http://imgur.com/taoVGLu
08:22 batman oh :(
08:22 jberger_ How can you do that
08:22 jberger_ Was you right?
08:22 batman right
08:22 batman i will look into it.
08:22 batman thanks!
08:23 jberger_ I should have mentioned it then, sorry
08:23 batman no problem. it should never have happened. sorry :)
08:23 batman do you also see that now when you started your browser over again or did you only see when the message came over the websocket?
08:24 batman right.
08:24 batman i see it as well \o/
08:26 jberger_ Cool at least you can see it
08:26 jberger_ Much easier to debug that way
08:26 batman indeed :)
08:28 jberger_ Well after outrigger canoeing with sea turtles and driving to the summit of Haleakala, I'm beat, so I'm off to sleep listening to the waves
08:28 jberger_ :-) nn
08:29 go|dfish joined #mojo
08:29 batman ah! goodie. it's a javascript bug :)
08:29 jberger_ Hmmmm, can you link to the commit when you fix it? I'd like to see
08:30 batman yeah
08:30 jberger_ Also, immune
08:30 jberger_ Grrr
08:31 batman immune?
08:31 jberger_ Inline imgur would be cool
08:31 jberger_ Swipe type fail
08:31 jberger_ Also backspace and send buttons are next to each other
08:32 batman jberger_: https://github.com/jhthorsen/mojolicious-plugin-linkembedder <-- add imgur support :)
08:32 batman patches are welcome
08:32 jberger_ Will do, next week :D
08:32 batman or could you make an issue to support imgur? that way i don't forget it...
08:33 denis_boyun_ joined #mojo
08:34 jberger_ https://github.com/jhthorsen/mojolicious-plugin-linkembedder/issues/1
08:34 jberger_ No hurry
08:34 fhelmber_ joined #mojo
08:35 jberger_ Ok really got to go to bed. Surfing lessons in the morning
08:36 * jberger_ continues to try to make the channel jealous
08:36 Adura joined #mojo
08:36 jberger_ nn
08:46 michael joined #mojo
08:49 dotandimet joined #mojo
08:51 sri \o
08:52 batman twitter is so weird... yesterday i tweeted about #ux and got five new designer followers. today i tweeted about ::Surveil and got javascript followers...
08:53 batman i think they will be disappointed :P
08:53 sugar joined #mojo
08:55 geira joined #mojo
09:03 crab jberger: while you were canoeing with sea turtles, $gf and i were sitting at 1500m above sea level and eating fresh-caught trout from the raging river in the valley below
09:03 crab (and, alas, swatting the approximately 1249812398 flies that were sharing our room with us.)
09:13 geira joined #mojo
09:23 punter joined #mojo
09:23 KCL_ joined #mojo
09:27 Adura joined #mojo
09:36 gatitskiy joined #mojo
09:36 dotandimet1 joined #mojo
09:39 dotandimet joined #mojo
09:40 basiliscos joined #mojo
09:41 gatitski_ joined #mojo
10:07 ryozi joined #mojo
10:14 gatitskiy joined #mojo
10:17 gatitski_ joined #mojo
10:22 d4rkie_ joined #mojo
10:24 sri lots of flies around here too this year... the biting kind :S
10:31 sujithm joined #mojo
10:35 d4rkie joined #mojo
10:35 sri yay, new IO::Socket::Socks is out \o/
10:59 Kripton joined #mojo
11:20 rawler joined #mojo
11:26 sujithm joined #mojo
11:36 olg joined #mojo
11:37 Jonneh joined #mojo
11:41 olg Hi, on our hypnotoad setup with mod_proxy, I'm suddenly receiving 502 Proxy Errors after the first (sucessful) request on the proxy. 502 Reason: Error reading from remote server. hypnotoad reports no error until:
11:41 olg [Wed Jul 30 13:40:36 2014] [error] Worker 13801 has no heartbeat, restarting.
11:41 olg [Wed Jul 30 13:40:36 2014] [debug] Trying to stop worker 13801 gracefully.
11:42 good_news_everyon joined #mojo
11:42 good_news_everyon [mojo] kraih pushed 1 new commit to socks: http://git.io/aUJPSQ
11:42 good_news_everyon mojo/socks 4cea5e3 Sebastian Riedel: IO::Socket::Socks 0.64 is required
11:42 good_news_everyon left #mojo
11:42 olg Searching for the apache error, this may be connected to a mod_proxy bug (http://serverfault.com/questions/206738), but this neither fixes it or explains why the first request works fine
11:43 D4RK-PH0ENiX joined #mojo
11:46 good_news_everyon joined #mojo
11:46 good_news_everyon [mojo] kraih pushed 2 new commits to master: http://git.io/94IETw
11:46 good_news_everyon mojo/master 8ed9159 Sebastian Riedel: Merge branch 'socks'
11:46 good_news_everyon mojo/master 572354d Sebastian Riedel: test SOCKS support too
11:46 good_news_everyon left #mojo
11:48 gatitskiy joined #mojo
11:54 good_news_everyon joined #mojo
11:54 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/7wQ9Cw
11:54 good_news_everyon mojo/master 9f071d8 Sebastian Riedel: fixed .travis.yml
11:54 good_news_everyon left #mojo
11:56 Mad_Dud joined #mojo
11:56 good_news_everyon joined #mojo
11:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/de_TIw
11:56 good_news_everyon mojo/master afce098 Sebastian Riedel: fixed version command
11:56 good_news_everyon left #mojo
11:57 basiliscos joined #mojo
11:57 Mad_Dud hu guys, can i use minion for generating monthly reports, or should i stick with cron?
11:58 Mad_Dud i'm trying to understand if this would be correct utility for minion
11:59 dotandimet joined #mojo
12:03 sujithm joined #mojo
12:04 neilhwatson joined #mojo
12:04 sujithm joined #mojo
12:11 dotandimet joined #mojo
12:30 jberger_ joined #mojo
12:30 batman joined #mojo
12:30 batman sri: https://metacpan.org/changes/distribution/IO-Socket-Socks :)
12:30 batman demo.convos.by ran out of memory :(
12:38 marcus joined #mojo
12:42 sri batman: yea :)
12:43 sri guess why i merged socks support into master ;p
12:43 batman sweet! sorry for not paying attention... has been disconnected :(
12:44 sri only this problem left now https://rt.cpan.org/Ticket/Display.html?id=97619
12:44 sri (and IPv6 support)
12:45 lipizzan joined #mojo
12:50 batman ok
12:53 sri no big problems though, we can release already \o/
12:54 batman sweet!
12:55 sh4 joined #mojo
12:59 marcus no boggie
13:00 good_news_everyon joined #mojo
13:00 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/gyy1pg
13:00 good_news_everyon mojo/master 8e733f6 Sebastian Riedel: test failed SOCKS authentication
13:00 good_news_everyon left #mojo
13:00 sri if you can get IO::Socket::Socks installed it works very reliably
13:00 sri and it only fails to install on OS X randomly, if you try often enough it will work
13:02 sri IPv6 works to the SOCKS server (since we handle establishing that connection), only piece missing is support in the SOCKS5 protocol part of IO::Socket::Socks
13:03 sri or actually
13:03 sri i never actually tried
13:05 sri hmm, actually hard to test with Tor
13:06 sri i actually say actually a lot
13:09 sri i suppose it may actually work for us, since the host is submitted as characters, and the server is responsible for resolving
13:11 zivester joined #mojo
13:27 jb360 joined #mojo
13:27 sujithm joined #mojo
13:35 allan joined #mojo
13:35 sujithm joined #mojo
13:41 good_news_everyon joined #mojo
13:41 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/JHq-yA
13:41 good_news_everyon mojo/master 117d322 Sebastian Riedel: fixed typo in Changes file
13:41 good_news_everyon left #mojo
13:54 Jonneh is there some event I can catch in the event that none of my routes match?
13:58 arthas joined #mojo
14:01 batman Jonneh: get "/*catch_all" => sub { ... }; # need to be defined last
14:02 Jonneh ah that's neat, thanks
14:02 batman but you could also use this: https://metacpan.org/pod/distribution/Mojolicious/lib/Mojolicious/Guides/Rendering.pod#Post-processing-dynamic-content
14:03 batman at least i *think* so
14:03 Jonneh yeah i'm kind of abusing the before_render hook, by checking to see if it's a 'not_found' template it's tryign to render
14:04 Jonneh but i've just learned that before_render isn't on the version of mojo i might be stuck with, so I wanna see if there's another way
14:04 Jonneh thanks man
14:05 batman the (bat)man got your back
14:37 mire_ joined #mojo
14:45 jb360 joined #mojo
15:02 mire__ joined #mojo
15:19 Jonneh https://www.youtube.com/watch?v=8V7aA0RHK-Q&amp;feature=youtu.be
15:19 Jonneh lol
15:21 Jonneh whoops wrong channel
15:21 Jonneh how embarassing
15:25 good_news_everyon joined #mojo
15:25 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/QUigHw
15:25 good_news_everyon mojo/master 7b52b98 Sebastian Riedel: added recipe for catch-all route
15:25 good_news_everyon left #mojo
15:25 sri since this has become kind of an FAQ
15:25 sri and even batman's answer was incomplete
15:29 Jonneh hah sri, awesome
15:32 marcus sri: good one
15:32 purl You know it!
15:35 Adura joined #mojo
15:49 batman sri: i always forget the default :/
15:50 sri you're certainly not alone :)
15:50 good_news_everyon joined #mojo
15:50 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/HqG7AQ
15:50 good_news_everyon mojo/master cb14861 Sebastian Riedel: use $c consistently for helpers
15:50 good_news_everyon left #mojo
16:00 good_news_everyon joined #mojo
16:00 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/1Iv7mQ
16:00 good_news_everyon mojo/master 2c41515 Sebastian Riedel: fixed font size of code examples
16:00 good_news_everyon left #mojo
16:01 sri funny mistake
16:02 sri pre, pre > code { font: 0.9em... }
16:02 sri of course you get 0.9em applied twice there for <pre><code>
16:10 gatitskiy joined #mojo
16:15 batman :)
16:28 disputin joined #mojo
16:39 fhelmber_ joined #mojo
16:41 good_news_everyon joined #mojo
16:41 good_news_everyon [mojo] kraih tagged 5.22 at af9a562: http://git.io/xH5bBQ
16:41 good_news_everyon left #mojo
16:43 good_news_everyon joined #mojo
16:43 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/gRyKfw
16:43 good_news_everyon mojo/master e3d53ac Sebastian Riedel: bump version
16:43 good_news_everyon left #mojo
16:44 good_news_everyon joined #mojo
16:44 good_news_everyon [mojo] kraih deleted 5.22 at af9a562: http://git.io/RCg_1A
16:44 good_news_everyon left #mojo
16:45 gatitskiy joined #mojo
16:45 good_news_everyon joined #mojo
16:45 good_news_everyon [mojo] kraih tagged v5.22 at 2856a78: http://git.io/yBih1g
16:45 good_news_everyon left #mojo
16:46 basiliscos joined #mojo
16:47 good_news_everyon joined #mojo
16:47 good_news_everyon [mojo] kraih created v5.21 at 2c41515 (+0 new commits): http://git.io/WI9-LA
16:47 good_news_everyon left #mojo
16:47 sri what the hell...
16:47 purl Unimplemented. or see dotdotdot
16:47 sri i searched for a tag on github and it created a branch :O
16:48 good_news_everyon joined #mojo
16:48 good_news_everyon [mojo] kraih deleted v5.21 at 2c41515: http://git.io/vOk08A
16:48 good_news_everyon left #mojo
16:48 tempire the internet is non-deterministic.
16:48 good_news_everyon joined #mojo
16:48 good_news_everyon [mojo] kraih deleted socks at 4cea5e3: http://git.io/iR9iaA
16:48 good_news_everyon left #mojo
16:49 Jonneh joined #mojo
16:50 denis_boyun joined #mojo
16:50 jzawodn CREATE ALL THE BRANCHES!
17:03 marcus jzawodn: I hear lyds started working at craigslist this week :)
17:04 marcus Good hire!
17:11 marcus__ mohohaha
17:11 marcus__ hm...
17:13 marcus Hmm
17:14 marcus Marcus: test
17:15 batman_ Hi
17:15 purl hola, batman_.
17:15 dod joined #mojo
17:16 dvinciguerra joined #mojo
17:24 mire__ joined #mojo
17:46 oleg joined #mojo
17:49 Marcus_ Wat.
17:55 * sri is confused
17:56 batman sorry. we're drinking beer and testing convos
17:56 batman i just need to get Marcus_ drunk so i can release it ;)
17:57 Marcus_ We can release now
17:57 Marcus_ ;)
18:00 Marcus_ Wat
18:00 jzawodn Marcus_: yes, lyds joined us!  I haven't met her yet since we've missed each other at the office so far.
18:01 Marcus_ jzawodn: I know her from meatspace :)
18:02 lb mmm meat
18:04 marcus_ Batman and I bbqed today, so we are full of meat.
18:04 zackiv31 joined #mojo
18:04 jzawodn bbq++
18:06 * tempire feels left out of the meat
18:13 lb mails from issue trackers are weird
18:13 lb thanks for the update, i guess?  https://code.google.com/p/googleappengine/issues/detail?id=34
18:18 DerShokus joined #mojo
18:21 dexteruk joined #mojo
18:21 neyasov joined #mojo
18:41 disputin joined #mojo
18:42 DerShokus left #mojo
18:46 cooper joined #mojo
19:14 jberger_ lb: i got that one too
19:14 jberger_ Odd
19:15 lb it's just the whole "ok, i guess i cared about this bug/issue 10 years ago, but it was never resolved" thing
19:15 lb blasts from the past
19:16 lb i do enjoy the N-year old bulk closing of tickets
19:16 woz joined #mojo
19:16 lb (reminded me of http://trenchescomic.com/tales/post/how-to-make-a-game-bug-free)
19:17 chansen joined #mojo
19:29 sujithm joined #mojo
19:49 mau-tauuu-ajaah joined #mojo
20:03 woz joined #mojo
20:05 sujithm joined #mojo
20:32 denis_boyun joined #mojo
20:48 disputin joined #mojo
20:55 arpadszasz joined #mojo
20:57 woz joined #mojo
21:16 berov joined #mojo
21:18 woz joined #mojo
21:21 neilhwatson joined #mojo
21:21 berov I want to generate a mojo template (which will be used later) and for the purpose I use a mojo template. How can I escape <%= $foo %> (render it as is) in a mojo template
21:21 berov ?
21:22 KCL joined #mojo
21:36 tempire berov: <%== $foo %>
21:37 berov no, no
21:37 berov I rather want
21:37 berov \<\%== $foo \%\>
21:37 berov trying now
21:40 tempire see the generate/lite_app command
21:40 tempire <%%= $foo %>
21:40 tempire http://mojolicio.us/perldoc/Mojolicious/Command/generate/lite_app.txt
21:40 berov ah thanks for the hint that is what I want to do
21:40 berov (Y)
21:41 berov aha, so it is <%%= $foo %>
21:53 bobkare joined #mojo
22:13 neilhwat1on joined #mojo
22:57 bobkare joined #mojo
23:04 d4rkie joined #mojo
23:20 d4rkie joined #mojo
23:22 * sri wonders what the fastest way to merge one hash into another
23:22 sri *what's
23:25 bobkare joined #mojo
23:27 sri wow, hash merging optimizations are actually measurable :o
23:28 sri %$stash = (%$stash, %{$self->defaults});
23:28 sri apparently that's extremely wasteful
23:28 sri my $defaults = $self->defaults; @$stash{keys %$defaults} = values %$defaults;
23:29 sri that's about 50 rps faster in a 2k rps app
23:42 diegok I always use first one :-/
23:43 synsation joined #mojo
23:56 good_news_everyon joined #mojo
23:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/mUjdNA
23:56 good_news_everyon mojo/master 157cea1 Sebastian Riedel: use a different hash merge idiom
23:56 good_news_everyon left #mojo

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