Camelia, the Perl 6 bug

IRC log for #mojo, 2013-06-29

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

All times shown according to UTC.

Time Nick Message
00:19 jberger joined #mojo
00:23 SmokeMac_ joined #mojo
00:24 denisboyun joined #mojo
00:44 btyler joined #mojo
00:46 preaction joined #mojo
00:53 libsysguy joined #mojo
01:03 tempire wellst
01:03 tempire now that I've gone through the marionette book
01:03 tempire angularjs or ember?
01:05 sri angular seems to be all the rage, but i think ember has more of a future
01:06 sri also... ember has mustaches
01:07 * sri is biased against google projects though
01:15 MeierM joined #mojo
01:15 jberger preaction may have some opinion I know he likes one of them (angular I think)
01:15 sri http://eviltrout.com/2013/0​6/15/ember-vs-angular.html
01:16 preaction there are more SO questions about angular because its docs are less clear, i think
01:19 preaction as for that link, i agree that problems exist with angular. the ones in the article have not been problems for me, or i don't agree that they are problems
01:21 preaction maybe i like the simplicity now and it will turn out to be a problem later, but that hasn't happened yet. the honeymoon phase is still here
01:22 * sri kinda wants to read a javascript book again and wonders which one to get next
01:43 marty joined #mojo
01:45 * marty waves hello from the cabin (and praises the wifi gods)
01:48 tempire Ember thus far seems the better direction.
01:48 tempire Tying functionality to the dom seems like the wrong way.
01:48 * tempire wonders if emberjs has benefits above marionette
01:49 tempire I always thought ember was the latest revision of sproutcore
01:49 tempire by the way, the marionette book is excellent.
02:26 tempire hmm
02:26 * tempire will probably stick with marionette
02:31 preaction yeah, ember is evolved from sproutcore
02:43 jberger hmmm jquery click method appends click handler not replace :/
02:43 jberger thats probably something I should have known
03:01 good_news_everyone joined #mojo
03:01 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/o_mbgQ
03:01 good_news_everyone mojo/master 38e8d8f Sebastian Riedel: mention subdirectory handling in rendering guide
03:01 good_news_everyone left #mojo
03:02 crab i read somewhere that angular-style templating is something we should all be using because browsers are going to support it natively someday
03:02 crab (i am just reporting what i read; i have no idea if it's true or not)
03:03 crab as for me, i find all this clientsidery annoying.
03:03 sri browsers are getting a <template> tag
03:04 sri which will get parsed but not actually inserted into the dom
03:04 sri http://www.html5rocks.com/en/tu​torials/webcomponents/template/
03:49 russum1 joined #mojo
03:49 russum1 left #mojo
03:52 preflex_ joined #mojo
04:22 russum joined #mojo
04:28 Psyche^ joined #mojo
05:46 crab and is that good?
05:57 Meiermann joined #mojo
06:29 d4rkie joined #mojo
06:48 arthas joined #mojo
06:59 russum joined #mojo
06:59 Vandal joined #mojo
06:59 russum left #mojo
07:11 Britzel joined #mojo
07:27 caeles joined #mojo
07:41 yakudza joined #mojo
07:56 mrphilov joined #mojo
08:23 jzawodn joined #mojo
08:31 arpadszasz joined #mojo
08:34 dod joined #mojo
08:44 denisboyun_ joined #mojo
09:01 arpadszasz joined #mojo
09:04 dod joined #mojo
09:16 rem_lex| joined #mojo
09:26 arpadszasz joined #mojo
09:35 Tiger joined #mojo
09:45 caeles joined #mojo
09:59 denisboyun_ joined #mojo
10:15 sh4 joined #mojo
10:15 GabrielVieira joined #mojo
10:19 GabrielVieira sri: hey, https://metacpan.org/source/SRI/M​ojolicious-4.16/lib/Mojo/Util.pm <- any problem not closing file handle in slurp method (line 239) ??? I mean, after a while, sometimes, I get [error] Event "drain" failed: Can't open file "/www/app/prod/templates/detail.html.ep": Too many open files at /www/app/perl5/perlbrew/perls/perl-5.14.​2/lib/site_perl/5.14.2/Mojo/Template.pm line 265. When this happens hypnotoad reloads don't work, I need to sto
10:19 GabrielVieira p and start again.  (ulimit -n gives me 1024 - opensuse)
10:24 tm joined #mojo
10:32 memowe \o/
10:36 tm morning everyone
10:37 tm I try to run Mojo under nginx as fastcgi via plackup (unless there is easier way) because I can't use reverse proxy
10:37 tm in general, whatever URI I hit I get the main route for '/'
10:38 tm anybody would be so kind to have a look at the config I use? I guess I must have missed something obvious but I spent 2 days on it and can't locate the problem
10:43 tm I've put it at http://pastebin.com/QHX1ieXP - any comments or advice welcome
10:44 tm I'm not doing revproxy because of OAuth doesn't like it so far
10:51 Tiger why if i render htmlcode from stash value in template with <%= $myvar %>, i get encoded html tags as &lt;tr bgcolor=&quot; ?
10:55 GabrielVieira Tiger: <%== $myvar %>
10:55 tm %= and %== - each one does bit different things around escaping
10:56 Tiger GabrielVieira,tm:  Thanks a lot!
11:49 arpadszasz joined #mojo
11:57 denisboyun_ joined #mojo
12:39 amirite joined #mojo
12:40 amirite how do i route to an existing named route?
12:41 amirite not possible?
12:51 d4rkie joined #mojo
13:13 mire joined #mojo
13:21 denisboyun joined #mojo
13:22 crab only by redirecting
13:24 crab or, you know, calling the function you wanted to directly.
13:24 crab but there's no "internal redirect"
13:28 tm any advice on nginx + fcgi via plack?
13:29 tm or any other fcgi deployment for that matter :D
13:38 crab i haven't done it for ages, i always just use a proxy.
13:41 mst tm: follow the Catalyst deployment documentation
13:41 mst tm: Catalyst's myapp_fastcgi.pl is just a wrapper around Plack's FastCGI support anyway
13:41 mst tm: so the apache and nginx bits stand fine for anything using Plack
13:52 yakubori joined #mojo
13:52 yakubori o/
13:53 hotsnow joined #mojo
14:02 human39 joined #mojo
14:05 human39_ joined #mojo
14:12 libsysguy joined #mojo
14:18 trone joined #mojo
14:34 tm mst: tnx, will have a look - so far I had issue with hitting always route for '/' and nothing else, otherwise the app under morbo works just fine, ok, I'm off to look at it
14:34 mst tm: I've used the catalyst config docs to deploy dancer and mojo under plack :)
14:57 asarch joined #mojo
15:08 arman joined #mojo
15:24 Tiger joined #mojo
15:30 libsysguy joined #mojo
16:03 jberger I think its interesting the number of people who think that morbo is Mojo's standard server
16:03 jberger I wonder if its because of the different invocation mechanisms
16:04 jberger `./myapp.pl daemon` vs `morbo myapp.pl`?
16:15 mst also because it has a name
16:15 mst see also Starman
16:20 Tiger only hypnotoad server support  code modify without reload?
16:35 jberger mst: I guess that's what I mean
16:36 jberger Tiger: do I understand correctly: you believe that the difference between morbo and hypnotoad is that hypnotoad doesn't auto-reload on change
16:36 jberger ?
16:37 jberger Tiger: what would you say is the most base-level server that comes with Mojolicious
16:38 jberger (I'm asking as validation of my interpretation of newcomer opinions, not to actually judge your knowledge)
16:42 mst I was under the impression that morbo was the dev server and hypnotoad the production server
16:44 jberger yes but daemon is really THE server
16:45 jberger Tiger's statement seemed backwards, and I wanted to see if I had understood him correctly
16:45 jberger morbo = daemon + reloading on file change
16:45 jberger hypnotoad = daemon + preforking workers and clean restart
16:47 jberger we get lots of questions like "we are using morbo for our production server and ..." which is silly
16:47 jberger if they can't use hypnotoad, they should be using daemon
16:48 jberger -- just some thoughts that have been kicking around in the ol noggin
16:49 mst the docs for the servers themselves don't really make it clear
16:49 mst only the cookbook section
16:51 yakudza joined #mojo
16:55 D4RK-PH0ENiX joined #mojo
17:23 mezo joined #mojo
17:23 mezo yo yo yo
17:23 mezo your favourite noob mojo user is here
17:24 mezo how do you make morbo display the correct favicon for a website?
17:25 mezo nevermind, just had to clear browser history :S
17:26 mezo while i look like an idiot attracting your attention, thank you to all mojo developers! amazing framework
17:28 Tiger jberger: i wanted recipe for don`t reload server when a change code to test changes in web, and I thought it really with hypnotoad (i seen it on http://www.youtube.com/watch?v=PFItNoecEfA)
17:41 marty joined #mojo
17:42 Moataz-E guys how do you add additional styles that are specific to a page?
17:43 Moataz-E i have a layout and a page that is using that layout, then i have a <%= specific_styles %> in my layout.
17:44 denisboyun_ joined #mojo
17:44 d4rkie joined #mojo
17:44 Moataz-E now i want to add styles to the page by saying something like % specific_styles ' <styles go here> '
17:55 Vandal Moataz-E, I think you need this http://mojolicio.us/perldoc/Mojolici​ous/Guides/Rendering#Content_blocks
17:58 Moataz-E Vandal: woh thank you, this is exactly what i am looking for
18:11 denisboyun joined #mojo
18:18 Moataz-E i am sitting here, shouting at each great thing mojo is doing! I LOVE THIS FRAMEWORK
18:23 basiliscos joined #mojo
18:28 tm mst: one of the reasons people use morbo in prod is that it just works and the remaining docs about deployment are well… cutting it short a bit imho
18:29 tm I still can't figure out how to run mojo in any reasonable configuration except reverse proxy with morbo/hypnotoad which in this particular case I'm working on is not doable
18:32 tm if I finally work out how to run it together I'll submit to wiki so others don't have to bang their head against the wall - frustrating
18:32 sri the core docs don't teach basics, it is assumed you know how to configure a web server just like it is assumed you know html already
18:33 tm yes sri, of course but what for you (the author) is basics doesn't have to be basics for others
18:33 sri i mean, how much more clear could you be... "should therefore only be used during development" http://mojolicio.us/perldoc/Moj​olicious/Guides/Cookbook#Morbo
18:33 tm that I agree :D
18:34 tm I'm talking about my own case, my own problem - fastcgi or psgi or whatever else other than revproxy
18:34 sri "people use morbo in prod is that it just works and the remaining docs about deployment are well… cutting it short a bit imho"
18:34 sri if people don't even read the docs that are there... i have no sympathy
18:38 btyler joined #mojo
18:40 tm sorry was afk a bit
18:40 tm sri: fair point but there are those that read docs and still can't make it run
18:41 sri that's not the original discussion
18:42 tm original as why people use morbo?
18:42 sri yes
19:28 gryphon joined #mojo
19:40 Moataz-E guys how can you add comments to the __DATA__ section?
19:52 DaTa Moataz-E: do you mean comments in ep templates?
19:53 Moataz-E yeh
19:54 Moataz-E i just want to add a line of hashes(#) to section my pages
19:54 DaTa Moataz-E: http://mojolicio.us/perldoc/Mojo::Template#SYNTAX
19:54 Moataz-E initially i designed the website using html5, css3 and javascript
19:55 Moataz-E DaTa: ohh it's %#, thank you!
19:57 Adura Oh #@%$!
20:19 good_news_everyone joined #mojo
20:19 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Ti5Arw
20:19 good_news_everyone mojo/master d522f38 Sebastian Riedel: link to deployment recipes from tutorial
20:19 good_news_everyone left #mojo
20:26 sh4|2 joined #mojo
20:42 basiliscos joined #mojo
21:07 amirite_ joined #mojo
21:22 libsysguy joined #mojo
21:59 GabrielVieira joined #mojo
22:14 ask joined #mojo
22:32 salparadise joined #mojo
23:41 asarch joined #mojo
23:44 amirite joined #mojo
23:46 basiliscos joined #mojo
23:47 btyler joined #mojo

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