Camelia, the Perl 6 bug

IRC log for #mojo, 2011-03-01

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

All times shown according to UTC.

Time Nick Message
00:22 mmmpork cylon-human amniotic fluid?
00:23 spleenjack left #mojo
00:29 magnus left #mojo
00:29 tempire left #mojo
00:29 tpr left #mojo
00:29 magnus joined #mojo
00:30 tempire joined #mojo
00:31 mateu cannabis?  oh wait, that prevents it.
00:40 sri http://placekitten.com/ # brilliant
01:01 s0va grrrrrr
01:02 s0va Mojo::IOLoop is always full of suprises...
01:08 Akron joined #mojo
01:13 perlrocks Twitter: "yup RT @kraih Viva la revolucion! #perl #mojolicious" --ttyS1 http://twitter.com/ttyS1/status/42392014700027904
01:27 perlrocks Twitter: "Slowly moving towards fully functioning AnyEvent Mojo::IOLoop implementation: http://bit.ly/ikk5Jm #mojolicious #anyevent #perl" --gracnar http://twitter.com/gracnar​/status/42395463953035265
01:28 sri s0va++
01:28 sri s0va: if there's something in the api documentation missing please send patches :)
01:29 s0va sri: i was very negatively suprised when i found out tonight that connect() doesn't require on_read, on_hup and on_error cbs...
01:29 s0va and that mojo::client supplies only on_connect
01:29 sri ah yea, that has historic reasons :/
01:31 s0va i guess this has something to do with "omfg, what was i doing?"
01:31 sri indeed
01:32 s0va funny thing is, that mojo client now works with http and https, but some mojo tests fail :)
01:32 s0va but i will make it work...
01:32 sri \o/
01:32 s0va ... but i have some questions
01:33 s0va if client drops connection while loop is writing
01:33 s0va does that event trigger on_error and on_hup or just on_hup?
01:33 s0va if connection is idle, only on_hup should be called, huh?
01:33 sri the handle is protected in ioloop until the buffer is empty or a timeout occurs
01:34 sri later i think it was a hup
01:34 grim_fandango joined #mojo
01:34 sri once the handle is not protected anymore
01:35 s0va ioloop_tls.t test fails becouse i don't know when to trigger hup :)
01:35 sri hup has grown over time into the general purpose close event
01:35 s0va it's getting frustrating... yeah, i was looking in the original code, it looks so easy...
01:36 s0va oh :)
01:36 s0va good to know :)
01:38 s0va so, hup is triggered when: a) connection timeout occours and b) something bad happens on wire
01:38 s0va does case a also invoke on_error?
01:38 s0va what about case b?
01:39 sri i think we trigger hup whenever a connection gets dropped for whatever reason
01:39 sri even after error
01:40 s0va hm, it would be safe to always trigger error first, then hup?
01:40 sri think so
01:41 s0va ah.
01:41 s0va time for bed.
01:41 s0va good night.
01:41 s0va oh, btw...
01:41 s0va remember that daemon's [ $self->listen ]?
01:41 * sri starts looking for the reason client still sets those events after connect
01:42 sri i don't know what you mean
01:43 sri ooh
01:43 sri custom connections of course
01:43 s0va yeah.
01:43 s0va ./bin/lite2.pm daemon_anyevent --listen http://localhost:3001
01:43 sri we allow people to prepare their own connections and pass their id in the ioloop with the transaction
01:43 s0va Can't use string ("http://localhost:3001") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/site_perl/5.​12.1/Mojo/Server/Daemon.pm line 63.
01:44 s0va this happens only with anyevent ioloop
01:44 sri your command is wrong i think
01:44 sri 'listen=s'    => \@listen,
01:45 sri we allow --listen http://*:3000 --listen http://*:4000
01:45 s0va but i only subclass your class: https://github.com/bfg/anyevent-mojolicious/b​lob/master/lib/Mojo/Server/DaemonAnyevent.pm, https://github.com/bfg/anyevent-mojolicious/b​lob/master/lib/Mojo/Command/DaemonAnyevent.pm
01:45 sri ok, now i'm confused :)
01:46 sri i would expect it to work
01:46 s0va the only reason, that those two classes are there is to load anyevent::mojolicious::ioloop which removes mojo::ioloop (if it's already loaded) and replaces it with ae mockup.
01:47 s0va guess what: ./bin/lite2.pm daemon --listen http://localhost:3001 works :)
01:47 sri weird
01:47 s0va yep.
01:48 s0va but this is not big problem right now :) maybe it has something to do with forced class unloading... i tried unload sub from Class::Unload and some really weird stuff happens when i try to use it.
01:57 GitHub86 joined #mojo
01:57 GitHub86 mojo: master Sebastian Riedel * 928931f (18 files in 2 dirs): fixed a few typos - http://bit.ly/gJjUky
01:57 GitHub86 left #mojo
01:57 xris left #mojo
02:05 Akron left #mojo
02:33 Alias joined #mojo
02:36 giwi left #mojo
03:10 trcjr left #mojo
03:16 mmcleric left #mojo
03:16 mmcleric joined #mojo
03:29 mmcleric left #mojo
03:34 mmcleric joined #mojo
03:38 stephen left #mojo
03:48 hoelzro joined #mojo
03:50 grim_fandango Is it possible to get the name of the controller method in the layout template?
03:53 hoelzro grim_fandango: a quick look at the Mojolicious::Controller source seems to indicate that it's in the stash as 'action'
03:54 hoelzro well, that's the action name, but afaik, that's about as close as you'll get
03:54 * hoelzro waits for someone with more experience with Mojolicious to correct him
03:56 grim_fandango That's good enough - thanks hoelzro
03:58 hoelzro no problem
04:04 tl joined #mojo
04:06 tholen42 left #mojo
04:06 crab controller should be in the stash too?
04:17 hoelzro crab: I think so
04:20 crab s/\?//
04:24 hoelzro ah
04:32 dekimsey left #mojo
04:33 dekimsey joined #mojo
04:58 jwang Fruit of the Loom? say it ain't so!
04:58 crab it ain't necessarily so.
05:01 sri it ain't so
05:03 crab what is fruit of the loom?
05:03 purl fruit of the loom is more rough
05:03 * sri pats purl
05:03 * purl stabs
05:04 sri :o
05:04 sri eu shirts are from b&c, us ones from gildan
05:06 sri http://kraih.spreadshirt.de/perl-5-rapt​or-sweater-A15298357/customize/color/2 # totally getting at least one of these for myself :)
05:09 jwang damn, I was hoping to check out b&c
05:09 jwang yeah, the hoodie looks nice
05:13 sri dog badana anyone? :)
05:14 sri *+n
05:17 sri hmm, they have recycled shirts from honduras
05:42 perlrocks Twitter: "Getting Started With #Mojolicious http://hoelz.ro/blog/gettin​g-started-with-mojolicious #perl" --hoelzro http://twitter.com/hoelzro​/status/42459741271752705
05:49 wesal joined #mojo
05:56 grim_fandango I am trying to "include" a partial template from my default.html.ep layout file.  I am using <%= include 'faq' %> to include faq.html.ep from the same location that default.html.ep exists at but I'm not seeing the content of this file included in the final rendering.
05:56 grim_fandango Am I doing something wrong here?
05:56 kaare joined #mojo
05:58 grim_fandango (Mojolicious isn't giving me any error messages)
05:58 grim_fandango Oh, I just needed to move the file up one directory.
05:58 grim_fandango Whoops :-)
06:02 koban1 joined #mojo
06:23 crab i wish i could add more log levels to Mojo::Log
06:25 crab well, "easily"
07:11 grim_fandango left #mojo
07:36 Christian joined #mojo
07:36 Christian morning
07:47 minimalist left #mojo
07:50 fhelmber_ joined #mojo
07:52 Alias left #mojo
07:59 ysyrota joined #mojo
08:05 omega_ is now known as omega
08:05 breaker313 joined #mojo
08:05 breaker313_ joined #mojo
08:05 breaker313_ left #mojo
08:12 AmeliePoulain joined #mojo
08:19 su-bzero_ joined #mojo
08:26 Kulag left #mojo
08:27 Kulag joined #mojo
08:36 Foxcool joined #mojo
08:43 otaviof left #mojo
08:47 Kulag left #mojo
08:48 Kulag joined #mojo
08:54 Kulag left #mojo
08:56 giwi joined #mojo
08:57 Kulag joined #mojo
09:03 Kulag left #mojo
09:07 Kulag joined #mojo
09:15 Kulag left #mojo
09:16 Kulag joined #mojo
09:25 Kulag left #mojo
09:30 Kulag joined #mojo
09:58 otaviof joined #mojo
09:58 stephan48 is there already a dyndns things made in mojo?
09:58 stephan48 thingy*
09:59 giwi left #mojo
09:59 moritz stephan48: what kind of dyndns thingy are you talking about? one that updates your IP?
10:00 stephan48 ye, basically a server endpoint which takes ip from param(or via client ip, if param omitted) and submits it to a dns entry belonging to that client
10:04 stephan48 via Net::DNS::Update
10:06 Drossel joined #mojo
10:06 Kulag left #mojo
10:08 * moritz doesn't know of any, but that doesn't really mean much
10:09 stephan48 :)
10:09 stephan48 we plan to use mojo for a little school project :) and the dyndns service is more or less part of that project
10:10 moritz doesn't sound like rocket science.
10:11 stephan48 :)
10:11 giwi joined #mojo
10:15 Drossel left #mojo
10:17 Kulag joined #mojo
10:20 ysyrota left #mojo
10:29 Drossel joined #mojo
10:31 Kulag left #mojo
10:34 wesal left #mojo
10:52 Drossel left #mojo
10:56 spleenjack joined #mojo
10:59 marcus What's the best way to determine the active action? For instance for adding a menu highlight?
11:00 marcus c.match.endpoint?
11:00 cstamas joined #mojo
11:00 cstamas hi
11:00 purl salut, cstamas.
11:00 cstamas I am doing sthing wrong and need help
11:01 cstamas I am doing a db query
11:01 cstamas my $aref = $sth->fetchall_arrayref;
11:01 cstamas how can I pass that thing to render() ?
11:02 moritz render(..., things => $aref)
11:02 moritz and then in the template you can iterate over @$things
11:02 cstamas If I say $self->stash(data => $aref); then all I get back from the webpage is ARRAY(0x1918b48)
11:04 cstamas moritz: it is the same if I pass directly to render
11:04 moritz cstamas: you're probably trying to stringify $data directly
11:04 moritz cstamas: don't do that. Iterate over @$data
11:04 moritz cstamas: oh and by the way, 'data' is a terrible name. It tells nothing.
11:04 moritz everything in the computer is a datum or data
11:05 cstamas moritz: I do not even touch this variable
11:05 moritz cstamas: why do you pass it to render() if you don't use it?
11:05 cstamas it is not used in the template
11:05 moritz and where does the ARRAY(0x1918b48) come from?
11:05 moritz anyway, please show some code
11:05 cstamas oks...
11:11 cstamas here http://pastebin.com/PCQhAfWK
11:13 moritz looks sane, don't know where an ARRAY would come from
11:13 cstamas If I remove ", data => $aref " then the template renders correctly
11:13 moritz and I currently don't have access to a computer with mojo installed :(
11:14 cstamas i do not want to go back to cgi::app :-/
11:15 moritz I'm not familiar witht he TT renderer... does it matter if you change 'data' to something else (different name)? what about if you actually use that variable?
11:15 cstamas i try that
11:16 cstamas oh fuck
11:16 cstamas :)
11:16 moritz hm?
11:16 cstamas yes it matters
11:16 cstamas :)
11:16 cstamas but this is a mojo thing
11:17 moritz as I said, 'data' is a terrible name :-)
11:17 cstamas as it works the same with ep
11:17 cstamas :))
11:17 cstamas thx
11:17 moritz you're welcome
11:18 cstamas (I would clean up the name later it was just a prototype)
11:18 moritz today I registered a domain for my mojolicious learning project
11:18 cstamas url?
11:18 moritz quelology.org (nothing up there yet)
11:18 moritz it's about identifying sequels and prequels of books
11:19 cstamas Modern Perl comes to my mind
11:19 moritz not yet sure where to host it
11:19 cstamas some cheap vps?
11:20 moritz maybe
11:20 moritz I have a server that I share with some friends, which would work; but the admin is getting harder to contact each year
11:23 charsbar__ left #mojo
11:24 stephan48 moritz: data makes some thing in mojo internals output the content of stash key data
11:24 stephan48 ists same like with text
11:26 charsbar__ joined #mojo
11:27 stephan48 its*
11:28 moritz "it's" actually :-)
11:29 Foxcool left #mojo
11:30 stephan48 :)
11:30 cstamas lol
11:30 stephan48 i dont care about these '... :)
11:30 spleenjack left #mojo
11:31 spleenjack joined #mojo
11:32 charsbar__ left #mojo
11:33 charsbar__ joined #mojo
11:35 sri good morning sunshines
11:35 stephan48 hi sri
11:39 Foxcool joined #mojo
12:02 Kulag joined #mojo
12:03 koban1 left #mojo
12:03 koban1 joined #mojo
12:09 koban1 left #mojo
12:09 koban1 joined #mojo
12:27 koban1 left #mojo
12:27 koban1 joined #mojo
12:44 perlrocks Twitter: "Cute. Some comments but called> Mojolicious Web Framework - Join the Perl revolution! Http://bit.ly/hjWcNT" (ja) --tenkao http://twitter.com/tenkao/status/42565848002596864
12:49 breaker313_ joined #mojo
12:52 Kulag left #mojo
12:52 Kulag joined #mojo
12:54 breaker313 left #mojo
12:54 Foxcool left #mojo
13:05 Foxcool joined #mojo
13:18 marcus sri: good morning sunshines, no homo.
13:37 tempire left #mojo
13:38 tempire joined #mojo
13:50 Foxcool left #mojo
13:55 koban1 left #mojo
13:55 koban1 joined #mojo
14:02 Foxcool joined #mojo
14:04 hoelzro is now known as hoelzro|home
14:07 kaare left #mojo
14:13 marty joined #mojo
14:18 Kulag left #mojo
14:18 Kulag joined #mojo
14:19 marcus WELCOME TO THE REVOLUTION! DANCE! DANCE!
14:19 moritz hey, we're not in #dancer here
14:26 marcus we're not in #revolution either
14:39 Foxcool left #mojo
14:50 Foxcool joined #mojo
14:57 fish_ it would be very nice to embedd bootylicious into another mojolicious project. both are mojolicious::lite aps. i tried to add a root in my app and using detour for setting the route to bootylicious. but it looks like i need to set it to the package which contains the controller
14:59 fish_ to give it a try, i just renamed bootylicious to Bootylicious.pm - because the routes are getting defined there. but (no wonder) it doesn't really work
15:00 fish_ maybe there is a larger example than http://search.cpan.org/~kraih/Mojol​icious-1.11/lib/Mojolicious/Guides/​Routing.pod#Embedding_Applications
15:04 kaare joined #mojo
15:11 Foxcool left #mojo
15:15 marcus bootylicious is in a very dark place atm
15:15 marcus >p
15:23 fish_ yeah.. :-/
15:23 fish_ but thanks to memowe it at least 'works' somehow
15:27 fish_ cool
15:28 fish_ that was easy
15:28 fish_ just added a missing package definition to bootylicious
15:37 sri great, someone apparently has "perl 5" protected in germany
15:37 sri i'll have to close the shop soon
15:38 marcus purl: jerk it!
15:38 purl marcus: I'M HOPING FOR THE SLASHDOT EFFECT ON MY MOUTH, FACE
15:39 marcus sri: who does?
15:39 sri don't know
15:39 sri spreadshirt contacted me and was very unspecific about it
15:40 sri "perl 5" did not pass their legal check
15:40 marcus weird
15:40 marcus and stupid
15:43 tpr joined #mojo
15:43 tpr left #mojo
15:44 tholen joined #mojo
15:44 * mateu notices a lot of perl5 domains available
15:45 mateu how about perl5.me  :)
15:45 jwang mmm
15:45 jwang that is weird
15:46 AmeliePoulain left #mojo
15:47 jwang that P6 raptor chromatic made looks scary
15:48 jwang http://www.modernperlbooks.com/mt/2011/02/roc​k-paper-scissors-butterfly-velociraptor.html
15:49 breaker313_ left #mojo
15:49 yakudzo left #mojo
15:52 fish_ is it normal that Mojo::Loader->new returns a Mojolicious::Lite reference when called from a Mojolicious::Lite app?
15:55 sri perl -Mojo -e 'print Mojo::Loader->new'
15:55 sri no
15:57 fish_ sri: well, i have embedded bootylicious by putting it into a packages (Bootylicious) and setting up a route with detour. bootylicious loads a plugin 'model' in which it adds helpers, in that helper it instanciates a class which is based on another class
15:58 fish_ in that other class it does a: Mojo::Loader->new->load($self->element_class); which ends in Can't locate object method "load" via "Mojolicious::Lite"
15:59 fish_ i've checkt it with a simple 'warn Mojo::Loader->new' and it really is a Mojolicious::Lite object..
15:59 koban1 left #mojo
15:59 sri i wouldn't touch bootylicious anymore
16:00 marcus I want to write a mongodb based blog
16:00 marcus once sri finishes his driver and stuff.
16:01 fish_ and i just want a blog
16:01 fish_ and bootylicious looked promising, but lately i don't really know what i should think of it
16:02 tempire left #mojo
16:02 magnus left #mojo
16:03 fish_ but atm bootylicious is the only 'read to use' blogging project for mojo, right?
16:03 magnus joined #mojo
16:03 Kulag left #mojo
16:03 tempire joined #mojo
16:04 magnus left #mojo
16:04 tempire left #mojo
16:05 tempire joined #mojo
16:05 tempire sri: can you not move the distribution to another country?
16:06 tempire or have someone else in the channel 'own' the store
16:06 mateu marcus: you want to collaborate?  ;)
16:06 Kulag joined #mojo
16:07 marcus mateu: no, I want to rule!
16:07 marcus ;)
16:07 mateu hahaha
16:08 sri tempire: if some jackass has a european trademark on "perl 5" i'm screwed anyway
16:08 tempire so you need a company that is outside the eu, but still ships there.
16:08 sri pretty much
16:09 Christian cu you all
16:09 tempire pardon my european ignorance, but isn't england not part of the eu?
16:09 tempire since they don't use the euro
16:10 marcus not part of schengen
16:10 Christian left #mojo
16:10 marcus they are part of the eu
16:12 moritz right, we have different levels of europeism
16:13 moritz there's the european union
16:13 moritz then there's the currency union ("Euro land")
16:13 moritz and the Schengen area where you don't need a passport for traveling
16:19 crab is oauth worth learning about?
16:21 fish_ can i somehow use a controller from AppB (via detour) but render it with my renderer of AppA?
16:24 tempire well.
16:24 tempire no perl for euroland, then.
16:24 tempire USA! USA!
16:25 tempire I can smuggle them in.
16:25 * tempire abuses his law enforcement title
16:29 crab i guess not.
16:36 tempire crab: oauth2 is worth learning about
16:39 otaviof left #mojo
16:46 torbjorn left #mojo
16:47 stephan48 to use mojo... i would basically only need to throw it into my apps dir or?(and add a use lib)
16:49 stephan48 and is there maybe a way to query the ssl cert the server uses from the client?
16:56 crab tempire: do you use it?
16:59 yakudzo joined #mojo
16:59 elb0w man was totally planning on making this http://c9.io/
17:03 su-bzero_ left #mojo
17:06 yakudzo left #mojo
17:12 minimalist joined #mojo
17:32 garu http://i.imgur.com/sPhrF.png
17:34 hoelzro joined #mojo
17:34 yakudzo joined #mojo
17:34 elb0w LOL http://i.imgur.com/x8Nrj.jpg
17:40 sri garu: haha, i love that 500 image
17:41 garu :)
17:43 tempire crab: I haven't had the time yet.  marcus has, though.
17:49 xris joined #mojo
17:52 GitHub110 joined #mojo
17:52 GitHub110 mojo: master Sebastian Riedel * 18f34bb (1 files in 1 dirs): removed link - http://bit.ly/i1SzKv
17:52 GitHub110 left #mojo
17:55 sri closing it now
18:06 sri and back to mongodb hacking :)
18:14 crab what sort of mongodb hacking?
18:15 sri a new client
18:15 purl i heard a new client was worth between $5k and $50k.
18:15 sri pure perl
18:15 purl pure perl is GOOD or nice. or sometimes too slow
18:16 * sri pats perl
18:16 sri oh
18:16 * sri pats purl
18:16 * purl stabs
18:16 * sri dodges purl
18:16 crab sri: ah, asynchronous i assume. nice.
18:17 sri yea
18:17 crab i should try and install mongodb one of these days and see how it works.
18:17 stephan48 any idea for my above problem with fetching servers ssl cert?(would be cool if i could use mojo::client for that)
18:19 sri stephan48: umm, you most likey just want raw IO::Socket::SSL
18:22 polvo joined #mojo
18:23 stephan48 mh and maybe Net::Proxy, because i need to go over a proxy while checking remotes ssl cert(for a check if proxy does MITM for ssl requests)
18:30 marcus crab: it's quite easy to install
18:34 stephen joined #mojo
18:40 sri actually you don't even need to install it
18:40 sri https://mongohq.com # 16mb are free
18:40 elb0w if my controller is in a custom location whats the default for the template?
18:41 elb0w I tried making the same structure
18:41 sri templates/$controller/$action or templates/$name
18:42 sri it is all in the guides
18:42 elb0w ok but if my controller is app::util::geo
18:42 elb0w I made util/geo
18:42 elb0w under templates
18:43 sri the class doesn't matter
18:43 sri just the stash values
18:43 elb0w well I mean so it can find it
18:43 elb0w which guide are you referring too? Im looking, dont see it
18:44 sri routing and rendering
18:44 elb0w got it
18:45 elb0w thanks
18:47 crab Mojolicious::Guides::Marauding
18:52 crab hm.
18:53 crab i was just going to make some inane comment about wanting some candy too if you were going to be handing it out.
18:53 crab and then i realise that i have some candy already. heh.
18:59 * sri wants candy
18:59 elb0w http://dev.elbowrage.com/i/whereami http://dev.elbowrage.com/i/whereis/8.8.8.8
18:59 elb0w :o
19:00 sri neat, will you put it on github as an example?
19:00 elb0w which
19:01 elb0w the whole app?
19:01 purl the whole app is running in the parent
19:01 elb0w im confused
19:01 purl im confused are you saying i dont have a clue? about what?
19:01 elb0w thats cute
19:01 elb0w lol
19:01 elb0w im confused
19:01 purl im confused are you saying i dont have a clue? about what?
19:01 elb0w purl++
19:01 sri purl: forget the whole app
19:01 purl sri: I forgot whole app
19:02 elb0w sri, you were speaking to me?
19:02 sri yes
19:03 elb0w ok, I will have to swap the geo location to use a perl module. Im currently using a com source
19:03 elb0w would be just as good
19:03 sri indeed
19:05 elb0w So what do you want a tut?
19:05 kaare_ joined #mojo
19:05 sri ideally :)
19:06 sri geo apps are a hot topic, so i would also be happy with a new fun example app on github
19:07 elb0w sure, little hard to do at work right now. Ill write something up when I get home
19:07 kaare left #mojo
19:12 fhelmber_ left #mojo
19:24 spleenjack left #mojo
19:57 minimalist Best open source geo location database: http://www.ipinfodb.com/index.php
19:59 elb0w except im in new york city
19:59 elb0w and it says im in washington
19:59 minimalist what's your IP?
19:59 elb0w 38.112.182.36
20:00 elb0w http://dev.elbowrage.com/gui/whereis/38.112.182.36
20:00 elb0w much closer
20:01 minimalist which geo service do you use?
20:01 elb0w its a commercial one
20:01 minimalist maxmind?
20:02 elb0w they actually have bad security and im using a back door
20:02 elb0w "strictly testing purposes"
20:02 elb0w :o
20:03 elb0w its actually
20:03 elb0w theres a malware that goes around
20:03 elb0w and creates a geo-location
20:03 elb0w and reports back to this db
20:03 minimalist wow
20:04 elb0w ya its pretty lame
20:04 elb0w but a good find on my end haha
20:04 minimalist that's a little too blackhat to be used in a real production
20:04 elb0w yeah
20:04 elb0w Its merely personal use
20:04 minimalist it shows my location to the street
20:05 elb0w it id?
20:05 perlrocks Twitter: "I <3 Mojolicious" --mikegrb http://twitter.com/mikegrb​/status/42676876497534976
20:05 elb0w did*
20:05 elb0w http://dev.elbowrage.com/util/whereami
20:06 minimalist yes, it shows the correct zip and the marker is on my street in north hollywood.
20:06 elb0w lol
20:07 elb0w better install malware bytes
20:08 elb0w whats scary is you can turn lat/long to a street address using google
20:08 elb0w so technically if you can ever 100% map an ip to an adress you can reverse looking a ton of information
20:08 minimalist malware can kiss my ass
20:08 minimalist arch linux
20:08 purl i think arch linux is not as cool as demi linux.
20:08 elb0w demi linux
20:09 elb0w !
20:09 elb0w im confused
20:09 purl im confused are you saying i dont have a clue? about what?
20:14 kaare_ is now known as kaare
20:25 minimalist left #mojo
20:28 spleenjack joined #mojo
20:43 perlrocks Twitter: "@kraih which would you recommend for mojolicious for max performance and scalability - hypnotoad, nginx or apache?" --f055 http://twitter.com/f055/status/42686499883462656
20:51 tholen left #mojo
21:23 minimalist joined #mojo
21:27 sri listmods
21:27 sri ops
21:54 mmmpork i have a question about xml posts
21:54 mmmpork i'm attempting to post xml data to a route and it's not getting picked up by body_params
21:55 mmmpork i saw the google groups thread about using a client to perform a get request on a url that returns xml, but i'm actually trying to post to mojo
21:56 sri that's basic http
21:56 sri why would you send xml urlencoded?
21:57 mmmpork it's not me, it's a service that requires a postback url to send their xml
21:57 mmmpork i mean i know how to access content using LWP but i'm not sure how to do that in mojolicious
21:58 sri you said body_params
21:58 sri that's parsed formdata content
21:58 mmmpork ah right, sorry for the confusion
21:58 sri $self->req->body is the raw body
22:00 mmmpork ah ok
22:00 mmmpork i guess that's what i was asking :)
22:00 mmmpork been using mojolicious for about a week now and still figuring things out :)
22:00 sri :)
22:01 mmmpork i was trying "content" instead of body
22:03 mmmpork btw i'm loving mojolicious. i tried to get into catalyst but felt it was so much overhead.
22:03 mmmpork barely knowing the framework i've been able to pound out 2 different prototypes for 2 different applications.
22:03 moritz is there some magic by which I can make the first argument to link_to HTML-escape?
22:04 mmmpork and everytime i get stuck it's because i'm expecting a more complicated answer hehe
22:04 moritz I can see the reason for it not being HTML-escaped, but I just created an XSS hole that way :(
22:13 sri hmm
22:22 GitHub73 joined #mojo
22:22 GitHub73 mojo: master Sebastian Riedel * f6801ef (3 files in 3 dirs): fixed XSS issue in link_to helper - http://bit.ly/hoMnXb
22:22 GitHub73 left #mojo
22:22 sri moritz: fixed
22:23 sri there was no reason, if someone wants to embed tags they should use the block syntax
22:26 elb0w mmmpork, did you try hypnotoad yet
22:26 elb0w its amazing
22:27 mmmpork yeah i've played around with it a little, i'm still deciding :)
22:46 tempire left #mojo
22:51 kaare left #mojo
23:00 tempire joined #mojo
23:00 tempire ALL GLORY TO THE HYPNOTOAD!!!!
23:00 tempire left #mojo
23:30 hoelzro left #mojo

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