Camelia, the Perl 6 bug

IRC log for #mojo, 2010-09-18

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

All times shown according to UTC.

Time Nick Message
00:29 meraxes left #mojo
00:32 meraxes joined #mojo
00:42 [1]awnstudio joined #mojo
00:46 awnstudio_l left #mojo
01:09 tempire All this talk about vim has really got me motivated
01:10 tempire I've never even bothered making my own color schemes before, or learning vim scripting.
01:10 tempire This is so exciting.
01:10 sri heh
01:11 tempire Your textmate theme is the best, though.  I'm in process of copying it to vim
01:11 [1]awnstudio is now known as awnstudio_forpresid
01:11 sri too bad there is no perfect editor
01:11 tempire if textmate had all of vim keybindings, that would be it
01:11 tempire actually, have you used bespin at all?
01:12 tempire it's pretty derned interesting
01:12 tempire and textmate should start with a project drawer.
01:12 awnstudio_forpresid is now known as awnstudio[fireme]
01:13 sri it should have the look of Espresso, bundles and highlighting of textmate and the keybinds of vim
01:13 sri textmate doesn't look very fresh
01:14 sri what do you mean with " textmate should start with a project drawer"?
01:15 sri http://twitpic.com/2httko/full # like this?
01:15 tempire Yeah, that's the project drawer.  What I mean is there should be an option for a normal directory listing.
01:16 sri no need imo
01:17 sri http://macrabbit.com/espresso/ # this is a more modern os x app look
01:17 sri i would like that style for textmate
01:18 sri (not as overloaded though)
01:18 tempire that's what xcode *should* look like.
01:19 sri it will
01:19 tempire I haven't seen 4.0
01:21 sri http://www.youtube.com/watch?v=Xz6Zjn95c-M
02:35 janus left #mojo
03:01 janus joined #mojo
03:11 omega_ joined #mojo
03:11 omega left #mojo
03:26 omega_ left #mojo
03:26 omega joined #mojo
03:34 Kulag left #mojo
03:34 Kulag joined #mojo
04:04 tl joined #mojo
04:06 tholen42 left #mojo
06:19 und3f[A] is now known as und3f
06:46 und3f is now known as und3f[A]
06:47 und3f[A] is now known as und3f
07:18 esskar_ left #mojo
07:54 GitHub38 joined #mojo
07:54 GitHub38 mojo: master Sebastian Riedel * da3410b (3 files in 3 dirs): fixed some tag helpers - http://bit.ly/918Pkn
07:54 GitHub38 left #mojo
08:02 sri i'm stupid, that should have been the default right from the start ;p
08:28 und3f hi
08:30 und3f i have question about Mojo::IOLoop tls support
08:30 und3f it doesn't support client authenticated handshake?
08:43 arpadszasz joined #mojo
08:45 Htbaa joined #mojo
08:51 perlrocks Twitter: "@ Mar_azlan Mojolicious!" (ms) --thewan7 http://twitter.com/thewan7/status/24834318236
09:08 esskar_ joined #mojo
09:09 spleenjack joined #mojo
09:09 esskar_ is now known as jack
09:09 jack left #mojo
09:09 jack joined #mojo
09:10 jack is now known as esskar_
09:12 esskar_ moin
09:15 go|dfish joined #mojo
10:02 su-bzero joined #mojo
10:02 su-bzero Hello. ;)
10:04 dotan joined #mojo
10:04 dotan left #mojo
10:11 und3f is now known as und3f[A]
10:53 esskar_ hi
11:10 kvorg joined #mojo
11:24 arpadszasz left #mojo
11:57 gizzlon left #mojo
12:01 Htbaa left #mojo
12:12 Htbaa joined #mojo
13:22 su-bzero_ joined #mojo
13:27 su-bzero left #mojo
14:18 awnstudio[fireme] left #mojo
16:00 arpadszasz joined #mojo
16:12 arpadszasz left #mojo
16:18 peters_mops joined #mojo
16:18 omega_ joined #mojo
16:18 ka2u_ joined #mojo
16:18 stephan49 joined #mojo
16:18 tom_ joined #mojo
16:18 DaTa_ joined #mojo
16:19 su-bzero joined #mojo
16:19 goldfish1 joined #mojo
16:19 marcus_ joined #mojo
16:20 marcus left #mojo
16:20 stephan48 left #mojo
16:20 go|dfish left #mojo
16:20 DaTa left #mojo
16:20 kvorg hmm, you are making me think about trying a non-emacs editor
16:20 ka2u left #mojo
16:21 omega left #mojo
16:21 kvorg but unfortunately i have other things on my mind: we are having floods, and our servers are not very high 0_o
16:21 su-bzero_ left #mojo
16:21 ashleydev left #mojo
16:21 bedi left #mojo
16:21 tom left #mojo
16:21 xantus left #mojo
16:21 * kvorg request water-resistant Mojolicious edition.
16:23 ashleydev joined #mojo
16:23 xantus joined #mojo
16:24 crab where are you having floods?
16:40 ashleyde1 joined #mojo
16:40 xantus_ joined #mojo
16:41 ashleydev left #mojo
16:41 xantus left #mojo
16:55 polvo left #mojo
17:15 sri und3f[A]: not yet i guess
17:16 sri und3f[A]: or actually, i think you can pass the neccessary arguments to ->connect
17:19 spleenjack left #mojo
17:46 arpadszasz joined #mojo
18:41 und3f[A] is now known as und3f
19:24 Rhaen hep
19:41 Rhaen_ joined #mojo
19:46 Rhaen left #mojo
19:46 Rhaen_ is now known as Rhaen
20:04 Rhaen hej! Channel!
20:23 esskar_ sri, i have trouble with M::DOM, when i pass in a utf-8 string (it's truly utf-8 (content was loaded with :encoding(utf8)), it returns an empty string when i encode it again
20:24 esskar_ its probably a normal utf8 problem with perl
20:24 esskar_ not sure how to fix it though
20:30 esskar_ ah, ->charset(undef) works
20:30 esskar_ ++
20:30 esskar_ goof to have t/mojo/dom.t
20:30 esskar_ -f +d
20:36 und3f sri, hi. Don't you plan to add tls client authenticatiod?
20:36 und3f *authentication
20:37 esskar_ but, MOJO::JSON has the same "feature" when it is passed an already perl encoded utf-8 string
20:37 esskar_ maybe you could add a charset option there as well
20:37 und3f sri, actually i started work on it, IO::Socket::SSL supports it, so it is just needed to make interface in Mojo::IOLoop
20:50 Rhaen interesting: Careful, "applications" is a reserved stash value.
21:20 sri esskar_: you mean decoded
21:20 sri perl characters are always decoded
21:20 esskar_ sri, yes
21:20 sri if it is decoded it is not json
21:20 sri json is always bytes
21:21 spleenjack joined #mojo
21:21 esskar_ hmm
21:21 esskar_ ok
21:21 esskar_ i put a encode( ) around it
21:21 sri you could also just not decode it
21:22 sri und3f: no plans, don't need it
21:22 sri und3f: patches welcome, but tests needed
21:23 sri Rhaen: "applications"?
21:24 sri applications is not reserved
21:24 sri app is
21:24 sri oh
21:25 sri regex might be wrong
21:26 GitHub43 joined #mojo
21:26 GitHub43 mojo: master Sebastian Riedel * 206a1d4 (1 files in 1 dirs): fixed small stash regex bug - http://bit.ly/b0zWSC
21:26 GitHub43 left #mojo
21:27 sri Rhaen: fixed :)
21:27 und3f sri, ok, i'll try to do it
21:28 sri und3f: most important are good tests
21:28 und3f sri, udnerstand
21:28 und3f sri, btw i got a lot messages about harmless error during mojo tests
21:28 und3f is it normal? :)
21:28 sri not seeing those
21:29 sri if tests pass they are inf act harmless
21:29 und3f but is it ok?
21:29 sri we started testing a lot of exceptions, they throw all kinds of different errors on different platofrms
21:29 und3f also there is no clue about warning source
21:30 sri as long as tests pass all is fine
21:30 und3f sri, there output of make test http://pastebin.ca/1943762
21:31 sri which version and platform?
21:31 und3f oh, they didn't passed
21:31 sri latest gothub?
21:31 sri *github
21:32 und3f sri, latest Linux kotepc 2.6.34-gentoo-r1 #1 SMP Mon Jul 12 02:40:32 EEST 2010 i686 Intel(R) Pentium(R) D CPU 3.40GHz GenuineIntel GNU/Linux
21:32 und3f sri, yes, latest
21:32 und3f sri, here is output with right locale setting http://pastebin.ca/1943763
21:33 sri thats actually the stress test
21:33 und3f sri, test passed not always
21:34 sri it is a stress test
21:34 und3f in 2 of 3 cases they fails
21:34 und3f oh, it is ok, right?
21:34 sri sepends on outside factors
21:34 sri *depends
21:34 sri like file descriptor limit
21:35 und3f sri, also there is a bug with utf8 errors
21:35 und3f they are broken :|
21:35 sri ?
21:36 und3f Error strings are broken
21:36 sri i have no idea what you mean
21:36 und3f Sun Sep 19 00:29:50 2010 error Mojo::Server::Daemon:237 [8786]: Соединение сброшено другой стороной
21:37 und3f thats with locale ru_RU.utf8
21:37 sri feel free to fix
21:37 sri vti updated Mojo::Log for utf8 errors afair
21:38 sri if those errors come in encoded i have no idea how to handle them though
21:38 und3f ok, i'll try to fix
21:38 und3f suppose i know the problem
21:41 Rhaen sri :) Thanks for the fix. That's my talent, I am breaking EVERYTHING!
21:42 sri und3f: the client.t fail could be your server
21:43 und3f sri, i am testing on commit 206a1d4 without any changes
21:43 sri still likely your server
21:43 sri since i don't see leaks here
21:44 sri likely not enough file descriptors
21:45 sri the test needs like 10
21:45 und3f sri, fixed log messages
21:46 und3f sri, take a look at pull request
21:47 awnstudio_l joined #mojo
21:54 sri think i'll just remove the fd leak test
21:54 sri guess depending on a pool of file descriptors being available is too fragile
21:55 awnstudio_l left #mojo
21:55 sri false positives suck
22:00 Rhaen sri?
22:00 Rhaen I'll send you a pull req. for some doc stuff inside the Rendering.pod
22:01 Rhaen It's about working with the stash
22:01 sri sure
22:01 Rhaen I tried to strip down all my examples into one piece of code.
22:02 Rhaen so - a mini mojolicious app which uses scalar, array, hashref, arrayref - should be the most important things.
22:02 Rhaen Hashes work as the refs so no need to show that
22:03 GitHub198 joined #mojo
22:03 GitHub198 mojo: master Sebastian Riedel * 3a7bac3 (1 files in 1 dirs): removed fragile test
22:03 GitHub198 mojo: master Sebastian Riedel * f37966f (2 files in 2 dirs): fixed logging of UTF-8 errors
22:03 GitHub198 mojo: master commits 206a1d4...f37966f - http://bit.ly/9RYQsE
22:03 GitHub198 left #mojo
22:03 sri Rhaen: i don't like too dense examples
22:04 sri but i'll wait and see
22:04 sri und3f: tests should pass
22:05 Rhaen haha :) Well, strip out what you don't need
22:06 sri Rhaen: eww, those are lots of commits
22:06 und3f yes, everything works
22:06 Rhaen huh.
22:06 Rhaen let me check
22:06 sri http://github.com/kraih/mojo/pull/21
22:07 Rhaen right :(
22:07 sri you should combine them into one before pull requests
22:07 Rhaen yup. sorry!
22:07 Rhaen one day I will understand this git thing.
22:07 sri git squashing is quite easy after all, yay for rewriting history :)
22:08 Rhaen I love to use cvs. really.
22:08 sri http://www.gitready.com/advanced/2009/0​2/10/squashing-commits-with-rebase.html
22:08 Rhaen being a NetBSD guy, cvs is inside the core - that's fine. But git.
22:08 sri once you get history rewriting it's a whole new experience
22:08 Rhaen I'll check it.
22:10 sri nobody on the outside really needs to know about the mistakes you made while working on a change
22:10 sri you just squash them and nobody will ever know
22:10 Rhaen true. I'll check that tomorrow.
22:10 Rhaen Bed time!
22:10 sri nn
22:11 * Rhaen waves and start idleing.
22:14 perlrocks Twitter: "Translated documentation # Mojolicious (RUS) http://perl5doc.ru/cpan/Mojolicious" (uk) --mrtaryk http://twitter.com/mrtaryk/status/24883558465
22:18 awnstudio_l joined #mojo
22:28 GitHub21 joined #mojo
22:28 GitHub21 mojo: master Sebastian Riedel * 5961a11 (2 files in 2 dirs): improved documentation - http://bit.ly/cXrkGF
22:28 GitHub21 left #mojo
22:34 GitHub70 joined #mojo
22:34 GitHub70 mojo: master Sebastian Riedel * 8b6b4a0 (1 files in 1 dirs): improved documentation - http://bit.ly/aszB2e
22:34 GitHub70 left #mojo
22:58 tom_ is now known as tom
22:59 tom is now known as Tomiles
23:04 Htbaa left #mojo
23:13 und3f is now known as und3f[A]
23:20 esskar_ is there a property to the template path somehwere?
23:24 spleenjack left #mojo
23:30 sri what do you mean?
23:31 sri $app->renderer->root?
23:33 esskar_ i want to use Mojo::Template directly
23:33 esskar_ need the path to the template root
23:34 * sri doesn't follow
23:35 esskar_ ok, renderer->root it is :)

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