Camelia, the Perl 6 bug

IRC log for #mojo, 2012-02-08

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

All times shown according to UTC.

Time Nick Message
00:15 kitt_vl joined #mojo
00:16 migo joined #mojo
00:41 migo joined #mojo
00:53 scott joined #mojo
00:59 bird joined #mojo
01:02 d4rkie joined #mojo
02:13 D4RK-PH0ENiX joined #mojo
02:23 bird joined #mojo
02:30 d4rkie joined #mojo
02:38 hshong joined #mojo
02:46 mire joined #mojo
02:50 jnap joined #mojo
03:07 abra_ joined #mojo
03:43 tempire gsoc project: make a pygments lexer for EPL and Lite apps, so that github supports proper syntax highlighting.
03:43 tempire http://pygments.org/docs/lexerdevelopment/
03:49 tempire although the lexer is written in python
03:49 tempire not sure if that would be a problem
04:00 D4RK-PH0ENiX joined #mojo
04:08 tempire interesting, mojocasts gets more linux visitors than mac
04:37 mire joined #mojo
05:22 ver joined #mojo
05:22 d4rkie joined #mojo
05:39 mire joined #mojo
06:05 ver joined #mojo
06:11 lukep joined #mojo
06:28 sri intresting
06:30 Vandal joined #mojo
06:47 koban joined #mojo
07:10 * tempire still wonders whether it's worth the time and effort to give a yapc talk
07:10 sri it is ;p
07:10 tempire says the hermit
07:10 sri -.-
07:11 * sri waits for marcus to say "it is"
07:11 * tempire waits for a pat on the head for this blog entry
07:14 sri wait, did you tweet a link?
07:14 tempire just the ironman feed.
07:15 sri ah
07:15 * sri pats tempire
07:15 tempire :D
07:16 dpetrov_ joined #mojo
07:20 * marcus pats tempire too
07:20 * tempire purrs
07:55 * crab dusts tempire with flea powder
07:55 * tempire shines
08:01 marcus we rewrote one of our  dbix-simple projects to dbic on monday. realized our dbix-simple turned into shit architecture.
08:01 marcus as the app grew.
08:01 marcus tempire++ # great example
08:05 Foxcool joined #mojo
08:18 AmeliePoulain joined #mojo
08:19 judofyr joined #mojo
08:24 berov joined #mojo
08:28 sri tempire: in your blog post i think you mean "EP" and not "EPL"
08:28 tempire indeed I do
08:29 tempire fixed
08:35 melmothX joined #mojo
08:40 tempire the best part of bootstrap was its accessible docs.
08:40 tempire boo 2.0
08:41 * tempire grumbles at change
08:41 * sri agrees with tempire on 2.0 docs
08:42 tempire nicer looking controls, though
08:46 berov joined #mojo
08:57 sri tempire: reblogged you btw
08:57 tempire :)
08:57 sri posterous makes quoted text with links look ugly though :S
08:58 sri gonna make it plain text
09:01 sri tempire: maybe the readme should list requirements
09:06 black joined #mojo
09:16 tempire I'm linking to the irc channel from the mojocasts site now.  everybody has to be official now
09:16 * tempire polishes his badge
09:19 tempire that's true.
09:19 tempire I could probably remove some deps as well
09:29 marcus purl: jerk it!
09:29 purl couldn't get the headlines: http://www.irc.perl.org/bin/jerkcity.cgi wasn't successful
09:29 marcus :'(
09:32 tempire ok
09:32 tempire requirements in readme
09:33 tempire cpanmin.us is the best service ever
09:33 tempire marcus++++
09:35 sri tempire++
09:35 tempire that tom really loves the color scheme
09:35 tempire he posted on every mojocast page.
09:36 tempire USE ALL THE COLORS
09:44 daxim joined #mojo
09:53 Netfeed tempire: in the second screencast you load json output directly in safari, is this a plugin or is it something safari can do by default?
10:29 melmothX_ joined #mojo
10:41 batman joined #mojo
10:42 alnewkirk joined #mojo
10:42 batman hi
10:42 batman any idea what channel i need to go to to ask about MongoDB questions?
10:43 Netfeed #mongodb @ freenode?
10:44 batman is that mongodb server specific or will MongoDB.pm people also be there?
10:44 batman i got issues with keys having "." in them... wonder if there's a way around
10:44 marcus batman: the perl driver is supported by the mongodb people afaik
10:44 batman ok. thanks
10:52 judofyr sri: MOJO_USERAGENT_DEBUG=1 perl -Mojo -MMojo::URL -E'my $u = Mojo::URL->new("http://vg.no/"); push $u->path->parts, "a/b"; say $u; g($u)'
10:52 judofyr the $u is http://vg.no/a%2Fb
10:52 judofyr but UA does: > GET /a/b HTTP/1.1
10:53 melmothX joined #mojo
10:55 sri judofyr: could be a bug
10:55 purl No, it's a feature.
10:56 judofyr sri: I just need a way to actually send %2F to a server…
10:56 sri so fix it :)
10:57 marcus hmm, blocking servers and using callbacks + $delay->wait might lead to 'blocking request in progress'. message
10:58 marcus (like on psgi servers).
11:09 sri judofyr: i actually know the fix but don't have a test case
11:18 GitHub49 joined #mojo
11:18 GitHub49 [mojo] kraih pushed 1 new commit to master: http://git.io/ctirGQ
11:18 GitHub49 [mojo/master] fixed small URL escaping bug in Mojo::UserAgent::Transactor - Sebastian Riedel
11:18 GitHub49 left #mojo
11:18 sri judofyr: and fixed
11:18 melmothX joined #mojo
11:19 scott joined #mojo
11:20 judofyr sri: thanks!
11:20 judofyr sri++
11:29 sri :)
11:29 sri marcus: not if used properly
11:48 briang joined #mojo
11:52 noganex_ joined #mojo
11:53 black joined #mojo
12:02 melmothX joined #mojo
12:18 GabrielVieira joined #mojo
12:20 olav joined #mojo
12:42 geira joined #mojo
12:45 gizzlon joined #mojo
12:47 abra__ joined #mojo
12:47 geira joined #mojo
13:19 Foxcool joined #mojo
13:48 jnap joined #mojo
14:33 melmothX joined #mojo
14:35 elb0w sri: consolas does look pretty nice
14:35 elb0w I double itll look that good on linux though
14:36 elb0w doubt*
14:38 elb0w hmm not too bad actually
14:38 inokenty joined #mojo
14:46 amoore joined #mojo
14:48 ZadYree joined #mojo
14:54 koban left #mojo
15:08 d4rkie joined #mojo
15:19 memowe is it just me or is github down?
15:20 daxim http://www.isup.me/http://github.com/
15:21 memowe yay, it's back! :)
15:25 migo joined #mojo
15:27 kaare joined #mojo
15:27 memowe Guys, the Mount plugin is awesome!
15:27 memowe I mean, detour is awesome.
15:29 memowe Using it with my new version of contenticious (simple Markdown thing).
15:31 judofyr detour++
15:33 sri just keep in mind it's one of the lesser used features, there (may) be dragons
15:38 memowe kk
15:38 * judofyr likes dragons
15:38 memowe But it's amazing to write a small simple Markdown thing and BAM, it's in your web app.
15:39 dlyke joined #mojo
15:53 ki0 joined #mojo
16:03 GabrielVieira joined #mojo
16:07 sri still wondering if the after_build_tx hook should work with the Mount plugin
16:08 sri not sure which behavior is more unexpected
16:08 sri currently the hook does absolutely nothing in detour apps
16:09 sri if we made it work, it would however run for absolutely every request, even if it doesn't get dispatched to that embedded app
16:10 sri it of course opens up new possibilities
16:11 vel joined #mojo
16:25 jnap joined #mojo
16:27 rihegher joined #mojo
16:28 rihegher left #mojo
16:29 jnap_ joined #mojo
16:30 jnap joined #mojo
16:45 sri probably not
16:47 federated_life joined #mojo
17:22 black joined #mojo
17:28 jnap_ joined #mojo
17:30 jnap joined #mojo
17:31 mercutioviz joined #mojo
17:32 xaka joined #mojo
17:38 ki0 joined #mojo
18:15 GabrielVieira joined #mojo
18:19 mire joined #mojo
18:37 tempire Netfeed: link?
18:37 purl hmmm... link is awesome.
18:38 Netfeed hmm?
18:42 tempire you asked about json in mojocasts
18:42 tempire link to position in mojocast you're speaking about
18:50 Netfeed http://mojocasts.com/e2#Formats
18:56 tempire ah
18:57 Netfeed is that a feature from safari?
18:57 tempire I don't think so
18:57 tempire I have a plugin for that in chrome
18:57 tempire I don't remember installing it for safari though
18:57 tempire checking...
18:58 tempire yeah it had to be an extension
18:59 Netfeed alright, thank you
18:59 tempire https://github.com/rfletcher/​safari-json-formatter#readme
18:59 tempire that may not be the exact one, but it's close enoug
18:59 tempire h
19:00 Netfeed that do make json easier to read, thank you
19:00 tempire do you mind asking that question on the mojocast page?  I'll answer it publicly; it will probably help a lot of people
19:01 tempire also https://chrome.google.com/webstore/de​tail/chklaanhfefbnpoihckbnefhakgolnmc is the best one for chrome
19:01 Netfeed heh, sure
19:04 jnap_ joined #mojo
19:06 Netfeed there we go
19:06 tempire excellent, thanks
19:24 tempire I wonder if there's a method we can use to get Mojolicious to show up when people search for perl
19:24 sri adwords ;p
19:25 tempire If activestate product page is 4th, it seems to me it could be done
19:25 tempire hmm
19:25 tempire "perl web" doesn't show mojolicious
19:26 tempire catalyst, dancer, and plack, but no mojo :(
19:27 sri first on second page
19:27 sri before catalyst :)
19:27 tempire I get catalyst mentioned on the first paeg
19:28 sri i don't, and i search anonymous
19:28 tempire me too
19:28 jnap joined #mojo
19:28 black joined #mojo
19:28 tempire you have a private window? (incognito)
19:28 sri yes
19:29 tempire location-based, I guess.
19:36 jnap_ joined #mojo
19:58 mire joined #mojo
20:31 vervain joined #mojo
20:34 lukep joined #mojo
21:02 jnap joined #mojo
21:03 mercutioviz joined #mojo
21:42 jnap joined #mojo
21:50 vervain joined #mojo
21:55 jnap joined #mojo
21:58 jnap joined #mojo
22:13 baton8 joined #mojo
22:20 baton8 joined #mojo
22:24 jmhgtx joined #mojo
22:29 tempire http://vimuniversity.com/samples/crea​ting-vim-macros-saving-them-for-later
22:45 mire joined #mojo
22:47 vervain I _really_ like the new 'Page not found... yet!'... I saw the discussion on email and really agreed that 'not unboxed yet' or whatever was very distracting.
22:47 vervain :-)
22:53 jmhgtx Hi, I may not be doing this right but I'm attempting to get a subset of data from an object and return it via a route like the following /account/:id/users.   The users sub is attempting to extract the users from the account.  When I try and set it in the response however, I continually get the whole dataset.  Is there a way to overwrite it? Or should I not be doing that in the first place?
23:05 vervain jmhgtx: Do you want to throw something into a pastebin... I understand your idea but can't tell you want's likely to be wrong from just your description.
23:06 jmhgtx Thanks, one sec.
23:08 jmhgtx http://privatepaste.com/5875f10e64
23:10 jmhgtx So the problem is that I'm still getting that entire hash instead of the arrayref.
23:13 vervain Is that Dump representative of $user_list after the 'from_json' call?
23:14 jmhgtx Yes it is.
23:14 jmhgtx All I want is the 'users' arrayref.
23:15 vervain Maybe there's too much magic... try $user_list = $user_list->{users}; prior to the respond_to
23:15 vervain <shrug>
23:16 vervain That would make it pretty explicit... then if it works you can decide rather or not to track down the magic later. :-)
23:16 vervain respond_to and I have had a run-in before... I've not yet returned to it.
23:17 jmhgtx Yeah, I tried that before.
23:17 vervain Or you may even be able to get away with $self->tx->res->content->g​et_body_chunk(0)->{users}
23:17 jmhgtx I've tried several of the respond related methods today w/o success.
23:17 jmhgtx I'll try that.
23:18 vervain Don't forget that if you use ->{users} explicitly earlier then you want to remove it from your respond_to line.
23:19 jmhgtx That didn't work either.   Seems like the problem is the inability to overwrite the reponse.
23:24 jmhgtx vervain: Thanks again for your help.
23:28 vervain Np... sorry there wasn't more of it :-)
23:56 ki0 joined #mojo
23:59 al joined #mojo

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