Camelia, the Perl 6 bug

IRC log for #mojo, 2011-04-23

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

All times shown according to UTC.

Time Nick Message
00:11 alnewkirk sri, new ver of Scrappy released .. good stuff
00:12 jamesw joined #mojo
00:16 jwang left #mojo
00:41 perlrocks Twitter: "Welcome to the world of modern Perl: 22nd Mojolicious:: Lite: when you wish there was a really simple web | gihyo.jp ... 技術評論社 http://htn.to/tNQgzo" (ja) --holidayworking http://twitter.com/holidaywor​king/status/61590471474032640
01:00 jwang joined #mojo
02:42 mattastrophe joined #mojo
02:43 crab what is scrappy?
02:59 alnewkirk crab, http://search.cpan.org/dist/Scrappy/lib/Scrappy.pm
03:07 abra left #mojo
03:18 abra joined #mojo
03:32 crab scrap-pee
03:33 alnewkirk :}
03:37 zakame left #mojo
03:42 crab left #mojo
04:05 jpablobr joined #mojo
04:57 alnewkirk left #mojo
05:05 avkhozov joined #mojo
05:09 avkhozov left #mojo
05:11 avkhozov joined #mojo
05:11 avkhozov left #mojo
05:18 zakame joined #mojo
05:35 Foxcool joined #mojo
06:01 sh4 joined #mojo
06:29 sh4 left #mojo
06:44 tardisx joined #mojo
06:54 tabbi joined #mojo
07:01 jpablobr left #mojo
07:09 perlrocks Twitter: "www/p5-Mojolicious - 1.21: - Update to 1.21 - Changelog: http://search.cpan.org/dist/Mojolicious/Changes  PR:   ... http://bit.ly/ha9Ni0" --freshports_org http://twitter.com/freshports​_org/status/61688162761707520
07:18 elb0w left #mojo
07:18 sh4 joined #mojo
07:19 elb0w joined #mojo
07:33 perlrocks Twitter: "@ Spokenpriestess repeat: Bongo Maffin of Matthat's sghubu-izozo the ba mojolicious!" (sw) --dipuoseema http://twitter.com/dipuosee​ma/status/61694113887694848
07:43 perlrocks Twitter: "Lmao! RE MI X ! *dies* RT @dipuoseema: spokenpriestess repeat:Bongo Maffin ya thati's sghubu-izozo ya ba mojolicious!" --spokenpriestess http://twitter.com/spokenpries​tess/status/61696571787579392
08:07 sh4 left #mojo
08:07 sh4 joined #mojo
08:20 sh4 left #mojo
08:20 PerlNinja joined #mojo
08:40 sh4 joined #mojo
09:00 PerlNinja question: running an app under hypnotoad, if the app does an exit(0) somewhere, is that child replaced with a new one automatically or does it really at some point leave me with no running app?
09:05 yegor joined #mojo
09:06 moritz why the bloody hell would you call exit() in a persistent web app?
09:09 PerlNinja I wouldn't, right now I'm just putzing about with the MongoDB driver being a royal bitch on steroids
09:10 yegor left #mojo
09:11 PerlNinja it's supposed to automatically reconnect if it loses a connection, but it seems it either doesn't, or it's mongos that's fucked for some reason... have 2 shards, each shard is a 3 node replica set, so it shouldn't happen that it can't connect
09:13 sugar joined #mojo
09:14 PerlNinja especially since it seems to do this when a cursor has been open for a bit, already raised timeouts everywhere... oh well..
09:32 arpadszasz joined #mojo
09:59 Foxcool left #mojo
10:04 Foxcool joined #mojo
10:06 tabbi left #mojo
10:30 sugar left #mojo
10:41 f00li5h left #mojo
10:54 sugar joined #mojo
11:04 sugar left #mojo
11:04 yegor joined #mojo
11:05 sugar joined #mojo
11:33 sh4 left #mojo
11:35 espent left #mojo
11:37 espent joined #mojo
11:56 sugar left #mojo
12:20 arpadszasz left #mojo
12:27 sh4 joined #mojo
12:40 sri PerlNinja: it gets replaced
12:41 sri we even use regular heartbeat messages to make sure clients don't block for too long
12:42 sri umm
12:42 sri *workers
13:02 Foxcool left #mojo
13:14 PerlNinja cool, solved the mongodb thing though
13:14 PerlNinja i think
13:14 PerlNinja that perl driver is such a mess
13:20 Foxcool joined #mojo
14:25 sh4 left #mojo
14:38 Foxcool left #mojo
14:47 GitHub157 joined #mojo
14:47 GitHub157 mojo: master Sebastian Riedel * 15c529f (2 files in 2 dirs): fixed typo - http://bit.ly/ehaRSy
14:47 GitHub157 left #mojo
14:52 ispy_ left #mojo
14:53 GitHub102 joined #mojo
14:53 GitHub102 mojo: master Sebastian Riedel * 7a17ea1 (1 files in 1 dirs): fixed another typo - http://bit.ly/hk0uQa
14:53 GitHub102 left #mojo
14:54 sri well, they don't put much effort into most mongodb drivers it seems
14:55 sri so far only the python one seems decent
15:18 PerlNinja dunno, seems last time anyone bothered to fix anything on the perl one was in 2010
15:22 daviddelikat left #mojo
15:54 sri last release is february 2011
15:56 Foxcool joined #mojo
16:00 sh4 joined #mojo
16:10 sugar joined #mojo
16:26 crab joined #mojo
16:26 crab hi. i'm setting up mojo on a new machine with an ancient perl (5.10.0).
16:27 crab i thought of using perlbrew to install a private, more recent perl. i have one question: if i perlbrew init, i get a ~/perl5 directory with lib/ and perlbrew/ in it. is it safe to install Mojolicious with cpanm -l ~/perl5 Mojolicious? or should i be installing it elsewhere?
16:28 * mateu has to work with 5.8.5 and 5.8.8 on a regular basis
16:29 mateu crab: makes sense to me.
16:30 moritz crab: what I did is 'perlbrew switch <newperl>', install cpanm, and then just run 'cpanm Mojolicious'
16:30 sri crab: wouldn't you use the cpanm local to the current perlbrew perl
16:30 crab mateu: thanks. cpanm -l ~/perl5 or -l ~/perl5/lib, btw?
16:30 sri ?
16:31 sri yea, what moritz said
16:31 mateu i like moritz 's suggestion
16:31 crab moritz: oh, fine then.
16:31 crab i already had a cpanm in my ~/bin, that's all.
16:31 sri i use the same
16:31 crab but that makes sense. i'll do it that way. thanks
16:32 crab i don't remember what about 5.10.0 is broken, but somehow i have "avoid avoid avoid" flashing in my brain
16:32 sri some unknown error thingy with catalyst
16:32 moritz crab: shift() was rather slow in perl-5.10.0
16:32 sri there was a lot broken with 5.10.0 afair
16:33 mateu I think one item was that smart match regexes were broke
16:35 crab i wonder if this is the slowest machine anyone has done mojolicious development on ;-)
16:35 sri do tests pass?
16:35 crab (7" eeepc, celeron 600-ish mhz)
16:35 sri :o
16:35 sri that's less than my iphone
16:36 crab sri: you mean, if they pass, it's not the slowest? :-) but i haven't gotten around to running them yet. still perlbrew-installing perl 5.12.3.
16:36 crab does mojo work on your iphone?
16:36 sri on jailbroken iphones i think it works
16:37 sri it's basically just a tiny os x
16:38 sri it has an 1ghz processor
16:39 sri underclocked to 800mhz or so
16:42 sri HARNESS_OPTIONS=j3 has made my life sooo much easier
16:42 sri 16 seconds for a full mojolicious make test
16:43 crab sri: which module is it that honours that option? because i ran the test suite somewhere and it didn't do the parallel testing.
16:43 crab i made a note to investigate later, but it slipped my mind until you just mentioned it.
16:43 sri Test::Harness or so
16:43 sri it's rather new
16:43 sri 5.12+ or so
16:44 crab looking at the build log, i don't think there's any chance of getting all the modules installed before i have to leave tomorrow. so i might as well go to sleep. seeya all in a few days.
16:44 crab left #mojo
16:58 moritz when I try to deploy my mojolicious app with hypnotoad, I get "/home/moritz/www/quelology/web/quelology" is not a valid application.
16:58 moritz why? what can I do to make ia valid application?
16:59 moritz it works fine with 'daemon' for example
17:00 sri is the last line in that file app->start;?
17:01 moritz not the last line in the file, there's a __DATA__ segment with templates after it
17:01 sri the last code line
17:02 sri hypnotoad depends on it, like psgi
17:02 moritz are comments after it allowed?
17:02 mateu if they're not code ;)
17:03 sri the whole thing is loaded via "do $file"
17:03 alnewkirk joined #mojo
17:03 sri actually "my $app = do $file;"
17:03 moritz ah, works when I remove the stuff after it
17:04 mateu hmm, so the comments after did mess it up?
17:04 moritz no
17:04 moritz first I had a $schema->disconnect  after it
17:04 sri makes sense
17:04 purl i heard makes sense was http://xrl.us/bjq3kq
17:05 sri last line always needs to be app->start or Mojolicious::Commands->start;
17:05 mateu to return the coderef right?
17:06 sri nope
17:06 mateu alal psgi?
17:06 sri that only works for psgi
17:06 sri for hypnotoad it returns the app instance
17:06 mateu ah , ok.  app->start return value depends on the backing server
17:07 sri yea, it also detects cgi and fastcgi environments
17:07 sri PATH_INFO=/lalala ./myapp.pl
17:08 mateu ?
17:09 sri if %ENV smells like CGI it will work like a cgi script
17:10 mateu sniffing PATH_INFO?
17:11 sri and more
17:11 mateu as long as it doesn't sniff marcus 's dirty old socks.
17:14 marcus because mateu wants to smoke them.
17:15 PerlNinja o_O
17:15 mateu only if I get the ones you wore to amsterdam ;)
17:15 marcus going to amsterdam again in may. I'm not sure it'll be legal to mail you the socks tho :p
17:15 PerlNinja what, you think he stuffed his socks full of happy leafy green?
17:16 mateu haha, niuce
17:16 mateu nice even
17:16 marcus actually, first weekend of june
17:18 mateu what's a common way to have an init.d script change owner of the processes it's launching from 'root' to something else like 'www-data'?
17:20 PerlNinja install daemontools and use setuidgid from there is what i do
17:20 marcus alnewkirk: man, you're spammy on twitter.
17:21 mateu PerlNinja: thanks for the suggestion
17:21 PerlNinja mateu, no prob, just be aware that djb will be claiming your soul in a few years
17:22 mateu djb?
17:22 purl somebody said djb was just too big of a prick or the irritating author of qmail or http://jya.com/bernstein-9th.htm or (despite his many other flaws) an exceptionally good C programmer. or at http://cr.yp.to/ or Daniel J. Bernstein or djb's gift to mankind or a crypto hero or a cocksmoker or a much better programmer than philg or a person who writes very hard to maintain code or mailto:djb@cr.yp.to
17:22 marcus but at least he will have good uptime meanwhile
17:23 PerlNinja well I must agree with purl
17:24 PerlNinja djb is the most arrogant son of a bitch I've had the displeasure to communicate with, but he can code
17:24 marcus I avoid qmail, but daemontools and his dns server are quite nice
17:24 marcus also, I avoid him personally, obviously
17:27 mateu marcus: how was your flight across the pond?   uneventful I hope.
17:28 marcus mateu: yeah, as good as can be expected with a 2-year old
17:28 marcus she slept about 3-4 hours, I slept 2-3, wife slept 1 hour
17:28 marcus so we had a little nap this morning when we got back home
17:29 marcus flight was fast tho, only like 6 hours. and the timing was pretty good, leaving from nyc at 7pm, arriving in oslo at 8am
17:30 mateu oh, that helps
17:36 PerlNinja yeah good timing there
17:39 zakame left #mojo
18:40 alnewkirk-away joined #mojo
18:42 alnewkirk left #mojo
18:42 alnewkirk-away is now known as alnewkirk
18:54 sh4 left #mojo
18:55 GitHub24 joined #mojo
18:55 GitHub24 mojo: master Sebastian Riedel * 135b5d0 (1 files in 1 dirs): added a few new comments - http://bit.ly/g2lwlT
18:55 GitHub24 left #mojo
18:56 sri i'd really like to move embedded templates from Mojolicious::Plugin::PodRenderer and Mojolicious::Controller into real files too (like public)
18:56 sri but the overhead seems not worth it
19:11 perlrocks Twitter: "Mojolicious-Plugin-Authentication 1.10 by MADCAT - http://frepan.org/~madcat/Mojolic​ious-Plugin-Authentication-1.10/" --cpan_new http://twitter.com/cpan_ne​w/status/61869785692119041
19:13 PerlNinja isn't there already something that takes embedded files and dumps them out? cos i kinad like it for ::Lite that it all stays embedded, but you have the option to chunk them out into templates and public if you want them to be there
19:15 perlrocks Twitter: "Mojolicious-Plugin-Disqus 1.19 by MADCAT - http://frepan.org/~madcat/Moj​olicious-Plugin-Disqus-1.19/" --cpan_new http://twitter.com/cpan_ne​w/status/61870904573046784
19:16 sri PerlNinja: that's not what i'm talking about
19:16 purl talking about is "Yeah, you're alway talking and talking and talking. Shut up and code."
19:16 sri i mean the hardcoded templates for exceptions and the like
19:16 sri they are currently inlined in perl module DATA sections
19:18 sri https://github.com/kraih/mojo/blob/mas​ter/lib/Mojolicious/Controller.pm#L638
19:19 sri they could theoretically be handled like the static files we bundle
19:19 sri https://github.com/kraih/mojo/tr​ee/master/lib/Mojolicious/public
19:20 PerlNinja hmm, I guess that works, how's that turn out for Mojolicious::Lite though?
19:20 sri ?
19:21 sri it changes absolutely nothing, besides causing a bit of overhead when detecting templates
19:21 PerlNinja I mean, if ::Lite fails you get a failraptor too, no?
19:21 PerlNinja I mean
19:21 PerlNinja I've never really used ::Lite so ... I dunno :D
19:22 PerlNinja also: twitterstorm coming in, i'm updating all my modules to Module::Build .. MakeMaker is giving my head pain ...
19:23 perlrocks Twitter: "Mojolicious-Plugin-Database 1.04 by MADCAT - http://frepan.org/~madcat/Mojo​licious-Plugin-Database-1.04/" --cpan_new http://twitter.com/cpan_ne​w/status/61872774246973440
19:23 sri /o\
19:24 sh4 joined #mojo
19:25 PerlNinja is that taking cover, facepalming, or an expression of happy?
19:25 sri in this case number 1
19:27 PerlNinja :D ok good, I'm not ready to get into an epic MakeMaker v.s. Module::Build war :P
19:30 perlrocks Twitter: "Mojolicious-Plugin-Mongodb 1.05 by MADCAT - http://frepan.org/~madcat/Moj​olicious-Plugin-Mongodb-1.05/" --cpan_new http://twitter.com/cpan_ne​w/status/61874539755347968
19:36 tempire I think /o\ is a handstand
19:36 tempire \_/
19:37 sri /o\
19:37 tempire \/o\
19:37 tempire dernit
19:37 PerlNinja thats a borken arm then
19:37 sri ouch
19:37 tempire \_/
19:37 tempire /o\
19:37 PerlNinja that looks ...
19:37 PerlNinja odd
19:37 PerlNinja like your entire center body just up and left
19:37 PerlNinja hum
19:38 PerlNinja guess cpantesters' metabase is down due to that AWS outage
19:38 PerlNinja that's been going on for 2 days
19:38 PerlNinja all hail not blindly drinking the "omgz ze cloud, it is ze awesome" kool-aid
19:38 tempire didn't the phenona dude post about how to avoid that?
19:39 tempire don't put all your stuff on the same segment, as I recall
19:41 PerlNinja yeah I think he did
19:41 PerlNinja wouldn't help in this case
19:41 PerlNinja multiple segments went kablooey
19:44 PerlNinja it's funny because i always tell people that there's nothing wrong with hosting on AWS or another cloud provider, but you better have a backup plan ready to go in case it goes down ... the standard answer is always "but, it's the cloud man, it can't go down" ... people near me heard an odd noise when that AWS outage hit, and that was basically me chortling like an evil scientist because now I can go "see, I told you so" to a few people
19:45 sri see my last tweet xD
19:46 PerlNinja seeing... wait
19:47 tempire shnikies
19:47 PerlNinja bwaaahahahaha
19:47 PerlNinja like that
19:47 tempire that is an unfortunate way to learn the lesson.
19:47 PerlNinja go to the cloud, but no disaster recovery, no failover plan, no nothing
19:47 PerlNinja bunch of BFI's basically
19:48 tempire British Film Institutes?
19:48 tempire Buckminster Full Institutes?
19:48 PerlNinja Bloody Fucking Idiots
19:48 PerlNinja :)
19:48 PerlNinja shortest way to summarize it really
19:48 tempire everyone has to learn some time.
19:49 PerlNinja yeah
19:49 sri apparently aws is hippa certified, so it's all fine!
19:49 PerlNinja the point is though
19:49 PerlNinja the decision to stick shit there was *probably* made by some managerial type who drank the koolaid
19:49 tempire *offset the risk*
19:49 PerlNinja who pushed that through and probably managed to upset some admins, who did it anyway because they wanted to keep their jobs
19:49 tempire that's what sells management
19:50 PerlNinja yup, sure does
19:50 sri well, amazon fucked up big time too with their availability zones
19:50 PerlNinja I have a funnier problem with that one
19:50 PerlNinja the whole "check this cloud stuff out" phase is starting down here, so I've got a bunch of people wanting to contract me for getting that done
19:52 PerlNinja and they all go to one place to do it.. BizNet .. it's one of the local ISP's, and what they call "cloud" is basically a VMware ESX setup ... that's manually managed... and has no failover. It's in a building that's got no multihoming, and the UPS and genset are good for a max of 4 hours of no power
19:52 PerlNinja considering the average blackout/brownout here lasts for more than that
19:52 PerlNinja well
19:52 PerlNinja :)
19:53 PerlNinja and .. this is gonna make you laugh for sure
19:53 PerlNinja to get 1Mbit of bandwidth .. total ... they charge around $2500 per month
19:55 sri :O
20:02 PerlNinja business to business :)
20:02 PerlNinja I pay $70 a month for my internet
20:02 PerlNinja 1Mbit ADSL
20:02 PerlNinja if you speedtest it inside Indonesia that is. Speedtesting to, say, New York or Amsterdam results in something more like 384 down, 16 up
20:24 sugar left #mojo
20:30 sh4 left #mojo
20:36 Foxcool left #mojo
20:37 PerlNinja to add to the AWS bits: http://tinyurl.com/3vqqvlx :P *shameless self-promoting*
20:46 sri hehe
20:48 sri wonder if people will learn from that
20:49 sri hmm
20:49 sri also wonder if the playstation network is also on ec2
20:50 PerlNinja chances are, they won't
20:50 PerlNinja it's gonna be looked at, some chuckles will be shared while going "well, it won't happen again, they're amazon after all" and business goes back to normal
20:50 PerlNinja this is why i still get paid $stupidbucks to tell people how they're doing it wrong :)
20:50 PerlNinja if they'd learn from it, i'd be out of that job
20:54 sri or you would be doing something more interesting
20:57 PerlNinja yeah
20:57 PerlNinja but i mean, seriously think about this one
20:57 PerlNinja look behind the ATM next time you're at a gas station, or a supermarket. Chances are, you can't
20:57 PerlNinja down here, usually, you can
20:58 PerlNinja hello X.25 modem. or hello ethernet cable. or even worse: hello WiFi access point
20:59 PerlNinja It's a recurring theme for many banks here - and other security companies, and myself, have told them this over and over and over again - and still, they do it because "it works, doesn't it?"
21:00 PerlNinja or internet banking portals - they use https, but that doesn't help much when I can pull an XSS on the login screen and replace the whole <body> of the page with one that looks like the login form, but it sends me a copy of what's entered in it
21:00 stephanj a coworker from me once found a usb jack in a ATM here at a bank, he just went by waited 2-3 days and plugged in a keyboard.. it took over 20 min for the security staff to even find out that theres someone standing and maybe even hijacking the thing ;)
21:00 PerlNinja took them 6 months and 3 attempts to fix it
21:00 stephanj it was win nt btw under it
21:00 PerlNinja stephanj: yeah most of them run NT or Vista
21:01 stephanj where you live in which country?
21:01 PerlNinja Indonesia :)
21:01 PerlNinja the wild wild west
21:01 purl the wild wild west is, like, sci-fi too, you know
21:01 stephanj not 2 of the stablest operating systems...
21:01 PerlNinja no, but even funnier
21:01 stephanj oh
21:01 PerlNinja the keypad and the buttons around the screen
21:01 stephanj i live in North Germany...
21:02 PerlNinja sometimes they act as the regular keyboard - or rather, the driver for the things makes it look like one
21:02 stephanj cool
21:02 PerlNinja yeah, now imagine a USB hub, a keyboard, and a stick .. and 2 minutes alone
21:02 PerlNinja hello keylogger
21:03 stephanj ye
21:03 PerlNinja or heck, hello sniffer - who needs to clone cards when you can simply replay transactions
21:03 stephanj ye..
21:03 stephanj why cloning cards if you can hijack drivers and read the data live
21:03 PerlNinja never got around to it but in theory it's possible to intercept things so if you want to withdraw $2000, the "bank" says "sure, he's got that"
21:04 stephanj ye
21:04 PerlNinja check this one out too
21:04 PerlNinja got hired by a telco here to assess their newest little idea
21:04 stephanj depends on the trust thats given to the ATM, if it has full trust it could do everything if not -> maybe you only needs victims pin
21:04 PerlNinja a mobile wallet
21:05 PerlNinja you'd put money in, and you could pay merchants with it by just using your phone
21:05 PerlNinja guess what: the SMS's that went back and forth? No encryption.
21:05 PerlNinja no transaction id's, and 100% replayable
21:05 stephanj cool
21:05 PerlNinja on top of that their web interface was written in Perl .. and I mean, I can write nasty-ass Perl but this was just wrong
21:05 stephanj let me guess you could even send it from different phone and still works?
21:06 PerlNinja driven on the backend by a Java app that could handle 2 concurrent transactions >_<
21:06 stephanj cool
21:06 stephanj now i can understand why no transactions...
21:06 PerlNinja oh sure, you could take any SMS, send it from any phone, computer, or other device
21:06 PerlNinja well the transaction id is something you need to deter replaying
21:06 stephanj the same sms would be repeated so long till you got an OK back?
21:06 PerlNinja start of transaction: generate id, mark it as open, finish transaction, close the transaction
21:06 stephanj so somewhen java app finds a slot for you and fine
21:06 stephanj ye
21:07 PerlNinja if a transaction with the same ID comes in you check it's state first, if it's closed, then hohoho good luck, no deal
21:07 stephanj yap
21:07 PerlNinja the concurrent transaction bit is basically
21:07 PerlNinja it could deal with 2 connections at a time
21:07 PerlNinja before it'd blow up :)
21:07 stephanj ye
21:07 PerlNinja and this was supposed to be used by 100.000 people within a month
21:07 PerlNinja and against everyone's advice
21:08 PerlNinja they implemented it, but never activated it, and very quietly shut it down a few months ago
21:08 stephanj let me guess? it didnt say "no more conns" but "FUCK YOU! i go into some random state mess with db and break everything"?
21:08 stephanj hehe
21:08 PerlNinja ... and those fuckers in Australia that built the system got 5 million dollars to build and integrate it
21:08 PerlNinja 5. fucking. million.
21:08 sri lol
21:08 stephanj ye
21:08 stephanj sadly so it works
21:09 PerlNinja well between my co-workers and me we hatched a variety of plans to uh
21:09 PerlNinja liberate the telco from it's money by just replaying and modifying transactions
21:09 PerlNinja right up until we figured that it's impossible to exit the country if you're carrying 2 suitcases full of small unmarked bills :P
21:09 stephanj some fool implements it gets millions for it... and the one who have to integrate it just gets nothing, than overtime to repair the shit that came out for many millions
21:10 stephanj hehe
21:10 PerlNinja was funny too because that company that implemented it
21:10 PerlNinja kept trying to convince the telco to fire us and hire another security company to do the audit
21:10 PerlNinja found out later that other security company was promised a little extra if they'd give the thing the green light
21:11 stephanj cool
21:11 PerlNinja because we basically extricated ourselves at some point when we figured they weren't gonna stop implementing, so we sent them a bill, a final  recommendation, and a contract stating that we were aware of their going ahead, and that we weren't going to be liable for anything since we already told them it'd be one big clusterfuck
21:11 stephanj sadly there are no laws by which you could sue such companiys duing such shit
21:12 PerlNinja well it's indonesia so
21:12 PerlNinja corruption here is rampant
21:12 stephanj ye as far as i know we dont even have such capabilities in germany
21:12 PerlNinja I'm not helping though, if I get pulled over by the cops I usually just give them their cigarette money and they let it all slide
21:12 stephanj hehe
21:13 PerlNinja same with the clowns at the immigration office
21:13 PerlNinja there's regular service, official express service, and highly unofficial "wait an hour and you'll be done" service
21:13 PerlNinja priced accordingly :)
21:14 stephanj k
21:14 PerlNinja then again prices here are cheap for most things
21:14 stephanj ye sadly theres no real way out of such stuff
21:14 PerlNinja 100km taxi ride will run you $20
21:14 stephanj wow
21:14 PerlNinja to use the McDonalds index
21:15 PerlNinja $5 for a big mac menu ;)
21:15 PerlNinja loaf of bread: 25 cents, if that
21:15 stephanj a taxi ride about 2 km here will get you 5-10euros less
21:15 PerlNinja pack of cigarettes ... $1
21:15 stephanj 5 euros here
21:15 PerlNinja ok well maybe it's up to $1.50 now
21:15 PerlNinja only 5? back in netherlands used to be about 5.50 for pack of marlboro
21:16 stephanj idk last time i checked it was 5euros
21:16 sri they put less in the pack now i think
21:16 stephanj but hell i dont smoke
21:16 * sri quit a few years back
21:16 PerlNinja it's one reason I actually like living here, if I make $1000 every month, that pays all my bills, all my food, gas for the car, and I have plenty left to take my wife out for dinner every weekend
21:16 PerlNinja I call it being semi-retired :P
21:17 PerlNinja sri: good! I've tried quitting but no luck. gave up on it too because my wife smokes, all relatives smoke, my neighbours smoke, heck, even my cats smoke I think
21:17 stephanj wtf?
21:18 PerlNinja wwtf? :P
21:18 stephanj smoking cats?
21:19 sri i just decided to stop one morning, felt sick for a few days and then never looked back
21:21 PerlNinja stephanj: fgure of speech :)
21:21 PerlNinja sri: tried that - unlike most people I don't start eating, I just get exceedingly cranky
21:21 PerlNinja to the point where people begged me to please start smoking again because i had pretty much turned into some fire-belching demon
21:22 sri did it during my army time, so i had enough distraction :)
21:24 PerlNinja army time.. heh
21:24 sri heard most people actually don't start eating more, the body just needs less calories
21:24 PerlNinja I missed out on mandatory army time by 1 day :D
21:24 PerlNinja they cancelled the mandatory draft 1 day before my 18th birthday
21:24 stephanj hehe
21:24 sri i missed that by a few years :/
21:25 sri they just cancelled it in germany
21:25 PerlNinja man i'm feeling old now :P
21:25 PerlNinja thinking about 18, I don't actually ... remember it
21:25 PerlNinja All I remember is that ale and wenches were involved
21:26 stephanj hehe
21:26 sri those were the days
21:27 PerlNinja still got beer in the fridge but my wife gets cranky about the wenches
21:28 sri marcus: http://kottke.org/11/04/concep​t-camera-with-detactable-lens # your next camera
22:01 PerlNinja oh. wow...
22:01 PerlNinja my cat just gave birth to 5 kittens ... in my backpack :(
22:21 janus pull request finally sent
22:23 janus https://github.com/kraih/mojo/pull/120
22:59 GitHub151 joined #mojo
22:59 GitHub151 mojo: master Simon Bertrang * c3f1d64 (3 files in 2 dirs): rename on_tick to recurring, merge ticks into timers and implement periodic recurrening events
22:59 GitHub151 mojo: master Sebastian Riedel * 3429552 (7 files in 5 dirs): renamed on_idle method in Mojo::IOLoop to idle
22:59 GitHub151 mojo: master commits 135b5d0...3429552 - http://bit.ly/eAl6mF
22:59 GitHub151 left #mojo
23:00 sri PerlNinja: ewwww... and awwwww
23:00 PerlNinja yeah that's my response too
23:01 sri janus++
23:01 PerlNinja first it's like "uh.. why is my backpack moving... wait, why is my backpack making mewing sounds"
23:01 PerlNinja then i'm like... ehh wait.. that looks like kittens.. ewwww
23:01 PerlNinja then awwww
23:01 PerlNinja nice one janus
23:05 stephanj why you have a cat in your backpack?
23:08 PerlNinja usually carry my laptop in here so it was on the floor and zipped open
23:08 GitHub123 joined #mojo
23:08 GitHub123 mojo: master Sebastian Riedel * 10110b8 (1 files in 1 dirs): micro optimization - http://bit.ly/hVEtKA
23:08 GitHub123 left #mojo
23:08 PerlNinja cat always like it, apparently it's a comfy place to sleep undisturbed
23:09 stephanj ah
23:11 sri and get accidentally carried to work?
23:14 PerlNinja haha nah, no room for my laptop if the cat's in there so
23:14 PerlNinja none of that thank god
23:16 perlrocks Twitter: "Looks like recurring timers are back in #mojolicious, enjoy. :) http://t.co/0AIQoq0 #perl" --kraih http://twitter.com/kraih/status/61931474886201344
23:40 PerlNinja janus++ && sri++
23:42 PerlNinja ok question, i finagled something akin to a co-maintainer bit out of vti a while ago for mojox::session and mojolicious::plugin::session ... i'm only interested in mojolicious::plugin::session and i want to break it loose from being combined with mojox::session - if i create a new plugin, package it, make sure it's version is > the one it's got in vti's stuff, is PAUSE gonna take it or is it gonna bomb?
23:43 sri pause should accept it
23:43 sri you'll just have some modules from older uploads showing up in search results i guess
23:52 PerlNinja ok, cool ... of course, since i'm co-maint and vti's not passed it over completely i just hope he keeps his mitts off it
23:53 sri don't think he would risk it :)
23:54 PerlNinja meh, hope not, i basically turned the authentication plugin into doing just authentication, before it used the session plugin to have server side storage for session stuff but it fails all tests now because somewhere it uses mojo::client
23:55 PerlNinja so instead of fixing that thing i figured i'd re-do it
23:55 PerlNinja brings me to a fun question
23:57 PerlNinja i set $self->sessions->{'foo'} = 'fnork' - i load the page in one tab, then load it in another, then the page in the first tab sets $self->sessions->{'foo'} = 'bar' - tab 1 now has that session cookie with 'bar' in it, tab 2 still has 'fnork'. I reload tab 2. What does tab 2 have :)
23:57 PerlNinja in other words, am i going to clobber stuff if i have the same site open in 2 tabs and the session data might or might not change on page load, ajax requests, and so on
23:57 sri the browser cookie jar should be global
23:58 sri you would have to try really hard to make requests overlap
23:58 PerlNinja they will
23:58 PerlNinja or rather, chances are good
23:59 sri not really, global cookie jar means one state pretty much always
23:59 sri always the latest
23:59 PerlNinja there's a timer that keeps track of a few things, if i start it in one tab, i need to be sure if i reload the 2nd tab, it renders the timer as well instead of clobbering the fact it's running
23:59 PerlNinja but yeah hm

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