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

IRC log for #mojo, 2015-09-13

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

All times shown according to UTC.

Time Nick Message
00:07 disputin joined #mojo
00:32 mst thowe: ah, so the nick with the ridiculous scrabble score is you then
01:13 thowe Hm.  Yeah.  Maybe I should change that.
01:13 thowe It's a word in Esperanto
01:14 thowe twitter account is old
01:46 meshl joined #mojo
01:57 meshl joined #mojo
02:05 meshl joined #mojo
02:15 meshl joined #mojo
02:55 noganex_ joined #mojo
03:34 Adura joined #mojo
03:36 D4RK-PH0ENiX joined #mojo
04:19 Adura joined #mojo
04:19 PopeF joined #mojo
04:19 marty_ joined #mojo
04:42 kaare joined #mojo
06:03 juikuen joined #mojo
06:10 nigel joined #mojo
06:31 dod joined #mojo
06:36 dod joined #mojo
07:44 asm35 joined #mojo
07:48 Vandal joined #mojo
08:01 berov joined #mojo
08:46 akhasanov__ joined #mojo
08:54 cpan_mojo JSON-Validator-0.53 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/JSON-Validator-0.53
08:55 cpan_mojo Swagger2-0.52 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Swagger2-0.52
09:49 meshl joined #mojo
09:53 mst for the record: sri is asking me in private if I unbanned myself to continue his silly vendetta; I checked the ban list and the channel log before rejoining and my 1 week ban had been lifted by another op some hours after sri was supposed to have lifted it, but had been gone for hours before I rejoined
09:54 sri i was trying to resolve this peacefully in private :(
09:54 mst there's nothing to resolve - I was tempbanned for a week, it was lifted after longer than a week, I rejoined after longer than that
09:55 mst having double checked I wasn't accidentally evading anything, I don't see that there's anything to resolve at all
09:55 sri dragging this into the channel is very rude
09:55 mst privmsging me without asking permission first is by normal IRC protocol very rude
09:56 mst especially since you tell everybody you can't privmsg with your current client
09:57 tempire private messaging is rude?
09:57 dod joined #mojo
09:57 mst by freenode standards, yes, and specifically when somebody has said "don't privmsg me, I won't reply" then my replying in channel is normal
09:57 stephan48 there is somewhat of a general convention to ask beforehand.
09:57 mst exactly
09:58 tempire Never spent time on freenode. Seems strange to me.
09:58 mst I am being perfectly peaceful; I obeyed my ban, I ignored the fact that it was lifted late, and I only rejoined hours after it was lifted
09:58 mst I'm unsure what the problem is here
09:59 mst apart from sri's spurious suggestion that I lifted my own ban, which he made in privmsg and is simply incorrect
09:59 mst so, honestly, I don't see what there is to resolve
10:00 * tempire resolves the issue by force of will
10:00 * mst really doesn't get what the problem is
10:00 mst I got tempbanned, I served the tempban, after the tempban was lifted, I rejoined
10:00 mst that's how tempbans are supposed to work
10:01 mst sri: I'm genuinely unsure what the issue is?
10:02 stephan48 for the record: i can confirm it was not mst who lifted the ban. he did not join in the time he was banned.
10:08 sri this conversation does not belong here and is over now
10:18 mst for people confused as to what I did that was rude: http://paste.scsys.co.uk/498633
10:18 * mst is looking forward to putting mojo code into production for a number of shadowcat customers
10:19 mst it's obviously superior to the current state of PSGI for async and websocket work
10:19 mst this codebase is just beautiful compared to the AE based idiocy that has to work around MLEHMANN's personality
10:20 sh4 joined #mojo
10:20 mst batman: btw. when we sync up, I've been going over Mojo::IRC and have a few thoughts about the ::UA subclass - you've got some nice ideas there but I'm not sure the method names are quite right
10:21 sh4 joined #mojo
10:26 sri i was trying really really hard here, but you just won't leave me alone
10:26 sri and i'm sure mst will trump this up later as "sri throwing a tantrum", but i've made the calm concious decision that i just don't want to deal with mst again
10:27 mst I served out my tempban and rejoined, and contacted you not at all; I'm unsure how that isn't leaving you alone
10:27 mst was kicked by sri: forever
10:27 sri this has been going on for 10 years, and i'm just done
10:27 sri anyone who has any strong feelings about this, please comtact me in private and we can talk it over
10:33 kd joined #mojo
10:36 kd oh dear that just seems like a monumental waste of time :(
10:58 brrt joined #mojo
10:59 good_news_everyon joined #mojo
10:59 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/vZ6zL
10:59 good_news_everyon mojo/master a4fe6ff Sebastian Riedel: use a more realistic example for cookie filtering
10:59 good_news_everyon left #mojo
11:02 * sri just noticed that the ignore and collecting attributes are a little bit redundant
11:02 sri $ua->jar->ignore(sub {1}) has the same effect as $ua->jar->collecting(0)
11:03 sri just a little bit slower, since cookies are actually parsed
11:54 Zoffix What's the usecase for ->collecting(0)? A cookie jar without cookies...
11:57 sri $ua->cookie_jar->collecting(0)
11:57 Zoffix hm
11:58 sri it replaced $ua->cookie_jar(0), which was a rather ugly hack
11:58 sri since the attribute could contain an object or a false boolean
11:58 trone_ joined #mojo
12:22 meshl joined #mojo
12:40 ribasushi joined #mojo
12:53 Zoffix I think ->ignore obsoletes ->collecting. So $ua->cookie_jar->collecting(0) idiom becomes $ua->cookie_jar->ignore(sub{1}). Or even, keep ->collecting as a private attribute and let this be a special case $ua->cookie_jar->ignore( 1 ) that sets private ->collecting to avoid parsing cookies.
12:54 Zoffix or rather whereever you're checking for ->collecting check for whether ->ignore is true and not a ref
12:57 akhasanov__ joined #mojo
13:05 ajr_ joined #mojo
13:06 sri $ua->cookie_jar->ignore(sub{1}) is a little ugly though
13:07 Zoffix hence $ua->cookie_jar->ignore( 1 ) :D
13:08 sri heh
13:19 sri that's the ->cookie_jar(0) thing all over again
13:20 sri guess two attributes might be the cleanest solution after all
13:27 ashimema joined #mojo
13:44 dvinciguerra joined #mojo
13:57 sh4 joined #mojo
13:58 cpan_mojo Swagger2-0.53 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Swagger2-0.53
14:02 dexteruk joined #mojo
14:09 kaare joined #mojo
14:09 mattastrophe joined #mojo
14:10 mattastrophe_ joined #mojo
14:44 PryMar56 joined #mojo
14:47 Flying_Squirrel joined #mojo
15:03 ZoffixWork joined #mojo
16:17 KindOne joined #mojo
17:08 Flying_Squirrel joined #mojo
17:51 sri hmm, i think Mojo::UserAgent::CookieJar is not as clean as it could be
17:52 sri the origin handling seems a bit complicated
17:53 sri perhaps also the cookie lookup stuff
17:53 sri don't think anyone has tried to optimize the module yet
17:55 mattastrophe joined #mojo
17:56 mattastrophe_ joined #mojo
17:58 sri if someone here is looking for a task
18:38 mattastrophe joined #mojo
18:39 mattastrophe_ joined #mojo
18:42 Kogurr joined #mojo
18:43 zivester joined #mojo
18:44 Flying_Squirrel joined #mojo
18:55 Craftsmanship joined #mojo
19:27 genio joined #mojo
19:54 Flying_Squirrel joined #mojo
20:15 asm35 joined #mojo
20:35 mattastrophe joined #mojo
20:37 kaare joined #mojo
20:46 ajr_ joined #mojo
21:25 ZoffixWork joined #mojo
21:26 * ZoffixWork is having trouble launching a site in development mode with hypnotoad
21:27 ZoffixWork Using MOJO_MODE=development hypnotoad.... I get ->log->debug stuff at the start, but there's a 500 error and I'm not getting any debug info in the browser :/
21:27 ZoffixWork s/stuff\K/ at the shell/;
21:31 ZoffixWork Oh, I think I may have been reading wrong docs
21:32 ZoffixWork From hypnotoad's docs: "automatically [...] defaults to production mode". That implies it's possible to run it in dev mode. How? MOJO_MODE=development env var doesn't seem to do the trick.
21:34 ZoffixWork Aha! Figure out it... *hot deployment* doesn't support this mode switching stuff. MOJO_MODE works if you kill hypnotoad and start it up from scratch
21:35 Grinnz yes, env vars won't apply to hot restart
21:35 ZoffixWork How do you usually kill it though? I always do ps ax | grep  and find process ID and kill it
21:36 Grinnz the hypnotoad script has a --stop option
21:36 ZoffixWork Ah
21:36 ZoffixWork Grinnz++
21:36 Grinnz i actually use its pidfile to kill it, as with most init script daemons
21:54 PryMar56 joined #mojo
21:56 meshl joined #mojo
22:29 sri --stop does the same, just reads the pid file and sends a signal
22:30 ZoffixWork sri, actually, I think  $ua->cookie_jar->ignore( 1 ) stuff is different from ->cookie_jar(0) hack, since ->ignore doesn't expect and *object* but a subref
22:31 sri maybe a little
22:31 ZoffixWork *shrug*
22:31 * ZoffixWork uses neither ->ignore nor ->collecting :)
22:39 ZoffixWork BTW, the morbo-not-restarting-itself-on-Windows stuff I mentioned yesterday... It might be because I'm editing the files it
22:39 * ZoffixWork curses their Enter key!
22:40 ZoffixWork ... the files it's watching on a share mounted on a linux box :) so the OS doesn't know when they're updated
22:40 ZoffixWork I'll poke at it more when I'm soberer :)
22:42 sri it checks the size and mtime
22:43 Grinnz ive had similar problems with sshfs type stuff with text editors
22:51 sri wouldn't surprise me
22:53 * tempire has discovered a new television show
22:53 tempire madam secretary
22:53 tempire ITS SO GOOD
22:56 * sri still has to check out the new walking dead show
23:13 tempire There's a new one?
23:14 sri yea, prequel spin-off show
23:14 sri fear the walking dead
23:14 tempire oh I heard about that
23:14 tempire I've never liked prequels
23:14 tempire The impending doom of it depresses me
23:16 sri well, it's on the other side of the country, so i guess everything could happen :)
23:18 sri heroes is also coming back with a reboot, not sure what to think about that
23:19 tempire Heroes has so much potential
23:19 tempire Always did, when the writers cared
23:19 tempire I'm hopeful
23:21 sri it got pretty weak towards the end last time
23:21 sri but maybe they've learned from it
23:22 cpan_mojo XTaTIK-0.005001 by ZOFFIX https://metacpan.org/release/ZOFFIX/XTaTIK-0.005001
23:23 Grinnz learned to anticipate having to actually write more than one or two seasons of content? lol
23:25 tempire Even the beginning was disappointed
23:25 tempire All that was necessary was a big battle between Peter and Sylar
23:25 tempire That alone could have saved the series
23:25 tempire But instead they kept avoiding it and making the story worse and worse
23:33 bpmedley https://www.youtube.com/watch?v=M_XwzBMTJaM

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