Camelia, the Perl 6 bug

IRC log for #mojo, 2010-12-31

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

All times shown according to UTC.

Time Nick Message
00:06 sri nn
00:21 adhoc left #mojo
00:28 ispy_ joined #mojo
00:31 spleenjack1 left #mojo
00:32 perlrocks Twitter: "# Perl Mojo:: Util's punycode_encode, punycode_decode had to fix. / Edf464a635c160b233bd14f0e32d48b410ba2126 http://htn.to/9MPuwW" (ja) --kits_ http://twitter.com/kits_/status/20638298569449472
00:57 curt left #mojo
01:18 xantus hey hey
01:19 xantus I'm in Seattle now
01:19 xantus anyone here in Seattle too?
01:22 crab at least 600k other people.
01:22 xantus anyone _here_ :)
01:22 crab how are things? are you visiting seattle, or moving there?
01:22 xantus crab: good evening, smartass
01:22 xantus I moved to seattle
01:22 xantus back, I should say
01:23 xantus I was here from 94-96 and 2000-2004
01:23 xantus crab: things are good, how about you?
01:26 jwang joined #mojo
01:29 crab xantus: not bad. i just woke up, and i'm reading about riak.
01:31 * tempire_ is so happy with MojoX::Validator
01:31 * tempire_ does a little jig
01:32 crab are you using the mojolicious plugin, or MojoX::Validator straight?
01:32 tempire_ straight
01:32 tempire_ I have a layer in between dbic & my controllers handling identity
01:33 tempire_ with MojoX::Validator, I just bubble the errors up, assign http status codes, and I'm done.
01:33 tempire_ I modified it to generate appropriate errors if unknown parameters are supplied, and sent a pull request.
01:33 * sri decided to try building a pure perl bson implementation
01:34 tempire_ it now accepts explicit => 1, and responds to ->has_unknown_parameters and the NOT_SPECIFIED error code.
01:34 sri which could result in a no prereq pure perl mongodb client
01:35 xantus cool
01:35 tempire_ do we care about mongodb when riak exists?
01:35 xantus sri: nice
01:35 sri mongodb will become the next mysql
01:35 sri i have no doubt about that
01:36 xantus mongowho
01:36 tempire_ The perl dev working at mongo is fairly cute, by the way.
01:36 tempire_ as far as ny girls go.
01:36 sri the current perl client is a total mess :S
01:36 sri python version is so much better
01:37 tempire_ I guess you get one or the other :)
01:40 sri the biggest problem most nosql databases have is that you need to plan in advance
01:41 crab i thought planning in advance is what was supposed to be the "tyranny of sql databases"
01:41 sri which kills the no schema advantage
01:41 sri mongodb is in a very good position there
01:41 sri you put indexes on document keys and queries are ad-hoc
01:42 sri but everything is schemaless
01:42 tempire_ I'm noticing that with riak.  I'm trying to figure out what the benefit/drawback of 64/128/256 partitions are.
01:42 tempire_ Since apparently you can't change it afterwards.
01:43 sri the disadvantage of mongodb is the wire protocol
01:43 sri absolutely horrible
01:43 sri most users don't touch that though
01:45 tempire_ left #mojo
01:53 xantus hm, where do I start
01:54 xantus sri: do you know riak pretty well right now?
01:55 sri not really
01:55 sri only been playing with it
01:56 xantus ok, I'll have to do some more research.  I want to know if I can store large files in it and have them replicate
01:57 sri there is an extension for that
01:57 sri luwak or so
01:58 xantus sweet
01:58 xantus oh, you can even do range requests on those objs!
01:58 xantus good for streaming
01:59 xantus I'll have to set up a cluster and put 6 or 8 tb into it
02:00 xantus great, thanks
02:05 sri :)
02:06 xantus I'm looking to replace couch with riak
02:09 * sri wonders what happened to couchdb, nothing seems to be happening there
02:09 xantus I couldn't get them to add a websocket for _changes
02:10 * sri wonders why he's using the same word twice in a sentence so often recently, makes you wonder
02:11 xantus drane bammage
02:13 fhelmberger joined #mojo
02:15 alnewkirk left #mojo
02:16 alnewkirk joined #mojo
02:18 xantus I'm doing Java dev now... *gasp*
02:25 xantus just not in vim :)
02:27 sri :O
02:29 xantus I picked up java fairly quick
02:30 xantus I'm using eclipse for blackberry dev, and Intellij Idea for android, etc
02:31 ispy_ left #mojo
02:36 perlrocks Twitter: "Mojolicious - Web framework for Perl http://www.findbestopensour​ce.com/product/mojolicious # FOSS" (no) --bestopensource http://twitter.com/bestopenso​urce/status/20669664543645696
02:50 josh left #mojo
03:16 Alias Idea is nice
03:16 Alias How hard is android development
03:22 ispy_ joined #mojo
03:22 curt joined #mojo
03:34 ispy_ left #mojo
04:03 tholen42 joined #mojo
04:05 tl left #mojo
05:13 avkhozov joined #mojo
05:22 curt left #mojo
05:29 josh joined #mojo
05:33 sri hmm, bson implementation is not as hard as i thought
05:33 sri but ordered hashes are damn annoying
05:38 ispy_ joined #mojo
05:50 avkhozov left #mojo
05:50 avkhozov joined #mojo
05:50 avkhozov left #mojo
05:50 avkhozov joined #mojo
07:08 koban joined #mojo
07:33 ysyrota joined #mojo
07:55 AmeliePoulain joined #mojo
08:00 kaare joined #mojo
08:07 marcus sri: store them as arrays?
08:31 yuki joined #mojo
08:41 perlite left #mojo
08:43 verrens joined #mojo
08:56 avkhozov left #mojo
09:05 AmeliePoulain I try to launch FastNotes application (from the wiki -> Example applications) but I had an error "Can't locate object method "init" via package "FastNotes::Model" at /usr/src/mojo/FastNotes-Prot​o/script/../lib/FastNotes.pm line 38"
09:05 otaviof_ left #mojo
09:22 perlrocks Twitter: "CGI.pm-based web apps mojolicious:: lite Although I have to put change, something more, feeling that I was a fair copy of an essay written by teens 10 w # perl" (ja) --takumi_aki http://twitter.com/takumi_a​ki/status/20771733917143040
09:28 rhaen hohoho
09:31 yuki left #mojo
09:53 kvorg left #mojo
09:53 alnewkirk left #mojo
10:38 otaviof joined #mojo
10:41 otaviof left #mojo
11:02 AmeliePoulain I have "MyApp::Core::Controller::Page" controller with "start" method in module lib/Core/Controller/Page.pm and routing "$r->route('/:controller/:act​ion/:id')->to('page#start')". When I'm trying http://localhost:3000/page/start/, I've got the 404 error. I was tried to set namespace ($r->namespace('MyApp::Core::Controllers')) but it does not work too :(
11:02 AmeliePoulain WTF?
11:03 AmeliePoulain http://depositfiles.com/files/2661xf93p
11:03 AmeliePoulain 2kb
11:04 MojoGuest219 joined #mojo
11:08 MojoGuest219 left #mojo
11:11 seb_ don't know if it is of some help, but you might want to call the controller "->to(controller => 'page', action => 'start'). "page#start" go directly in the template dirrectory (not sure)
11:16 seb_ left #mojo
11:21 achromic joined #mojo
11:21 AmeliePoulain left #mojo
12:02 spleenjack joined #mojo
12:10 su-bzero1 joined #mojo
12:14 su-bzero_ left #mojo
12:24 spleenjack left #mojo
12:37 ysyrota left #mojo
12:58 seb_ joined #mojo
13:23 kvorg joined #mojo
13:59 alnewkirk joined #mojo
14:12 koban left #mojo
14:33 seb_ left #mojo
14:39 curt joined #mojo
14:47 kaare left #mojo
15:05 alnewkirk left #mojo
15:16 curt left #mojo
15:18 Alias_ joined #mojo
15:23 Alias__ left #mojo
15:35 alnewkirk joined #mojo
15:50 alnewkirk left #mojo
15:51 ispy_ left #mojo
15:59 seb_ joined #mojo
16:21 marcus ooh
16:21 marcus http://search.cpan.org/diff?from=AnyEvent-5.2​9&to=AnyEvent-5.3#lib/AnyEvent/Impl/Cocoa.pm so shiny
16:26 sri marcus: does not look very usable
16:27 marcus sri: hater ;)
16:27 sri heh
16:28 marcus I guess it depends if Cocoa::EventLoop actually works_
16:29 sri you would still need a real cocoa api
16:29 marcus yeah
16:29 marcus "you can use Cocoa based API in
16:29 marcus +your AnyEvent application, or AnyEvent within Cocoa applications."
16:37 sri marcus: btw. arrays are only nice for writing documents, not working with them
16:37 sri but you ideally want roundtrip integrity
16:38 sri the bson spec will also require ordered hashes in the next version
16:39 sri some operations do binary comparisons of raw bson documents
16:40 sri order just matters in mongodb, there is no way to get rid of ordered hashes in the api
17:24 curt joined #mojo
17:24 marcus sri: so you are using tie::ixhash too?
17:24 sri nope, a micro ordered hash thingy
17:24 sri you never touch the class
17:25 sri use BSON qw/doc/; $m->find_one(doc(hello => 'world'))
17:26 sri i have functions for all types perl doesn't have natively
17:26 seb_ left #mojo
17:27 sri datetime(time * 1000), timestamp(4, 20), int32(23)...
17:27 marcus nice
17:27 sri it's the only way i see for clean roundtrips
17:28 alnewkirk joined #mojo
17:33 marcus maybe you will score with kristina after this ;-)
17:37 sri she already contacted me ;p
17:47 marcus you hounddog
17:47 marcus ;)
17:47 marcus also, happy new year
17:47 marcus me tries to remember how to tie a bowtie
17:47 marcus google to the rescue
17:47 sri too early!
17:48 sri you're cursing us all
17:48 marcus oh noes
17:48 marcus I was hoping to only curse oyu
17:48 marcus you
17:48 marcus :p
17:49 sri curses don't work on robots
17:50 * sri needs a cigar
18:06 Trelane joined #mojo
18:06 Trelane Hello
18:07 * sri waves
18:08 Trelane I think I have a bug in Mojo::Client, but I'm not sure I understand the HTML spec correctly
18:08 Trelane https://gist.github.com/929ef1375a5a02b4f15d
18:09 sri oh, i doubt that is allowed
18:09 sri only alphanumerics without quotes afair
18:10 Trelane Ah, I think my browser is being too darn clever
18:10 sri if you want to know for sure check with the html5 spec
18:13 alnewkirk left #mojo
18:14 Trelane Oh, it's something *else* entirely
18:14 Trelane I was trying to handle something that looks like this:
18:14 Trelane <hr width="600"><br><a name="vg_cats" href="http://www.vgcats.com/comics/">VG Cats<br><br><img width="692" src="data/15.jpg" height="1691" border="0" "="&quot;" ><br></a>
18:14 Trelane Note the weird attrbibute
18:15 Trelane mojo client corrupts it badly once through.  OTOH, that's really really not valid HTML
18:15 sri ouch
18:16 * Trelane goes to ponder this some more
18:16 sri i wouldn't mind a patch making Mojo::DOM more resilient though
18:17 mattastrophe joined #mojo
18:23 sri but now BLACKJACK AND HOOKER!
18:23 sri *S
18:24 sri or booze and cigars
18:24 sri maybe everything
18:25 * marcus pops open a red stripe
18:25 marcus managed to tie my bowtie in a satisfactory manner
18:25 marcus Jamaica lager Beer!
18:26 marcus hmm, that guy who writes http://www.asymco.com/ is pretty smart
18:59 curt left #mojo
19:25 seb_ joined #mojo
20:24 curt joined #mojo
20:46 curt left #mojo
20:46 curt joined #mojo
20:53 su-bzero_ joined #mojo
20:58 su-bzero1 left #mojo
21:03 snearch joined #mojo
21:04 su-bzero_ left #mojo
21:10 su-bzero_ joined #mojo
21:12 su-bzero is now known as su-bzero[A]
21:45 tempire Regarding supporting ssl client auth, I'm thinking --listen https://*:key:cert:ca_file makes sense.
21:46 tempire If the ca_file is specified, it rejects unsigned connections.
22:09 curt left #mojo
22:14 achromic left #mojo
22:16 curt joined #mojo
22:30 snearch left #mojo
23:11 curt left #mojo
23:21 MojoGuest187 joined #mojo
23:21 MojoGuest187 From: http://www.google.com/url?sa=t&amp;source=web&​amp;cd=5&amp;sqi=2&amp;ved=0CDkQFjAE&amp;url=h​ttp%3A%2F%2Fdev.xantus.org%2F&amp;rct=j&amp;q=​websocket%20demo&amp;ei=XGUeTa3tNceJhQePuom3Dg​&amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
23:21 MojoGuest187 hi
23:21 MojoGuest187 left #mojo

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