Camelia, the Perl 6 bug

IRC log for #mojo, 2011-10-05

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

All times shown according to UTC.

Time Nick Message
00:11 GitHub136 joined #mojo
00:11 GitHub136 [mojo] kraih pushed 1 new commit to master: http://git.io/jBeebg
00:11 GitHub136 [mojo/master] use POSIX instead of special variables - Sebastian Riedel
00:11 GitHub136 left #mojo
00:12 sri ok, as far as i can see special variables are garbage, and only POSIX is reliable
00:21 GitHub116 joined #mojo
00:21 GitHub116 [mojo] kraih pushed 1 new commit to master: http://git.io/XfVloQ
00:21 GitHub116 [mojo/master] added a few more loader tests - Sebastian Riedel
00:21 GitHub116 left #mojo
00:26 mspo mm posix
00:29 j3nnn1 joined #mojo
00:39 zenbitz do I have to register all helpers in startup?
00:42 zenbitz it seems so, otherwise you have something like Myapp->helper('name' => sub {..})
00:49 zenbitz ...
00:49 zenbitz well more newb questions
00:49 zenbitz if I am using Mojo::Test->(myApp) where do my log->debug statements go
00:50 zenbitz I tried to use $log->handle->(\*STDERR)...
01:06 blabos joined #mojo
01:35 f00li5h left #mojo
01:41 a-pool-of-morbos zenbitz: if you're using prove, use the -v switch
01:44 gshank_ joined #mojo
02:08 Alias joined #mojo
02:22 metaperl How would one do local development in Mojolicious with a directory setup like this - https://github.com/kyoro/fluxflex_m​ojolicious/tree/master/public_html
02:33 ispy_ joined #mojo
02:39 crab i don't understand the question.
02:51 arthas joined #mojo
03:02 metaperl crab: what I am saying is that with a typical ::Lite app public is where static assets go
03:02 GitHub80 joined #mojo
03:02 GitHub80 [mojo] kraih pushed 1 new commit to master: http://git.io/w1d1-Q
03:02 GitHub80 [mojo/master] improved PSGI tests - Sebastian Riedel
03:02 GitHub80 left #mojo
03:03 metaperl and I saw no code in MyApp.pm that adapted anything to notify mojoilicious to look elsewhere (e.g. public_html ) for static assets
03:04 MojoGuest354 joined #mojo
03:04 MojoGuest354 From: http://www.google.com/search?q=websockets​+demo&btnG=Search&hl=en&sa=2 (1 hits)
03:04 MojoGuest354 d
03:04 sri that does not look like a normal mojolicious app, you better ask the author
03:11 metaperl yes, I got it working over at fluxflex, but I was wondering about desktop development, using a local apache and htaccess ... hwere would mojoliciosu be expecting static assets to be and is there some way to change that?
03:16 GitHub55 joined #mojo
03:16 GitHub55 [mojo] kraih pushed 1 new commit to master: http://git.io/YGQDPg
03:16 GitHub55 [mojo/master] improved PSGI backend slightly - Sebastian Riedel
03:16 GitHub55 left #mojo
04:11 crab that offset //= 0 thing gives me the heebie-jeebies
04:35 * a-pool-of-morbos slaps himself in the face for not using File::Slurp for all config file operations over the past 5 years
05:03 blabos hau :)
05:03 blabos I'm using respond_to
05:03 blabos :)
06:01 sromanov joined #mojo
06:07 Eugene joined #mojo
06:21 crab tempire: there are many small modules on cpan that could be used in place of a few lines of straightforward code. are you going to slap yourself for each one?
06:31 Sjors sri: this one was on linux
06:31 Sjors sri: in perl, you don't only need to change $<, but also some other constants
06:32 Sjors sri: I think perlipc describes it, not sure
06:32 Sjors or perlvar, of course
06:32 Sjors effective UID and UID, same for gid, all need to be dropped
06:39 BlueT_ I have a newbie question :~
06:40 BlueT_ I'm swtiching to MojoX::Redis from Redis.pm in my current developing project using Mojolicious
06:40 BlueT_ I need to do multiple Redis operations in async, and render the output page content after getting all results in a controller
06:41 BlueT_ Tried with AnyEvent::CondVar but it caused recursive blocking
06:44 BlueT_ also in helper
06:47 bzero Hello. %# lala <%== 1 + 2 %>  shows 3%>
06:47 bzero sri: It was not so in previous releases.
06:50 tempire crab: only for the ones that are a particularly good example of the reasons for higher order subroutines.
06:52 BlueT_ http://gist.github.com/1263807
06:55 AmeliePoulain joined #mojo
06:59 marty joined #mojo
07:00 Vandal joined #mojo
07:01 tempire left #mojo
07:02 judofyr joined #mojo
07:10 sugar joined #mojo
07:16 crab file::slurp is a particularly good example of the reasons for higher order subroutines?
07:20 cosmincx joined #mojo
07:41 rsimoes Does anyone know why previous releases of mojolicious get nuked off cpan?
07:41 rsimoes Or why the issues link 404s? =[
07:41 rsimoes I wish things like this were in the FAQ
07:43 marcus rsimoes: they exist in backpan
07:43 crab or you could check out the right tag from github
07:52 cosmincx joined #mojo
08:06 marty joined #mojo
08:22 tempire joined #mojo
08:35 Vandal I have a package and I want to use it in all my controllers. Is there is any way except just to adding it to each .pm file manually?
08:57 sromanov joined #mojo
09:01 Eugene joined #mojo
09:17 smpb joined #mojo
09:25 spleenjack joined #mojo
10:02 MojoGuest617 joined #mojo
10:02 MojoGuest617 From: http://www.networkedblogs.com/33Knp (1 hits)
10:02 MojoGuest33 joined #mojo
10:02 MojoGuest33 From: http://news.ycombinator.com/item?id=1277067 (5 hits)
10:41 MojoGuest802 joined #mojo
10:41 MojoGuest802 From: http://news.ycombinator.com/item?id=1277067 (6 hits)
10:54 MojoGuest92 joined #mojo
10:54 MojoGuest92 From: http://www.google.com/url?sa=t&amp;source=web​&amp;cd=1&amp;ved=0CBoQFjAA&amp;url=http%3A%2​F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=websock​ets%20irc%20client&amp;ei=bTeMTujXOqKksQLhs5H​VBA&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNUL​g&amp;sig2=jUGhZ8ruuyyUhvYgEAc5Wg&amp;cad=rja (1 hits)
10:55 MojoGuest92 /JOIN
11:04 ka2u joined #mojo
11:06 shonorio joined #mojo
11:09 sri crab: //= is awesome!
11:14 sri Sjors: on os x special variables don't work at all, just the POSIX api
11:19 judofyr what's //=?
11:19 purl //= is reasonable, sure or still available!
11:19 sri defined or assignment
11:20 judofyr as in: my $foo //= 123?
11:20 sri $crab = 'happy' unless defined $crab; # $crab //= 'happy';
11:21 judofyr cool
11:21 judofyr I only knew about ||=
11:21 sri /= was added in perl 5.10
11:21 sri *//
11:22 sri my $crab = $whatever // 'whatever'; also works
11:22 sri my $crab = defined $whatever ? $whatever : 'whatever'; # equal to this
11:22 judofyr nice
11:25 Vandal I have a package and I want to use it in all my controllers. Is there is any way except just to adding it to each .pm file manually?
11:25 Vandal can any one help me?
11:32 bosphorus joined #mojo
11:32 sri bzero: %# ... behavior is now just consistent with <%# … %>
11:33 sri documentation specifically mentions that both are equal
11:34 ispy_ joined #mojo
11:46 sri ...
11:46 * sri yawns
11:47 * marcus stuffs a dirty sock into sri's pie hole
11:47 * sri coughs
11:48 * sri faints
11:50 sri rsimoes: we don't use github issues anymore, the link has alredy been removed in master
11:54 judofyr sri: where should we report issues?
11:54 sri here or the mailing list
11:54 sri or pull requests with failing test cases of course ;)
11:55 judofyr mailing list?
11:55 purl mailing list is a good place to beat the drum.
11:55 judofyr found it!
11:58 MojoGuest556 joined #mojo
11:58 MojoGuest556 From: http://www.google.com.hk/search?source=ig&amp;hl=z​h-TW&amp;rlz=&amp;q=websocket+demo&amp;oq=websoc&a​mp;aq=1&amp;aqi=g10&amp;aql=&amp;gs_sm=e&amp;gs_up​l=220622l222205l0l223859l6l4l0l0l0l0l96l264l4l4l0 (1 hits)
11:59 MojoGuest556 hello
11:59 purl niihau, MojoGuest556.
12:02 cosmincx joined #mojo
12:12 marcus googroups
12:35 Akron joined #mojo
13:08 cosimo joined #mojo
13:10 perlrocks Twitter: "Nde Mojolicious see the POD was a bit of a tool strawberry perl:: flew good enough motivated and made could remain Lite." (ja) --narazaka http://twitter.com/narazaka​/status/121572866113282048
13:13 cosimo_ joined #mojo
13:19 sugar i have bug report
13:19 sugar how can post it?
13:34 sromanov sugar, <sri> here or the mailing list
13:34 sromanov <sri> or pull requests with failing test cases of course ;)
13:36 sugar thanks
13:47 ispy_ joined #mojo
13:57 cosmincx joined #mojo
14:47 perlrocks Twitter: "#mojolicious hack of the day: groups. http://t.co/jA1xfUbW #perl" --kraih http://twitter.com/kraih/status/121597282465492992
14:47 sugar joined #mojo
14:48 SSergey joined #mojo
14:49 SSergey Hi guys. I found mistake in docs here http://mojolicio.us/perldoc/Mojolicio​us/Guides/Cookbook#Apache2Fmod_proxy  should by replaced to  ProxyPass / http://localhost:8080/ keepalive=On
14:50 SSergey last "/" after port
14:54 sri Akron: not sure i want to open that can of worms https://github.com/kraih/mojo/pull/228
14:55 Akron sri: spec, test, real world example. I did everything right! :)
14:55 sri yes, that's why i'm considering it ;)
14:55 Akron I've got another idea:
14:56 Akron Open up Mojo::Date ns for other compliant things like https://github.com/Akron/Sojolicious/blob/ma​ster/lib/Mojolicious/Plugin/Date/RFC3339.pm
14:56 sri wait, what?
14:56 purl yeah, seriously
14:57 Akron sri: So these things do not have to be part of the core, but would be in the right place.
14:57 sri how and what's the gain?
14:57 Akron No can of worms.
14:58 Akron Support for RFC-822 wouldn't be your deal.
14:58 sri same if i do nothing ;p
14:59 sri Mojo::Date is specifically not a general purpose date/time library
14:59 Akron Well - as the specs says: You SHOULD support it ... by opening the ns you would allow to support it. ;) But - in fact - maybe just accepting by pull request is fine as well. ;)
15:00 Akron No - I know. But it should accept strings as specified in the spec.
15:00 sri "All HTTP date/time stamps MUST be represented in Greenwich Mean Time (GMT), without exception."
15:01 Akron sri: My interpretation is, that this is an advice for generation. The note before mentions email for consumption.
15:01 Akron Email is 8222.
15:01 Akron RFC-822
15:01 sri i think your interpretation is wrong
15:02 sri we only handle HTTP and WebSocket
15:02 Akron What is your interpretation of the note?
15:02 sri don't care, since the one i quoted is about as specific as it gets
15:02 sri and to my knowledge no common server/browser is not compliant
15:03 sri your real world case is about RSS, which is imo outside the scope of Mojo::Date
15:04 spleenjack joined #mojo
15:04 sri if we made an exception for RSS, where would we draw the line in the future?
15:05 sri your patch seems perfectly fine btw. this is purely about design
15:05 Akron I refered to the Spec. And that's the reason why I thought Mojo::Date should be compliant to that. But I am fine with adding a new RFC-822 plugin.
15:05 Akron sri: I totally understand that.
15:06 sri Akron: look at the BNF
15:06 Akron You are the maintainer and when your interpretation of the note differs from mine, you decide.
15:06 sri it has GMT hardcoded
15:07 Akron As I say: I think that refers to generation and the note refers to consumption.
15:07 sri my interpretation is more like "if it's convenient, you may also reuse email date parsers that accept more formats than our more restrictive ones"
15:08 Akron "convenient" is somehow different to "encourage robustness". ;)
15:10 Akron (To be honest: I even don't like non-gmt time values.)
15:10 sri heh
15:12 sri reminds me, since we are 5.10.1+ only now we always have Time::Piece available
15:12 sri wonder how we can use this
15:13 marcus Time::Piece::of:Shit
15:17 andrefs joined #mojo
15:18 sri hmm
15:21 marcus agree, not very funny.
15:21 marcus lots of new modules in 5.10, http://perldoc.perl.org/per​l5100delta.html#New-modules
15:23 marcus you can switch from use base to use parent as well :D
15:23 sri we don't use base ;p
15:27 metaperl joined #mojo
15:35 Foxcool joined #mojo
15:42 marcus you do in lib/Mojolicious/Plugin/I18N.pm :)
15:42 marcus and some tests
15:42 purl some tests are difficult to write, indeed
15:43 sri Akron: maybe you get what you want after all :)
15:43 Akron sri: Everything?
15:43 purl it has been said that Everything is "omg, it must take over the world"
15:43 Akron \o/
15:43 * sri tries to replace all date parsing code with Time::Piece->strptime
15:47 Akron That supports string timezones?
15:47 sri seems so
15:51 andrefs joined #mojo
15:54 perlrocks Twitter: "Sebastian Riedel (sri): Mojolicious hack of the day: Groups http://t.co/ybDqFVhC" --perlironman http://twitter.com/perlironm​an/status/121614267697995776
15:54 marcus Group hugs!
15:54 purl group hugs are the skit
15:55 sromanov joined #mojo
15:56 sri damn
15:57 sri Time::Piece->strftime uses locales and i can't seem to enforce anything easily :S
16:02 sugar hello
16:02 andrefs joined #mojo
16:02 sugar bug?
16:02 sugar https://gist.github.com/1264816
16:24 MojoGuest677 joined #mojo
16:25 MojoGuest677 From: http://news.ycombinator.com/item?id=1277067 (7 hits)
16:33 grim_fandango joined #mojo
16:40 andrefs joined #mojo
16:41 tempire Vandal: http://mojolicio.us/perldoc/Mojolicious#helper
16:48 sugar sri: is bug?
16:48 Vandal tempire, yea, I've already got this, thx
16:51 MojoGuest736 joined #mojo
16:51 MojoGuest736 From: http://www.google.nl/url?sa=t&amp;source=web​&amp;cd=4&amp;ved=0CD8QFjAD&amp;url=http%3A%​2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=webso​cket%20irc&amp;ei=54qMTpKcHoyl-gadxPi3BA&amp​;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&amp;​sig2=JxdlQ01hbqT5fyhuFszTUA&amp;cad=rja (1 hits)
16:53 sri sugar: that code is not self explanatory
16:54 sugar what do you mean?
16:54 sugar it's test, try upload file (example from docs), but pasrams are empty
16:54 sugar *params
16:55 sugar sri: what i need to explain?
16:55 sugar tell, i try to change code
16:57 sugar mojolicious is last from github
16:58 sugar sri: open please issues, again, they are much more useful for bugs posting
17:02 sri this is exactly why i closed issues, you don't want to report a bug, you want help
17:04 * marty waves
17:04 sri to quote tempire "this is the intended design.  please visit our support channels for further explanation."
17:04 * marty is a level 10 glitch!  o/
17:05 sri a what?
17:05 purl i heard a was b, b=>a => what it's testing
17:05 * sri pokes marty
17:05 * marty jumps like a glitchin
17:08 sugar sri: are have a head?
17:08 sugar * you
17:09 sugar i write new app, and discover that upload files is broken
17:09 sri sugar: i'm sorry but i can barely understand you
17:10 sugar ok
17:10 sugar this is exactly why i closed issues, you don't want to report a bug, you want help
17:10 sugar i don't understand this
17:11 sugar was it blame on me?
17:11 andrefs joined #mojo
17:12 MojoGuest601 joined #mojo
17:12 MojoGuest601 From: http://www.google.ca/url?sa=t&amp;source=web&am​p;cd=1&amp;sqi=2&amp;ved=0CBwQFjAA&amp;url=http​%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=webs​ockets%20irc%20client&amp;ei=04-MTruyOoWViAfi4M​XmBw&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg​&amp;sig2=O4ckYc6Dalz1jmwLwr1new&amp;cad=rja (1 hits)
17:12 sri sugar: http://mojolicio.us/perldoc/M​ojolicious/Lite#File_uploads
17:12 sugar it's broken in UserAgent
17:13 noganex joined #mojo
17:14 marty sugar:  I'll be happy to confirm your report.  Do you have a test that I can run?
17:15 sugar https://gist.github.com/1264816
17:15 sugar i sent it to sri more than hour ago
17:15 sri and as far as i can see that test is wrong
17:16 crab that's not how you handle file uploads
17:16 crab how you handle file uploads is <sri> sugar: http://mojolicio.us/perldoc/M​ojolicious/Lite#File_uploads
17:17 marty Yes, I agree, the file upload handling is incorrect in the example.
17:18 sugar yes
17:19 sugar blame on me
17:19 sri one more thing, please do not cross-post
17:19 sri you already have people here trying to help
17:20 sri sending it to the list at the same time is rude
17:20 marty sugar:  I would suggest only using the term "bug" when you are quite certain it is a bug.  We are all happy to help if we can.  But bug reports are taken seriously by sri and we do not want to waste his time.
17:20 sri since it only results in nice people trying to help you waste time on a problem that is already solved
17:20 sugar but i cant to remove it =(
17:21 marty sugar:  Try simplifying your tests until it works, then add one line at a time.
17:22 sri in the future i would suggest investing a little more time in writing a clear explanation in addition to the code example, making your intentions absolutely clear
17:23 * marty agrees with sri
17:23 sugar ok, it is explained by comment now
17:23 marty sugar++
17:25 marty maybe sri can hand out mojo points for anyone who reports issues as mojo one-liner.  I think those one-liners promote clear and concise reports.
17:25 * sri awards 1000 mojo points to himself
17:25 sri can i buy anything with them?
17:25 * marty throws sri into the alligator pit
17:26 sri "O
17:26 sri :O
17:33 * marcus throws sri's points into the pit with him.
17:34 marcus try to buy off the alligators.
17:35 * sri buys off the alligators
17:35 sri \o/
17:35 * marcus does some glitch mining
17:36 sri oh, it's that new game?
17:36 marcus yeah
17:36 * sri slowly backs off
17:36 marcus http://nordaaker.com/docs/skitch/G​ame_%7C_Glitch-20111005-193651.jpg
17:37 marcus when I say mining, I really mean it
17:37 * marty is a big time gardener in the glitch world
17:37 marcus marty: which level are you?
17:38 marty still kinda low.  I just hit level 10
17:38 * sri has weird flashbacks to his WoW past
17:38 marty bought my first house and started growing lots of veggies.  Yummy
17:38 marcus mm
17:38 marcus I have a 15k house, but I barely use it
17:38 marcus mostly I'm down in the mines
17:38 marcus but working on the skills to fight rooks.
17:38 marcus once I finish mining IV that is :p
17:39 marty I'm still trying to figure out the best way to make money.  But it's all irrelevent becuase the cutness factor is so high.  :)
17:39 marcus yeah
17:39 marcus takes forever to make the high-level skills tho
17:39 marty I have not met any rooks yet.  Are they evil?
17:39 marcus mining iv was like 4 days
17:39 marty wow!!!
17:39 marcus I've only crushed some rook eggs
17:39 mspo left #mojo
17:39 ashleydev joined #mojo
17:40 marcus 1 day10 hours left now :)
17:40 marcus but I can't sacrifice to speed it up any more
17:40 marty Ya, but when you are done learning it you will be one-bad-ass-glitchin
17:40 marcus yupp
17:40 marcus where's your house?
17:41 marty Glitch is my first mmo and I am suprised how mucy fun it is.  Of course, I am easily amused.  :)
17:41 marty I am in Grodel Meadows
17:41 marty I think it's Maypol Mount is what it's called
17:41 marty a little 3.5k house
17:42 marcus groddle meadow maybe :)
17:42 marty Ya, that's the ticket
17:42 marcus I'm there too, in Buckward Vale
17:42 marty Ahh, yep, visited there a few time.  Nice heighborhood. :)
17:43 marcus thinking of getting a 50k house
17:43 sri damn
17:43 marcus sri: just ignore us :D
17:43 * marty is a broke (as in poor) glitchin
17:43 sri Time::Piece mostly works for parsing, but can cause an annoying warning :S
17:44 marcus eww
17:44 sri as far as i'm concerned you're on topic :)
17:44 marty Time::Piece is core in 5.10?
17:44 sri ye
17:45 sri but if you feed it too much data it throws "arbage at end of string in strptime:  T at /Users/sri/perl5/perlbrew/perls/perl-5.14​.2/lib/5.14.2/darwin-2level/Time/Piece.pm line 469"
17:45 sri *+g
17:45 sri i wouldn't mind if it died, but that warning is annoying
17:46 marcus marty: I'm a bit unhappy about the glitch economy tho. Too static
17:46 sri problem is we use the parser in Mojolicious::Static for If-Modified-Since, so we would basically allow random people on the internet to throw warnings in our apps
17:47 marcus I don't like random people
17:47 marcus they smell bad
17:48 crab i know! you could write a regex to parse the value first to make sure it's valid!
17:48 sromanov_ joined #mojo
17:48 sri ;p
17:48 * marcus suspects random people do not shower.
17:48 yko hey hey, you can not by alligator!
17:48 yko *buy
17:49 * yko throws out of the pit sri and his points
17:49 sri ohoh, he woke up
17:49 crab yko is alive!
17:49 yko I'm back from Black Perl 2011!
17:49 * sri lands on marcus
17:49 marcus yko is actually worse than the alligator
17:49 * marcus escapes to the pit
17:49 crab yko: what is black perl 2011?
17:49 * sri closes the trapdoor
17:50 * marcus does some more mining
17:50 yko rode on a car 2200 km, organized little workshop for 10 programmers, was smiling at black sea side
17:51 yko crab: http://black-perl.org/bp2011/ </shameless-self-promo>
17:51 marcus yko: I want to see pictures of you riding on a car!
17:52 yko lol
17:52 yko well, actually there's few from my childhood at attraction when i was actually riding very small electric car
17:53 marcus yko: black perl sounds very evil, like black hat or black magic.
17:54 Vandal black helicopters!!!
17:54 yko marcus, agree. but target audience are russian and ukrainian programmers who exactly knows what Black Sea is
17:56 yko also the fact is that 'Black Perl' name already taken by Larry Wall
17:56 yko So, I thing name is actually good
17:56 marcus in a poem where he's talking about sacrificing sheep and stuff
17:57 tempire sacrificing sheep?  SIGN ME UP.
17:57 yko yeah. we sacrificed a sheep at black perl. it was tasty!
17:58 marcus I hate sheep meat
17:58 marcus too salty
17:58 tempire It doesn't seem to have very much flavor from my experience.
17:59 tempire and I have no idea why they serve it with mint
17:59 yko marcus, you just don't know how to cook it
17:59 marcus well, I never cook it myself
18:00 marcus but maybe everyone who serves it to me are incompetent
18:00 tempire random cooks?
18:01 tempire I'll take sheep over horse meat any day.  crazy scandinavians.
18:01 marcus yeah. it's probably the lack of showers
18:01 marcus horse meat is only popular in iceland afaik.
18:01 marcus but I quite like it
18:01 marcus also, in Italy
18:02 tempire sweden too
18:02 tempire I couldn't find turkey to save me life while I was there.
18:02 tempire everyone kept handing me horse meat.
18:02 * yko likes horse meat
18:02 yko alligators like any meat at all!
18:03 yko but I can't imagine asian cuisine without sheep meat
18:03 tempire it seems like horses have better purposes than to be eaten.  I asked about that, and the swedes told me, "it's ok, we only eat the sick ones"
18:03 tempire wonderful.
18:03 marcus ouch
18:04 marcus tempire: maybe they mean the ones that has broken a leg?
18:04 elb0w wow this is nuts http://www.youtube.com/watch?v=vtPk5IUbdH0
18:04 tempire maybe.  I'm suspicious, though.
18:04 * tempire peers
18:05 tempire you think that's nuts?
18:05 tempire http://www.youtube.com/watch?v=J1c2KzJbcGA
18:05 GitHub2 joined #mojo
18:05 GitHub2 [mojo] kraih pushed 1 new commit to master: http://git.io/h-1D3g
18:05 GitHub2 [mojo/master] added more Mojo::Date tests - Sebastian Riedel
18:05 GitHub2 left #mojo
18:05 tempire try un-remembering that.
18:06 sri gonna stick with regex instead of Time::Piece, too many warnigs when stuff goes wrong
18:07 sri the whole locales and tz management sucks a bit too
18:12 marcus so I was right!
18:14 sri NO WAY!
18:15 marcus mmm, sounds wrong to me too
18:24 marcus http://www.slideshare.net/cstrep/moj​olicious-what-works-and-what-doesnt
18:25 kaare joined #mojo
18:26 sri cosimo: what "clear no deps policy?"
18:26 sri and tons of tests are bad?
18:27 sri i'm not happy with the TT renderer plugin either
18:31 sri since you bring up cookies, what better cookie parser is there on cpan?
18:38 sri and how many of those work client and server side?
18:44 sri if i remember correctly the only alternative implementation you presented was in python
18:47 metaperl I can leave out the $self->render in this actions designed to soleley render static pages?
18:50 tabbi joined #mojo
18:50 tabbi left #mojo
19:10 GitHub87 joined #mojo
19:10 GitHub87 [mojo] kraih pushed 1 new commit to master: http://git.io/dnTf0A
19:10 GitHub87 [mojo/master] added a few more Mojo::Date tests - Sebastian Riedel
19:10 GitHub87 left #mojo
19:24 andrefs joined #mojo
19:37 sromanov_ joined #mojo
19:39 tempire I think I may be falling out of love with riak
19:39 tempire it keeps crashing on me.
19:42 Akron joined #mojo
19:52 Akron (I never should've pointed sri on Mojo::Date ... the delay of the MongoDB mapper is now my fault I guess.)
19:56 Akron Some times ago I was pointed to Mojo::IOLoop->timer(0 => sub { ... }); to do some work after serving some rendering to a requesting client (http://irclog.perlgeek.de/​mojo/2011-09-15#i_4433945). But this seems to be not PSGI compatible. Is there a solution that works everywhere?
19:58 sri Akron: on_finish
20:09 Akron sri: Hm ... This renders after the 3 seconds: https://gist.github.com/1265535
20:10 sri what version?
20:10 purl rumour has it version is bumped at release only
20:10 sri i fixed it yesterday in the psgi binding
20:10 perlite joined #mojo
20:12 Akron sri: Ah. Okay. 1.99 failed on installing on my system so I was waiting for the next release. Will test it then. Thank you!
20:13 Akron sri: Currently I am running 1.97 on Perl 5.12.
20:16 sri there might still be a bug though with the built in daemon
20:37 andrefs joined #mojo
20:41 abra joined #mojo
20:57 batman joined #mojo
20:58 batman no wonder i didn't get any response in #mojolicious :)
21:32 MojoGuest996 joined #mojo
21:33 MojoGuest996 /help
21:39 Eugene joined #mojo
21:43 zenbitz joined #mojo
22:02 f00li5h joined #mojo
22:17 sri aww, fixing on_finish consistently costs some rps in micro benchmarks
22:19 tempire remove the hello
22:19 tempire or, forget the hello, and add a "\b"
22:19 purl tempire, I didn't have anything matching hello, and add a "\b"
22:20 tempire or \b\b\b to have -3 characters, for 3 times the performance
22:22 gshank_ joined #mojo
22:22 andrefs joined #mojo
22:29 GitHub92 joined #mojo
22:29 GitHub92 [mojo] kraih pushed 1 new commit to master: http://git.io/0mYE3A
22:29 GitHub92 [mojo/master] fixed on_finish callback to work consistently with all servers - Sebastian Riedel
22:29 GitHub92 left #mojo
22:32 sri additional cost is from the drain callback that is now always required
22:33 sri code is cleaner though
22:35 sri but i guess a working on_finish is more valuable than a few rps in a benchmark :S
22:36 sri for mojolicious apps it's maybe 10 rps, but for pure mojo it can be over 50
22:37 sri at 950 for mojolicious and 1700 for mojo
22:37 marcus joined #mojo
23:07 sri looks like 2.0 will be the big bugfix release :)
23:22 MojoGuest405 joined #mojo
23:22 MojoGuest405 From: http://www.google.es/search?source=ig&amp;hl=es&am​p;rlz=1G1GGLQ_ESES294&amp;q=websocket+irc&amp;btnG​=Buscar+con+Google#sclient=psy-ab&amp;hl=es&amp;rl​z=1G1GGLQ_ESES294&amp;source=hp&amp;q=websocket+ir​c&amp;pbx=1&amp;oq=websocket+irc&amp;aq=f&amp;aqi=​g-L1&amp;aql=&amp;gs_sm=e&amp;gs_upl=340551l340932​l1l341049l3l2l0l0l0l0l246l485l2-2l2l0&amp;bav=on.2,or.r_gc.r_pw.,cf.osb&fp=7de​dbb3d672e08e5&biw=1920&bih=957 (1 hits)
23:22 GitHub17 joined #mojo
23:22 GitHub17 [mojo] kraih pushed 1 new commit to master: http://git.io/2tT1wQ
23:22 GitHub17 [mojo/master] reduced memory usage of daemon slightly - Sebastian Riedel
23:22 GitHub17 left #mojo
23:40 sri damn
23:41 sri rip steve jobs
23:57 jwang yep, end of an era
23:58 jwang rip

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