Camelia, the Perl 6 bug

IRC log for #mojo, 2012-03-07

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

All times shown according to UTC.

Time Nick Message
00:06 t4nk658 I suppose actually I'm asking how to access an HTML element's tag with User Agent.
00:08 vervain I think you may want to look at Mojo::Dom attrs... and figure out how to access that from the ua...but I could be mistaken
00:09 t4nk658 vervain: I'll take a look, thanks :)
00:21 ispy_ joined #mojo
00:22 t4nk658 vervain: that was it! There's an "attrs" function. Many thanks!
00:33 vervain np.. happy rainbows. :-)
00:39 GitHub163 joined #mojo
00:39 GitHub163 [mojo] kraih pushed 1 new commit to master: http://git.io/zgMi8g
00:39 GitHub163 [mojo/master] fixed bug in Hypnotoad that prevented disabling of reverse proxy support between zero downtime software upgrades - Sebastian Riedel
00:39 GitHub163 left #mojo
00:46 kitt_vl joined #mojo
01:03 hshong joined #mojo
01:13 mojocasts joined #mojo
01:14 tempire someone with ie
01:14 tempire can you verify that moi.tempi.re redirects you properly, and works ok
01:15 scott joined #mojo
01:16 vervain IE8, Error: http://pastie.org/3537856
01:17 tempire you shouldn't even get there.  can you make sure it's not cached?
01:18 tempire bugger
01:18 vervain I'll clear cache... but this is the first time I'm visited your new toy in any case... esp with IE8 since I haven't launched it in about 2 months :-)
01:19 tempire ah
01:19 tempire git pull fail
01:19 mojocasts joined #mojo
01:21 mojocasts joined #mojo
01:21 tempire ok, try again
01:22 vervain Hehe... I may have been too quick... and I'll try again... but I got an 'oh noes! Your browser isn't awesome enough for this app.'
01:23 vervain Nope... what was once a redirect to login is now a redirect to 'oh noes'
01:23 tempire yeah, that's right.
01:24 vervain Ah... well in that case... well done...
01:24 vervain :-)
01:24 vervain Try anyway takes you to the login.
01:25 vervain noreally=itsok :)
01:28 stephen joined #mojo
01:28 nuba joined #mojo
01:28 preflex joined #mojo
01:28 rwstauner joined #mojo
01:28 brambles joined #mojo
01:28 sri joined #mojo
01:28 plu joined #mojo
01:28 bobkare joined #mojo
01:28 cosimo joined #mojo
01:28 mattp joined #mojo
01:28 tempire joined #mojo
01:28 burk joined #mojo
01:28 zpmorgan joined #mojo
01:28 athenot joined #mojo
01:28 predgtr1 joined #mojo
01:28 fhelmber_ joined #mojo
01:28 Netfeed joined #mojo
01:28 memowe joined #mojo
01:28 gabiruh joined #mojo
01:28 jegade joined #mojo
01:28 sherr_ joined #mojo
01:28 maluco joined #mojo
01:28 pooka joined #mojo
01:28 robinsmidsrod joined #mojo
01:28 mikegrb_ joined #mojo
01:28 diegok joined #mojo
01:28 hernan joined #mojo
01:28 atrodo joined #mojo
01:28 DaTa joined #mojo
01:28 charsbar_ joined #mojo
01:28 ruz joined #mojo
01:28 ereslibre joined #mojo
01:28 tinx joined #mojo
01:28 cxreg joined #mojo
01:35 hshong joined #mojo
01:35 d4rkie joined #mojo
01:35 jwang joined #mojo
01:35 xaka joined #mojo
01:35 batman joined #mojo
01:35 rhaen joined #mojo
01:35 sven^ joined #mojo
01:35 hide joined #mojo
01:35 cstamas joined #mojo
01:35 chansen joined #mojo
01:35 rafl joined #mojo
01:35 xxtjaxx joined #mojo
01:35 geira joined #mojo
01:35 junkpiano joined #mojo
01:50 jwang joined #mojo
02:01 d4rkie joined #mojo
02:38 xaka joined #mojo
02:54 preflex_ joined #mojo
03:22 newbie joined #mojo
03:26 jnap joined #mojo
03:35 jamadam joined #mojo
04:31 CromeDome joined #mojo
05:01 mojocasts joined #mojo
05:22 Foxcool joined #mojo
05:33 kitt_vl joined #mojo
06:03 mojocasts joined #mojo
06:08 mojocasts joined #mojo
06:10 mojocasts joined #mojo
06:29 mojocasts joined #mojo
06:39 rwstauner joined #mojo
06:53 cosmincx joined #mojo
07:19 preflex_ joined #mojo
07:35 pfig joined #mojo
07:42 random joined #mojo
08:05 spleenjack joined #mojo
08:20 batman joined #mojo
09:06 hshong joined #mojo
09:19 kjeldahl joined #mojo
09:21 hshong joined #mojo
09:22 edestler joined #mojo
09:30 kraih joined #mojo
09:30 kraih \o/
09:38 baton8 joined #mojo
10:07 GitHub41 joined #mojo
10:07 GitHub41 [mojo] kraih pushed 1 new commit to master: http://git.io/ubl3qA
10:07 GitHub41 [mojo/master] removed a few obsolete tests - Sebastian Riedel
10:07 GitHub41 left #mojo
10:13 spleenjack joined #mojo
10:52 jamesw joined #mojo
11:01 spleenjack joined #mojo
11:12 nordmarcus joined #mojo
11:12 nordmarcus I'm a little teapot
11:20 pfig joined #mojo
11:39 Foxcool joined #mojo
11:40 kanishka joined #mojo
11:40 kanishka can we run mojolicious over AWS ..
11:43 kanishka i was willing to build a website build over mojo ... and to deploy in amazon
11:49 marcus kanishka: yes, that should be fine
11:49 marcus kanishka: ec2 lets you run just about anything.
11:49 kanishka does ec2 comes with mojo pre installed or we have to install it
11:50 kanishka marcus: could reffer me a project with auth and cookie made over mojo
11:51 marcus kanishka: no, but http://phiary.com/ runs on catalyst.
11:51 marcus (and ec2)
11:52 marcus ec2 is just virtualization software, it gives you a linux image where you can set up your app.
11:52 marcus afaik, there's no image made with mojolicious preinstalled, but it would be trivial to do so.
11:52 kanishka that's cool . i never used amazon ec2
11:53 kanishka marcus: thanks for info
12:01 kanishka left #mojo
12:40 Foxcool joined #mojo
12:41 olegwant joined #mojo
12:44 abra joined #mojo
13:15 ispy_ joined #mojo
13:24 * sri yawns
13:24 kanishka joined #mojo
13:25 * marcus stabs sri with a donut
13:25 marcus surprise attack!
13:25 purl hmmm... surprise attack is vorsprung's only weapon!!!
13:26 sri \o/
13:26 sri *munch*
13:27 kanishka left #mojo
13:33 jnap joined #mojo
13:39 marcus ¬_¬
13:46 CromeDome joined #mojo
14:28 inokenty joined #mojo
14:32 avvkward joined #mojo
14:33 avvkward Mojo rocks!
14:38 sri purl: mojo rocks is <reply> $who: you rock!
14:38 purl :)
14:38 * sri scratches head
14:38 Netfeed mojo rocks!
14:38 Netfeed awh
14:38 * sri shakes purl
14:38 * purl shakes xantus
14:39 sri no purl, mojo rocks is <reply> $who rocks!
14:39 sri :S
14:39 sri purl: no, mojo rocks is <reply> $who rocks!
14:39 purl i already had it that way, sri.
14:39 sri mojo rocks!
14:39 purl sri rocks!
14:39 sri \o/
14:39 Netfeed i have bad bot-fu
14:40 marcus fubot
14:41 sri purl: no, mojolicious rocks is <reply> $who rocks!
14:41 purl OK, sri.
14:52 black joined #mojo
14:56 * sri has been thinking a bit about the non-blocking dns problem
14:57 sri we could also try an external process pool for making blocking lookups look non-blocking
14:58 Netfeed how does the the async requests work from the client side? is the client connected to the server until it gets a response like when there's a sync requests?
15:05 crab depends if it's tcp or udp
15:09 stephan48 http://pastebin.com/N3K2MXje <- the first two lines output the latter two log lines(request is a post request from IE9). am i rigth to believe that normally i should see the param "Last-Event-ID" in req->params?
15:16 cybersiddhu joined #mojo
15:17 Netfeed crab: how would you get the response if you're not connected to the server then?
15:20 sri udp is connectionless
15:21 sri basically both peers are servers in udp
15:21 stephan48 any idea to my problem?
15:31 Netfeed ok, but lets asume that we only work on tcp then :)
15:31 Netfeed assume*
15:32 crab if you want to make unfounded assumptions, you could assume all sorts of things
15:32 koorchik joined #mojo
15:33 sri Netfeed: i think you should read the network programming with perl book
15:33 sri it's one of my favorites
15:33 sri http://www.amazon.com/Network-Programming​-Perl-Lincoln-Stein/dp/0201615711/ref=sr_​1_1?ie=UTF8&amp;qid=1331134408&amp;sr=8-1
15:33 Netfeed maybe, i'm trying to grasp the async stuff and i think i'm almost there
15:33 sri no book has inspired me more over the years
15:34 sri i would kill for a good pdf version
15:34 Netfeed or epub
15:34 Netfeed i think i will take a look at it, thanks
15:35 * sri pats his dead tree edition
15:35 sri could also use some ipv6 updates
15:40 marcus wow, 2001
15:41 Netfeed that's like 2010 by perl standard :P
15:41 sri and it's still the best documentation for IO::Poll :)
15:41 Netfeed unless you count mojolicous ofc, then it's still 2001 :)
15:59 mercutioviz joined #mojo
16:24 xaka joined #mojo
16:33 kaare joined #mojo
16:40 berov joined #mojo
16:48 vervain morbo + mojo app + deep recursion = hard to kill. :)
16:51 berov left #mojo
16:52 berov joined #mojo
16:55 berov hi all
16:57 berov I was wandering is(or will) there be some Roadmap for Mojolicious?
16:57 sri there is in the form of Future tickets on github
16:58 sri it's not a definitive roadmap though, just some things that might happen if there's enough interest
16:58 berov ah thanks will look there
16:59 berov Thanks for Mojolicious::Plugin::Mount By tthe way :)
16:59 sri yw :)
17:00 berov I was asking about the roadmap
17:00 berov because i keep seeing things that emerge in Mojo
17:01 Patterner joined #mojo
17:01 berov and it happens that I tried to implement
17:01 vervain Speaking of plugins...
17:01 sri most are not planned and just happen when a need arises
17:01 vervain other than the ones in the distro... is there any notion of 'approved' plugins?
17:01 berov this is good since I will not need to implement and support my own code
17:02 vervain approved may be the wrong word... but know to the core developers to be decent?
17:03 sri one example for something that might just happen is an asset pipeline, but the need and possible implementations are not clear yet
17:04 sri maybe just parts of it... like hooks for precompiling and caching stuff on startup
17:05 sri multiple template and public paths have already been a step in that direction
17:05 berov thanks for the multiple template paths too
17:06 berov this was something that I needed too
17:06 batman joined #mojo
17:06 sri if anyone here has ideas for more ambitious long term goals you're welcome to open tickets btw.
17:07 random Integrate authentication and authorization ;-)
17:07 atrodo sri> a pony
17:07 berov it is maybe part of another project … but a Drupalish kind of framework
17:08 * sri agrees about the pony
17:08 berov I have been buzzy with other things
17:08 sri raptor and pony might not get along though
17:08 berov that is why I was looking for a roadmap
17:08 vervain They will from the raptor's point of view.
17:08 berov to know how much I need to do
17:09 sri random: i'm looking forward to your proposal ;p
17:09 berov random: this I think should be left for the specific applications
17:10 berov there are so many ways for Authentication and authorisation
17:10 sri but yea, there is no established standard yet, chances are very very small to get something approved for core
17:11 berov A form validation mechanism (IMO) is missing
17:12 sri and when i say established standard i mean a reasonable default most can agree on, like signed cookie sessions
17:13 berov I use in MYDLjE your cookie session to keep my Session id
17:13 sri there were many ways to do sessions, but signed cookies was to agree on
17:13 sri easy
17:13 berov and handle more data on the server site in dtatabase
17:13 sri there is no standard for form validation yet either
17:14 berov coookie session is just enough
17:14 sri just try to get all core devs to agree on one form validation mechanism :)
17:15 kanishka1 joined #mojo
17:15 sri in fact i bet you won't even get agreement on where form validation should happen... controller or model ;)
17:15 berov I was lookin at...
17:15 berov haha ok
17:16 berov Validation::Class and ..
17:18 berov something with Tiny in the name
17:18 berov any way
17:19 berov something that accepts $req->params
17:20 berov I also like the CGI::Ex::Validate  way
17:20 berov or Params::Check .. as API
17:21 berov the validation should happen in Controller
17:21 berov because
17:21 berov the model will have hes own validation layer or no validation at all(depends)
17:24 berov some frameworks build whole FORM building frameworks but I think this is too much
17:24 berov and is Application specific
17:25 berov but any app needs form validation
17:25 xaka joined #mojo
17:27 vervain for me: validated client side before sent to server... validated right before persistence layer... validated in persistence layer.
17:28 vervain for me: validated client side before sent to server... validated right before persistence layer... validated in persistence layer.
17:29 vervain Whoa... what happened there... sorry about that.
17:30 berov we could count on HTML5 to do some of the job yes
17:30 vervain ... I use javascript.
17:30 berov anyway serverside validation is always needed
17:30 vervain HTML5 adds some bonus
17:30 berov ye
17:31 vervain You are correct... but it's conceivable that non of the server side validation would need to have anything to do with the Mojo part of the app.
17:32 berov not sure I understand "server side validation would need to have anything to do with the Mojo..."
17:32 crab i think a raptor would like a pony just fine
17:33 berov A rubber duck will also do the job ;)
17:33 vervain The validation could be in modules that the app consumes rather than provides... e.g. nothing extended from Mojo modules.
17:35 sri wait a minute
17:35 vervain Oh... in my earlier statement s/would/wouldn't/ :-)
17:35 sri we have a pony
17:36 * sri points at http://mojolicio.us
17:39 berov vervain: may be my English is bad, but you say that Mojo should not provide Form validation Functionality? right? or?
17:41 berov BTW, sri: I was dreaming about something like Mojo::DOMTemplate :)
17:42 berov dom->replace is so suitable
17:42 sri berov: you're not the first ;)
17:42 berov that Ifeel tempted
17:42 sri but it's too slow
17:42 berov to write server-side tags
17:42 berov ah aok
17:43 vervain berov: I was just adding to sri's point that it's a difficult one to justify/nail down.
17:43 sri and i don't just mean the implementation, the whole concept will always be slow
17:45 berov agh… ok…will think about it (hose things) …. ah I have to leave now, bye
17:45 berov left #mojo
17:45 sri while you could cache the parsed DOM, you always have to traverse the whole tree to rebuild the html
18:02 * sheriff_ dubs the channel as an apple fanboi haven for the next 60 minutes
18:04 sri \o/
18:05 stephan48 tempire: i think i got along with Net::Twitter::lite so far :)
18:07 tempire the way it hides the retrieval of tokens confused the boogles out of  me
18:07 * vervain chucks tempire some new boogles
18:08 tempire it was yet another time where I realized how much I dislike lwp
18:10 stephan48 i am currently messing with the retrieving of timeline
18:30 athenot joined #mojo
18:43 * marty is still wondering if it is possible to define global template blocks that can be called from included templates.
18:50 tempire marty: are you using my?
18:51 marty tempire:  Yes.  But if I try to define a template block without using my I get an error.
18:51 tempire try local
18:54 marty didn't work.   I get the same error... 'requires explicit package name.....'
18:55 sri marty: doesn't work that way
18:55 sri you could pass it along through the stash, but i wouldn't recommend it
18:56 sri prolly results in bad error messages if stuff goes wrong
18:56 sri better use helpers or make it another partial template that can be included
18:57 marty Ah okay.  Thank you.
18:59 jnap_ joined #mojo
19:02 jnap_ joined #mojo
19:10 jnap_ joined #mojo
19:17 lammel2 joined #mojo
19:25 marcus I am so getting an iPad3
19:25 vel joined #mojo
19:27 * sri will pass again
19:34 tempire pass it on to me
19:35 kanishka1 i am planning to build a site dynamic website (Online exam's) which is  build over perl (mojo) and a database ... which services are needed to build this site in amazon cloud service or other alternative I could use
19:42 * sri passes it on to tempire
19:51 marcus don't bogart that ipad?
19:58 * tempire sheriff
19:58 tempire er
19:58 sheriff_ returns the channel to a free-for-all zone
19:59 * marcus shoots the sheriff
19:59 * marcus proceeds to shoot the deputy.
20:00 * tempire deputizes marcus with his last breath
20:00 marcus I lied, I shot the sherrif, but I didn't shoot the deputy.
20:00 tempire http://conditioningresearch.blogspot.c​om/2011/05/sitting-is-killing-you.html
20:07 * sri has a standing desk
20:07 * sri wins
20:18 marcus sri will live forever!
20:19 marcus sri: why do a robot need a desk, anyways_
20:19 sri \o/
20:19 sri because apple
20:19 purl well, because apple is still training customer support.
20:31 marcus ooh, you answer the apple call center on your spare time? That explains soo much!
20:47 tempire I tried a standing desk for a bit
20:47 tempire I had a strange feeling in my knees, so I went back to sitting.
20:48 tempire also, the galant ikea desk only goes so high
20:49 lukep joined #mojo
21:17 batman joined #mojo
21:28 GitHub4 joined #mojo
21:28 GitHub4 [mojo] kraih pushed 1 new commit to master: http://git.io/BUdgqA
21:28 GitHub4 [mojo/master] fixed typo in example - Sebastian Riedel
21:28 GitHub4 left #mojo
21:57 skylos joined #mojo
23:16 preflex_ joined #mojo

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