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

IRC log for #mojo, 2014-12-03

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

All times shown according to UTC.

Time Nick Message
00:22 tempire joined #mojo
00:26 zivester joined #mojo
00:42 zivester joined #mojo
00:43 neyasov joined #mojo
01:18 absolut_todd joined #mojo
01:27 asarch joined #mojo
01:31 alnewkirk joined #mojo
01:43 sri you'd think numeric constants would be faster than strings like 'tag', 'root' and 'text' in the Mojo::DOM tree
01:43 Averna joined #mojo
01:44 sri but i've just tested it, and there's absolutely no difference whatsoever
01:44 sri for huge documents memory usage just goes down a little
01:48 muraiki_ joined #mojo
02:02 klapperl joined #mojo
02:14 good_news_everyon joined #mojo
02:14 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/gaxlXg
02:14 good_news_everyon mojo/master f490ac9 Sebastian Riedel: fixed bug in Mojolicious::Controller where sending a WebSocket message would cause multiple resume events
02:14 good_news_everyon left #mojo
02:20 franzkafka Hey guys, I am going to work on a Mojolicious plugin. What's a good plugin that works well with latest version that I can reference?
02:20 franzkafka sri, I added the two bullet points to my email btw, thanks :D
02:30 good_news_everyon joined #mojo
02:30 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/yhn5Dw
02:30 good_news_everyon mojo/master 65a998c Sebastian Riedel: no need to increment value again
02:30 good_news_everyon left #mojo
02:36 sri catalyst is getting closer and closer to mojolicious in... lines of code :)
02:36 sri 7274 lines for catalyst vs 8854 lines for mojolicious
02:36 sri and for both it's only core
02:37 sri every time someone starts mentioning the stuff we reinvent i'm gonna throw those numbers at them ;p
02:46 callumgare_ joined #mojo
02:54 good_news_everyon joined #mojo
02:54 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/BtWx5w
02:54 good_news_everyon mojo/master 8448666 Sebastian Riedel: better description for after_build_tx hook
02:54 good_news_everyon left #mojo
02:57 callumgare joined #mojo
03:08 absolut__ joined #mojo
03:22 noganex_ joined #mojo
03:27 Eke- joined #mojo
03:29 absolut_todd joined #mojo
03:46 good_news_everyon joined #mojo
03:46 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/KLoQOQ
03:46 good_news_everyon mojo/master bd00a16 Sebastian Riedel: check static files a little faster
03:46 good_news_everyon left #mojo
03:51 Akron joined #mojo
03:54 human39 joined #mojo
03:55 nicomen speaking of, how would you set an Expires: header fo static content?
04:01 franzkafka Has anyone here used Net::Twitter with Mojo::UserAgent?
04:01 Snelius nop)
04:01 Akron The book "Building Bioinformatics Solutions" second edition has a whole chapter on Mojolicious?! I am totally in the wrong department ...
04:03 sri :o
04:04 nicomen Akron: nice ;)
04:07 Akron Or at least it's a whole section ... not bad.
04:07 sri now i gotta pirate that book to make sure i've not broken anything mentioned there :)
04:08 preaction why not just e-mail them and ask? http://bixsolutions.net
04:08 preaction https://github.com/dazoakley/bbs-v2 <- ooh, all the examples
04:10 Akron At least all students in this channel should make sure their university libraries have a copy. ;)
04:11 preaction but perl is for old people! yuck!
04:12 sri tempire: they also mention mojocasts ;)
04:12 sri the chapter is actually not bad, the DBI examples could be better, but it's not bad
04:12 franzkafka blarg, It seems mojocasts are using the old Twitter API
04:13 franzkafka Any plans on updated mojocasts with all the new changes and everything? (obviously not to twitter, but to mojolicious.)
04:16 sri i think tempire is too busy for that atm
04:19 akhasanov joined #mojo
04:22 franzkafka darn, those mojocasts are awesome. They're still 99% relevant. I was just using the Twitter example earlier, but they've changed the API so that one no longer works. Otherwise, everything else for the most part has worked great.
04:23 sri there's an errata https://github.com/kraih/mojo/wiki#screencasts
04:24 franzkafka Awesome, that's not much at all. Should throw a link to that on the mojocasts site, especially if it's in this bionformatics book
04:29 s1037989 Following the example for websockets at http://mojolicio.us/perldoc/Mojolicious/Lite#WebSockets , with my app Mounted, url_for() uses a scheme of http:// instead of ws://.  When not mounted, it uses a scheme of ws:// just fine.  Does it not work behind a mount or can I specify a scheme with url_for()?
04:34 good_news_everyon joined #mojo
04:34 good_news_everyon [mojo] kraih tagged v5.68 at f96a73c: http://git.io/L_Ndzw
04:34 good_news_everyon left #mojo
04:35 bpmedley_ joined #mojo
04:36 good_news_everyon joined #mojo
04:36 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/4XE1FQ
04:36 good_news_everyon mojo/master 307cddd Sebastian Riedel: bump version
04:36 good_news_everyon left #mojo
04:37 sri s1037989: version?
04:37 s1037989 5.67
04:37 Snelius too old now
04:37 s1037989 Tho it looks like I'm behind a notch now!  :D
04:37 Snelius (8
04:41 s1037989 Also, running `perl my_app routes' shows my websocket route as a GET.  Is that right?
04:45 irq joined #mojo
04:49 jberger_ joined #mojo
04:55 good_news_everyon joined #mojo
04:55 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/BFHaTw
04:55 good_news_everyon mojo/master 6387b6b Sebastian Riedel: added tests for embedded applications with WebSockets
04:55 good_news_everyon left #mojo
04:55 sri s1037989: works flawless
04:55 s1037989 Great!  Good to know!
05:05 good_news_everyon joined #mojo
05:05 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/BXwJhw
05:05 good_news_everyon mojo/master 5a9a889 Sebastian Riedel: test Unicode prefix
05:05 good_news_everyon left #mojo
05:16 s1037989 $ perl rtc/lite_app eval -V 'app->url_for("notification")->to_abs' shows that my route is 'ws'.  How would I do something similar pointed to the lite_app that mounts rtc/lite_app?  i.e.  rtc/lite_app is Mounted behind a specific FQDN.
05:30 laouji joined #mojo
06:08 ver joined #mojo
06:13 s1037989 Figured out my problem...  The hypnotoad server was originally running under root but I kept "restarting" it as non-root.
06:15 rem_lex| joined #mojo
06:22 s1037989 Anyway for hypnotoad to pick up on that user error, to fail / warn that the server is running as root but the restart attempt is not currently happening under root?
06:46 firnsy joined #mojo
06:50 absolut__ joined #mojo
06:52 akhasanov joined #mojo
06:54 dod joined #mojo
06:57 fhelmberger joined #mojo
07:03 Eke- joined #mojo
07:03 marmez joined #mojo
07:04 woz joined #mojo
07:16 wim joined #mojo
07:26 absolut_todd joined #mojo
07:29 McA joined #mojo
07:39 McA joined #mojo
07:55 Vandal joined #mojo
07:58 franzkafka Is it possible to grab an image from the web, not save it to a file, yet still work with the image?
07:58 franzkafka I was trying this: my $data = $ua->get('http://2u.pacn.ws/640/ig/ni-no-kuni-wrath-of-the-white-witch-greatest-hits-332263.18.jpg')->res->content->asset->slurp;
07:58 franzkafka not working :D
08:03 crab could someone help me to understand how to change $t->tx->res->dom->find('...')->attr('src') to use the suggested Collection::map?
08:04 crab ->find('...')->map(attr => 'src') maybe
08:16 sugar joined #mojo
08:20 sugar_ joined #mojo
08:33 trone joined #mojo
08:39 sugar__ joined #mojo
08:42 eseyman joined #mojo
08:52 marmez joined #mojo
08:52 marmez left #mojo
08:52 marmez joined #mojo
09:06 cosimo joined #mojo
09:16 Averna joined #mojo
09:23 irq joined #mojo
09:42 dotan1 joined #mojo
09:46 cosimo joined #mojo
09:58 sugar joined #mojo
10:02 denny joined #mojo
10:14 arthas joined #mojo
10:25 neyasov_ joined #mojo
10:42 neyasov__ joined #mojo
10:43 chansen joined #mojo
11:08 popeshoe_ joined #mojo
11:12 popeshoe_ joined #mojo
11:16 popeshoe joined #mojo
11:22 sugar_ joined #mojo
11:22 Eke- joined #mojo
11:41 Eke|| joined #mojo
11:43 denis_boyun joined #mojo
11:45 popeshoe joined #mojo
12:17 Gedge_ joined #mojo
12:19 popeshoe joined #mojo
12:20 popeshoe_ joined #mojo
13:22 popeshoe joined #mojo
13:26 ignacio_ joined #mojo
13:43 ignacio_ joined #mojo
13:53 Akron joined #mojo
14:06 zivester joined #mojo
14:11 mattastrophe joined #mojo
14:16 tbushell_ joined #mojo
14:33 muraiki joined #mojo
14:33 sri second part of the interview is up
14:50 basiliscos joined #mojo
14:55 Akron pmb0++ et al for https://github.com/heiseonline/shariff-backend-perl .
15:00 crab what interview?
15:00 purl hmmm... interview is usually done on the "casting" couch
15:00 Grinnz NOT THAT KIND OF INTERVIEW PURL
15:02 jkramer lol
15:06 batman http://www.josetteorama.com/all-about-mojolicious-interview-of-sebastian-riedel-part-2
15:06 batman crab: ^
15:07 zivester joined #mojo
15:11 batman sri: i think the interviews are really good :)
15:11 batman sri++
15:11 sri \o/
15:11 batman especially the part about AssetPack, haha :D
15:12 * batman just finished part #2
15:13 Grinnz what is a DSL in this context, i keep hearing that, but clearly it doesn't refer to Damn Small Linux, Digital Subscriber Line, or ... Sucking Lips
15:13 Grinnz well, at least i'm pretty sure about the last one
15:13 batman Grinnz: http://en.wikipedia.org/wiki/Domain-specific_language
15:13 neyasov joined #mojo
15:13 Grinnz jesus christ wikipedia
15:14 Grinnz i heard the ads were bad
15:14 batman the dsl makes up the "get", "post", app", ...., sugar in a Mojolicious::Lite
15:14 Grinnz was not prepared for that
15:14 Grinnz ahh
15:15 Grinnz so its kind of a generalized term for "markup"
15:16 batman no idea how markup fits in. sorry :/
15:16 batman i guess all the core perl functions makes up the dsl for perl...
15:16 sri here's an example for the second kind of DSL in mojolicious https://gist.github.com/kraih/4351674
15:17 Grinnz digital subscriber line?
15:22 zivester joined #mojo
15:24 Grinnz ooh i see
15:25 amon joined #mojo
15:29 elik joined #mojo
15:43 elik joined #mojo
15:49 apl joined #mojo
15:51 tempire that's super cool
15:51 tempire I'd like to read that chapter, just not sure where I can do it.
15:57 * tempire has given his annual donation to wikimedia
15:58 * sri decides to benchmark mojolicious with blead perl
15:59 Grinnz_ uhoh, he's benchmarking :)
16:00 Ptolemarch joined #mojo
16:03 jamesaxl joined #mojo
16:04 sri there is a very small gain
16:04 Eke- joined #mojo
16:04 sri 3100 rps vs 3200 rps for my benchmark
16:05 sri (examples/fast.pl)
16:06 sri oooh
16:06 sri quite a bit more for a real app
16:07 sri 1513 rps vs 1863 rps there
16:07 sri (examples/hello-template.pl)
16:07 sri same optional modules installed btw.
16:09 sri smaller difference for a hello world
16:10 sri 2022 rps vs 2112 rps
16:10 sri (examples/hello.pl)
16:10 sri so it looks like the performance gain will be more substantial the bigger your app
16:18 bc547_ joined #mojo
16:19 neyasov joined #mojo
16:21 sri soooo, that means the best performance increase so far is 23%, not too shabby
16:22 davido__ joined #mojo
16:30 bc547 joined #mojo
16:32 cosimo joined #mojo
16:36 elik joined #mojo
16:41 Akron sri++ great interview!
16:51 mst sri: shadowcat IRC ended up discussing unicorns farting rainbows and one of my partners linked http://media-cache-ec0.pinimg.com/736x/cf/dd/36/cfdd36ded8853493a02e6f8354e9108f.jpg
16:51 mst sri: I thought it might amuse you
16:58 Eke- joined #mojo
17:10 sri heh
17:35 marty coolest ted talk ever... http://www.c365.ro/video/carrot-clarinet-linsey-pollak-126.html
17:37 tempire bummer
17:37 tempire spreadshirt doesn't allow images on the front or shoulders of a polo
17:38 neyasov joined #mojo
17:39 good_news_everyon joined #mojo
17:39 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/8Dbm6Q
17:39 good_news_everyon mojo/master 399b18f Sebastian Riedel: a plugin may change $_
17:39 good_news_everyon left #mojo
17:41 sh4 joined #mojo
17:46 good_news_everyon joined #mojo
17:46 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/_tG1rw
17:46 good_news_everyon mojo/master 23a95db Sebastian Riedel: no need for that extra line
17:46 good_news_everyon left #mojo
17:47 Grinnz_ what i love extra lines!
17:48 * sri slaps Grinnz_ with extra lines
17:54 Eke- joined #mojo
17:54 denis_boyun joined #mojo
18:06 Ptolemarch joined #mojo
18:28 absolut_todd joined #mojo
18:43 asarch joined #mojo
18:46 akhasanov joined #mojo
18:53 Ptolemarch joined #mojo
19:04 neilhwatson joined #mojo
19:15 hernan joined #mojo
19:17 tbushell_ joined #mojo
19:19 tbushell left #mojo
19:26 preaction jberger: with the new job are you allowed to IRC during work hours?
19:27 dod joined #mojo
19:28 preaction the box says no
19:28 Eke- joined #mojo
19:28 Grinnz_ i have a legit reason to be on irc now that we're using slack through irc <_<
19:28 Grinnz_ or at least, we're using slack, and i'm using it through irc
19:28 Grinnz_ :D
19:29 preaction nice. i wish we had slack at $work here. or atlassian's thing (we've got jira, and fisheye, and crucible, and confluence, but no hipchat)
19:29 Grinnz_ slack is pretty nice. at first i was like, "so this is basically just IRC" but it's an IRC that non-IRCers can get into
19:30 preaction exactly! afaict, so is hipchat
19:30 Grinnz_ never tried that one
19:30 preaction hipchat is xmpp ffs. there's a rest api, you can write bots in mojolicious
19:30 Grinnz_ hehe
19:30 preaction i think someone in here was doing just that even. or maybe it was slack. dunno
19:31 Grinnz_ yeah slack has a few APIs
19:31 Grinnz_ IRC, XMPP, and i added a webhook to announce our git commits
19:33 denny joined #mojo
19:40 hernan joined #mojo
19:43 sri yea, it's amazing when specs the entire internet is supposed to rely on get rushed through the process...
19:43 sri http://lists.w3.org/Archives/Public/ietf-http-wg/2014OctDec/0853.html
19:45 sri so rushed not even garbage flags gets removed that don't really serve a purpose anymore and make implementations much more complicated
19:45 sri s/s//
19:46 sri gotta love when people chime in with "we can clean that up in HTTP/3!"
19:47 Grinnz_ "fix it later!"
20:00 Ptolemarch joined #mojo
20:01 Nei why is everyone reinventing irc btw
20:01 Nei gitter is all the fad to
20:01 Nei o
20:04 hernan because irc aint cool? its old
20:04 hernan and not everyone knows what is really irc
20:05 hernan604 irc goes beyond chatting
20:06 Grinnz_ cause irc is ridiculously old and needs reinventing
20:06 Grinnz_ and most people who reinvent social stuff like to make money off it
20:06 hernan604 i think they try to make something popular for the masses
20:06 hernan604 yeh
20:06 hernan604 on those lines
20:19 Nei yea why not reinvent irc and sell it for $2/mo
20:20 Grinnz_ $6.67 a month actually ;)
20:20 Grinnz_ https://ventusdev.slack.com/pricing
20:20 Grinnz_ or just https://slack.com/pricing
20:21 Grinnz_ is what i meant :P
20:24 denis_boyun joined #mojo
20:34 basiliscos joined #mojo
20:34 basiliscos joined #mojo
20:42 sugar__ joined #mojo
20:48 sri muhahahahahahahahaha
20:48 sri http://icannwiki.com/Brand_TLD
20:52 jberger_ joined #mojo
20:52 jberger_ preaction: I think so, I just need to remember to turn it on
20:52 genio sri.brand
20:52 jberger_ IRC that is
20:54 jberger_ I head back home today, I will work on opening my convos through my NAT and then it will be easier
20:54 genio honestly, I don't really get the point of Brand TLDs other than for ICANN to make more money.   mail.google   vs    mail.google.com    seems pointless
20:55 sri yea, ICANN has a taste for money now
20:56 sri they basically have a license to print money, it's all totally unregulated
20:56 jberger_ mmmmm money
20:56 * jberger_ eats a $5
20:57 genio "Let's make another clever way for spammers to point you to seemingly proper links so that big companies will pay us for another TLD!"
21:05 marmez joined #mojo
21:22 lb there are lots of people i'd like to see branded
21:23 Ptolemarch joined #mojo
21:23 Eke- joined #mojo
21:24 dod joined #mojo
21:34 punter joined #mojo
21:37 sugar joined #mojo
21:41 preaction so it's true: developers are leading the design of the protocol, not engineers.
21:41 preaction "we can clean that up in the next version" <- but the previous version WILL NEVER GO AWAY
21:43 sri who's countig the decades
21:43 preaction servers still usefully and appropriately use HTTP/1.0 ffs!
22:08 mattastrophe joined #mojo
22:19 tbushell joined #mojo
22:27 berov joined #mojo
22:55 jb360 joined #mojo
23:05 ua left #mojo
23:22 Ptolemarch joined #mojo
23:31 sugar joined #mojo
23:36 berov that's already something http://webcomponents.org/
23:45 Ptolemarch joined #mojo
23:52 asarch joined #mojo

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