Camelia, the Perl 6 bug

IRC log for #mojo, 2010-08-01

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

All times shown according to UTC.

Time Nick Message
00:43 ask joined #mojo
00:44 ask_ joined #mojo
00:50 MojoGuest163 joined #mojo
00:51 MojoGuest163 Hello, #mojo
00:52 MojoGuest163 /whois foo
00:52 MojoGuest163 oh :(
00:52 MojoGuest163 no alias commands yet
00:52 MojoGuest163 neat, though
02:42 janus joined #mojo
02:45 MojoGuest433 joined #mojo
03:25 MojoGuest440 joined #mojo
03:25 MojoGuest440 /j #sao-paulo.pm
04:03 tholen42 joined #mojo
04:07 MojoGuest290 joined #mojo
05:48 MojoGuest445 joined #mojo
06:15 Alias__ joined #mojo
06:44 MojoGuest878 joined #mojo
08:43 dotan joined #mojo
08:50 vti sri: there is a difference between checking client->tx->success and client->res upon checking subrequest answer.. could you make it more consistent? or document a practice what is the best way to check the subrequest answer on connection errors, 404/500 errors etc?
10:57 MojoGuest417 joined #mojo
10:58 mvuets joined #mojo
11:13 mvuets joined #mojo
11:40 MojoGuest526 joined #mojo
11:42 MojoGuest978 joined #mojo
11:49 MojoGuest334 joined #mojo
12:24 mvuets joined #mojo
12:26 mvuets joined #mojo
12:29 mvuets joined #mojo
12:36 mvuets joined #mojo
12:42 Akron joined #mojo
13:15 spleenjack joined #mojo
13:44 MojoGuest776 joined #mojo
14:48 MojoGuest834 joined #mojo
14:53 Akron left #mojo
15:44 MojoGuest193 joined #mojo
16:34 dotan left #mojo
16:43 yko joined #mojo
17:38 chorny joined #mojo
17:49 sri vti: actually the client behavior is very consistent
17:50 sri connection errors and error responses result make ->success fail, thats all
17:50 sri *-result
17:51 sri vti: connection errors don't have a two part error
17:51 sri my ($error, $code) = $tx->error;
17:51 sri if code is present there was a response
17:53 sri vti: if you think there is a better way to handle it come up with some examples and/or tests
17:56 chorny Route is not found for url http://localhost:3000/userlist , but this route is defined. More data at http://paste.scsys.co.uk/47451
17:56 garfield [ magnet_web paste from "chorny" at 217.168.150.38... ]
18:01 vti sri: so $client->tx->success should be enough? without checking if $client->res exists?
18:01 sri umm
18:02 sri ->res *always* exists
18:02 sri how would you get the idea that it doesn't exist?
18:03 vti wait a sec
18:03 sri chorny: looks ok to me, no idea whats wrong
18:04 sri basic routes have like 1000 tests, so i'm quite sure they work
18:04 vti sri: so $tx->success is $res.. is it the same as $client->res?
18:05 sri of course
18:05 vti that's why i check for $client->res, because it is the same as $tx->success, but less typing
18:05 sri ->success is a conditional accessor for ->res
18:05 vti ah
18:06 sri "Returns the L<Mojo::Message::Response> object (C<res>) if transaction was
18:06 sri successful and had no connection/parser errors or C<undef> otherwise."
18:07 vti thanks
18:11 chorny is lookup for routes done from first to last?
18:11 sri fifo yes
18:16 GitHub1 joined #mojo
18:16 GitHub1 mojo: master Sebastian Riedel * 02d30ea (1 files in 1 dirs): pod cleanup - http://bit.ly/dbrVdR
18:16 GitHub1 left #mojo
18:21 vti sri: you don't support 75 anymore?
18:21 sri nope, safari is 76 now
18:22 vti what to do with those who don't upgrade?
18:22 sri make them upgrade
18:22 sri websockets are bleeding edge, they will break again, people just have to upgrade
18:23 sri apple people are very good at updating anyway
18:25 sri btw. safari websocket support is broken btw, no matter which version
18:25 sri *-btw
18:26 sri so it will be one more release until they work right (webkit nightly has been fixed)
18:27 sri even if we kept supporting 75 it wouldn't make a difference
18:28 chorny I guess it was runtime error from DBI that lead to "page not found" page
18:28 vti sri: ok
18:28 sri chorny: always watch your log
18:28 chorny nothing was in there :(
18:29 sri then there was no exception
18:29 sri just try adding a die to see how an excepion would look
18:31 chorny die results in "Internal Server Error", but 0 arguments in selectrow_hashref with 1 placeholder - page not found
18:32 sri maybe you just didn't render anything?
18:33 chorny yes, it was the cause of problem
18:34 MojoGuest962 joined #mojo
18:35 MojoGuest962 hui
18:35 chorny MojoGuest962: was it "hi"?
18:38 sri could have been the german "hui" as well :)
18:38 sri which is an expression of excitement
18:39 vti http://news.perlfoundation.org/2010/0‚Äč8/2010q3-grant-proposal-yac-yacc.html
18:39 garfield [ 2010Q3 Grant Proposal: YAC (YACCMS (Yet Another Catalyst CMS))) - The Perl Foundation ]
18:39 garfield http://xrl.us/bhuxfg
18:39 vti sri: it's a "dick" in russian
18:39 sri lol
18:39 vti killer cms on top of catalyst, good luck with deployment
18:40 vti We will consider cpan tools like Reaction, Mojo and Dancer.
18:40 sri weird proposal
18:42 chorny vti: do you mean this Reaction? http://search.cpan.org/dist/Reaction/
18:42 garfield [ Matt S Trout / Reaction - search.cpan.org ]
18:42 vti chorny: i don't mean anything, it's not my proposal
18:43 vti but i guess ye
18:54 sri vti: new tt renderer is still not on cpan :(
18:55 sri maybe you just should upload it as renderer tt2
18:55 sri or renderer template
19:09 vti sri: i wrote him a message
19:09 sri vti: and i told him :S
19:28 MojoGuest550 joined #mojo
19:38 vti showmetheshell works everywhere except chrome =/
19:50 sri vti: chrome os x?
19:50 vti ye
19:50 sri the os x versions is sadly always way behind
19:51 sri many broken html5 features still, that work for ages on windows
20:07 ashleydev joined #mojo
20:27 ask joined #mojo
20:28 ask joined #mojo
20:37 ask joined #mojo
20:59 MojoGuest565 joined #mojo
21:01 Marceleira left #mojo
21:45 MojoGuest777 joined #mojo
22:09 MojoGuest777 left #mojo
22:12 ltriant joined #mojo
22:56 MojoGuest280 joined #mojo
22:58 MojoGuest121 joined #mojo
23:00 MojoGuest180 joined #mojo
23:01 asdf123 dtyj
23:30 MojoGuest531 joined #mojo
23:35 MojoGuest365 joined #mojo

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