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

IRC log for #mojo, 2014-06-22

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

All times shown according to UTC.

Time Nick Message
00:38 jberger the next version of cpan_mojo: https://github.com/jberger/Mojo-FriendFeed-CPANBot/blob/master/lib/Mojo/FriendFeed/CPANBot.pm
00:47 btyler joined #mojo
00:47 cpan_mojo Mojo-IOLoop-ForkCall 0.09 by Joel Berger - http://metacpan.org/release/JBERGER/Mojo-IOLoop-ForkCall-0.09
00:49 jberger hmmmm, the new version of the bot didn't catch that :-/
00:50 jberger no, it did, its in the log
01:06 jberger soooooo
01:06 jberger anyone have anything to release :-)
01:15 jberger I suppose I could release ForkCall again, this time with the loop reset
01:18 klapperl joined #mojo
01:26 d4rkie joined #mojo
01:39 jberger woo-hoo
01:39 jberger ok, its working
01:41 sri \o\
01:41 sri /o/
01:42 jberger |o|
01:44 jberger \o-
01:44 jberger -o/
01:45 d4rkie joined #mojo
01:47 sri jberger: btw. was your plan to make all lite actions use $c?
01:48 jberger yes
01:48 jberger I think its too easy to think that controller actions are app methods in ::Lite
01:48 sri i see, starting to get interested in it again
01:49 jberger especially since helpers work for both app and controllers, and are defined in the app context
01:49 jberger I think it makes growing harder to understand than it has to be
01:50 jberger also, do we have a "documentation conventions" section somewhere?
01:50 sri was just thinking you'd then change all helpers and hooks too... but hooks already use $c everywhere
01:50 sri so there would be a certain consistency to the change
01:51 jberger yeah, probably should change helpers too
01:51 jberger are there very many of those, really?
01:51 sri indubitably
01:51 sri both
01:52 jberger once that is done, I think a conventions section would help too
01:52 sri ?
01:52 jberger $c = instance of Mojolicious::Controller
01:52 jberger well, not instance of
01:53 sri we already use $c heavily, so far that has not caused any trouble
01:53 jberger $app, $r, $tx
01:53 sri don't put both in the same patch, one rename and conventions section later, because the latter will have a harder time getting past me
01:54 mattastrophe joined #mojo
01:54 jberger yeah, that would always have been my thought
01:54 sri conventions section has this bad smell the old environment variable collection had
01:55 sri something that gets outdated all the time and will annoy the hell out of me in the future
01:55 jberger it doesn't have to be exhaustive
01:56 jberger and like you said, we use some variable names so often, I doubt the major ones would change much
01:56 sri anyway, i'm awaiting the s/$self/$c/ patch!
01:56 * sri cracks the whip
01:57 sri actually a pretty good way to link your profile picture to all files in the mojo repo on github :)
01:57 jberger I was mostly thinking to start with ::Lite
01:57 sri all or nothing
01:58 * jberger wonders how much that will take
01:58 sri including half the test files... it's quite a bit
01:58 * jberger ponders grepping for $self
01:58 jberger ?
01:59 jberger wait, you are talking about more than just documentation?
01:59 sri https://github.com/kraih/mojo/blob/master/t/mojolicious/lite_app.t#L54
01:59 jberger I was talking about conventions for documentation
01:59 sri i'm talking about EVERYTHING :)
01:59 jberger ye gods!
01:59 purl and little fishies
01:59 sri if we pick a convention we follow it consistently
02:00 jberger well that IS a big project then
02:00 sri think it would take me maybe 2 hours
02:00 sri grepping for helper functions/methods and the lite keywords
02:00 preaction jberger: consider it an exercise in :grep and vim macros ;)
02:01 * jberger sicks purl on preaction
02:01 sri well, it's a good excuse to get to know the file structure very well ;)
02:01 jberger well it will certainly be a project for the train in that case
02:01 preaction hey, man, i've been here before already ;) spent something like 12 hours refactoring an API used by 112 modules
02:01 * jberger looks forward to his new laptop!
02:02 preaction http://preaction.github.io/blog/2013/04/11/thoughts-while-changing-the-api-of-a-massive-framework.html <- 9 hours, sorry
02:02 sri what, no more frankenlaptop?
02:04 sri jberger: you know, if yo wait too long i might just do it ;p
02:04 sri hehe, i said YO
02:04 sri /o\
02:04 jberger nice
02:05 jberger sri: YO!
02:05 sri jberger: YO!
02:05 jberger I will get to it, I cannot prevent you from doing it if you want to
02:05 jberger but it won't be tonight
02:05 jberger tonight I'm trying to get cpan_mojo tested
02:06 * sri cracks the whip
02:06 jberger and maybe send emails to the maintainers of Pg::PQ and Mojolicious::Plugin::PgAsync (finally)
02:06 * jberger ducks
02:22 * sri wonders if these concerns will simply be dismissed by the http-wg again http://lists.w3.org/Archives/Public/ietf-http-wg/2014AprJun/1509.html
02:23 jberger sri: do you know what Yves' last straw was?
02:24 sri mlehmann started a massive attack on yves work about hashing algorithms, bashing everything as insecure, without providing any proof
02:25 sri and instead demanding yves provide proof that his changes are secure
02:26 sri i would have just told mlehmann to fuck off, but p5p discussions seem to always derail, with nobody really moderating stuff
02:26 jberger and of course without proving that the status-quo is more secure either :-/
02:28 jberger I'm not saying that anyone should be able to change the perl core at will, that said, we have so few core hackers, I'm sure we can't afford driving off the ones we have
02:29 sri then again i have the tendency to get rid of toxic people early, even if they are really smart and have the potential to provide some value
02:29 jberger I was talking about Yves
02:30 jberger and yes, I think that culture is every bit as important as smarts
02:30 sri i know, i wasn't really answering
02:31 jberger on a different topic, how is WS a "corporate" addition?
02:31 jberger it seems light and useful to me, solves a real problem
02:32 sri ws became a lot more complicated once corporate people took over the draft
02:32 sri dunno if you remember the realier protocol versions
02:33 sri it wasn't actually a binary protocol in the beginning, everybody could build a server in a few lines
02:34 sri i was very angry at the time too
02:34 jberger I think that was before me
02:34 sri let me look it up
02:35 jberger when I came in ws was basically settled
02:35 sri hehe... 0.9x
02:35 sri https://github.com/kraih/mojo/blob/468822b7eedc25f535c55d69f8e864c11834cee6/lib/Mojo/Transaction/WebSocket.pm
02:35 sri that was all you needed
02:36 sri basically utf-8 chunks delimited by \x00 and \xff
02:36 sri the entire protocol
02:36 purl it has been said that the entire protocol is based around space delimited ascii strings
02:36 jberger nice
02:37 sri then the microsoft guy became hybi-wg chair... and we got https://github.com/kraih/mojo/blob/master/lib/Mojo/Transaction/WebSocket.pm
02:38 * jberger 's eyes blead
02:38 jberger ok, I get it now
02:38 jberger then again, I see how binary is useful
02:39 jberger I guess you could just treat it as binary
02:39 sri sure
02:40 jberger what is the GUID for?
02:43 jberger I see that it is part of the challenge
02:44 jberger oh, its a literal literal
02:44 jberger I thought that was a mojo-specific GUID and I was wondering why it didn't use say the moniker as part of it
02:45 jberger I guess I get it, but, ::sigh::
02:54 sri yea
02:54 sri welcome to my world, this is why i'm grumpy
02:55 * jberger grumpifies sri
02:55 jberger or would, if he had an iPhone
02:55 sri in soviet #mojo sri grumpifies you
02:56 jberger HAHAHAHA
02:56 purl LOLCON 4 reached.
02:57 sri sad thing is this corporate fuckery at the ietf is only getting worse, in case you missed the oauth 2.0 thing http://hueniverse.com/2012/07/26/oauth-2-0-and-the-road-to-hell/
03:00 jberger I didn't see that, but I have tried to use OAuth for yahoo login and I knew it wasn't written by anyone who had to use it (or at least not in a small app)
03:00 preaction oauth has a unified 2.0 that works? oh, that article is oooold
03:00 jberger preaction: "When compared with OAuth 1.0, the 2.0 specification is more complex, less interoperable, less useful, more incomplete, and most importantly, less secure."
03:01 jberger less interoperable addresses you there
03:01 preaction yeah
03:01 preaction why didn't they adopt openid? i never understood that
03:02 preaction ah, looks like they address that at the bottom
03:05 jberger yeah, man, this is a sad read
03:13 jberger the "Glee" section here is really the lesson: http://hueniverse.com/2012/07/30/on-leaving-oauth/
03:13 jberger and for that, I'm glad for the post on HTTP/2
03:20 basic6 joined #mojo
03:23 jberger ok, well I have to get up in the morning for sailing
03:23 jberger nn all
04:34 Ptolemarch joined #mojo
04:58 sujithm joined #mojo
05:39 btyler_ joined #mojo
05:53 Vandal joined #mojo
06:36 voegelas joined #mojo
07:11 irq joined #mojo
07:26 mire joined #mojo
07:38 tempire oauth2 is barely a thing
07:39 tempire it's just a, "here, these are some things. maybe you could implement something using these general ideas"
08:03 dotan joined #mojo
08:03 cpan_mojo Statocles 0.013 by Doug Bell - http://metacpan.org/release/PREACTION/Statocles-0.013 (depends on Mojolicious)
08:04 preaction cpan_mojo: you're back! and better than GumbyPAN again!
08:50 mire joined #mojo
09:23 basiliscos joined #mojo
10:29 punter joined #mojo
10:36 irq_ joined #mojo
10:43 alnewkirk joined #mojo
11:13 meshl joined #mojo
11:29 d4rkie joined #mojo
11:35 abra joined #mojo
11:52 rem_lex| joined #mojo
12:10 basic6_ joined #mojo
12:25 punter joined #mojo
12:27 punter joined #mojo
13:06 irq joined #mojo
13:17 gryphon joined #mojo
13:19 cpan_mojo Mojolicious-Plugin-JSONRPC2 1.0.0 by Alex Efros - http://metacpan.org/release/POWERMAN/Mojolicious-Plugin-JSONRPC2-1.0.0
13:45 sh4 joined #mojo
13:48 zivester joined #mojo
14:12 basic6 joined #mojo
14:24 hkclark joined #mojo
14:40 dod joined #mojo
15:03 cpan_mojo MojoX-JSONRPC2-HTTP 1.0.0 by Alex Efros - http://metacpan.org/release/POWERMAN/MojoX-JSONRPC2-HTTP-1.0.0
15:34 denis_boyun joined #mojo
15:55 Vandal joined #mojo
16:34 nmittal joined #mojo
16:47 sujithm joined #mojo
18:41 meshl joined #mojo
19:00 ceej joined #mojo
19:00 sujithm joined #mojo
19:12 meshl joined #mojo
19:17 Ptolemarch joined #mojo
19:28 Ptolemar_ joined #mojo
19:39 zivester joined #mojo
19:47 basic6_ joined #mojo
19:57 punter joined #mojo
20:11 Ptolemarch joined #mojo
21:27 sugar_ joined #mojo
21:30 nmittal joined #mojo
22:23 ivan joined #mojo
22:59 mire joined #mojo
23:36 Ptolemarch joined #mojo

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