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

IRC log for #mojo, 2015-02-08

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

All times shown according to UTC.

Time Nick Message
00:14 sri mst: after looking at Future again, i think i actually hate it
00:15 sri it does shitty stuff like having wrap() actually check the object class, instead of accepting any then-able
00:16 sri Promises is much more open and follows promises/a+
00:22 sri of course neither actually have tools for wrapping callback apis
00:22 sri i like this stuff from javascript
00:22 sri var Promise = require('bluebird');
00:22 sri var bcrypt = Promise.promisifyAll(require('bcrypt'));
00:23 sri generic non-blocking apis should be callback based, and good implementation of promises should provide helper for wrapping them
00:24 sri *+s
00:39 Grinnz batman, i'm getting errors when calling $irc->disconnect wthout a callback sub (no need for a callback in this case, i'm watching the close event) i can provide an empty sub, but maybe you could handle the sub missing as well
01:06 cpan_mojo Mojolicious-Command-nopaste 0.08 by Joel Berger - http://metacpan.org/release/JBERGER/Mojolicious-Command-nopaste-0.08
01:08 jberger ^^ now supports gist updating
01:22 jberger hmmmmm, metacpan down?
01:22 jberger down-ish
01:22 preaction yeah
01:45 dvinciguerra joined #mojo
01:45 sivoais joined #mojo
01:45 batman joined #mojo
01:45 Grinnz_ joined #mojo
01:45 dotan joined #mojo
01:45 Gedge joined #mojo
01:45 klapperl_ joined #mojo
01:45 diegok joined #mojo
01:45 lupi joined #mojo
01:45 Insane joined #mojo
01:45 jwang joined #mojo
01:45 kwa joined #mojo
01:45 throughnothing joined #mojo
01:45 hahainternet joined #mojo
01:45 Ralesk joined #mojo
01:45 mikegrb joined #mojo
01:45 RenatoCRON joined #mojo
01:45 mrEriksson joined #mojo
01:45 psandin joined #mojo
01:45 Rallias joined #mojo
01:45 cfedde joined #mojo
01:45 jmmills joined #mojo
01:45 Andreas2 joined #mojo
01:45 bzero joined #mojo
01:45 paulg_ joined #mojo
01:45 romel_ joined #mojo
01:45 yusukebe joined #mojo
01:45 Nemix joined #mojo
01:45 allison joined #mojo
01:45 robinsmidsrod joined #mojo
01:45 bd joined #mojo
01:45 genio joined #mojo
01:45 lb joined #mojo
01:45 D4RK-PH0ENiX joined #mojo
01:45 xtetsuji_ joined #mojo
01:45 jzawodn joined #mojo
01:45 Foxcool joined #mojo
01:45 charsbar joined #mojo
01:45 crab joined #mojo
01:45 go|dfish joined #mojo
01:45 bayashi joined #mojo
01:45 Lee joined #mojo
01:45 memowe joined #mojo
01:45 kmx joined #mojo
01:45 KindOne joined #mojo
01:45 Snelius_ joined #mojo
01:45 preaction joined #mojo
01:45 cosimo_ joined #mojo
01:45 Mikey joined #mojo
01:45 bobkare joined #mojo
01:45 augensalat joined #mojo
01:45 ssm joined #mojo
01:45 bwf joined #mojo
01:45 mtths joined #mojo
01:45 buu_ joined #mojo
01:45 mgrimes_ joined #mojo
01:45 ashleyde1 joined #mojo
01:45 meredith joined #mojo
01:45 Cyrus joined #mojo
01:45 janus joined #mojo
01:45 HtbaaPi joined #mojo
01:45 Trelane_ joined #mojo
01:45 firnsy joined #mojo
01:45 ribasushi joined #mojo
01:45 mst joined #mojo
01:45 Grinnz joined #mojo
01:45 oalders joined #mojo
01:45 tempire joined #mojo
01:45 tianon joined #mojo
01:45 oetiker joined #mojo
01:45 dabudabu joined #mojo
01:45 ashimema joined #mojo
01:45 upasana joined #mojo
01:45 stephan48 joined #mojo
01:45 mattp joined #mojo
01:45 denny joined #mojo
01:45 garu joined #mojo
01:45 BinGOs joined #mojo
01:45 purl joined #mojo
01:47 alnewkirk joined #mojo
01:47 GabrielVieira joined #mojo
01:47 reno_13 joined #mojo
01:47 jamesw joined #mojo
01:47 dustinm joined #mojo
01:47 marty joined #mojo
01:47 bc547 joined #mojo
01:47 absolut__ joined #mojo
01:47 da5id_ joined #mojo
01:47 btyler joined #mojo
01:47 avkhozov joined #mojo
01:47 doby joined #mojo
01:47 hernan604 joined #mojo
01:47 Zx3 joined #mojo
01:49 * sri kinda wants to add Mojo::Pg::PubSub
01:49 sri to make scalable pub/sub easy
01:51 sri my $cb = app->pg->pubsub->on(foo => sub {...}); app->pg->pubsub->unsubscribe(foo => $cb);
01:52 sri the key is to share one connection with the whole process
01:52 sri and handle re-subscribing on re-connect automatically
01:57 sri app->pg->pubsub->emit(foo => {bar => 'baz'}) could automatically json encode
02:03 klapperl joined #mojo
02:10 n2plato joined #mojo
02:11 jberger easy is good
02:26 stephan48 sounds cool
02:39 good_news_everyon joined #mojo
02:39 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/b9pi
02:39 good_news_everyon mojo/master 0052a0a Sebastian Riedel: mention routes command in tutorial
02:39 good_news_everyon left #mojo
02:45 good_news_everyon joined #mojo
02:45 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/b9h8
02:45 good_news_everyon mojo/master a0ed48c Sebastian Riedel: parentheses look silly
02:45 good_news_everyon left #mojo
03:14 noganex_ joined #mojo
03:48 reno_13 joined #mojo
04:48 cpan_mojo MojoX-JSON-RPC 0.08 by Henry Tang - http://metacpan.org/release/HENRYYKT/MojoX-JSON-RPC-0.08
05:09 marty joined #mojo
06:12 irq joined #mojo
06:16 KindOne joined #mojo
06:32 reneeb joined #mojo
06:35 sh4 joined #mojo
06:39 dotandimet joined #mojo
07:02 reneeb joined #mojo
07:09 marmez joined #mojo
07:19 dotandimet joined #mojo
07:51 melo joined #mojo
08:06 Grinnz_ joined #mojo
08:10 dotandimet joined #mojo
08:14 basiliscos joined #mojo
08:17 Vandal joined #mojo
08:26 melo joined #mojo
08:37 Grinnz batman, added a pull request for a "default" irc response event, similar to one that POE::Component::IRC has, i'd like to know what you think of it
09:26 reno_13 joined #mojo
09:30 batman Grinnz: thanks for the pr. working on them now.
09:30 Grinnz batman, i should be going to bed but i just found an issue with the ctcp responses, they are not working... ill send a pr for that in a bit :)
09:31 batman cool.
09:31 batman please update the tests as well.
09:31 Grinnz mmm for that i might need to wait till tomorrow
09:32 trone joined #mojo
09:36 Grinnz batman, do you know what servers send this "Ident broken or disabled" notice? doesn't look familiar to me
09:36 batman where do you see that?
09:37 Grinnz the automatic handler set up for irc_notice responds to that
09:38 batman maybe freenode...
09:38 purl maybe freenode is suitably socialist. :)
09:38 batman i guess the important part is "QUOTE PASS", but i'm not sure
09:38 Grinnz lol purl
09:38 batman it's been to long
09:38 Grinnz strange...
09:38 purl strange is but true
09:42 batman Grinnz: it's from Convos::Core::Connection. the commit message is awful though :(
09:42 batman maybe marcusr remember
09:43 Grinnz heh
09:43 batman as you can see... https://github.com/Nordaaker/convos/commit/2be13022804360e28425af249bfd92a14b2b9be7
09:44 crab hi
09:44 batman Grinnz: i don't think i will take this https://github.com/jhthorsen/mojo-irc/pull/17 unless you have some killer arguments
09:44 batman hi crab
09:45 pink_mist that commit looks wrong -- it has a / inside the regexp delimited by ! but the example message doesn't have a / there :/
09:46 batman pink_mist: haha! that sounds right :)
09:46 batman awful code.... ENOTENOUGHTESTS
09:46 Grinnz hehe
09:46 pink_mist anyway, there used to be some irc servers that did that if they couldn't find out your ident from your identd, but I haven't seen any of those for years
09:46 batman pink_mist: it's fixed in Mojo::IRC
09:46 pink_mist hehe right :P
09:47 batman pink_mist: yeah: https://github.com/jhthorsen/mojo-irc/blob/master/t/default-handlers.t#L19 + https://github.com/jhthorsen/mojo-irc/blob/master/lib/Mojo/IRC.pm#L511
09:50 pink_mist also, "/quote" is not how you do it on all the popular irc clients, so it's unlikely many servers that wanted to be popular had that message :P
09:50 batman pink_mist: irc clients or irc servers?
09:52 Grinnz pink_mist, /quote works on every irc client i know
09:52 Grinnz (i use it to communicate with nickserv without using privmsg)
09:52 batman why are you talking about clients..?
09:53 Grinnz batman, the client that would be used to respond to this message
09:54 Grinnz /quote is essentially "send this actual message to the irc server"
09:54 batman but i'm sending to the server...?
09:54 batman so it's a server and not a client in the other end
09:55 Grinnz i think we are talking about different things :P
09:55 batman you're not talking about $self->write(QUOTE => PASS => $1); ?
09:55 Grinnz he was talking about the server telling the client to use /QUOTE
09:56 batman ok. so the discussion is not related to Mojo::IRC, but just as a general comment?
09:56 Grinnz yes :)
09:56 batman aha. sorry then.
09:56 * batman shuts up :)
09:58 Grinnz batman, i've got a fix for the ctcp thing, i'll add a PR but i need to sleep, i'll add tests tomorrow if you want to wait till then ;)
09:58 batman Grinnz: awesome!
09:58 batman Grinnz++
09:59 batman i'm adding tests for reconnect now.
10:02 pink_mist Grinnz: iirc mIRC used /raw instead
10:02 pink_mist Grinnz: but it's been years since I used that client
10:02 Grinnz pink_mist, mIRC also used /hop for rejoining a channel. not the best example ;)
10:02 pink_mist it's still probably the most popular client in the world
10:02 pink_mist and has been for ages
10:03 Grinnz don't tell me things like this, i'll have nightmares
10:03 * Grinnz off to bed
10:06 sh4 joined #mojo
10:17 batman pink_mist: could you send me a CTCP PING?
10:17 batman pink_mist: nevermind. i got one already...
10:17 pink_mist heh, alright =)
10:30 kmx joined #mojo
10:38 tgt joined #mojo
10:43 cpan_mojo Mojo-IRC 0.16 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojo-IRC-0.16
10:46 batman Grinnz: ^ please let me know if it works as expected
10:46 batman Grinnz: and thanks for all the help :)
10:53 * tempire dances
11:20 amon joined #mojo
11:55 reneeb Grinnz: Sure, I'll post a paste in a few minutes...
11:55 reneeb Grinnz: ... (a paste with the installation failures of IO::Tty)
12:08 melo joined #mojo
12:27 basiliscos joined #mojo
13:25 cpan_mojo Mojolicious-Plugin-CGI 0.19 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Mojolicious-Plugin-CGI-0.19
13:37 cpan_mojo Cookieville 0.06 by Jan Henning Thorsen - http://metacpan.org/release/JHTHORSEN/Cookieville-0.06 (depends on Mojolicious)
13:47 marmez joined #mojo
13:57 * sri wonders if ->start in Mojo::UserAgent should have really been called ->request
14:09 batman what's wrong with start() ?
14:09 batman and... please don't deprecated start... :(
14:09 sri it's not consistent with $t->request_ok()
14:10 batman ok...
14:11 batman right
14:12 good_news_everyon joined #mojo
14:12 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/b7OV
14:12 good_news_everyon mojo/master 434428d Sebastian Riedel: more custom request examples
14:12 good_news_everyon left #mojo
14:13 punter joined #mojo
14:14 juikuen joined #mojo
14:14 sri batman: if you don't want me to make them consistent find a good explanation for why they can be inconsistent
14:15 batman sri: yeah, i'm thinking about that...
14:18 batman the thing is that i've never actually used $t->request_ok and i think $ua->request() sounds a bit weird
14:18 batman i actually like $ua->start better than $ua->request, so i guess i would rather thave $t->start_ok, but that doesn't make much sense :(
14:19 batman sorry for being _not_ helpful at all :/
14:24 good_news_everyon joined #mojo
14:24 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/b7Za
14:24 good_news_everyon mojo/master 8c733c2 Sebastian Riedel: add example for custom WebSocket handshake
14:24 good_news_everyon left #mojo
14:25 sri batman: no argument against it is helpful actually
14:25 batman what about my feelings sri?
14:25 batman you know... even the dark knight has feelings!!
14:25 batman hehehe
14:28 sri https://s-media-cache-ak0.pinimg.com/236x/96/2e/c8/962ec805108252fb1b6f94b943edcc65.jpg
14:28 batman :)
14:29 batman sri: how about the start vs request "sounds weird"-argument i made? do you disagree completely?
14:35 good_news_everyon joined #mojo
14:35 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/b7WQ
14:35 good_news_everyon mojo/master 61fd470 Sebastian Riedel: use wss in examples too
14:35 good_news_everyon left #mojo
14:38 sri batman: nope, maybe both need to be changed
14:39 batman ok. i do believe i thought start() was curious in the beginning as well...
14:39 * batman reads the documentation again
14:41 batman sri: if i had to choose, i would go for request() after reading the documentation again
14:42 batman i also had a look at HTTP::Tiny which use request($method, $url)
14:42 batman which is kind of a simple version of build_tx() + start()
14:50 batman sri: something other... how about adding Mojo::Collection::TO_JSON ?
14:52 batman "something other"..? does that make sense?
14:53 batman :(
14:59 cpan_mojo WWW-Crawler-Mojo 0.10 by Sugama Keita - http://metacpan.org/release/JAMADAM/WWW-Crawler-Mojo-0.10
15:01 gryphon joined #mojo
15:05 crab another thing, something else.
15:05 crab something other just sounds weird.
15:05 crab "something or the other" works, though ;-)
15:08 batman crab: yeah, i figured... thanks :)
15:15 batman making client side applications are a lot harder than what i thought :/
15:31 sri $t->perform_ok($tx) and $ua->perform($tx) perhaps
15:37 jnbek joined #mojo
15:37 batman sri: i think i like request() better... not sure how to explain perform()
16:03 sri umm
16:03 sri "Perform blocking request..."
16:03 sri it literally already says that
16:03 sri "Perform request and check for transport errors."
16:07 sri jberger, marcusr, tempire: thoughts?
16:16 jberger I'm not sure that any of those suggestions carries additional significance to justify the breakage honestly
16:17 jberger same as with $delay->begin, I'm not opposed to changing, but changing the name for a slight benefit in semantic meaning at a cost of a ton of breakage is ... not my favorite
16:39 Grinnz sri, i think request() and request_ok() is the most descriptive
16:50 jwang joined #mojo
16:51 jberger hmmmm, maybe my fears are overstated: http://grep.cpan.me/?q=%5C%24ua-%3Estart
16:52 jberger obviously that is a fragile search ($ua)
16:53 jberger doesn't get much worse with: http://grep.cpan.me/?q=ua-%3Estart
17:21 TheGrinnz joined #mojo
17:51 punter joined #mojo
18:01 batman I agree with jberger.
18:07 sri batman: about what?
18:19 ZIRCBot joined #mojo
18:19 Grinnz testing something...
18:19 sri use a different channel
18:20 Grinnz i am, i just needed data to go with the other test data for mojo irc :P
18:32 batman sri: "I'm not sure that any of those suggestions carries additional significance to justify the breakage honestly"
18:33 batman I'm on the tram. Might not be very good at replying...
18:37 Grinnz dammit... i'm having an issue with strange delays in reading from the irc server but i can't reproduce it in tests
18:39 n2plato joined #mojo
18:42 tempire I like start
18:42 tempire It makes sense to me.
18:42 tempire You're starting a transaction.
18:43 tempire Starting a request.
18:43 tempire You don't request a transaction, you start it.
18:43 sri i guess you could say request_ok does more than start a transaction, it checks that the request was successful
18:44 tempire Yeah, I think it makes sense as is.
18:44 batman +1
18:44 purl 1
18:58 Grinnz batman, ok i've got a failing test case... this time i don't know the fix first ;)
19:01 Grinnz batman, ok if i send the failing test as a pull request? (i just modified join.t)
19:03 dotandimet joined #mojo
19:09 punter joined #mojo
19:17 jberger Grinnz: I think you are always welcome to start any new PR
19:17 jberger if I may speak for batman, the worst that can happen is close it
19:17 Grinnz hehe, true
19:18 Grinnz i've just been trying to figure out how to turn commits into gists
19:18 Grinnz i can't figure out how to use gists effectively
19:18 jberger that's silly, commits are PRs you haven't opened yet
19:18 jberger diffs on the other hand
19:19 Grinnz you guys just paste diffs into gists?
19:19 jberger git diff | mojo nopaste (gist|pastie) -l diff
19:19 Grinnz oh, then ill just keep using fpaste i guess :P
19:20 jberger once you have committed it though, just open a PR
19:20 Grinnz i thought there was some commit->gist setup on github
19:20 Grinnz hehe
19:21 jberger Grinnz: why, gist doesn't have folder structure and PRs have comments etc
19:21 Grinnz sure, just the way you guys were using them
19:21 jberger I use pastie for throwaway stuff (quick diffs and one-offs)
19:22 jberger gist for anything that might evolve (new scripts, etc)
19:22 jberger but once you have a full patch, PR that thing
19:22 mst if I'm planning to evolve it, I tend to stick it in ~/public_html
19:22 Grinnz pssh, thats what branches are for
19:23 * Grinnz is git-brained
19:24 jberger mst: you are lucky enough to have a ~/public_html for your own purposes
19:24 jberger I really should get myself a cheap linode
19:25 mst jberger: this is because we have an old school sysadmin. he didn't ask if we wanted that on the dev box, he just set it up
19:25 mst I am very glad, because it wouldn't've occurred to me to want it but it's been SO fucking useful
19:25 Grinnz i have a $10 a month vps from a friend
19:26 jberger a full linode is only about $20 IIRC
19:26 Grinnz and if i didn't have that i'd use a $5 a month digital ocean
19:26 Grinnz you really don't need much for a web server
19:26 jberger they say $10 on their front page now
19:26 jberger hmmmm
19:26 Grinnz web/irc/mumble/mail server in my case
19:27 Anon joined #mojo
19:27 Grinnz that plus $12 a year google domain with private registration :)
19:27 Grinnz and some free certs from startssl
19:28 Grinnz the $5 a month digital ocean box has better specs than my vps, lol
19:28 Grinnz i take that back, my vps has 1GB ram
19:28 Grinnz but still
19:29 Grinnz i guess 512 would be cutting it kind of close
19:29 preaction 512 is fine without X
19:30 Grinnz i'm using just about 512 right now on mine, but thats because i'm running 3 perl bots mostly :P
19:30 Grinnz they are using about 200MB combined
19:30 preaction ouch
19:31 Grinnz i'm curious to see how much my mojo irc based on ends up using
19:31 Grinnz one*
19:31 preaction my openbsd 512m is using 17m right now. but it's really only for znc at the moment
19:31 Grinnz haha
19:31 Grinnz yeah, fail2ban and weechat are also using a good chunk
19:32 Grinnz both of them are python hehe
19:33 Grinnz er, fail2ban is, weechat is just C
19:33 Grinnz and perl? maybe
19:33 Grinnz that might just be for plugins
19:42 batman Grinnz: Just open a PR. My comment from earlier was that it's hard to merge a PR, when there's no tests.
19:42 Grinnz batman, yeah, i just meant because it's failing :D
19:43 batman Grinnz: It's fine. But please add it as a comment.
19:44 batman "Add a comment"
19:44 batman Grinnz: Did the release from earlier fix "things"?
19:45 Grinnz batman, yeah, the other issues are fixed :)
19:45 batman Wohoo! :)
19:45 batman Thanks
20:11 amon joined #mojo
20:15 kaare joined #mojo
20:28 basiliscos joined #mojo
20:39 Nemix I can use "$c->url_for('audio')->to_abs" in a route but not in a helper.  In a helper it seems to return nothing.  Is that expected?
20:39 Nemix in a route it returns what you'd expect
20:49 bobkare joined #mojo
20:49 asarch joined #mojo
21:06 bobkare joined #mojo
21:06 sri no
21:10 fhelmber_ joined #mojo
21:29 jberger Nemix: nothing or the url is still relative?
21:34 Nemix here is a simple case of problem I am experiencing with url_for: http://pastebin.com/q67hU7xV
21:34 Nemix I expect as most of the problems I have this is user error
21:35 Grinnz the helper needs to use $c not app
21:35 Grinnz $c->app->log
21:35 sri lol
21:35 sri the helper is called before the route is even defined
21:36 Grinnz yeah, also it wont do anything in the app startup with an empty controller
21:36 Grinnz lol
21:36 sri is it supposed to time travel?
21:36 Nemix oh..I thought the mojo stuff was preprocessed in some way
21:36 Grinnz it still goes in order
21:36 Nemix ok....sorry about that...thanks
21:36 Grinnz add stuff to app, then ->start
21:37 sri Grinnz: you can actually call helpers on the app
21:37 Grinnz yeah, i realize i could have worded tht better
21:38 Grinnz "it won't have anything to print since the controller has no routes yet"
21:39 Grinnz s/controller/app/
21:39 * sri wonders if it's ok to use a google webfont on the built-in templates
21:39 sri as in @import url(http://fonts.googleapis.com/css?family=Roboto);
21:40 sri with a fallback to Helvetica Neue, Helvetica, sans-serif
21:40 Grinnz maybe with the fallback but i'm not sure about including an external url, even google
21:43 nicomen sri: if you don't care that the templates look wrong when people develop offline, sure ;)
21:44 sri nicomen: not wrong
21:44 sri just using a fallback font
21:46 sri as it tirns out, Roboto is a very nice for menus http://i.imgur.com/vb1TDMl.png
21:46 sri s/i/u/
21:47 sri (the new Roboto)
21:50 nicomen how about Open Sans Condensed?
21:50 sri what difference does it make?
21:53 nicomen I thought it was provided by many browsers/OS, but apparantely not
21:56 nicomen and font-stretch seems not to be widely supported...
22:03 sri might go with Calibri, Avenir, Helvetica, sans-serif
22:05 sri perhaps even Calibri, Avenir, 'Lucida Grande', sans-serif
22:05 punter joined #mojo
22:05 Nemix ok...last time...I feel like I made the changes needed to get this to work but it does not: http://pastebin.com/5M9H1kgN
22:07 sri perl -Mojo -E 'get "/foo" => "bar"; helper baz => sub { shift->url_for("bar") }; say app->baz'
22:09 jberger Nemix: why are you using a pastebin that has audio/video ads?
22:09 jberger purl pastebin?
22:09 purl somebody said pastebin was see nopaste. or see shadowpaste
22:10 jberger oh maybe it was dipsy that swears at pastebin.com
22:10 Nemix jberger: I will use a different one in the future...didn't realize what I was subjecting people to
22:11 jberger Nemix: I believe that that url object doesn't have a "base" so it might have problems "to_abs"-ing
22:11 basiliscos joined #mojo
22:11 jberger inside of a controller action, url_for uses the request base for the generated url's base
22:12 Nemix here is what it prints if I connect via a browser: http://localhost:3010/test
22:12 Nemix I see sri's one liner which implies it should work like that
22:13 Nemix (not like from browser)
22:13 sri what would it use as the base url without a request?
22:14 jberger perl -Mojo -E 'say Mojo::URL->new("/relative")->to_abs'
22:14 jberger vs
22:14 jberger perl -Mojo -E 'say Mojo::URL->new("/relative")->base(Mojo::URL->new("http://google.com"))->to_abs'
22:17 Nemix I figured service was listening on a host/port and it would know that without a request.  sounds like there is more to it than that.
22:17 jberger Nemix: you can force that, but its not recommended for normal practice
22:18 Nemix ok...thanks
22:18 punter mojolicious rocks
22:18 purl punter rocks!
22:18 jberger I needed to do that for Test::Mojo::Phantom of course
22:20 good_news_everyon joined #mojo
22:20 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/bdKq
22:20 good_news_everyon mojo/master dfa16e4 Sebastian Riedel: use a more elegant menu
22:20 good_news_everyon left #mojo
22:21 sri condensed is tough :/
22:23 jberger argh, I can't wait for the new Test::Simple to come out so I can release Test::Mojo::Phantom
22:23 jberger !
22:24 jberger https://github.com/jberger/Test-Mojo-Phantom/blob/master/t/synopsis.t
22:25 buu joined #mojo
22:29 basiliscos joined #mojo
22:32 basiliscos joined #mojo
22:35 sri would anyone really mind an include in the built-in templates? @import url(http://fonts.googleapis.com/css?family=Roboto);
22:35 sri s/include/import/
22:35 Grinnz i only use the built-in templates for development, so it doesn't matter to me
22:35 jberger fails silently to a fallback right?
22:35 sri yes
22:36 jberger the only concern then would be licensing?
22:36 sri that would be news to me
22:36 jberger I'm not saying there is, I'm asking
22:36 sri it includes something from the public interwebs
22:36 jberger I don't mind an @import
22:36 basiliscos joined #mojo
22:36 sri that's the only concern
22:37 Grinnz does an external import count as part of the app as far as license is concerned, that is the question
22:37 pink_mist the thing that is part of the app is just a little link
22:37 pink_mist which is not copyrightable
22:37 Grinnz thats what i'm thinking
22:37 purl thinking is probably see `made of meat`
22:37 Grinnz wat
22:37 jberger wat?
22:37 purl Watt?  Watt?  I can't hear you, there's this buzzing noise where my brain should be. or https://www.destroyallsoftware.com/talks/wat
22:38 pink_mist made of meat?
22:38 purl made of meat is http://www.terrybisson.com/page6/page6.html
22:38 sri right, licensing is a non-issue
22:39 Grinnz my only concern is if you relate it to including an image from someone else's website
22:39 Grinnz is that an issue?
22:40 good_news_everyon joined #mojo
22:40 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/bdXj
22:40 good_news_everyon mojo/master a5f030c Sebastian Riedel: just import the font
22:40 good_news_everyon left #mojo
22:40 sri the menu on http://mojolicio.us should look pretty now
22:40 Grinnz looks the same for me
22:42 basiliscos joined #mojo
22:42 Grinnz i see the import happening but its not applied
22:42 sri looks like i messed up ;p
22:43 good_news_everyon joined #mojo
22:43 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/bd1x
22:43 good_news_everyon mojo/master 104e12d Sebastian Riedel: import the correct family
22:43 good_news_everyon left #mojo
22:43 Grinnz hehe
22:43 sri now :)
22:43 Grinnz yep, now it works
22:45 sri we could even bundle the woff with mojolicious
22:46 Grinnz that's when you'd have to make sure of licensing :P
22:46 Grinnz if that's not a problem though, it's better imo
22:48 jberger that "made of meat" is pretty funny
22:50 ente joined #mojo
22:50 ente hey
22:51 ente I want to authenticate users using a TCP connection that's using IOLoop::Client internally, but as I understand it "under" expects an immediate return value?
22:53 ente basically I wrote a module that interacts with the service that decides if a username:password combination is okay and invokes a callback once it gets that information
22:53 Averna joined #mojo
22:53 jberger ente: under can use non-blocking responses
22:53 jberger http://mojolicio.us/perldoc/Mojolicious/Guides/Routing#Under
22:53 Grinnz it can?
22:53 jberger third block of code
22:53 Grinnz ahh, i remember that section, i ignored that when reading it before :P
22:54 * jberger slaps Grinnz with a fish
22:54 ente ah, thanks
22:56 Grinnz good to know, if i ever get to use a database with async capability <_<
22:56 sri interesting, prettify.js already loads a file from google
22:57 Grinnz hah
22:57 ente so $c->continue overrides the undef that was returned immediately?
22:57 jberger ente: yep
22:57 ente I see

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