Camelia, the Perl 6 bug

IRC log for #mojo, 2013-03-11

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

All times shown according to UTC.

Time Nick Message
00:14 sri https://twitter.com/perltroll # haha, i wonder who that could be
00:15 Akron joined #mojo
00:21 MeierM joined #mojo
00:24 good_news_everyone joined #mojo
00:24 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/5sSeaA
00:24 good_news_everyone mojo/master 938549a Sebastian Riedel: a few more tests for Mojo::Path and Mojo::Parameters
00:24 good_news_everyone left #mojo
00:26 marty it took me three years to "kind of not suck" at call of duty.  Maybe I could kind of not suck at starcraft also.   that new swarm thing sounds fun.   I wonder if most people play multiplayer or solo?
00:27 sri the solo campaign and story are fun, but most people play multiplayer i bet
00:29 sri there's a ranking system, if you suck you start in a pool with others that suck :)
00:32 marty I'll be in that pool
00:33 sri when you start sucking less, you ascend into better and better pools
00:34 * marty goes to read more about it.
00:35 sri before league of legends it used to be the biggest esport game
00:36 marty I just learned about starcraft, never even heard of league of legends. I am soooo over my head.   :)
00:37 sri :D
00:37 marty but I like the thought of big co-op campains
00:37 marty sounds fun.  Then all the bad-asses can save my sorry butt
00:37 sri starcraft is kind of the national sport in south korea
00:40 sri http://www.youtube.com/user/HuskyStarcraft # matches between famous players get watched *a lot*
00:41 * marty is watching...
00:43 sri maybe you remember dune 2, the first real rts game from the early pc days? it's basically the same :)
00:53 marty that's frakin insane.   I understood zilch of what that guy was saying much less what I was seeing.  :)
00:54 sri well, those are mostly professionals, their dayjob is playing starcraft :)
00:54 marty Ya, I remember dune 2. it also reminds me a lot of red alert.
00:54 marty man, the multitasking is scarry
00:55 sri yea, it's pretty close to command & conquer, just 3 factions and the balancing is great
00:56 marty Hows the mac client?
00:56 sri blizzard quality, top notch
00:56 marty kewl.
01:08 ka2u joined #mojo
01:12 jberger we talking original starcraft or starcraft 2
01:12 jberger ?
01:12 jberger I haven't played the new one, liked the old one a lot, even if I never got very good
01:13 asarch joined #mojo
01:13 shmuel joined #mojo
01:25 sri sc2
01:28 hlin joined #mojo
01:29 bpmedley joined #mojo
01:38 ka2u_ joined #mojo
01:42 GabrielVieira joined #mojo
01:52 d4rkie joined #mojo
02:00 GabrielVieira2 joined #mojo
02:06 * Bender3 is finally catching up on promises
02:08 phillipadsmith sri: thanks for that tip/trick re: foxnews.com  -- still curious what's happening there, whenever you have a second to explain. :)
02:08 sri phillipadsmith: it lies about being UTF-8
02:09 phillipadsmith "it" being the page in question?
02:09 sri my trick is not a fix, you still get mojibake
02:09 sri yes
02:10 * phillipadsmith is going to have to look up the ->tap method and figure out what you're doing there...
02:10 phillipadsmith Will give it a shot; many thanks as usual.
02:11 sri http://mojolicio.us/perldoc/Mojo/Base#tap
02:16 good_news_everyone joined #mojo
02:16 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/K2tb-w
02:16 good_news_everyone mojo/master 519a2c0 Sebastian Riedel: better description for tap method
02:16 good_news_everyone left #mojo
02:16 egopro joined #mojo
03:03 ka2u joined #mojo
03:06 GabrielVieira joined #mojo
03:35 good_news_everyone joined #mojo
03:35 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/UaQXMA
03:35 good_news_everyone mojo/master f8ba687 Sebastian Riedel: added CONTRIBUTING.md
03:35 good_news_everyone left #mojo
03:35 sri ok, that's really cool
03:35 sri there's now a link at the top when you open a new ticket https://github.com/kraih/mojo/issues/new
04:43 duncanthrax2 joined #mojo
04:48 jmmills joined #mojo
04:51 preflex_ joined #mojo
05:06 ka2u joined #mojo
05:19 ka2u joined #mojo
05:32 mattastrophe joined #mojo
05:34 Freman tempted to post my current project on bithub...
05:43 basiliscos joined #mojo
05:50 GabrielVieira joined #mojo
06:05 GabrielVieira joined #mojo
06:06 basiliscos joined #mojo
06:08 mattastrophe joined #mojo
06:11 GabrielVieira2 joined #mojo
06:51 hlin joined #mojo
06:51 Freman So, I should be looking to wrap something heavy and long running like thumbnail generation in a Mojo::IOLoop->delay()?
06:54 Freman hmmm maybe not
06:59 Freman http://pastebin.com/hxiK32mw - that's the current action, it's line 12 that's taking ages to run...
07:05 Mike-PerlRecruiter_ joined #mojo
07:19 arpadszasz joined #mojo
07:21 dpetrov_ joined #mojo
07:25 Vandal joined #mojo
07:25 jzawodn joined #mojo
07:26 Netfeed left #mojo
07:47 jnbek joined #mojo
07:54 Freman so, no advice on handling the images?
08:06 marcus Sri: Maybe just duplicate the contribution guide in CONTRIBUTING.md?
08:06 marcus Increases the chance of people reading it.
08:18 ka2u_ joined #mojo
08:23 Gedge joined #mojo
08:24 suy joined #mojo
09:09 fhelmber_ joined #mojo
09:11 hrupp joined #mojo
09:14 hlin joined #mojo
09:29 coff My machine does not allow me to use anything but irssi right now.
09:30 coff It is pretty swamped doing Stuff (TM), but thankfully irssi responds.
09:30 coff OH! Lynx as well. I HAVE INTRAWEBZ!
09:32 * Freman heads over to coff's place with bacon
09:33 coff ...and suddenly there is nothing more a man could ask for. ;)
09:34 bpmedley Freman: I think some people use job queues for stuff like that.
09:34 coff bpmedley: You get bacon in job queues? O_o
09:35 bpmedley coff: Yes, non-blocking eating bacon.
09:37 coff bpmedley: Perhaps that can explain why so many people here are so miserable. Low unemployment --> no job queues --> no bacon
09:37 bpmedley :)
09:41 Freman as long as you stay away from cheese the bacon will remain unblocked
09:43 Freman awreally? job queue? that sounds like much more work than I want to do
09:43 Freman tho... I suppose I'm already using redis... wouldn't be much to add a queue to it
09:44 Freman wow, google is showing a lot of hate on mojo's guys
09:45 yakudza joined #mojo
09:45 Freman oh, Resque...
09:46 jnbek joined #mojo
09:48 coff Hate?
09:50 Freman I've stumbled apon 3 posts by 3 different people
09:50 * Freman shrugs
09:50 Freman I love mojo - compared to the alternative of moose and catalyst...
09:51 dpetrov_ marcus++ # Text::SImpleTable
09:51 marcus Author: Sebastian Riedel.
09:54 dpetrov_ sri++
09:54 dpetrov_ I didn't scroll to the bottom
09:54 dpetrov_ and seems like released the last version :)
09:55 nelio joined #mojo
09:56 arpadszasz joined #mojo
09:56 egopro joined #mojo
10:02 mattastrophe joined #mojo
10:05 kitt_vl joined #mojo
10:06 wk joined #mojo
10:16 jpn joined #mojo
10:22 lukep joined #mojo
10:46 Freman can I borrow one of your browsers for a moment? I want to make sure the port forward worked
10:48 stephan48 if you would just paste a url in here ans ask nicely, maybe?
10:48 stephan48 :)
10:48 bowtie joined #mojo
10:51 Freman can someone please make sure this works http://demo.fremnet.net:3001
10:51 Freman or rather is reachable :D
11:02 stephan48 not reachable
11:02 Freman thanks
11:02 * Freman goes to poke iptables with a sharp stick
11:04 Freman can you please trya gain?
11:05 GabrielVieira joined #mojo
11:06 stephan48 still no response
11:06 Freman oh well, thanks anyway it's clearly been far to long since I forwarded ports with iptables
11:07 Freman which is funny, it used to be a big part of the job description
11:09 Freman can you please try just one last time? after this I'll just call it a night
11:10 stephan48 "PhotoShow"
11:10 stephan48 and long loading times
11:12 Freman yay, thanks
11:12 Freman yeh loading times will be apalling - welcome to australia
11:12 Freman but now I can link the guy I'm writing it for
11:16 stephan48 ah north germany here
11:22 geira joined #mojo
11:24 mattastrophe joined #mojo
11:25 ver joined #mojo
11:27 mire joined #mojo
11:29 robinsmidsrod joined #mojo
11:29 geira joined #mojo
11:29 geira1 joined #mojo
12:14 SmokeMachine joined #mojo
12:31 btyler joined #mojo
12:53 gryphon joined #mojo
13:26 egopro joined #mojo
13:28 bluescreen joined #mojo
13:37 mire joined #mojo
13:51 egopro joined #mojo
13:58 mattastrophe joined #mojo
14:06 egopro joined #mojo
14:24 ChevreDeMSeguin joined #mojo
14:26 ChevreDeMSeguin Hi
14:27 ChevreDeMSeguin joined #mojo
14:27 good_news_everyone joined #mojo
14:27 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/dzF6rg
14:27 good_news_everyone mojo/master 41fa262 Sebastian Riedel: fixed typo
14:27 good_news_everyone left #mojo
14:27 ChevreDeMSeguin Before I go and install mojolicious on Windows, I'd like to know: will the prefork production server run?
14:27 sri nope it won't
14:28 ChevreDeMSeguin is it compatible withmod_perl by any chance?
14:30 mattastrophe joined #mojo
14:30 ChevreDeMSeguin I have Catalyst running in mod_perl (the prefork server also won't run on Windows), but support for Apache mod_perl in newer versions of Perl is also lacking on Windows
14:31 ChevreDeMSeguin Another question: is the development of Catalyst still active or has it been replaced by Mojolicious?
14:39 good_news_everyone joined #mojo
14:39 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/iGMsyg
14:39 good_news_everyone mojo/master 3b76e5d Sebastian Riedel: test tweaks
14:39 good_news_everyone left #mojo
14:41 jberger ChevreDeMSeguin, yes it will run under mod_perl, but you may have better luck using the built-in daemon and an Apache or Nginx reverse proxy
14:41 jberger and yes Catalyst is still under development
14:41 jberger (as far as I'm aware)
14:41 sh4 joined #mojo
14:42 ChevreDeMSeguin Yes, I did use Catalyst behind a reverse proxy, but since all my server are Windows, it doesn't help as I have no production prefork server
14:43 ChevreDeMSeguin so I must always revert to mod_perl for production under Windows
14:43 sri surely fastcgi works on windows too
14:43 ChevreDeMSeguin I tried fastcgi without success
14:44 ChevreDeMSeguin there are 2 different implementations and I couldn't have one working
14:45 ChevreDeMSeguin I would probably have to run IIS then
14:47 ChevreDeMSeguin I will give IIS and FastCGI a try
14:49 mattastrophe joined #mojo
14:59 mattastrophe joined #mojo
15:00 rem_lex joined #mojo
15:10 ChevreDeMSeguin Is there a screecast about basic database authentication?
15:15 d4rkie joined #mojo
15:16 ChevreDeMSeguin left #mojo
15:17 Molaf__ joined #mojo
15:18 mattastrophe joined #mojo
15:19 Vandal joined #mojo
15:25 dod joined #mojo
15:40 asarch joined #mojo
15:40 btyler joined #mojo
15:41 dod joined #mojo
15:45 egopro joined #mojo
16:20 drift joined #mojo
16:32 xaka joined #mojo
16:33 mire joined #mojo
16:34 _xaka_ joined #mojo
16:39 Bender was kicked by sri: Bender
16:39 Bender1 was kicked by sri: Bender1
16:39 Bender2 was kicked by sri: Bender2
16:48 moltar joined #mojo
16:55 moltar joined #mojo
16:55 jberger <<== sri vs the Benders ==>>
16:56 jberger FIGHT!!!
16:56 * sri won
16:56 * jberger declares sri the victor!
16:57 jberger the winner and still ... ALL GLORY TO THE HYPNOTOAD
17:11 dhg joined #mojo
17:20 vel joined #mojo
17:20 malikai joined #mojo
17:21 inokenty joined #mojo
17:22 basiliscos joined #mojo
17:24 malikai hey guys i'm trying to test a mojo ws client, but i keep getting this error: Event "read" failed: Can't locate object method "send_message" via package "Mojo::Transaction::WebSocket"
17:24 malikai pastey: http://pastebin.com/0R3fdHP1
17:25 malikai surely i'm doing something wrong, but i can't see what
17:27 bluescreen_ joined #mojo
17:28 jberger malikai, what version of mojolicious are you using
17:29 jberger did you read the doc for Mojo::Transaction::Websocket? that's the first thing I would do
17:31 malikai i'm working off the master on github
17:32 malikai i used the example here: http://mojolicio.us/perldo​c/Mojo/UserAgent#websocket
17:33 jberger almost
17:34 ka2u joined #mojo
17:34 malikai nevermind.. just found it
17:34 malikai send, not send_message
17:35 jberger :-)
17:36 malikai thanks :)
17:36 jberger you probably had an old example in your head, IIRC send might have been send_message at some point
17:36 * jberger can barely remember yesterday anymore
17:37 malikai i think it's just my head.. i've been doing a lot of javascript these days so i'm mixing up send/send_message all the time..
17:37 toebu joined #mojo
17:37 malikai going between the two makes it even more fun
17:38 jberger I do `onmessage` vs `on(  message =>` sometimes
17:39 jberger luckily that one doesn't compile :-)
17:45 anewkirk sri, I'd like to make MongoDB::QueryBuilder Mango-compatible, could you add a cursor method to the collection class (same as the official driver)?
17:46 rem_lex|pivo joined #mojo
17:47 sri anewkirk: what's the point of that method?
17:49 rem_lex| joined #mojo
17:51 anewkirk sri, sorry, I made a mistake
17:52 sri anyway, for the future, compatibility is not a design goal
17:53 sri the official perl driver is garbage, compatibility to the ruby, python and node.js drivers is a much more sensible goal
17:54 anewkirk that's a good direction, I agree
18:00 maxhq joined #mojo
18:05 maxhq joined #mojo
18:14 yakudza joined #mojo
18:27 anewkirk MongoDB::QueryBuilder now compatible with Mango -- https://github.com/alnewkirk/MongoDB-QueryBuilder​/commit/481ffc45217b71361e023509f168218d64c79b19
18:33 jnbek joined #mojo
18:35 labrown joined #mojo
18:38 GabrielVieira2 joined #mojo
18:39 gryphon joined #mojo
18:47 sri anewkirk: don't rush it, the whole distribution is still experimental and everything will break https://metacpan.org/module/Mango#DESCRIPTION
18:52 rihegher joined #mojo
18:54 anewkirk I've been using Mongo  often this past year so if you need some help I'd be happy to pitch in
18:55 anewkirk ... also, I'd be shocked it the collection class is renamed and/or you remove the find() method :}
18:55 anewkirk ... and those are the only dependencies
18:55 sri you never know :)
18:55 ka2u joined #mojo
18:56 * sri has learned his lesson from the mojolicious 0.x days
19:00 wk joined #mojo
19:04 sri anewkirk: well, there is one question i have... how the hell is the exhaust flag meant to be used? and how do you know when the response stream is finished?
19:05 Mike-PerlRecruiter_ joined #mojo
19:06 sri s/response/reply/
19:14 suy joined #mojo
19:14 bluescreen joined #mojo
19:29 malikai guys just curious about benchmarking.. has anyone done any performance comparisons between mojo and node.js?
19:30 malikai websocket, specifically..
19:30 dod joined #mojo
19:37 jzawodn do you expect the differences that might show up to really matter in most apps?
19:40 mire joined #mojo
19:45 Mike-PerlRecruiter_ joined #mojo
19:51 drift joined #mojo
19:56 dod joined #mojo
20:00 marcus wow, first two posts on infix seems pretty positive.
20:03 malikai jzawodn, i think it is good to know.. if the data is available
20:03 Fatalnix joined #mojo
20:03 btyler malikai: which node.js websocket implementation are you using as a reference? there are several, and they vary substantially in performance
20:04 btyler (but I suspect if you want to find this out, you'll have to conduct your own test. should be fairly easy to set up)
20:04 Fatalnix I'm thinking about using Mojo for not necessarily a web application, but an application that uses the HTTP protocol. it would require that the server keep connections alive for multiple requests- is that something that would be a road block for Mojo?
20:06 malikai btyler, oh and i will.. i'm just curious to know if anyone has done it
20:06 malikai personally, i think it matters little as long as you can scale your application horizontally
20:07 malikai to me it's a question more along the lines of: "how much speedup do you really get from V8's optimizations?"
20:08 sri node.js is mostly C code
20:09 sri in a micro benchmark you should notice very little of v8
20:10 sri imo it gets more intersting when you have big crufty real world applications that put pressure on memory management and leak ;)
20:12 malikai ...especially when you're doing time-sensitive things.. the garbage collector gets real expensive if your code isn't nice and clean
20:13 sri and don't forget the first rule of optimizing web apps, it's always the database :)
20:14 hydrauligsepp joined #mojo
20:26 malikai not in this case.. db is barely touched.. memcache gets a good beating though
20:35 lukep joined #mojo
20:35 dhg joined #mojo
20:37 migo joined #mojo
20:44 BeDa joined #mojo
20:59 basiliscos joined #mojo
21:02 sri Perl 5.16.3 is out, everyone upgrade!
21:13 malikai is there any special handling needed other than Mojo::IOLoop->start needed for a basic websocket client? i'm trying to subscribe to a feed and the client is quiting after a few seconds
21:15 malikai connection is ok, socket is established.. i send the subscribe, get an acknowledgement, get some messages, and then it closes and exits
21:22 malikai nevermind.. another silly oversight
21:22 malikai it helps the connection stay up when you don't call finish after you receive a message
21:43 kbenson joined #mojo
21:44 kbenson I'm looking to do some comet/longpolling, where the response should be able to be triggered by another request as quick as possible.  Is there a portion of the Mojolicious framework that makes this easy?
21:45 cfedde joined #mojo
21:45 kbenson E.g., connections A and B connect and stall on a request, connection C comes in and provides what A and B are looking for, so they (as quick as possible) get that value and return it.
21:47 cfedde can I set the inactivity_timeout for the command line mojo get?
21:49 nelio joined #mojo
22:01 GabrielVieira joined #mojo
22:03 ka2u joined #mojo
22:57 Meiermann joined #mojo
23:02 gryphon joined #mojo
23:19 rem_lex|pivo joined #mojo
23:21 malikai inside a useragent callback from a get of some json, is $tx->res->json->{results} where i should be looking for the data?
23:23 kbenson left #mojo
23:50 ka2u joined #mojo

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