Camelia, the Perl 6 bug

IRC log for #mojo, 2012-10-30

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

All times shown according to UTC.

Time Nick Message
00:02 Britzel Hi. app is idle, devel debug log show that the config file is reloaded every few seconds. SOmetimes as often as every 5secs, sometimes every 30 secs or so. What gives?
00:39 duncanthrax2 joined #mojo
00:45 geira joined #mojo
01:01 laouji joined #mojo
01:05 duncanthrax joined #mojo
01:17 Mike-PerlRecruiter_ joined #mojo
01:22 GabrielVieira2 joined #mojo
01:46 perlite_ joined #mojo
01:52 xaka joined #mojo
01:55 d4rkie joined #mojo
01:55 d4rkie joined #mojo
02:07 bc547 joined #mojo
02:35 perlite joined #mojo
02:52 d4rkie joined #mojo
02:57 bc547 joined #mojo
02:58 stocks joined #mojo
02:59 asarch joined #mojo
03:05 perlite_ joined #mojo
03:16 asarch joined #mojo
03:17 GabrielVieira joined #mojo
03:29 jberger sri: I think I know the answer to this (no), but is there a way to only expose helpers to inside certain templates
03:30 jberger I want to make something like TagHelpers for LaTeX templates, but they won't make any sense for HTML templates
03:35 bc547 joined #mojo
03:41 bc547_ joined #mojo
03:44 zdk joined #mojo
03:46 noganex_ joined #mojo
03:52 buu Does mojo::dom not have a ->sibling type method?
03:54 crab jberger: no
03:54 jberger crab: as I suspected
03:54 jberger thanks
04:06 Foxcool joined #mojo
04:17 marty joined #mojo
04:18 mpgutta joined #mojo
04:41 geira joined #mojo
04:59 marty joined #mojo
05:06 vel joined #mojo
05:14 bobkare joined #mojo
05:16 batman joined #mojo
05:21 ver joined #mojo
05:26 ovnimancer joined #mojo
05:35 marty joined #mojo
05:37 mpgutta joined #mojo
05:37 dminus joined #mojo
06:11 marty joined #mojo
06:40 spleenjack joined #mojo
06:47 dpetrov_ joined #mojo
06:49 marty joined #mojo
07:17 mpgutta joined #mojo
07:28 marty joined #mojo
07:29 yakudza joined #mojo
07:44 Vandal joined #mojo
08:08 marty joined #mojo
08:09 pau4o joined #mojo
08:10 pau4o left #mojo
08:19 batman joined #mojo
08:41 geira joined #mojo
08:48 marty joined #mojo
08:55 ObseLeTe joined #mojo
09:18 daxim joined #mojo
09:18 ObseLeTe joined #mojo
09:29 marty joined #mojo
09:41 nic Britzel: are you using morbo? Any chance you have a file open in an editor using auto-save? Any other reason morbo would see a file is being updated? Using nfs?
09:42 tholen joined #mojo
09:44 Britzel_ joined #mojo
09:48 Foxcool_ joined #mojo
09:57 kitt_vl joined #mojo
10:09 marty joined #mojo
10:22 sr joined #mojo
10:42 kwa joined #mojo
10:50 marty joined #mojo
10:52 michaelfung joined #mojo
11:00 michaelfung joined #mojo
11:03 ObseLeTe joined #mojo
11:11 batman left #mojo
11:14 batman joined #mojo
11:31 marty joined #mojo
11:34 jpn joined #mojo
11:45 ObseLeTe joined #mojo
11:48 stocks joined #mojo
11:48 batman left #mojo
11:59 sunson joined #mojo
12:00 sunson My mojo app does not serve static content at all. I changed *nothing*. It worked 2 hours ago, now it doesn't work. This happened yesterday too, but it recovered automagically without me doing anything.
12:02 crab maybe it'll recover magically again
12:05 sunson crab: ok. i pressed the panic button. figured its firefox playing pranks on me. I used tamper-data extension and found firefox isn't even making the request.
12:13 marty joined #mojo
12:15 crab see? like magic!
12:19 smpb joined #mojo
12:28 vishwanathms joined #mojo
12:28 vishwanathms_ joined #mojo
12:54 d4rkie joined #mojo
12:54 marty joined #mojo
13:17 Mike-PerlRecruiter_ joined #mojo
13:21 marty joined #mojo
13:27 rem_lex| joined #mojo
13:30 pierrick joined #mojo
13:31 batman joined #mojo
13:35 d4rkie joined #mojo
13:43 Ulti is there any way to print to the log without a handle on the app? I want to debug some of my queries but they are all in my own modules that dont have any hold of Mojolicious
13:46 stickpin joined #mojo
13:50 gryphon joined #mojo
13:57 spleenjack joined #mojo
14:02 inokenty joined #mojo
14:05 d4rkie joined #mojo
14:13 sri https://github.com/kraih/mojo/issues/407 # might be interesting for someone who's into spec lawyering :)
14:15 Britzel_ nic: Yes, using morbo at the moment (dev phase). Yes, the conf file is open in SublimeText2, but I don't know if that editor saves it even when not changed. I don't think so, but I will investigate.
14:15 daxim http://web.archive.org/web/http://dive​intomark.org/archives/2004/08/16/specs   # "There is a faction of assholes that [read specs &, ed.] write test cases."
14:38 knshaum joined #mojo
14:49 labrown joined #mojo
14:57 jpn_ joined #mojo
14:59 marty joined #mojo
15:13 GnomeStoleMyBike joined #mojo
15:13 GnomeStoleMyBike Hi guys
15:13 GnomeStoleMyBike in router
15:14 GnomeStoleMyBike can i do something like this
15:14 GnomeStoleMyBike $router->delete("/v1/queue_errors​/:id")->to("queue_errors#show");
15:14 GnomeStoleMyBike or i have to do $router->post( ?
15:16 GnomeStoleMyBike anyone ?
15:17 scrooby joined #mojo
15:17 DaTa yes you can!
15:17 GnomeStoleMyBike TANK YOU !
15:17 GnomeStoleMyBike <3
15:34 duncanthrax2 joined #mojo
15:42 marty joined #mojo
15:43 alnewkirk joined #mojo
16:11 xaka joined #mojo
16:14 GnomeStoleMyBike how do i add status to render
16:15 GnomeStoleMyBike $self->render(text => "lol")->status(500); ?
16:21 inokenty http://mojolicio.us/perldoc/Mojoli​cious/Guides/Rendering#Status_code
16:22 GabrielVieira joined #mojo
16:23 marty joined #mojo
16:40 stocks joined #mojo
16:51 sh4 joined #mojo
17:05 * sri wonders if we could point at some guide about how to write a good bug report from the documentation
17:05 sri so many terrible issues recently
17:05 marty joined #mojo
17:05 sri and i guess most people just don't know any better
17:06 daxim http://www.chiark.greenend.​org.uk/~sgtatham/bugs.html  "How to Report Bugs Effectively"
17:08 sri perhaps something less wall of text-ish that has its own domain
17:33 scrooby joined #mojo
17:47 marty joined #mojo
17:52 rem_lex|pivo joined #mojo
18:11 stocks joined #mojo
18:18 bluescreen joined #mojo
18:19 jberger sri: perhaps in the readme, since thats what is seen on the github page, where bugs are filed
18:25 ObseLeTe joined #mojo
18:29 marty joined #mojo
18:41 GnomeStoleMyBike joined #mojo
18:41 GabrielVieira joined #mojo
18:50 jberger https://github.com/jberger/mojo/tree/readme
19:04 good_news_everyone joined #mojo
19:04 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/_0DoEA
19:04 good_news_everyone mojo/master df375ad Sebastian Riedel: a few more boundary tests
19:04 good_news_everyone left #mojo
19:07 sri jberger: the readme is supposed to have the same content as http://mojolicio.us
19:08 jberger not sure I ever noticed that
19:08 sri and damn! does that github pod rendering make it look ugly
19:09 jberger I was trying for a while to get them to fix the named external links thing
19:09 jberger I haven't looked lately, I wonder if they ever did
19:10 sri i see the readme on github more as a marketing tool than a source of information for users
19:10 sri just like the frontpage
19:10 marty joined #mojo
19:11 sri it's usually one of the first things people see when they stumble on a project
19:13 jberger which is why I put a link to the info on the top, but would put that actual content on the bottom
19:13 jberger when someone comes to file a bug report or pull request they see just the top of the readme, before they click issues
19:14 jberger if they are not here for those things, they will keep reading and forget they ever saw that one sentance on the top
19:14 jberger just my opinion
19:14 sri the readme is for people who are not using mojolicious yet
19:15 sri those that are know about the documentation
19:15 jberger how many of your bug filers are reading the FAQ?
19:15 jberger how many see the top of the README.pod
19:15 jberger all I'm saying is that it would be more effective, nothing about propriety
19:15 sri but the readme is not a tutorial
19:16 sri the question is who we are targeting with the readme
19:17 jberger personally, in my projects I think of the github readme as the gateway to the development side of the project
19:18 jberger often thats the same documentation as the main module, but on occaision I have contribution information there
19:18 sri well, for mojolicious the current strategy is working out pretty well ;)
19:18 jberger thats your call, it was just a suggestion
19:19 jberger in other news I have been tinkering on a command for creating a configuration file from via an HTML page
19:22 * sri likes the rails guide for contributing http://edgeguides.rubyonrails.org/​contributing_to_ruby_on_rails.html
19:23 dabudabu joined #mojo
19:31 jberger that is quite nice
19:31 jberger and interestingly, they link to it from their github readme
19:31 * jberger runs away
19:31 sri if we had such a quality document, i would link to it from the frontpage as well
19:32 * sri runs away
19:32 jberger haha
19:33 jberger I doubt they would care too much if you stole a bunch of it, its licensed CCSA
19:45 marcus o/
19:45 sri \o
19:45 marcus fucking winter
19:46 marcus there is snow on the ground here now. I changed to winter tires on saturday.
19:47 marcus oh well, at least there's no hurricane.
19:52 marty joined #mojo
20:12 tempire marcus: it's rough in california as well.  got down to 16c last night!
20:17 gryphon_ joined #mojo
20:19 xaka joined #mojo
20:23 asarch joined #mojo
20:33 marty joined #mojo
20:43 * sri might rewrite CodingGuidelines.pod as Contributing.pod
20:43 sri and ban all feature requests from the github issue tracker
21:00 lukep joined #mojo
21:02 batman joined #mojo
21:13 marty joined #mojo
21:20 * marcus throws snowballs at tempire
21:24 * tempire watches as they melt half-way to him
21:25 * marcus watches the rocks inside hit tempire
21:25 * tempire cries
21:25 * sri catches one of the snowballs, puts it in a cooler and throws that
21:26 * marcus ducks to avoid being hit by a cooler
21:26 * tempire cries harder
21:41 * sri has a first draft of Mojolicious::Guides::Contributing
21:48 sri http://hastebin.com/raw/gedanavemi # mostly cut'n pasted together
21:51 tempire ALL HAIL THE PUMPKING
21:51 sri ALL GLORY TO THE HYPNOTOAD
21:54 jberger still no purl?
21:54 sri :,(
21:54 marty joined #mojo
22:01 jberger contributing++
22:04 jberger sri: here's an odd one, can commands use __DATA__ templates?
22:04 jberger meaning can they have on in the Mojolicious/Command/mycommand.pm file?
22:05 jberger I will find out in a few minutes when I get that far ...
22:07 jpn joined #mojo
22:19 tempire jberger: yes
22:19 tempire note the available methods inherited from Mojo::Command
22:19 good_news_everyone joined #mojo
22:19 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/xA4uKA
22:19 good_news_everyone mojo/master 00c4a88 Sebastian Riedel: replaced Mojolicious::Guides::CodingGuidelines with Mojolicious::Guides::Contributing
22:19 good_news_everyone left #mojo
22:21 sri http://mojolicio.us/perldoc/Mo​jolicious/Guides/Contributing
22:21 jberger tempire: there it is `render_data`
22:21 jberger thanks
22:22 sri jberger: poking me is often not the best way to get help ;)
22:22 jberger so I see
22:22 jberger I got used to it when I was asking about design considerations
22:22 jberger I should break myself of that habit
22:23 sri that said, the generator commands use DATA templates
22:23 jberger indeed, but those don't get sent to the browser
22:23 sri fun fact, commands used DATA templates before Mojolicious::Lite existed
22:24 jberger and from there it wasn't that much of a logical leap to ::Lite
22:24 * sri nods
22:24 sri before 3.0 the whole DATA handling code was still in Mojo::Command :)
22:25 smpb joined #mojo
22:25 jberger I think its interesting that Mojolicious started as full and then allowed a DSL, and Dancer started with only a DSL and IIRC 2.0 will have a "full"-ish mode
22:25 sri i think the cpan module that reused the code still refers to Mojo::Command
22:25 sri well, sinatra started the single file dsl trend
22:26 sri shortly before sinatra we went through a different single file phase :)
22:26 sri https://github.com/kraih/mojo/blob/maste​r/t/mojolicious/lib/SingleFileTestApp.pm
22:26 sri full app in a single file ;p
22:26 jberger I think the fact that both project will end up with both modes really reinforces that both modes are useful
22:27 jberger wow, yeah, lite it nicer :)
22:27 sri pretty sure mojolicious was the first web framework in all languages to have multiple modes
22:28 sri nobody believed me when i said growing would become a thing two years ago :D
22:28 jberger I was shocked when I saw tempire's YAPC talk, and I saw how small Lite.pm was
22:29 jberger its a paradigm I'm looking to replicate for David Merten's App::Prima::REPL
22:31 sri WTF
22:31 sri star wars episode 7 in 2015
22:31 * sri falls off chair
22:32 Adura Star Wars Episode 7: Gungan Gangbang
22:34 DaTa walt disney?
22:35 DaTa it's april 1st somewhere?
22:35 marty joined #mojo
22:35 sri bought for only 4 instagrams
22:36 sri darth mickey
22:43 jzawodn joined #mojo
22:51 jberger when I saw the star wars news, I was surprised at how unsurprised I was
22:55 stocks joined #mojo
23:16 marty joined #mojo
23:18 good_news_everyone joined #mojo
23:18 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Sv60tw
23:18 good_news_everyone mojo/master c98620a Sebastian Riedel: link to article about pull requests
23:18 good_news_everyone left #mojo
23:25 espen joined #mojo
23:32 good_news_everyone joined #mojo
23:32 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/R8SRQg
23:32 good_news_everyone mojo/master 46209bd Sebastian Riedel: more contributing guide improvements
23:32 good_news_everyone left #mojo
23:33 d4rkie joined #mojo
23:38 good_news_everyone joined #mojo
23:38 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/bYXZUQ
23:38 good_news_everyone mojo/master 470c4dd Sebastian Riedel: better wiki links
23:38 good_news_everyone left #mojo
23:39 espen joined #mojo
23:43 Britzel_ sri: Would you think that putting my real world experiences, converting an old commercial website to Mojo, would be useful for the Wiki?
23:43 SmokeMa__ joined #mojo
23:45 sri Britzel_: i don't know
23:45 crab yes it would
23:45 sri it's hard to say
23:46 sri if it's just "Britzels mojo tips" and becomes unmaintained after a month it might be better off in a blog post
23:46 Britzel_ K, probably will put it in our own blog, maybe put a link later. But I _want_ a link from the "using Mojo" section to us :) When we are up and running.
23:46 sri if it's recipes for multiple topics on multiple pages, it might be a lot more useful long term
23:46 Britzel_ well, you're right.
23:47 Britzel_ It would cover a lot about the learning curve, wrong paths and decisions taken etc. So more a lot about the devel process as well.
23:48 Britzel_ Anyway, will put it somewhere else, you're right.
23:48 sri sounds like a blog post to me
23:48 Britzel_ ack
23:50 Britzel_ Just read your 'contributing' guide, wondered how I could.
23:55 sri hmmm
23:55 * sri wonders if having more open tickets makes getting involved more interesting for people
23:55 sri MOAR TICKETS!
23:56 marty joined #mojo

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