Camelia, the Perl 6 bug

IRC log for #mojo, 2011-12-23

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

All times shown according to UTC.

Time Nick Message
00:09 mercutioviz joined #mojo
00:11 mattastrophe joined #mojo
00:26 marcus sri: the riak book seems to expect me to use node.js.
00:45 ccushing is there documentation on using http auth somewhere? as opposed to form auth
00:46 marcus ccushing: I believe there's a plugin in cpan, but it's trivial to implement yourself.
01:03 ccushing I wonder if Digest auth works in such a way that I can round robin http servers
01:09 lammel2 joined #mojo
02:07 crab hi.
02:45 GitHub16 joined #mojo
02:45 GitHub16 [mojo] amenonsen pushed 2 new commits to json-pointer: http://git.io/bVH1zQ
02:45 GitHub16 [mojo/json-pointer] Simple implementations of Pointer::get and ::exists (untested) - Abhijit Menon-Sen
02:45 GitHub16 [mojo/json-pointer] Some rudimentary JSON Pointer tests - Abhijit Menon-Sen
02:45 GitHub16 left #mojo
02:52 crab there, are you HAPPY NOW?
02:52 crab ;-)
03:04 rsimoes1 Anyone having trouble with t/mojo/app.t in Mojolicious 2.39?
03:04 rsimoes1 I'm seeing it stall at 1/44 on centos 5 server
03:05 rsimoes1 Oh, nevermind; restrictive firewall causing a connection to never time out
03:19 xaka joined #mojo
03:36 Psyche^ joined #mojo
04:26 elb0w_ joined #mojo
04:26 elb0w_ I have a theory. I think that if you wear a hat in your github photo you get twice the followers
04:27 elb0w_ I've been randomly following peoples followers to look at random code
04:27 elb0w_ and so far, hats produce more followers
04:27 elb0w_ so the correlation is either hat with smart or hat with follower
04:41 cfedde I have a theory. It's a theory about dinosaurs. my theory is that dinasaurs are small at one end, get much bigger in the middle and then get smaller again at the other end.
05:22 crab where is your evidence?
05:22 crab small-big-small sounds suspiciously like a hat, come to think of it.
05:22 crab are dinosaurs hats? do dinosaurs have github accounts?
05:32 xaka joined #mojo
05:43 mercutioviz joined #mojo
05:43 MojoGuest595 joined #mojo
05:43 MojoGuest595 From: http://www.google.com/url?sa=t&rct=j&amp​;q=irc%20websocket&source=web&cd=3&a​mp;ved=0CC0QFjAC&url=http%3A%2F%2Fdev.xa​ntus.org%2F&ei=ChX0TpipJKmdiQK4n8GPDQ&am​p;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg (1 hits)
06:10 osprey left #mojo
06:11 osprey joined #mojo
06:20 xaka joined #mojo
06:39 mire_ joined #mojo
06:53 spleenjack joined #mojo
07:03 koban joined #mojo
07:04 Vandal joined #mojo
07:18 mattastrophe joined #mojo
07:21 sugar joined #mojo
07:28 sri good morning
07:28 purl For you maybe.
07:31 sri crab: looks good, when you're back i'll have it merged into core
07:44 Vandal is there are any tools to read config files?
07:45 crab sri: thanks. what more do you want to see in it?
07:46 crab vandal: what do you mean?
07:48 Vandal crab, what is you don't unerstand?
07:49 crab "cat" is a tool that can read config files.
07:49 Vandal :)
07:49 Vandal ok, read and parse
07:51 crab Mojolicious::Plugin::Config?
07:53 Vandal damn, how did I missed that :(
07:54 Vandal thanks
07:56 Vandal crab, where can I find format of files for that?
07:56 Vandal crab, oh I see
07:57 Vandal I'm sorry
07:57 crab the format of the default mojolicious config plugin is a perl hashref. you can put whatever keys and values in it that you want.
07:57 Vandal and variables?
07:57 purl i heard variables was a pretty common concept
08:00 crab anything you can access through app-> is fair game
08:01 Vandal thanks
08:08 sri crab: i just want to make it use less code, that's easy now though :)
08:09 sri crab: why use utf8?
08:09 crab sri: the quote contains …
08:09 sri heh
08:10 sri gonna put json pointer tests in a separate file too
08:14 sri crab++
08:15 Vandal hm, so basicaly Mojolicious::Plugin::Config is just "$conf = do myapp.conf"?
08:18 crab yes.
08:18 crab look at some of the other config plugins if you want json, or ini, or whatever.
08:33 sri crab: why do you return undef instead of just return?
08:34 crab no reason.
08:34 sri ah, ok
08:34 crab just being explicit about false vs. undef in this case, feel free to change.
09:01 berov joined #mojo
09:27 marcus_ joined #mojo
09:28 crab hi marcus.
09:28 purl hi marcus. are you just playing with dotcloud, or did you sign up for paid hosting?
09:39 abra__ joined #mojo
10:33 sri crab: what do you think about ->contains instead of ->exists?
10:33 sri since we use contains at multiple other places already
11:27 tempire return; is generally better than return undef, 'cause you can treat the returned value as a scalar or a list, depending on context
11:28 tempire whereas return undef is only a scalar
11:35 ispeak joined #mojo
11:45 crab sri: ->contains is fine
11:45 crab maybe even better to read
11:46 j3nnn1 joined #mojo
11:47 sri almost merged, just adding unicode support
12:03 sri also made this work :)
12:03 sri perl -Ilib -Mojo -E'a("/" => {json => {foo => bar}})->start' get / '/foo'
12:04 sri it actually reencodes after extracting the data with the pointer
12:06 sri what's a good public facing json example i could use?
12:11 sri suppose "mojo get http://search.twitter.com/search.json /error" workes :)
12:11 sri *-e
12:16 Foxcool joined #mojo
12:16 marcus Pointer stuff looks great.
12:19 mire_ joined #mojo
12:20 GitHub52 joined #mojo
12:20 GitHub52 [mojo] kraih pushed 1 new commit to master: http://git.io/ILratg
12:20 GitHub52 [mojo/master] added experimental JSON Pointer support - Sebastian Riedel
12:20 GitHub52 left #mojo
12:20 sri and it has landed
12:25 judofyr joined #mojo
12:26 judofyr sri: is there something like Capybara in Mojo/Perl?
12:27 crab what is capybara?
12:27 purl capybara is the proposed animal for the ORA mod_perl book or the world's biggest rodent or Speak, The Tick's pet or a guinea pig you can ride or http://www.lafferty.ca/photos/Montreal/Mo​ntreal_Biodome_2001/tn/capybara.jpg.html or NOT capoeira.
12:28 judofyr crab: Ruby tool for testing web flow
12:28 judofyr fill_in 'Login', :with => 'user@example.com'
12:28 judofyr fill_in 'Password', :with => 'password'
12:28 judofyr submit 'Login'
12:28 crab sri: oh, i thought you were going to merge it
12:29 sri crab: i did
12:29 judofyr crab: if you target good selectors, you can get pretty nice tests that verifies the whole flow works fine
12:29 sri or you mean something else than i do with merging
12:30 judofyr and if you *don't*, you just get really brittle tests…
12:31 crab sri: as in git merge
12:31 crab sri: looks good, though
12:31 crab judofyr: oh, that would be neat. i wrote my own $something with Test::Mojo
12:32 sri Test::Mojo::Capybara? :)
12:32 netfeed which epsidoe is the pointer quote from?
12:32 sri the latest
12:32 judofyr crab: writing stuff like "follow_link" is quite easy. it's all the state that's difficult (filling out text forms, submitting stuff)
12:32 sri best episode in years
12:34 netfeed reincarnation?
12:34 purl reincarnation is to have been an Egyptian Princess in a previous life.
12:35 judofyr crab: Capybara can also run your tests in real browser (Selenium)
12:35 sri http://en.wikiquote.org/wiki/The_Simpso​ns/Season_23#Holidays_of_Future_Passed
12:36 crab sri: oh no you killed my quote!
12:36 sri nono
12:36 * crab goes to the market
12:36 sri i moved it to the test :)
12:36 crab oh, ok then
12:37 netfeed sri: ah, thought of futurama and it didn't really click :)
12:37 netfeed sounds like something the professor would have said
12:37 sri they showed the future of the simpsons
12:39 netfeed hmm, i quit the simpsons way later then i thought
12:41 netfeed is json pointer xpath for json?
12:41 xaka joined #mojo
12:44 sri much simpler
12:45 netfeed aight
12:51 GitHub164 joined #mojo
12:51 GitHub164 [mojo] kraih pushed 1 new commit to master: http://git.io/Msg3-w
12:51 GitHub164 [mojo/master] fixed small encoding bug in get command - Sebastian Riedel
12:51 GitHub164 left #mojo
12:52 sri mojo get http://search.twitter.com/search.json?q=test /results/0/text
12:52 sri :D
12:54 sri mojo get http://search.twitter.com/​search.json?q=mojolicious /results/0
12:54 sri that shows reencode
13:08 judofyr this is probably the most complex part of implementing Capybara in Mojo: https://github.com/jnicklas/capybara/blob/​master/lib/capybara/rack_test/form.rb#L17
13:08 judofyr (converting a <form>-DOM to a query-param/postdata
13:08 judofyr )
13:08 judofyr everything else is pretty easy
13:08 judofyr and even that isn't *hard*; just tricky to get 100% right
13:18 MojoGuest142 joined #mojo
13:18 MojoGuest142 From: http://www.google.com/url?sa=t&amp;rct=j&amp​;q=extjs%20websocket&amp;source=web&amp;cd=4​&amp;ved=0CEEQFjAD&amp;url=http%3A%2F%2Fdev.​xantus.org%2F&amp;ei=8avzTpzHDYP0sga7n9DODw&​amp;usg=AFQjCNGw6nZv0wO42uzUnHhWcD0vcKNULg&a​mp;sig2=fzt0i_EjoHvVAo8qY6EZ5w&amp;cad=rja (1 hits)
13:21 sri crab: will try to do it more cirrect in the future, and push to the feature branch first
13:21 sri s/i/o/
13:23 sri this is also new for me :)
14:20 jnap joined #mojo
14:21 amoore joined #mojo
14:27 vervain joined #mojo
14:37 sri hmm, we could deprecate json_content_is
14:37 sri since json_is('/', …) is equal
14:38 koban left #mojo
14:43 marty crab++  JSON Pointer  \o/
14:53 GitHub13 joined #mojo
14:53 GitHub13 [mojo] kraih pushed 1 new commit to master: http://git.io/FXV7Rw
14:53 GitHub13 [mojo/master] deprecated Test::Mojo->json_content_is in favor of Test::Mojo->json_is - Sebastian Riedel
14:53 GitHub13 left #mojo
15:20 metaperl joined #mojo
15:49 Petya joined #mojo
15:50 Petya left #mojo
15:56 heytrav joined #mojo
15:59 sri marcus: besides the node.js thing is the riak book any good?
16:06 marcus Sri: it seems well written and pragmatic.
16:07 xaka joined #mojo
16:08 sri marcus: so you're going to use riak in your next project?
16:09 marcus I am going to try it for iwt, yeah.
16:10 xaka hm, wonder if json_is(/ => ...) could be simplified to json_is(...)
16:10 xaka oh, can "get" command support path expression for xml responses also, not only json?
16:11 marcus Xka: only dom queriesæ
16:11 mire_ joined #mojo
16:12 marcus Me type so bad on ipad?
16:12 xaka marcus: yeah, i meant CSS selectors. is it available already?
16:12 marcus Yes, see my blog post :)
16:13 xaka marcus: i wish if i knew, but mojo page doesn't have links to core team member home pages (wtf i wrote just now)
16:14 xaka all of you have good articles, but...where the links? ;)
16:14 lammel2 joined #mojo
16:17 inokenty joined #mojo
16:28 lammel2 left #mojo
16:32 kaare joined #mojo
16:45 noganex joined #mojo
16:46 mire_ joined #mojo
16:50 xaka joined #mojo
17:09 batman joined #mojo
17:16 vervain xaka+1  I've thought the same thing.
17:17 vervain Especially now that there is a 'core team' :-)
17:20 mire_ joined #mojo
17:21 marcus Xaka: http://marcus.nordaaker.com/2011/​11/mojo-get-is-x-ray-for-the-web/
17:25 SmokeMachine joined #mojo
17:28 sri http://trailers.apple.com/trailers/fox/prometheus/ # *drool*
17:34 sugar_ joined #mojo
17:36 marty ohhh, that looks good.
17:48 osprey left #mojo
17:59 sri interesting, riak deprecated their big file storage support
18:08 netfeed weird, "mojo get --method post..."
18:11 SmokeMachine_ joined #mojo
18:14 sri it's a typo
18:21 GitHub38 joined #mojo
18:21 GitHub38 [mojo] kraih pushed 1 new commit to master: http://git.io/Ep-h3A
18:21 GitHub38 [mojo/master] better test examples - Sebastian Riedel
18:21 GitHub38 left #mojo
18:23 xaka i believe people still will use json_content_is(...) in favor of json_is('/' => ...). Last one difficult to understand and read
18:27 ccushing http://privatepaste.com/6acee35967 trying to get this auth thing to run before every request, however no debug message "authing" is ever printed
18:36 ccushing what am I doing wrong?
18:46 marty ccushing:  I think under is primarily used in lite apps.   Bridge might be what you are looking for.
18:47 ccushing ok
18:47 xaka ccushing: http://mojolicio.us/perldoc/Moj​olicious/Guides/Routing#Bridges - here is an example
18:47 ccushing yeah looking at that now
18:59 tempire hmm
18:59 tempire thoughts on json pointer release?
18:59 tempire as in, when?
19:00 netfeed do i want ngingx or hypnotoad to server the stuff in the public stuff?
19:00 netfeed public dir*
19:01 tempire netfeed: either will work.  depends on whether you're concerned about performance.  an nginx reverse proxy will serve static files without the overhead of a perl interpreter.
19:01 tempire if you don't have load to where it matters, then don't bother with it.
19:02 tempire well, I guess it's not a good idea to include a recently added experimental thing in a mojocast.
19:03 tempire crab++
19:03 netfeed is there any real gain to actually server it through hypnotoad in production?
19:05 tempire one less thing worry about
19:07 netfeed that's true, i don't have to think about how it's really setup when i change the server
19:13 sri you can make nginx cache static files, then they are only served once by hypnotoad
19:15 netfeed heh, i rather not do that, it's an image site so and i can just fit so much stuff into 512mb ram :)
19:20 sri tempire: what are your thoughts on the deprecation of json_content_is?
19:21 yaxar joined #mojo
19:22 tempire I say keep it.  json pointers only check for one item.  I have plenty of tests that verify an entire structure.
19:22 sri ->json_is('/', {…}) is equal to ->json_content_is({...})
19:24 tempire well then.
19:24 tempire makes sense to deprecate it.
19:24 tempire though I have to question whether we're really following this: "Deprecating a feature should be avoided at all costs."
19:25 tempire I suppose you could say the feature itself isn't being deprecated, just the implementation
19:25 sri in my eyes the feature itself is still present
19:25 sri right
19:25 tempire I'm ok with deprecation
19:26 tempire json_is is prettier and makes more sense in application
19:27 netfeed can't ->json->content_is({}) just be an alias for ->json_is('/', {}) ?
19:27 netfeed meh, spelling stuff is hard
19:27 xaka i like this idea
19:28 sri a) no it can't, b) what would be the point?
19:28 xaka 1. i dont want to rewrite all my tests 2. i dont want to explicitly find root just to check it 3. it looks weird
19:29 xaka 4. it's 4 chars more than it could be
19:30 tempire 2) it's worth it for clarity and usability 3) is subjective 4) isn't true, 'cause it's a net gain when you remove _content
19:31 tempire 1 is worth consideration, though
19:31 tempire crap.  now I'm starting to sound like sri
19:31 sri WELCOME TO MY WORLD
19:31 * tempire runs screaming
19:33 xaka having pointer make sense only if you're going to check for concrete value. if you're checking the whole json, why do i need to specify it explicitly, especially if i haven't done that till the last commit
19:33 sri WHY DO I HAVE TO LEARN NEW THINGS?! PUNCHCARDS WORKED JUST FINE!!!
19:34 tempire actually, ->json_is({}) is a decent idea
19:34 tempire would be one line of additional checking
19:34 xaka it always was since json_content_is
19:35 sri ->json_is('/foo' => '/foo') is valid
19:35 tempire but then again, it would be the same thing as keeping json_content_is
19:35 sri and ->json_is('/foo', '/foo', '/foo')
19:48 tempire there's also the question of whether it makes sense to deprecate something because of an experimental replacement
19:52 GitHub156 joined #mojo
19:52 GitHub156 [mojo] kraih pushed 1 new commit to master: http://git.io/O42mYw
19:52 GitHub156 [mojo/master] undeprecated Test::Mojo->json_content_is - Sebastian Riedel
19:52 GitHub156 left #mojo
19:52 sri because tempire told me to
19:53 tempire I still have that question, though.  I think it's worth considering for future reference - "whether it makes sense to deprecate something because of an experimental replacement"
19:53 metaperl joined #mojo
19:54 sri that's a hard question
20:18 rsimoes Is there a simple way to do automatic generic route mapping to namespaces? e.g., /foo/bar/baz --> Foo::Bar::baz()
20:18 xaka sri: any plans for gzip supporting? i see that perl has neccessary zip modules in core which means no 3rd party depends
20:18 rsimoes xaka: use plack
20:18 xaka rsimoes: i don't want :)
20:19 xaka hypnotoad/morbo is more than enough for my project so having gzip in mojo core would be cool
20:19 ccushing so if  a bridge is broken it returns a 404 ... this basic_auth plugin is supposed to return a 401 if it fails, but seems that the 404 thrower misses it
20:20 sri gzip is bad for dynamic content, so we will not support it, proxy servers like varnish are much better at it
20:21 ccushing http://privatepaste.com/d309f6fe56
20:21 rsimoes so support gzipping the crap in the public directory
20:22 ccushing I'm really not sure how I can get the basic auth to return what it should be instead of the 404 getting thrown using a bridge
20:22 ccushing :/
20:22 ccushing maybe there's a better way?
20:22 xaka i use huge javascript + huge json, page loading takes a life :) but, still, hypnotoad/morbo is enough so i don't want to depend on any proxy
20:23 xaka ccushing: do you have that basic_auth plugin code? probably there is some mistake?
20:23 ccushing xaka I pasted all of the relevant code
20:23 ccushing I'm trying to figure out how to make it do what I want
20:25 ccushing unfortunately the only example is for Mojo::Lite
20:25 ccushing and if I simply include it in a single sub it worked
20:25 ccushing but when I introduced the bridge
20:25 sri rsimoes: that can be done with a plugin, no need to have it in core
20:28 MojoGuest36 joined #mojo
20:28 MojoGuest36 left #mojo
20:29 tempire ccushing: the status is probably being overwritten.  try rendering if the basic_auth returns false.
20:31 xaka i found some: http://search.cpan.org/~markstos/MojoX-E​ncode-Gzip-1.10/lib/MojoX/Encode/Gzip.pm, not sure how good it is, need to check
20:31 ccushing http://privatepaste.com/0ab71f90df
20:31 xaka omg, 2008 year :)
20:32 ccushing if I do that then I get a 200 OK with text/html and content 'tard'
20:32 xaka if it still works, it means mojo epic backward compatible
20:33 rsimoes xaka: doomed, doomed
20:37 sri gzip also means you need the whole file in memory for compression, mojolicious will by default stream huge files i small chunks
20:37 sri so memory usage will go up
20:38 ccushing hoops
20:39 rsimoes you could pre-compress and cache to the file system
20:39 sri that's *a lot* of complexity
20:39 sri for something a reverse proxy will always do better
20:40 rsimoes Hey sri, would a plugin theoretically be able to introduce routing for arbitrary request methods not already supported?
20:40 sri we don't limit request methods
20:41 sri there is nothing to introduce
20:41 rsimoes oh, the via method
20:41 rsimoes fancy
20:43 sri that said, i'd really like to see some asset pipeline style plugin
20:43 xaka sri: just found some, http://mojolicio.us/perldoc/Mojolicious/Plugin/ (it says "using the add_hooks method of Mojolicious::Plugins", but "add_hooks" is deprecated in favor of "on")
20:44 xaka and http://mojolicio.us/perldoc/Mojolicious/Plugins has no information neither about "add_hooks" nor "on", don't know where to start from to write plugin :)
20:45 xaka would be nice to see there list of available hooks
20:45 GitHub16 joined #mojo
20:45 GitHub16 [mojo] kraih pushed 1 new commit to master: http://git.io/tN2n3w
20:45 GitHub16 [mojo/master] small plugin documentation fix - Sebastian Riedel
20:45 GitHub16 left #mojo
20:45 tempire xaka: http://mojolicio.us/perldoc/Mojolicious#hook
20:46 xaka tempire: i believe plugin page should refer to that link
20:47 xaka tempire: people think "ok, i need a plugin => go to plugin doc page => ok, something about hook => wait, what the hook, which one i can use? => crap" :)
20:47 sri no it should not...
20:48 tempire xaka: that's a different level.  ::plugin is api documentation, not framework usage documentation
20:49 xaka or may be docs home page could have few words about writting the plugins, similar to Mojolicious::Guides::Routing (like Mojolicious::Guides::Plugins)
20:50 sri http://hacks.mozilla.org/2011/12/new-​developer-tools-in-firefox-11-aurora/ # quite cool
20:51 tempire ccushing: ah, you're using ->app->basic_auth
20:52 tempire you want $self->basic_auth
20:53 xaka tempire: just try to follow the links and you'll understand the confusing. ::plugin has nothing interesting and refers to ::plugins with words "for more information". You click the link and again see something about application, hooks with no links for futher investigation
20:53 tempire I understand your point.  But you misunderstand the purpose of what you're looking at.  There's a reason for it.
20:54 SmokeMachine_ joined #mojo
20:54 tempire If you want to provide another perspective on docs, you can use the wiki for that.
20:55 xaka tempire: i'm looking for an information how to write the plugin and that why i've started from plugin/plugins doc. is it wrong way?
20:55 GitHub110 joined #mojo
20:55 GitHub110 [mojo] kraih pushed 1 new commit to master: http://git.io/kcbNUA
20:55 GitHub110 [mojo/master] removed legacy link from documentation - Sebastian Riedel
20:55 GitHub110 left #mojo
20:59 tempire xaka: http://mojolicio.us/perldoc/Mojolici​ous/Guides/Rendering#Helper_plugins
21:00 tempire also http://mojocasts.com/e3#Make%20a%20Plugin
21:02 xaka btw, the last one is a good link for ccushing
21:06 ccushing xaka I've totally watched that, doesn't help me with the basic auth thing
21:07 ccushing tempire wiould self->basic_auth work if I'm in a controller and not the root app?
21:09 tempire try it
21:09 ccushing I guess it does, so hard to understand what I need to go through app for and what I don't
21:10 cfedde ./myapp inflate is not pulling templates out of my __DATA__ section.
21:10 cfedde what did I do wrong?
21:11 chansen sri: Happy Christmas!
21:11 ccushing tempire thanks for pointing out my idiocy
21:11 sri chansen: merry christmas :)
21:12 ccushing tempire++ # loaded plugin available directly from controller not though ->app
21:12 tempire ccushing: for the most part, you never want to use plugins through ->app
21:13 ccushing I didn't think they'd be available in the controller directly :/
21:13 tempire remember that $self is within the context of the request.  ->app is within the context of the whole app, so it doesn't make sense to use it if it needs to know about the current request
21:15 sri still wish we could split $app->* and $c->* helpers
21:24 cfedde odd.  it seems that if 'use Mojolicious::Lite' is inside a 'package ...' then 'app inflate' does not work.
21:25 knicholl joined #mojo
21:25 xaka sri: hm, should not "after_static_dispatch" be called _only_ when "...static dispatcher determined if a static file should be served..." (from doc) ? i see it calls every time independ on static or not
21:26 knicholl joined #mojo
21:48 GitHub137 joined #mojo
21:48 GitHub137 [mojo] kraih pushed 1 new commit to master: http://git.io/cRCCYw
21:48 GitHub137 [mojo/master] improved class detection of inflate command - Sebastian Riedel
21:48 GitHub137 left #mojo
21:53 GitHub178 joined #mojo
21:53 GitHub178 [mojo] kraih pushed 1 new commit to master: http://git.io/ktcjww
21:53 GitHub178 [mojo/master] removed legacy application check - Sebastian Riedel
21:53 GitHub178 left #mojo
22:16 ccushing tempire I'm sure you've noticed, but I sent you a doc patch, hopefully I'm doing it the best way possible
22:23 ccushing tempire hmm... is your README.pod generated from the main lib?
22:23 ccushing because I can fix the patch if needbe
22:27 tempire ccushing: it's not automatically generated, but it is copied and pasted directly.
22:27 ccushing that's kinda odd... I think there's a plugin that allows you to generate it... anyways let me know if you need me to change the patch
22:31 MojoGuest853 joined #mojo
22:31 MojoGuest853 From: http://www.google.fr/url?sa=t&amp;rct=j&amp;q​=html5%20irc&amp;source=web&amp;cd=4&amp;ved=​0CDcQFjAD&amp;url=http%3A%2F%2Fdev.xantus.org​%2F&amp;ei=CAH1TuqbMouwhAef-Y2eAQ&amp;usg=AFQ​jCNGw6nZv0wO42uzUnHhWcD0vcKNULg&amp;cad=rja (1 hits)
22:33 MojoGuest509 joined #mojo
22:33 MojoGuest509 From: http://networkedblogs.com/33Knp (27 hits)
22:37 MojoGuest887 joined #mojo
22:37 MojoGuest887 From: http://www.google.fr/ (1 hits)
22:38 GitHub194 joined #mojo
22:38 GitHub194 [mojo] kraih pushed 1 new commit to master: http://git.io/-4ED6Q
22:38 GitHub194 [mojo/master] better timer tests - Sebastian Riedel
22:38 GitHub194 left #mojo
22:48 tempire if there's a plugin that would automatically generate it, I'd love to know about it.
22:49 tempire but all I really care about is the examples, not the surrounding pod
22:49 tempire since it rarely changes, it's not worth the trouble of automating
22:49 tempire or even writing these 4 sentences
22:49 tempire or 5 phrases
22:51 rsimoes1 How does mojolicious resolve collisions between normal routes and routes containing placeholders?
22:51 rsimoes1 order of declaration?
22:51 tempire what's a normal route?
22:54 rsimoes1 routes not containing placeholders, I suppose
22:55 tempire order of declaration, I guess is the answer to your question.  there's no issue of collisions
22:55 rsimoes1 "/foo/bar" vs "/foo/:name"
22:55 rsimoes1 /foo/bar would match both
22:55 tempire oh.  order of declaration, yes.
23:03 vervain joined #mojo
23:37 ccushing tempire https://metacpan.org/module/Dist:​:Zilla::Plugin::ReadmeAnyFromPod will generate a readme in format X from the pod in your main module

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