Camelia, the Perl 6 bug

IRC log for #mojo, 2010-07-17

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

All times shown according to UTC.

Time Nick Message
00:39 ask_ joined #mojo
00:45 stephen joined #mojo
01:03 murata joined #mojo
02:06 sekimura_ joined #mojo
02:07 ask joined #mojo
02:24 sekimura joined #mojo
02:30 su-bzero joined #mojo
03:07 janus joined #mojo
03:10 sekimura joined #mojo
03:54 sekimura joined #mojo
04:04 tl joined #mojo
05:27 sekimura_ joined #mojo
05:41 cognominal joined #mojo
05:42 cognominal left #mojo
05:45 sekimura joined #mojo
05:56 ask joined #mojo
06:00 ashleydev joined #mojo
06:07 sri xantus_: looks interesting
07:00 cognominal joined #mojo
07:39 Su-Shee joined #mojo
08:00 FlyingY3ti_ joined #mojo
08:49 GitHub131 joined #mojo
08:49 GitHub131 mojo: master Sebastian Riedel * 99aa823 (1 files in 1 dirs): cleanup - http://bit.ly/cLnJR2
08:49 GitHub131 left #mojo
08:51 GitHub170 joined #mojo
08:51 GitHub170 mojo: master Sebastian Riedel * 8e76835 (1 files in 1 dirs): cleanup - http://bit.ly/a7Wj10
08:51 GitHub170 left #mojo
08:54 ask joined #mojo
08:55 chansen joined #mojo
09:07 pid joined #mojo
09:14 dotan joined #mojo
09:19 spleenjack joined #mojo
09:21 * sri yawns
09:37 pid joined #mojo
09:37 sri "One thing is for certain, RIM's customers don't need to use a case for their BlackBerry smartphone to maintain proper connectivity."
09:37 sri lol
09:38 sri wonder how steve will react, if at all
10:00 pid joined #mojo
10:01 Su-Shee everybody gets some cover-thingie for free says the news. ;)
10:01 GitHub18 joined #mojo
10:01 GitHub18 mojo: master Sebastian Riedel * a08c3ad (3 files in 3 dirs): added say method to Mojo::ByteStream - http://bit.ly/cU2J8T
10:01 GitHub18 left #mojo
10:01 sri that makes oneliners much more fun
10:01 sri perl -Mojo -e 'oO("http://search.cpan.org/search?query=mojo")->dom->search("a > b")->each(sub { Oo(shift->text)->say })'
10:02 sri Su-Shee: yea, so there has to be a problem!
10:08 sri the thing is, even if the iphone 4 was completely unusable for calling, it would still be the best smartphone on the market...
10:11 Su-Shee well it would be the best smart on the market, but in that case certainly not the best phone.. ;)
10:12 sri last time i called someone from my iphone it was via skype -.-
10:12 Su-Shee I don't care anyway, I don't buy apple.
10:13 sri :o
10:13 * sri points at the channel door
10:17 dotan sri: ok, I want a utf-8 helper in ojo, please.
10:17 dotan perl -Mojo -e 'print $_->{name}, "\n" for @{get("http://search.twitter.com/trends.json")->json->{trends}}'
10:17 dotan perl -Mojo -e '$_->say for map { Oo($_->{name})->decode("utf-8") } @{oO("http://search.twitter.com/trends.json")->json->{trends}}'
10:18 marcus I want a pony
10:18 dotan (ignore the first oneliner)
10:18 sri huh
10:19 sri that example doesn't make sense
10:19 dotan perl -Mojo -e '$_->say for map { Oo($_->{name})->pony } @{oO("http://search.twitter.com/trends.json")->json->{trends}}'
10:19 sri parsed json is never encoded
10:19 sri you always get chars
10:19 sri which ->say automatically takes care of
10:20 dotan Oh yeah. Cool. I was using print before, added the decode to get rid of wide char warnings.
10:20 sri still doesn't make sense
10:21 dotan perl -Mojo -e '$_->say for map { Oo($_->{name}) } @{oO("http://search.twitter.com/trends.json")->json->{trends}}'
10:21 sri you would add encode to get rid of wide chars
10:21 dotan That works, and prints the I♥YOU topic
10:22 sri perl -Mojo -e 'Oo($_->{name})->say for @{oO("http://search.twitter.com/trends.json")->json->{trends}}'
10:22 sri that will just work
10:22 sri no need for encoding mambo jambo
10:24 sri say assumes that you want utf8 if you hand it perl chars
10:24 dotan right. I see I tried both decode and encode, and didn't remember which one worked last time.
10:24 sri perl -Mojo -e 'Oo($_->{name})->encode("latin1")->say for @{oO("http://search.twitter.com/trends.json")->json->{trends}}'
10:24 sri thats how another encoding would work
10:24 sri it's quite nice to work with
10:33 dotan utf-8 just working with Oo(...)->say is sweet.
10:47 ask joined #mojo
11:07 sri perl -Mojo -e 'oO("http://www.reddit.com")->dom->search("a.title")->each(sub { Oo(shift->text)->say })'
11:26 dotan left #mojo
11:35 GitHub128 joined #mojo
11:35 GitHub128 mojo: master Sebastian Riedel * 1cd5bca (4 files in 4 dirs): fixed Mojo::DOM child listing bug - http://bit.ly/bpjT62
11:35 GitHub128 left #mojo
11:41 GitHub132 joined #mojo
11:41 GitHub132 mojo: master Sebastian Riedel * cfae4ae (1 files in 1 dirs): cleanup - http://bit.ly/cl6IAL
11:41 GitHub132 left #mojo
11:46 GitHub77 joined #mojo
11:46 GitHub77 mojo: master Sebastian Riedel * 61d5271 (1 files in 1 dirs): cleanup - http://bit.ly/c6oTpR
11:46 GitHub77 left #mojo
12:29 spleenjack joined #mojo
14:12 GitHub45 joined #mojo
14:12 GitHub45 mojo: master Sebastian Riedel * c889b64 (31 files in 17 dirs): cleanup - http://bit.ly/csxHU7
14:12 GitHub45 left #mojo
14:16 GitHub15 joined #mojo
14:16 GitHub15 mojo: master Sebastian Riedel * d6bf4de (1 files in 1 dirs): cleanup - http://bit.ly/awq7mm
14:16 GitHub15 left #mojo
14:24 ask joined #mojo
14:46 yko joined #mojo
14:46 ashleydev joined #mojo
14:55 GitHub164 joined #mojo
14:55 GitHub164 mojo: master Sebastian Riedel * 3b8b3c7 (2 files in 1 dirs): made Mojo::Server::FastCGI more resilient - http://bit.ly/asa0tO
14:55 GitHub164 left #mojo
15:12 doubi joined #mojo
16:45 Su-Shee joined #mojo
16:49 robinsmidsrod joined #mojo
16:52 robinsmidsrod I'm trying out Mojolicious::Lite for the first time - how do I set the title in a layout with a variable?
16:53 robinsmidsrod the default lite_app has the title "Funky!" - how would I set that in one of my "get" functions?
16:54 sri use the stash luke
16:55 sri the documentation should help
16:55 robinsmidsrod I was actually looking for info about the stash - where is it?
16:55 robinsmidsrod and how to utilize it...
16:55 sri Mojolicious::Guides on github
17:05 marcus smoke the stash, luke
17:12 * robinsmidsrod smoked it
17:15 doubi joined #mojo
17:19 pid joined #mojo
17:27 marcus I knew I could trust you, Robin.
17:41 ask joined #mojo
17:49 yko joined #mojo
18:20 ashleydev joined #mojo
18:46 pid joined #mojo
19:10 robinsmidsrod marcus: my first mojolicious project, http://dev.smidsrod.no/week (dev. server link only)
19:10 garfield [ Most popular links this week ]
19:20 DaTa don't want to show my project 8-)
19:20 DaTa i guess sri at least kicks me for what i've done with it :)
19:30 sri how bad could it be?
19:31 sri a site listing catalyst projects? :)
19:38 DaTa sri: a cgi application running as root using setuid :)
19:39 DaTa well, it is just started as root, but drops it's privileges as soon as it can
19:44 sri Oo
19:47 sri perl -MOo -e 'oO('http://mojolicio.us')...'
19:47 sri that would be funny too
19:55 lbr Moooooooooooooo
19:56 sri !
20:26 GitHub87 joined #mojo
20:26 GitHub87 mojo: master Sebastian Riedel * 20acd3b (1 files in 1 dirs): cleanup - http://bit.ly/c5C3va
20:26 GitHub87 left #mojo
20:33 robins joined #mojo
20:40 sri memowe: stop calling me sebastiOn ;p
20:46 amonaco joined #mojo
20:48 amonaco hello all, good to see so many of you here
20:48 amonaco i have a simple question, does mojo have an orm (as in object relational mapping) library?
20:48 amonaco if not, what would you recommend in the perl world?
20:49 * sri waves
20:49 sri nope, we are model layer agnostic
20:50 sri there are quire a few available, rdbo, dbic...
20:50 sri i personally prefer nosql solutions like couchdb
21:08 amonaco sri, thank you
22:08 pid joined #mojo
22:14 pid joined #mojo

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