Camelia, the Perl 6 bug

IRC log for #mojo, 2012-03-22

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

All times shown according to UTC.

Time Nick Message
00:21 GitHub77 joined #mojo
00:21 GitHub77 [mojo] kraih pushed 1 new commit to master: http://git.io/AhFOQw
00:21 GitHub77 [mojo/master] document layout of a reactor backend - Sebastian Riedel
00:21 GitHub77 left #mojo
00:25 sri having LeoNerd write an IO::Async backend is really helpful with getting the api stable
00:34 CromeDome joined #mojo
00:53 ingard joined #mojo
01:14 GabrielVieira joined #mojo
01:15 scott joined #mojo
01:26 gabriel joined #mojo
01:51 d4rkie joined #mojo
01:52 mire_ joined #mojo
02:38 GitHub34 joined #mojo
02:38 GitHub34 [mojo] kraih pushed 1 new commit to master: http://git.io/n2haLg
02:38 GitHub34 [mojo/master] removed experimental status from max_accepts attribute in Mojo::IOLoop - Sebastian Riedel
02:38 GitHub34 left #mojo
03:13 zivester joined #mojo
03:27 xaka1 joined #mojo
03:37 ispy_ joined #mojo
03:47 tempire one less experimental method! go go gadget stability!
03:47 tempire https://gist.github.com/2144386
03:54 ispy_ Anyone in here have experience with DateTime query objects using DBIx::Class?
03:59 ispy_ tempire: So what does this gist do?
04:02 preflex_ joined #mojo
04:05 arpadszasz joined #mojo
05:03 alnewkirk joined #mojo
05:47 tempire ispy_: yes, the mojoexample uses them.
05:47 tempire https://github.com/tempire/MojoExample​/blob/master/lib/Schema/Result/Blog.pm
05:49 mire_ joined #mojo
06:22 ispy_ tempire thanks!!!
06:22 tempire if you're using schema::loader, https://github.com/tempire/MojoExampl​e/blob/master/script/generate_schema
06:23 ispy_ This is very helpful, thanks!
06:37 amirite how do i get a hash of all parameters instead of calling $self->param(key)
06:47 ispy_ Yeah good question, I've wondered the same.
06:58 amirite just looked at mojolicious::controller apparently its not built in
06:58 amirite you can do this though
06:58 amirite my %param = map { $_ => $self->param( $_ ) } $self->param;
07:01 batman joined #mojo
07:04 alnewkirk ummm, thats gross
07:04 alnewkirk $self->req->params->to_hash
07:12 Foxcool_ joined #mojo
07:13 ispy_ alnewkirk: Now that's a nice abstraction.
07:13 ispy_ amirite: although your map foo is certainly strong. :)
07:14 amirite but thats not the same alnewkirk
07:14 amirite take a look at the param method in m:controller
07:14 ispy_ ahh damn.
07:14 amirite it includes keys from a number of sources
07:15 alnewkirk okay
07:16 alnewkirk you didnt specify a criteria
07:16 alnewkirk ispy_: thnx
07:19 AmeliePoulain joined #mojo
07:29 spleenjack joined #mojo
07:50 Foxcool joined #mojo
08:15 batman joined #mojo
08:19 abra joined #mojo
08:28 perlite joined #mojo
08:39 prx joined #mojo
08:44 hugh joined #mojo
08:53 cosmincx joined #mojo
09:24 mire_ joined #mojo
09:27 migo_ joined #mojo
09:29 Gedge joined #mojo
09:37 lukep joined #mojo
09:37 daxim joined #mojo
10:09 mire_ joined #mojo
10:23 osprey_ joined #mojo
10:24 ki0 joined #mojo
10:50 athenot joined #mojo
11:27 crab joined #mojo
11:30 * sri yawns
11:36 GitHub41 joined #mojo
11:36 GitHub41 [mojo] kraih pushed 2 new commits to master: http://git.io/bi-H3g
11:36 GitHub41 [mojo/master] typos in comments - Dotan Dimet
11:36 GitHub41 [mojo/master] Merge pull request #305 from dotandimet/patch-1 - Sebastian Riedel
11:36 GitHub41 left #mojo
11:43 batman best comment! Have you ever seen that Blue Man Group? Total ripoff of the Smurfs. And the Smurfs, well, they SUCK.
11:43 batman :D
11:52 ispy_ joined #mojo
12:00 crab hi.
12:00 sri you're back :)
12:01 crab yes, at last. how are you all?
12:01 marcus happy you are back!
12:01 marcus ;)
12:01 * sri can't complain
12:01 * marcus can
12:01 marcus but I won't
12:07 sri angry birds space \o/
12:29 cosmincx joined #mojo
13:19 memowe Is IOLoop's timer a good place to do periodic cleanup things in your web app?
13:34 mire_ joined #mojo
13:43 CromeDome joined #mojo
13:52 inokenty joined #mojo
14:10 crab yes.
14:19 memowe crab: thanks :)
14:20 * sri is unsure if ->is_readable should be removed from Mojo::Reactor
14:25 d4rkie joined #mojo
14:30 ispy_ joined #mojo
14:33 GitHub167 joined #mojo
14:33 GitHub167 [mojo] kraih pushed 1 new commit to master: http://git.io/Yvc46g
14:33 GitHub167 [mojo/master] removed experimental status from Mojo::Reactor and Mojo::Reactor::EV - Sebastian Riedel
14:33 GitHub167 left #mojo
14:34 sri oh well, lets find out the hard way if there are design flaws :)
14:35 sri tempire: down to only Mojo::IOLoop
14:44 sri which reminds me
14:44 sri what about the name ->drop? would ->remove be a better choice?
15:02 sri hmm
15:02 sri drop is shorter, suppose it wins then
15:14 sri or actually
15:14 sri lets go with ->remove :)
15:22 GitHub127 joined #mojo
15:22 GitHub127 [mojo] kraih pushed 1 new commit to master: http://git.io/RfQ6nA
15:22 GitHub127 [mojo/master] deprecated Mojo::IOLoop->drop in favor of Mojo::IOLoop->remove and renamed Mojo::Reactor->drop to Mojo::Reactor->remove - Sebastian Riedel
15:22 GitHub127 left #mojo
15:34 inokenty magic again )
15:34 inokenty Unicorns
15:34 purl i heard Unicorns was http://xrl.us/2dn5
15:45 sri hmm... no idea what to do about is_readable
15:46 sri https://github.com/kraih/mojo/blo​b/master/lib/Mojo/Reactor.pm#L26
15:46 sri it doesn't belong in there... but kinda does
15:46 Psyche^ joined #mojo
15:48 * sri demands a vote
15:48 sri marcus, tempire, crab: keep it or move it into a different class?
15:49 * sri guesses that everybody is playing angry birds
16:04 alnewkirk joined #mojo
16:09 xaka1 joined #mojo
16:10 arpadszasz joined #mojo
16:27 mire_ joined #mojo
16:47 random left #mojo
16:55 sri think i'll split Mojo::Reactor into Mojo::Reactor and Mojo::Reactor::Poll
16:55 sri that will take care of is_readable
16:55 sri and make the interface more obvious
17:00 xaka1 why dont merge ioloop to reactor? you could get rid of duplicate api and support only one branch of code
17:00 sri what duplicate api?
17:02 cosmincx joined #mojo
17:04 xaka1 for an example "remove" which you've added some time ago. you changed the same lines (with a little difference) in two places. the same for recurring, timer.
17:04 kaare joined #mojo
17:05 xaka1 i also see you use ioloop inside reactor and reactor inside ioloop. which one is the primary then? i mean from design view
17:07 sri that makes no sense whatsoever
17:07 sri i better end this discussion here
17:16 GitHub49 joined #mojo
17:16 GitHub49 [mojo] kraih pushed 1 new commit to master: http://git.io/G6tYrA
17:16 GitHub49 [mojo/master] added Mojo::Reactor::Poll - Sebastian Riedel
17:16 GitHub49 left #mojo
17:17 Mrono joined #mojo
17:17 Mrono Here is what I am trying to do
17:19 Mrono In one section of the script have a websocket server with channels
17:19 Mrono just for broadcasting
17:20 Mrono in another section have a loop that polls another server for new data, and when it receives it, broadcast that data to all users on the correct websocket channel
17:20 Mrono is that possible?
17:33 GitHub130 joined #mojo
17:33 GitHub130 [mojo] kraih pushed 1 new commit to master: http://git.io/I2C4mw
17:33 GitHub130 [mojo/master] better reactor documentation - Sebastian Riedel
17:33 GitHub130 left #mojo
17:38 xaka1 joined #mojo
18:15 tempire Mrono: anything is possible
18:15 tempire now go make it!
18:16 marcus impossible is nothing!
18:21 tempire sri:filevault?
18:22 sri tempire: what about it?
18:22 tempire no problems I presume
18:23 sri never even noticed it's active :)
18:24 mire_ joined #mojo
18:27 mattastrophe joined #mojo
18:40 GitHub85 joined #mojo
18:40 GitHub85 [mojo] kraih pushed 1 new commit to master: http://git.io/shYP9w
18:40 GitHub85 [mojo/master] added redirect to upload example - Sebastian Riedel
18:40 GitHub85 left #mojo
18:44 sri Mrono: websockets are just transport, you want a layer for channel management above that, possibly backed by a pub/sub system like redis
18:51 batman joined #mojo
18:55 sri ok, think i'm happy with Mojo::Reactor now
18:55 baton8 joined #mojo
19:26 batman joined #mojo
19:32 tholen_ joined #mojo
19:33 mire_ joined #mojo
19:35 marcus sri: I'm happy with angry birds in space...
19:35 marcus ;)
19:38 batman joined #mojo
19:42 mattastrophe joined #mojo
20:04 sri marcus: me too :)
20:06 * sri wonders if he should just declare everything stable
20:06 sri now it's just Mojo::IOLoop::Client, Mojo::IOLoop::Server and Mojo::IOLoop::Stream
20:16 marcus but what will you do with your life then?
20:16 marcus ;)
20:16 marcus angry birds space?
20:17 sri \o/
20:18 sri or get a job!
20:18 marcus Come to Norway, I have a job for you :p
20:19 marcus I wasn't able to lure tempire so.. ;)
20:19 sri aww
20:20 marcus guess he doesn't know about norwegian women… :D
20:21 GitHub145 joined #mojo
20:21 GitHub145 [mojo] kraih pushed 1 new commit to master: http://git.io/fgWbpQ
20:21 GitHub145 [mojo/master] STABILIZE ALL THE THINGS! - Sebastian Riedel
20:21 GitHub145 left #mojo
20:22 sri go on
20:32 osprey_ left #mojo
20:49 lukep joined #mojo
20:54 lukep joined #mojo
21:09 tempire It would be interesting to have all the core devs under one roof
21:09 tempire sri might actually get all the feedback he wants
21:11 sjn Norway isn't the worst place to work in (and the girls here certainly don't hurt (much) :)
21:12 tempire I hear the cost of loving in Europe is super high
21:12 tempire Also living
21:13 sjn yep :)
21:13 sjn luckily, the income levels often match
21:13 sjn and the selection too :)
21:14 tempire Really? the salaries for the uk jobs on jobs.perl seem horrib in comparison to us levels.
21:20 sjn well, depends on where you go, perhaps
21:20 sjn and what you do
21:20 * sjn has friends who have a salary close to 150kUSD (in Oslo)
21:21 sjn but that's probably extreme, most have at least half that
21:21 tempire Well that's not bad.  I guess theres no reason to judge the whole union by the uk
21:21 tempire After all, it's catalyst country :o
21:21 sjn the brits are some shrewd businessmen too :)
21:22 alnewkirk joined #mojo
21:25 tempire Aso, ovid's recent posts about expats make me a bit scared to traverse the pond.
21:36 sjn yeah, expats are scary :)
22:02 GitHub37 joined #mojo
22:02 GitHub37 [mojo] kraih pushed 1 new commit to master: http://git.io/sL3GLA
22:02 GitHub37 [mojo/master] bring back low level recipes - Sebastian Riedel
22:02 GitHub37 left #mojo
22:09 sri and it's official, we are out of experimental features :D
22:09 * sri released 2.65
22:13 alnewkirk joined #mojo
22:15 marty sri++ marcus++ tempire++ crab++ \o/  world peace to follow
22:16 sri phew, finally done
22:17 sri joined #mojo
22:18 sri \o/
22:18 * sri hugs marty
22:27 tempire \o\
22:33 sri /o/
22:35 chansen joined #mojo
22:36 batman joined #mojo
23:06 memowe \|o|/
23:17 tempire Y
23:18 tempire ok, everything's stabilized.
23:18 tempire time to start the next framework.
23:30 sri yes it is!
23:31 GitHub18 joined #mojo
23:31 GitHub18 [mojo] kraih pushed 1 new commit to master: http://git.io/e64efg
23:31 GitHub18 [mojo/master] reformatted "Changes" - Sebastian Riedel
23:31 GitHub18 left #mojo
23:33 sri 8 space indent annoyed me for a long time :)
23:55 mattastrophe joined #mojo

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