Camelia, the Perl 6 bug

IRC log for #mojo, 2010-07-27

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

All times shown according to UTC.

Time Nick Message
00:51 Alias joined #mojo
00:56 xantus_ sri: http://jeffkreeftmeijer.com/20​10/experimenting-with-node-js/
00:56 garfield [ Experimenting with Node.js - Jeff Kreeftmeijer ]
00:56 garfield http://xrl.us/bhuf9g
01:42 xantus_ I just did a mojo server
01:45 xantus_ crap, how do I put static files in __DATA__ ?
01:50 xantus_ sri: yo
01:58 xantus_ http://dev.xantus.org:3000/
02:11 vel joined #mojo
02:13 xantus_ ^^^
03:05 yakudzo joined #mojo
03:47 Alias joined #mojo
04:03 tl joined #mojo
04:23 alex joined #mojo
04:48 ashleydev joined #mojo
05:50 ask joined #mojo
05:54 Su-Shee joined #mojo
07:13 pid joined #mojo
07:38 marcus /win 2
07:39 yakudzo ?
07:39 marcus yakudzo: typo
07:42 yko joined #mojo
07:52 jest joined #mojo
07:58 Alias_ joined #mojo
08:14 dotan joined #mojo
08:38 Su-Shee left #mojo
10:29 y0j joined #mojo
10:43 vti marcus: /win 3
10:58 alex_ joined #mojo
12:10 * sri yawns
12:11 sri xantus: i've posted that link yesterday too ;p
12:11 marcus sri: but xantus reimplemented it in mojolicious
12:12 sri yea just saw it :)
12:15 yko madness
12:16 marcus itworks
12:16 marcus yakudzo: no, this is #mojo !
12:17 marcus oops, bad autocomplete, no cookie
12:21 yko haha :D ye
12:22 yko mojo syntax on vim.org now: http://bit.ly/bfvZjf vote!
12:22 garfield [ mojo.vim - Mojo templates syntax : vim online ]
12:22 sri yko++
12:23 yko mojo everywhere [should be]
12:24 yko Viva la Revolution!!
12:28 sri websockets!
12:43 marcus is there a textmate mojo integration?
12:44 sri not seen one yet
12:48 GitHub143 joined #mojo
12:48 GitHub143 mojo: master Sebastian Riedel * 3adcf6a (4 files in 4 dirs): added form post support to ojo - http://bit.ly/bZSR9z
12:48 GitHub143 left #mojo
12:48 marcus magic trackpad FTW
12:48 sri multipart file uploads with a oneliner :)
13:32 sri perl -Mojo -e 'f("search.cpan.org/search" => {query => "mojolicious"})->dom->find("a > b")->each(sub { b(shift->text)->say })'
13:33 sri or, actually better
13:33 sri perl -Mojo -e 'f("search.cpan.org/search" => {query => shift})->dom->find("a > b")->each(sub { b(shift->text)->say })' mojolicious
14:34 sri hmm, magic trackpad does look damn sleek
14:40 dotan left #mojo
14:42 vti sri: is there any way how i can escape 'http://' to 'http%3A%2F%2F' and not 'http://' within Mojo::ByteStream?
14:43 sri perl -Mojo -e 'b("http://")->url_escape->say'
14:44 sri :)
14:44 vti what was i thinking
14:44 vti thankx
14:57 sri damn...apple battery charger...awesome
15:09 Akron joined #mojo
15:35 sri was just wondering why it's so silent here today, but remembered that starcraft 2 got released :)
15:37 Akron :)
15:37 Akron (Hello! btw)
15:37 * sri waves
16:03 sri hmm, was trying to test some stuff with node.js and it just keeps hanging and crashing
16:03 sri pretty much unusable
16:13 vti sri: i have two news for you
16:13 vti one is bad and one is good
16:14 sri oh noes
16:14 sri bad first
16:15 vti your hmac_md5_sum is wrong, i've wasted hours on trying to find out what is wrong with my hmac_sha1_sum, that of course looks the same except hashing function
16:15 sri :o
16:15 vti good news is that i fixed it and added rfc test cases
16:15 sri what is wrong?
16:15 vti https://gist.github.com/436c4e80ceaba0f3a85e
16:15 vti you are using hex insted of bytes
16:16 sri oops
16:16 vti and please add those sha1 methods, as you promised!!!
16:16 vti i am on my way to oauth
16:17 sri looks like duplicated code Oo
16:17 vti you clean it anyway!!
16:17 sri :O
16:19 vti now i can calm down finally, since that is fixed and proceed
16:19 vti ;p
16:36 sri vti: test patch is also not thought through -.-
16:36 sri it breaks on 5.8
16:37 vti how come? oO
16:37 sri die?
16:37 sri Digest::SHA is 5.9.3+
16:37 vti ah, ye
16:37 vti sorry for that ;p
16:38 vti you know the drill :D
16:38 sri -.-
16:38 sri you sound way too much like me... *shudder*
16:40 vti in your face!
16:40 sri :O
16:43 ashleydev joined #mojo
16:56 marcus egg on your face?
16:57 Akron left #mojo
16:58 sri i've created a monster!
16:59 vti what could 'octet string' be? is it a binary string?
16:59 GitHub21 joined #mojo
16:59 GitHub21 mojo: master Sebastian Riedel * 6f5ac82 (3 files in 3 dirs): added sha1 support to Mojo::ByteStream - http://bit.ly/9g6Ga4
16:59 GitHub21 left #mojo
16:59 sri vti: bytes, base 8
17:00 vti utf8 octets maybe?
17:00 vti sri: why there is no message about security fix? :)
17:01 GitHub171 joined #mojo
17:01 GitHub171 mojo: master Sebastian Riedel * 2ff1086 (1 files in 1 dirs): updated changes - http://bit.ly/9l0Pg4
17:01 GitHub171 left #mojo
17:01 sri -.-
17:03 vti sri++ !
17:04 sri very interesting to see the page view data from reddit
17:07 sri 14 million pageviews per day, 160 req/s, 800 req/s peak, 80 servers, so only 10 req/s per server during peak hours
17:09 sri facebook has 73k req/s... with 30k servers, thats only 2 req/s per server :D
17:09 sri really interesting
17:12 vti i get Undefined subroutine &Digest::SHA::sha1 called at /Users/vti/dev/mojo/lib/Mojo/ByteStream.pm line 849. oO
17:12 sri Oo
17:13 vti 'use Digest::SHA1 (); 1';
17:13 vti but you use Digest::SHA::sha1
17:13 sri oops
17:14 GitHub36 joined #mojo
17:14 GitHub36 mojo: master Sebastian Riedel * 0e3be62 (1 files in 1 dirs): fixed typo - http://bit.ly/aZTfF7
17:14 GitHub36 left #mojo
17:15 vti thanks
17:16 GitHub90 joined #mojo
17:16 GitHub90 mojo: master Sebastian Riedel * 9952275 (1 files in 1 dirs): fixed another typo - http://bit.ly/9itouM
17:16 GitHub90 left #mojo
17:16 fod joined #mojo
17:16 * sri orders starcraft 2
17:37 stephen joined #mojo
17:46 lbr good morning sri
17:46 * sri waves
17:47 lbr I assume you must have been sleeping for at least ten hours
17:47 lbr since you didn't order it at 10am :)
17:47 sri i forgot to preorder...
17:47 lbr oh
17:47 * lbr just bought it digitally
17:48 sri i usually get collectors editions for all blizzard titles :)
17:50 lbr boxes and discs and * are just clutter
17:58 sri heh
17:59 sri vti: why didn't you tweet your little screencasts?
18:01 vti sri: because they suck :D
18:02 sri vti: i liked them, tweet!
18:07 vti only because of you
18:09 vti but it's too big =/
18:09 vti i don't know how to crop it
18:13 xantus_ hey hey
18:13 xantus_ http://dev.xantus.org:3000/
18:14 sri tweeted ;p
18:14 xantus_ heheh
18:15 xantus_ sri: oh
18:15 xantus_ sri: how do we serve static files out of __DATA__
18:16 sri we don't
18:16 xantus_ we must!
18:16 sri foo.js.ep?
18:16 xantus_ the ultimate 1 file demo
18:16 xantus_ /js/foo.js
18:16 xantus_ @@ /js/foo.js
18:16 sri turn them into templates
18:16 xantus_ meh
18:16 xantus_ not nice enough
18:17 sri static files in __DATA__ only causes trouble once people want to embed images and stuff...
18:17 xantus_ well, I used data: url in css for that
18:17 vti sri: base64
18:18 xantus_ images we could do at some point with base64 encoded sections
18:18 xantus_ recode ../b64 <file.jpg >file.b64
18:19 xantus_ @@ /images/foo.jpg;image/png
18:19 xantus_ er yeah, jpg
18:19 sri dunno
18:20 sri guess i wouldn't reject a clean patch ;p
18:20 sri (which should also include an Mojo::Command::Inflate) update
18:21 xantus_ we're on github!
18:21 xantus_ http://github.com/explore  <-right side (podcast)
18:21 garfield [ Explore GitHub - GitHub ]
18:25 * xantus_ is building perl6
18:25 xantus_ http://rakudo.org/how-to-get-rakudo
18:25 garfield [ How to get Rakudo Perl 6 | Rakudo.org ]
18:28 sri xantus_: also stuff like range support needs to be added for DATA files ;p
18:32 sri heh, once you ask for patches nobody wants the feature anymore :)
18:34 xantus_ I can work on a patch
18:34 pid joined #mojo
18:34 xantus_ range support for DATA files should be fine
18:38 xantus_ sri: http://dev.xantus.org:3000/source
18:44 sri yea, shouldn't be very hard, still quite some grunt work
18:44 spleenjack joined #mojo
18:55 Htbaa joined #mojo
19:01 vti sri: http://vimeo.com/13681309
19:01 sri vti: can i retweet you?
19:01 xantus_ ok, I updated the mice site
19:02 xantus_ with source and dl link
19:02 vti sri: SSH written in Perl (awesome Mojolicious web framework) and working in any browser with WebSockets or Flash support.
19:02 vti see how i like you!
19:03 sri \o/
19:04 xantus_ vti: are you still using that program to multiplex
19:05 vti xantus_: i am going to put it online some day
19:05 sri vti: tweeted
19:22 xantus_ http://www.kylescholz.com/blog/2010/01/p​erformance_implications_of_charset.html
19:22 garfield [ Performance Implications of "charset". on kylescholz.com :: blog ]
19:22 garfield http://xrl.us/bhui67
19:25 ask joined #mojo
19:26 xantus_ ask: you missed vti's video while you were gone
19:26 xantus_ http://vimeo.com/13681309
19:28 vti i am afraid he forgot about this window :)
19:42 sri hmm, i might have a good idea for inline static files
19:42 sri grrr... i hate it when someone brings up a good idea and i can't stop thinking about it before it's solved -.-
19:52 xantus_ :)
19:52 xantus_ I started a tweet irc bot last night
19:53 xantus_ mojo + poe + couchdb
19:53 sri thats something i would be interested in :)
19:55 MojoGuest624 joined #mojo
19:55 MojoGuest624 \o/
19:55 MojoGuest624 demo fixed
19:55 sri heh it's back
19:55 sri finally
19:55 MojoGuest624 and linked from the mice demo
19:55 MojoGuest573 joined #mojo
19:56 MojoGuest128 joined #mojo
19:56 sri xantus_: you should combine them xD
19:57 xantus_ lol
19:57 sri the rate limit thingy is a really good idea
19:58 sri at some point we might need that server side
19:59 xantus_ we also need to know how many octets are buffered
19:59 xantus_ so if I am pushing too much data to the client
19:59 sri ye
19:59 xantus_ watermarks
20:00 vti xantus_: that's the address? :)
20:00 vti *what
20:00 sri http://dev.xantus.org
20:00 garfield [ Mojo Websocket Demo - ExtJS IRC Client ]
20:01 MojoGuest955 joined #mojo
20:01 xantus_ well, once I have ignite finished
20:01 xantus_ we can do a lot more with mojo and pubsub
20:01 MojoGuest162 joined #mojo
20:01 vti what is ws:// url?
20:02 xantus_ websocket
20:02 * sri bonks vti on the noggin
20:02 oli joined #mojo
20:02 xantus_ who are you
20:02 sri you should really know!
20:02 xantus_ and what have you done with vti
20:02 vti i meant i can't find it
20:02 vti and i wanna know websocket url
20:03 xantus_ ws://dev.xantus.org:3000/
20:03 olivierb joined #mojo
20:03 xantus_ for irc?
20:03 xantus_ ws://dev.xantus.org/
20:03 vti hm
20:03 xantus_ he's firing up his ws console
20:03 sooooooli joined #mojo
20:04 vti tried wsconsole and it disconnected me
20:04 sri lol
20:04 xantus_ http://github.com/xantus/mojo-websocket-examples
20:04 garfield [ xantus's mojo-websocket-examples at master - GitHub ]
20:05 MojoGuest315 joined #mojo
20:05 vti xantus_: should i send some init command/
20:05 vti ?
20:05 xantus_ yeah, you need to talk IRC
20:05 MojoGuest698 joined #mojo
20:05 vti oh
20:05 vti i don't speak irc =/
20:06 MojoGuest804 joined #mojo
20:06 MojoGuest804 lulz
20:06 MojoGuest881 joined #mojo
20:07 xantus_ NICK foo
20:07 xantus_ USER foo mojo-websocket 127.0.0.1 :mojolicious user
20:07 xantus_ JOIN #mojo
20:07 MojoGuest589 joined #mojo
20:07 xantus_ something like that
20:07 xantus_ and PRIVMSG #mojo :hi
20:09 xantus_ I could have it show the # of connections
20:09 xantus_ but then again, I need to get work done :)
20:12 MojoGuest546 joined #mojo
20:12 MojoGuest546 nice
20:13 MojoGuest546 /j #perlde
20:13 MojoGuest546 aww
20:13 MojoGuest546 ;)
20:13 MojoGuest546 oh, das /nick fish ist fehlgeschlagen - der client nennt mich trotzdem so
20:13 sri english channel *cough*
20:14 MojoGuest546 oops, yes, sure. sorry, i tend to forget this wenn ich see so many familiar nicknames ;)
20:14 vti sri: if client gets response with body containing form encoded values, are they parsed somehow?
20:14 MojoGuest546 so, the /nick fish failed (as seen in the status window) but the client still shows 'fish'
20:15 MojoGuest546 and it seems that raw messages in the first tab don't work
20:15 ashleydev joined #mojo
20:16 sri vti: on demand
20:16 ashleydev_ joined #mojo
20:16 sri res->body_params should work
20:17 MojoGuest159 joined #mojo
20:18 vti sri: no success, empty Mojo::Parameters object
20:18 sri vti: well, it's the same code the server side uses ;p
20:18 sri so something is wrong
20:22 vti =/
20:22 MojoGuest528 joined #mojo
20:23 vti sri: $self->res->body_params->parse($sefl->res->body) works
20:23 vti but it's not automatic...
20:24 MojoGuest813 joined #mojo
20:24 sri you are doing something wrong obviously
20:24 sri write a test case and you'll see
20:25 xantus_ he didn't try /join #perlde
20:26 MojoGuest867 joined #mojo
20:26 xantus_ hi
20:28 MojoGuest64 joined #mojo
20:28 xantus_ hi hi
20:29 MojoGuest607 joined #mojo
20:30 yko hi hi hi
20:31 xantus_ hi hi hi hi hi!
20:31 xantus_ ;)
20:31 MojoGuest371 joined #mojo
20:31 xantus_ maybe this one speaks
20:32 yko gg
20:32 sri reminds me of the hackernews post...when we had a new guest every 5 seconds
20:32 sri that was crazy
20:32 pid1 joined #mojo
20:32 xantus_ lol
20:34 MojoGuest371 ye, this one soeaks
20:34 xantus_ soeaks?
20:34 MojoGuest371 speaks even. that's yko, who launched random link...
20:34 xantus_ :)
20:35 yko and just forget to close browser
20:35 xantus_ it'll stay connected for a long time
20:35 xantus_ it ping/pongs with the server
20:39 MojoGuest398 joined #mojo
20:39 MojoGuest398 hallo
20:44 MojoGuest616 joined #mojo
20:44 MojoGuest595 joined #mojo
20:46 MojoGuest987 joined #mojo
20:46 xantus_ huh
20:47 xantus_ :)
20:47 xantus_ bastards!
20:48 MojoGuest971 joined #mojo
20:48 MojoGuest575 joined #mojo
20:48 MojoGuest619 joined #mojo
20:48 MojoGuest160 joined #mojo
20:48 MojoGuest448 joined #mojo
20:48 MojoGuest19 joined #mojo
20:48 MojoGuest699 joined #mojo
20:48 MojoGuest480 joined #mojo
20:48 MojoGuest266 joined #mojo
20:52 xantus_ yowza
20:54 MojoGuest756 joined #mojo
20:56 MojoGuest756 /help
20:56 MojoGuest756 ^^
20:57 MojoGuest756 left #mojo
21:28 MojoGuest693 joined #mojo
21:28 xantus_ tards
21:39 MojoGuest133 joined #mojo
21:50 MojoGuest725 joined #mojo
21:50 xantus_ hi hi
21:51 MojoGuest586 joined #mojo
21:51 MojoGuest36 joined #mojo
21:51 MojoGuest36 rawr
21:54 jarred sacagawea
21:55 jarred /help
21:55 jarred ME
21:55 jarred left #mojo
22:03 ltriant joined #mojo
22:04 MojoGuest964 joined #mojo
22:11 doubi I almost wish I wasn't doing GSoC so I could spend time playing with mojolicious. The kinda stuff going around on Twitter is freakin' awesome.
22:11 sri :)
22:27 sri http://al3x.net/2010/07/27/node.html # something for the scalability nerds
22:27 garfield [ Alex Payne — Node and Scaling in the Small vs Scaling in the Large ]
22:36 xantus_ so I'm looking at supporting Ext.Direct in Mojo via a plugin
22:36 xantus_ http://www.sencha.com/products/js/direct.php
22:36 garfield [ Ext Direct ]
22:38 sri seems easy
22:45 xantus_ sri: hahaha nice post
22:45 xantus_ sri: yep
22:56 GitHub150 joined #mojo
22:56 GitHub150 mojo: master Sebastian Riedel * ae342e6 (14 files in 10 dirs): added experimental support for static files in the DATA section of Mojolicious applications - http://bit.ly/aZV25J
22:56 GitHub150 left #mojo
22:56 sri this was not as easy as i though :)
22:56 sri but range requests and if modified since just work
22:57 zoo-zed joined #mojo
22:57 GitHub57 joined #mojo
22:57 GitHub57 mojo: master Sebastian Riedel * ca0e2e9 (1 files in 1 dirs): fixed typo - http://bit.ly/bwPdoV
22:57 GitHub57 left #mojo
23:03 xantus_ now for a laugh
23:03 xantus_ http://www.27bslash6.com/grubby.html
23:03 garfield [ grubby ]
23:03 xantus_ sri: !!
23:03 xantus_ sri: you are the man
23:03 sri i am the man
23:03 xantus_ THE
23:03 xantus_ man
23:04 sri *dances*
23:04 Alias_ joined #mojo
23:06 xantus_ http://groups.google.com/group/raphaelj​s/browse_thread/thread/63e0ba16711b7272
23:06 garfield http://xrl.us/bhujsf
23:06 xantus_ buahahah
23:06 xantus_ "
23:06 xantus_ "mouseover & mouseout not working on iPhone"
23:06 GitHub7 joined #mojo
23:06 GitHub7 mojo: master Sebastian Riedel * 8c34723 (1 files in 1 dirs): updated the inflate command for inline static files - http://bit.ly/ahTtkz
23:06 GitHub7 left #mojo
23:07 sri heh
23:08 sri the animation is nice though
23:11 jawnsy did we ever finish packaging mojolicious for Debian?
23:11 sri no idea, but the changes you requested are in
23:12 jawnsy thanks sri <3 -- I'll take a look in a bit
23:12 jawnsy oh, nice: libmojolicious-perl | 0.999926-1 |      unstable | source, all
23:12 jawnsy it's in testing + unstable already
23:12 sri
23:13 jawnsy dunno, apparently I finished packaging it and it was uploaded
23:13 jawnsy it's been awhile since I've been doing this stuff, just getting back into things
23:14 xantus_ sweet
23:15 xantus_ http://www.27bslash6.com/matthewsparty.html
23:15 garfield [ Matthew's non theme based fancy dress party ]
23:15 xantus_ omg, I can't stop reading all these
23:15 sri lol
23:15 xantus_ this guy is friggen hilarious
23:15 * sri needs to take a shower and sleep :o
23:16 xantus_ "Our bedroom walls are touching so when we are sleeping our heads are only a few feet apart"
23:16 xantus_ lol
23:16 xantus_ "If I put my ear to the wall I can hear you."
23:16 xantus_ buaha
23:39 sri lol
23:40 sri Zzz
23:53 MojoGuest114 joined #mojo

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