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

IRC log for #mojo, 2016-04-22

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

All times shown according to UTC.

Time Nick Message
00:03 punter joined #mojo
00:03 punter joined #mojo
00:03 punter joined #mojo
00:28 marty joined #mojo
00:32 marty_ joined #mojo
00:36 punter joined #mojo
01:40 disputin joined #mojo
01:52 asarch joined #mojo
02:32 noganex_ joined #mojo
03:23 anon joined #mojo
03:35 mtj joined #mojo
03:40 kaare joined #mojo
03:45 disputin joined #mojo
04:11 s1037989 bpmedley: How best to point out typos?  So far the content is looking very good.
05:44 inokenty-w joined #mojo
05:54 punter joined #mojo
06:13 mtj joined #mojo
06:15 hernan604 joined #mojo
06:49 bpmedley s1037989: Thanks.. I dunno the best way; perhaps just msg me a list?  :)
06:52 dod joined #mojo
06:57 dod joined #mojo
06:59 Atog it's all about package management and how an when updates are done
06:59 Atog arch tends to be really bleeding edge on desktop related stuff while the rest are more conservative
07:00 bpmedley Atog: Wrong window?
07:00 Atog freebsd is another beast (pun intended)
07:01 iamb must be crosstalk on the line
07:01 * iamb jiggles the receiver *click* *click*
07:02 Atog right window, but missed the lines since yesterday at 16:30
07:02 Atog sorry :p
07:13 hernan604 joined #mojo
07:18 trone joined #mojo
07:52 annaken left #mojo
08:11 osfabibisi joined #mojo
08:11 CHYC bpmedley: Reading the tutorial now with a cup of tea :). Shall I PM you what I spot?
08:11 bpmedley CHYC: Please!!
08:15 Vandal joined #mojo
08:55 mtj joined #mojo
08:55 csson joined #mojo
09:06 punter joined #mojo
09:12 mtj joined #mojo
09:20 punter joined #mojo
09:39 meshl joined #mojo
09:52 ipunter joined #mojo
09:54 ipunter How do you get correct syntax highlighting on subroutine signatures on vim of Ubuntu 16.04?
10:03 hernan604 joined #mojo
10:15 hernan604 joined #mojo
10:51 martin joined #mojo
10:55 jberger ipunter: https://github.com/jberger/dotfiles/blob/master/.vimrc#L49
11:00 tchaves joined #mojo
11:01 Kripton joined #mojo
11:02 punter thanks
11:06 punter it doesn't seem to do anything for sub sigs, just prototypes
11:07 punter hrm
11:13 tchaves joined #mojo
11:14 jberger ?
11:15 jberger so vim sees the sig as a prototype and without that line it is entirely red because it is an illegal signature
11:15 jberger sorry illegal prototype
12:02 asarch joined #mojo
12:31 pink_mist are signatures still experimental?
12:37 ramortegui joined #mojo
12:49 jberger yes
12:52 sri hahahaha
12:52 sri catalyst is now exactly one line of code bigger than mojolicious
12:52 jberger nice
12:52 sri 8490 vs 8489
12:53 pink_mist lol
12:53 pink_mist make a one-line addition!
12:53 sri i actually made a 4 line addition yesterday :o
12:54 sri which i'm still not 100% sure about https://github.com/kraih/mojo/commit/5038a1b7bb395a840d78ca21839e9981f110221b
12:55 sri it makes the server log "Premature connection close" when one of those "Can't call method req on undefined value at Mojolicious::Controller...yada yada yada" errors happens
12:55 jberger oh and I forgot to get back to you on that yesterday
12:55 * jberger blames the beer
12:56 sri you sure take that quality assurance part serious ;p
12:57 jberger your fear is that it isn't a sufficient warning or that by warning there you cause some other problem?
12:57 sri both
12:57 jberger is_websocket and is_finished are both side-effect free
12:58 sri my hope is that the log message will make people look it up and find the FAQ answer
12:58 jberger tx was already referenced and no new closures are created
12:59 jberger you should be able to call ->res as long as there is a tx which is already checked
12:59 sri it does make the http2 refactoring harder, since it's more direct transaction access
12:59 jberger I don't think that causing other problem is likely therefore
12:59 jberger yeah, http2 might be a thing
12:59 jberger but there will be other problems with that still
13:00 sri one interesting thig is that the code is consistent with user agent code https://github.com/kraih/mojo/blob/master/lib/Mojo/UserAgent.pm#L221
13:00 jberger hmmm, I almost wonder if that might not be confusing
13:01 jberger say you have a server that makes a service request
13:01 jberger and something has a Premature connection close
13:01 sri naah
13:01 sri http://mojolicious.org/perldoc/Mojolicious/Guides/FAQ#What-does-Premature-connection-close-mean
13:06 good_news_everyon joined #mojo
13:06 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vw4EC
13:06 good_news_everyon mojo/master d14532f Sebastian Riedel: be a little more specific in FAQ answer
13:06 good_news_everyon left #mojo
13:06 sri i guess this might work better
13:09 good_news_everyon joined #mojo
13:09 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vw4Er
13:09 good_news_everyon mojo/master f9453ef Sebastian Riedel: also mention why
13:09 good_news_everyon left #mojo
13:16 gizmomathboy joined #mojo
13:24 jberger sri++
13:27 gryphon joined #mojo
13:28 genio sri: You get windows 10 setup?
13:42 vytas joined #mojo
13:43 perlpilot joined #mojo
13:49 sri genio: not yet, as it turns out i don't have enough free space on the ssd -.-
13:59 sri 128gb is way too little these days
13:59 stephan48 yea
14:01 sri not even sure if i should get 256 or 512 next
14:01 genio I have a 512 in mine and no complaints
14:02 genio well, 496 or whatever
14:02 bpmedley http://eshop.macsales.com/shop/ssd/owc/macbook-air?_ga=1.12359604.1496712329.1461333731
14:02 bpmedley May be helpful
14:03 sri naah, i need a new laptop
14:04 Grinnz i have a 250 for OS and 500 for games :P
14:05 genio I can't remember the last time I played a non-silly game (reactoridle.com or some such)
14:06 sri oh my, apple wants an extra 350 euro for 512mb
14:06 genio ?!?
14:07 genio Is it their soldered-on nonsense or can you replace it on your own?
14:07 sri all soldered-on these days
14:07 genio eww
14:07 * pink_mist hopes you mean 512GB
14:07 sri haha
14:07 sri gb yea
14:07 pink_mist (it's still ridiculous, but slightly less so)
14:22 * jberger tears out sticks and sticks of ram for sri
14:25 * sri keeps a close eye on new macbook benchmarks, and so far it looks really impressive
14:25 sri that core m5 is a beast
14:26 sri beats last years i7 from the rMBP 13 in single core benchmarks
14:26 * sri kinda wants that m7 macbook now :D
15:13 chandwer joined #mojo
15:26 berov left #mojo
15:29 gryphon joined #mojo
15:35 disputin joined #mojo
15:46 jasanj_ joined #mojo
15:54 perlpilot joined #mojo
15:54 disputin joined #mojo
16:04 Kripton joined #mojo
16:22 jabberwok thanks again Grinnz_ and all for your help on CORS.  It's working!  blogpost in the works.  And if anyone's in Chicagoland, i will be speaking on Mojolicious monday in Evanston.  http://www.meetup.com/Evanston-Web-Technology-Meetup/events/229967925/
16:24 jberger argh, I'm will have just arrived from England
16:24 jberger s/\'m//
16:24 jberger \m/
16:25 preaction i, too, will be 45 minutes late to that :(
16:27 punter joined #mojo
16:27 Kripton joined #mojo
16:28 Farow joined #mojo
16:37 kaare joined #mojo
16:38 orev joined #mojo
16:38 punter jberger: should this line on its own solve my problem of syntax highlighting? let perl_no_subprototype_error=1
16:38 punter jberger: or is it part of something bigger?
16:38 punter jberger: my .vimrc is tiny
16:38 jberger are you using perl.vim?
16:39 punter Let me check
16:40 punter jberger: yes, I don't have it on my hd
16:40 jberger that seems to be contradictory
16:44 punter actually I have perl.vim
16:44 punter at 5 places
16:44 punter /usr/share/vim/vim74/syntax/perl.vim
16:44 punter i guess this is what you want
16:45 punter I want
16:45 punter (before, my mlocate wasn't updatedb'ed, that's why I didn't find it)
16:46 punter should I install this? /usr/share/vim/addons/syntax_checkers/perl/perl.vim
16:46 punter from vim-syntastic package?
16:46 jberger i usually use it straight from github
16:47 jberger but enabled however you want, that is what you want
16:47 punter jberger: how do I "use" the one I download from github?
16:47 jberger punter: depends on how in depth you want to go :P
16:48 punter as little as possible
16:48 jberger I do this: https://github.com/jberger/dotfiles/blob/master/.vimrc#L3-L39
16:48 jberger the top half bootstraps a module installer
16:49 jberger the second half grabs and enables modules from remote repos (gihub vim.com)
16:50 punter i see thanks
16:52 punter so the command to run perl.vim is something like: execute 'path/to/perl.vim' ?
16:52 punter i'll try
16:52 punter probably not
16:52 punter ok
16:53 * sri has ordered an m7 macbook
16:54 bpmedley Sweet, what specs?
16:54 sri 256gb m7
16:56 bpmedley What color?
16:57 sri space grey... i'm not brave enough for a gold one
16:58 jberger punter: I have to admit, I'm not sure how to do things "more manually" than that
16:58 jberger punter: there are probably better forums that this for more help on vim highlighting I'd guess though
17:00 * sri keeps refreshing the shipping status page
17:03 kaare joined #mojo
17:18 PryMar56 joined #mojo
17:19 trone joined #mojo
17:22 asarch joined #mojo
17:24 dod joined #mojo
17:25 * jberger returns sri status 420
17:31 sri 😎
17:39 cpan_mojo Test-Clustericious-Cluster-0.31 by PLICEASE https://metacpan.org/release/PLICEASE/Test-Clustericious-Cluster-0.31
17:41 Kripton joined #mojo
17:46 cpan_mojo Clustericious-1.20 by PLICEASE https://metacpan.org/release/PLICEASE/Clustericious-1.20
17:50 trwww joined #mojo
18:05 disputin joined #mojo
18:23 Jonis joined #mojo
18:43 cpan_mojo Minion-5.05 by SRI https://metacpan.org/release/SRI/Minion-5.05
18:43 good_news_everyon joined #mojo
18:43 good_news_everyon [mojo] kraih tagged v6.59 at 16bf691: https://git.io/vwB0w
18:43 good_news_everyon left #mojo
18:45 good_news_everyon joined #mojo
18:45 good_news_everyon [mojo] kraih pushed 1 new commit to master: https://git.io/vwB07
18:45 good_news_everyon mojo/master fc01dad Sebastian Riedel: bump version
18:45 good_news_everyon left #mojo
18:53 gizmomathboy for an extracted placeholder value, say /a/:name, is that hash accessible in the controller? If, so what is the name of that hash?
18:55 sri http://mojolicious.org/perldoc/Mojolicious/Guides/Routing#Stash
18:55 gizmomathboy hmm, I must be referencing wrong...I'll read some more...thanks
18:57 chandwer anyone getting into perl 6 at all?
18:57 sri no
18:57 chandwer I'm wondering if there is a mojolicious like project for perl 6
18:59 sri we've seen a few attempts, but nothing ever got finished as far as i know
18:59 sri which pretty much sums up the perl6 eco system
19:00 gizmomathboy sri, thanks, I was referencing it wrong. too many {}'s as it turns out...when they aren't needed
19:31 perlpilot sri: I think #perl6 was hoping that you would pick up the Mojo6 banner and run with it  :-)
19:32 pink_mist I think sri intended to at one point, but the state of perl6 and perl6's ecosystem made him run away :P
19:32 perlpilot chandwer: btw ... what sri said is true, so that means if you want to start a mojo-like project for Perl 6, you're welcome to it :)
19:36 chandwer sure, how hard could it be :)
19:36 chandwer I am going to take some time to play with perl6 this weekend though, maybe I'll end up running away too
19:37 perlpilot chandwer: you've got Mojolicious to look to for prior art; surely that will make it "easyish"  ;)
19:38 chandwer the idea of not needing to argue about Moose or Moo or Mouse or whatever makes p6 sound appealing to me lol
19:39 pink_mist with Mojo you don't need to bother; it's Mojo::Base all the way :P
19:39 chandwer true
19:39 perlpilot chandwer: If you really do want to try, there's https://github.com/coke/mojo6  but I don't know anything about its status.
19:40 perlpilot chandwer: talk to [Coke] on freenode #perl6 for more info
19:40 pink_mist I know Zoffix was intent on porting Mojo to P6 at one time, but at that time sri still thought he might do it himself, so Zoffix didn't want to encroach on sri's namespace
19:40 pink_mist so .. speak to Zoffix as well
19:40 perlpilot yeah, that too
20:02 Grinnz_ jberger: this isn't in a release yet, but this needs to post to http://paste.fedoraproject.org instead of http://fpaste.org (they changed how it redirects and it breaks the POST) https://github.com/jberger/Mojolicious-Command-nopaste/blob/master/lib/Mojolicious/Command/nopaste/Service/fpaste.pm
20:09 s1037989 bpmedley: mojo.pdf Annotations: https://www.evernote.com/shard/s383/sh/3d39bd2f-bcb8-44b2-bc0e-2ef673509315/e5192b9ba21139fc59db45c68e32bca1
20:10 bpmedley s1037989++ # that is gold
20:11 s1037989 bpmedley: 1) Some things are debateable, your call or feel free to discuss with me, 2) not sure of your fully intended audience, but in general I'd shy away from informal language like "cool" and "'o" and others, but that's fully your call on how you wish to handle style, and 3) thinking of myself when I was an absolute beginner, I feel that several topics could be explained better.
20:13 s1037989 bpmedley: 3 cont) By explained better, I'm referring to background, prerequisite kind of stuff.  Sure, that all would be out of scope, but to help someone get into Mojo, I empathize with anyone feeling like they don't have complete context because so much background info is assumed.  Does that make sense?
20:13 bpmedley I'm at work; perhaps we could discuss later.
20:14 s1037989 Np, I don't have time now either.  Just getting my high level feedback down.
20:15 s1037989 bpmedley: 3 cont) I could point out some of those areas that I feel could use some background info and we could talk about how we could help a new Mojo reader get the necessary context.  Just a thought, but, personally, I think that would be a *big* step in helping to attract new people, reduce as many barriers to entry as possible, ya know...
20:16 s1037989 Ok, I think that's all for now.  Happy to chat with you more about it later.  Really fine work over all!!  I think the general approach and the explanations are very clear! bpmedley++
20:17 s1037989 bpmedley: Oh, I should mention #1 note above: some things *that I annotated* are debateable.  :)
21:22 trwww joined #mojo
21:24 basic6_ joined #mojo
21:26 basic6_ do hypnotoad workers keep accepting new connections after they have been "stopped *gracefully*"?
21:27 pink_mist that would go against everything a 'graceful' shutdown implies
21:28 basic6_ ok, that's what i thought, thanks
21:35 jabberwok (( cue Lily Tomlin: "I'd like to talk to you... about... Taste." ))
22:51 kevin joined #mojo
22:52 kevin i used $self->render_later in an older mojo version. I think 6.49 and got always the message "delayed rendering", then I updated to 6.59 without code changes and the notification message is gone.
22:53 kevin is there anything wrong?
22:59 sri nope, we just assume you know what you're doing when you call render_later
23:49 dvinciguerra joined #mojo
23:53 disputin joined #mojo
23:55 disputin joined #mojo

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