The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-03-05

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

All times shown according to UTC.

Time Nick Message
00:05 Andreas2 joined #mojo
00:08 marty joined #mojo
00:28 riche funny AA's twitter account got hacked
00:37 Andreas3 joined #mojo
00:58 cpan_mojo Mojolicious-Plugin-RenderFile 0.09 by Viktor Tuskyi - http://metacpan.org/release/KOORCHIK/Mojolicious-Plugin-RenderFile-0.09
01:17 dhg joined #mojo
01:28 bpmedley https://github.com/brianmed/minion/commit/204e50a34105cfaf5331aba8879dafed8b7f5d03 <— sri, jberger is something like this the right approach for handling multiple tasks in one worker?
01:39 sri bpmedley: looks like the direction i would take
01:40 bpmedley Sweet, so I’ll get your latest changes and add an option for max slots. Later the slots can be made dynamic with signals.
01:40 bpmedley Is that cool?
01:40 sri bpmedley: it still passes all tests?
01:40 bpmedley I’ll need to work on tests, of course.
01:41 sri the $? check looks suspicious
01:41 sri is that guaranteed to be clean?
01:41 bpmedley I’ll have to do some research.
01:43 sri the current api is also stable, so there need to be deprecations if you remove anything
01:43 purl okay, sri.
01:44 bpmedley Understood, I don’t think I have; I hope the public API wll stay the same.
01:46 bpmedley So, I’ll get back to you for more guidance after cleanup, new tests, and tests pass.  Then, perhaps a pull request?
01:46 sri sure
02:19 asarch joined #mojo
02:31 klapperl joined #mojo
02:38 damaya joined #mojo
02:39 damaya hey preaction, just wondering, with Statocles, what's the difference between share and site dirs?
02:46 hesco In an .html.ep template, I tried to give my form an absolute path in its action attribute, but when it was served, it got rewritten to provide a relative path.  Is there anyway I can force it to have an absolute path?  In this application, the form will be hosted and processed on one server, but served from other domains on other servers and I need an absolute path.
02:47 bpmedley hesco: Do you have a smallish Mojolicious::Lite example?
02:47 bayashi joined #mojo
02:47 franzkafka Sometimes I feel like this is Ruby, Go, Python, etc: http://gohugo.io/
02:48 franzkafka And this is Perl: http://ikiwiki.info/
02:48 franzkafka :/
02:48 buu We do need to capture some graphic design people
02:49 sri perl people just need to learn to steal design
02:49 franzkafka Yeah, every time I look at something (right now it's static site generators), and I ctrl+f Perl in the page, I end up at a page looking like ikiwiki (good name though).
02:49 franzkafka themeforest.net
02:50 franzkafka I don't steal, I pay a very small amount :D
02:54 preaction http://chicago.pm.org is perl ;)
02:54 preaction but it's the standard whitespace+text stuff
02:54 zivester joined #mojo
02:54 disputin joined #mojo
02:55 franzkafka It's exactly what I am using. Statocles.
02:58 franzkafka preaction, site and share directories look exactly the same... from reading the documentation, I'd create a custom theme in share, what then is site for?
02:58 preaction neither is for anything
02:58 preaction whatever you want to do
02:59 franzkafka well, I pretty much want to run statocles as it is, but with a custom theme. all I want to do is create a custom theme.
02:59 preaction i use site/ for Statocles's website, because share/ is a perl convention
03:00 preaction okay, so use the create command, it'll ask if you want to copy (bundle) the theme into the current directory
03:00 preaction i see now that the create command is not referenced in Statocles::Help::Config
03:00 preaction nor Statocles::Help
03:00 preaction nor Statocles.pm :p
03:00 preaction my bad, it's relatively new
03:02 franzkafka preaction: no problem! I understand completely. I can just dig through source. I'm just looking at the directory structure / documentation at the moment trying to figure everything out.
03:02 franzkafka Looks good so far!
03:03 preaction you might be better off looking at chicago.pm.org's github https://github.com/ChicagoPM/ChicagoPM.github.io
03:04 Flying_Squirrel joined #mojo
03:04 preaction https://github.com/preaction/preaction.github.com <- here's my personal site, but there's a bug about two apps sharing the same directory that is causing me some amount of pain at the moment
03:04 preaction wait. what? this site shouldn't suffer from that bug...
03:05 preaction but chicago.pm.org will... sigh...
03:06 preaction https://github.com/ChicagoPM/ChicagoPM.github.io/blob/master/site.yml#L7-L17 <- this is the problem. two apps have the same Store, which makes them ignore the rules that protect, for example, '.' and './blog' ('.' ignores './blog', but it can't ignore another '.')
03:09 franzkafka ohh awesome!
03:09 franzkafka thanks preaction D:
03:10 preaction the site creator explicitly avoids this bug at the moment, by making each app have its own directory
03:10 franzkafka app being about, blog, jobs, etc?
03:12 preaction the stuff in the site.yml, attached to the site
03:12 preaction these: https://github.com/ChicagoPM/ChicagoPM.github.io/blob/master/site.yml#L44-L50
03:12 franzkafka Ah, gotcha!
03:13 hesco sorry bpmedley: got distracted by that link to http://themeforest.net/ for a while.  Sure, I can show you my template, and the method which serves it.  coming to you in a few minutes here
03:13 preaction which the "$ref" means they're named elsewhere in that file, which Statocles::Help::Config should explain
03:14 franzkafka I think the only thing that'd be nice, that is missing, is maybe support for Disqus or some sort of comment system.
03:14 franzkafka If I fork and add something like that, would you want it?
03:15 franzkafka I guess it doesn't really need to be added like that though. I could just include it in my template.
03:16 franzkafka I hate Disqus though :/
03:16 preaction https://github.com/preaction/Statocles/issues/109
03:16 preaction well, in that case: https://github.com/preaction/Statocles/issues/201
03:16 preaction https://github.com/preaction/Statocles/issues/152 <- or here's a list of services, which include comment services
03:17 franzkafka I love it preaction :D
03:17 franzkafka should add it to staticgen
03:17 preaction but yes, my idea for disqus was going to be adding a "data" key to the site object, that you could put a disqus api key in, and have statocles manage that intelligently
03:17 hesco bpmedley: as requested:  https://gist.github.com/hesco/3a13c7e1effcf352b28d
03:17 preaction there's something about the free disqus being limited to a certain number of live threads or something
03:18 bpmedley Seems minimal enough.. ;)
03:18 preaction so, i dunno what, but yes, some kind of comment system is a desired feature
03:18 franzkafka Disqus actually collects data on comments and uses it for marketing.
03:18 preaction yeah. that's why i block it via ghostery ;)
03:19 franzkafka :D
03:19 franzkafka mind if I fork staticgen and add statocles?
03:19 preaction the next major thing in statocles is dynamocles, which is both a webapp for editing statocles sites, and a helper for those kind of dynamic bits like commenting
03:19 preaction sure
03:19 franzkafka I will say it is Perl + Mojo::Template ?
03:19 preaction that'll work
03:19 franzkafka ok perfect
03:21 bpmedley hesco: Which is the problem confirm_donation or donate_form?
03:22 sri bpmedley: just don't end up with concurrency=1 taking a different code path than concurrency=2
03:22 sri re minion
03:22 bpmedley That makes sense
03:22 franzkafka sri: do you need any servers for mojolicious?
03:22 sri as few code paths as possible actually, since process management is very hard to test
03:22 franzkafka sri: testing, dev environment, etc
03:22 sri franzkafka: no
03:22 franzkafka sri: you don't check PMs it seems
03:23 sri no often
03:23 sri *not
03:23 franzkafka sri: ok, well, how else does someone support the project outside of purchasing shirts?
03:23 franzkafka I already have a few
03:24 sri can't have enough clean shirts
03:24 franzkafka I have the tie dye one, and I've gotten quite a few compliments.
03:24 franzkafka tye dye?
03:25 sri there's also gratipay https://gratipay.com/kraih/
03:26 sri which now pays for the server
03:29 Averna joined #mojo
03:29 hesco bpmedley: if you load http://dev.supporters.campaignfoundations.com/donate in a browser, and view source, you will see that the form action attribute gets rewritten to be a relative path.
03:29 hesco I need an absolute path for this application.
03:30 noganex joined #mojo
03:32 hesco where do you find the t-shirts?
03:32 sri http://mojolicio.us
03:34 hesco thanks.  had not seen those before.
03:34 preaction holy crap, perl is not well-represented on that staticgen.com site...
03:34 preaction there's a whole bunch on https://staticsitegenerators.net though
03:35 bpmedley We’re behind in the app field; however, that is improving.
03:35 preaction bricolage is static? wtf. i thought it was dynamic
03:35 preaction i mean, by that standard, webgui has a static export function
03:39 bpmedley hesco: https://gist.github.com/brianmed/4a4a1e542fec7643fd61 <— does this work for you?
03:42 hesco cheking that out now, thanks for taking a look at this.
03:45 franzkafka sri: if you're paying for the server, I don't mind giving you one for free
03:45 franzkafka w/ root and all that
03:45 franzkafka your server
03:47 franzkafka anyway, I'm signing off for a while. let me know sri, I'd be more than happy to donate a server to a project I use/love as much as mojolicious
03:47 franzkafka g'night
03:47 hesco bpmedley: yes, that did in fact work, providing me with an absolute path for the form action attribute.  But I do not see what is different here, other than the fact you wrote it as a Mojo::Lite app, instead of the Mojolicious app I have been developing.
03:47 hesco What am I missing here?
03:48 bpmedley Try adding in your custom modules and whatnot, see if they make a difference?  Also, the validation.
03:49 hesco using diff shows no changes between your template and my own, other than their names.
03:50 bpmedley The issue may not be the template contents.
03:51 hesco so are you suggesting that Mojo::Lite supports what I need, but that Mojolicious does not?
03:51 bpmedley No, I’m saying there is a difference somewhere.
03:54 hesco just checked the process list, I was working under the assumption that my application got restarted when I deployed the latest changes, but the ps table seems to disagree with me on that point.  Going to kill the process and try this again.
03:54 bpmedley That may be a difference.. :)
03:58 absolut_todd joined #mojo
03:58 hesco and indeed it did.  Thought I had debugged that deployment script this afternoon, but apparently I still have work to do with it yet.
03:59 hesco thanks for the hand-holding bpmedley:  on to the next issue then.  !!!
04:12 inokenty-w joined #mojo
04:38 marmez left #mojo
04:58 irq joined #mojo
05:13 disputin joined #mojo
05:18 Flying_Squirrel joined #mojo
05:27 hshong joined #mojo
06:10 Flying_Squirrel joined #mojo
06:24 davido_ joined #mojo
06:39 ispyhumanfly joined #mojo
06:45 berov joined #mojo
06:52 bramirez joined #mojo
07:03 polettix joined #mojo
07:09 marcus /o\
07:12 dod joined #mojo
07:17 dod joined #mojo
07:24 amon joined #mojo
07:29 reneeb joined #mojo
07:38 ispyhumanfly joined #mojo
07:45 Vandal joined #mojo
07:48 bramirez joined #mojo
07:57 AndrewIsh joined #mojo
07:59 marmez joined #mojo
08:01 reneeb joined #mojo
08:08 trone joined #mojo
08:10 eseyman joined #mojo
08:46 berov batman: Mojolicious-Plugin-AssetPack-0.3801 tests fail with Mojolicious 6.01
08:46 batman berov: that doesn't help me
08:46 berov you will have a report from spantesters in a while
08:47 berov well let me find the log
08:47 batman ok.
08:50 batman berov: i do read the cpan testers reports, so you don't have to tell me i will receive an email.
08:51 berov yes
08:51 batman make an issue on github if you have a problem.
08:51 batman (yes, i also read emails from github)
08:51 berov batman: I just forked it and will try to see what specifically it is
08:52 batman appreciate it :)
08:52 berov I want to try it for Ado
08:53 batman berov: the tests are ok locally with Mojolicious-6.01 :/
08:54 berov batman: true - just ran from the cloned copy with prove
08:59 bramirez joined #mojo
09:01 irq joined #mojo
09:03 shadowpaste "berov" at 217.168.150.38 pasted "perl-5.14.4 Mojo 6.01 Mojolicious::Plugin::AssetPack fails at t/css.t line 29." (6 lines) at http://paste.scsys.co.uk/468888
09:04 salva joined #mojo
09:06 berov batman: there are two other failures more:
09:07 berov ops one more, sorry
09:07 shadowpaste "berov" at 217.168.150.38 pasted "perl-5.14.4 Mojo 6.01 Mojolicious::Plugin::AssetPack fails more" (16 lines) at http://paste.scsys.co.uk/468890
09:20 batman berov: that still doesn't help me.
09:20 batman information on how to reproduce would be nice.
09:20 batman berov: you either give me useful information or i will ignore the issue
09:20 berov batman: trying to reproduce it
09:21 batman then don't distract me until you *think* you have something useful
09:21 berov fails only when installing from cpan
09:21 batman right. that _is_ useful information.
09:21 berov sorry, will  find what it is
09:23 batman berov: both cpanm and cpan installs assetpack here.
09:23 batman cpanm --reinstall Mojolicious::Plugin::AssetPack # ok
09:23 batman cpan -t Mojolicious::Plugin::AssetPack # ok
09:24 fhelmber_ joined #mojo
09:30 berov batman: do you wnat me to paste the build.log?
09:30 berov want*
09:31 berov somehow random failures
09:41 bramirez joined #mojo
09:41 bramirez1 joined #mojo
09:52 bramirez joined #mojo
10:16 allison joined #mojo
10:27 dvinciguerra joined #mojo
10:35 bramirez joined #mojo
10:38 icjs2 joined #mojo
10:38 ver joined #mojo
10:45 juikuen joined #mojo
10:54 Flying_Squirrel joined #mojo
10:55 stephan joined #mojo
10:55 stephan hi all.
10:57 stephan joined #mojo
10:58 stephan sorry. my network connection seems not stable. bbl.
10:58 stephan left #mojo
10:59 stephan joined #mojo
11:01 stephan joined #mojo
11:01 stephan joined #mojo
11:02 stephan left #mojo
11:09 absolut_todd joined #mojo
11:19 bramirez joined #mojo
11:24 absolut_todd joined #mojo
11:33 riche sri: when you have time, please let me know the info at https://github.com/mojoconf/nyc-2015-06-05/blob/master/core-travel.org
11:36 polettix joined #mojo
11:36 absolut_todd joined #mojo
11:42 absolut_todd joined #mojo
11:44 dhg joined #mojo
11:48 absolut_todd joined #mojo
11:53 absolut_todd joined #mojo
11:59 absolut_todd joined #mojo
12:06 bramirez joined #mojo
12:18 absolut_todd joined #mojo
12:44 absolut_todd joined #mojo
12:46 ispyhumanfly joined #mojo
12:58 dvinciguerra joined #mojo
13:13 juikuen joined #mojo
13:31 bramirez joined #mojo
13:34 jkramer joined #mojo
13:34 jkramer Ahoy!
13:34 nicomen \o
13:34 jkramer What's the best way to bail out of a multi-step delay early? Just die()?
13:38 polettix joined #mojo
13:42 marty joined #mojo
13:42 juikuen joined #mojo
13:44 bwf joined #mojo
13:47 ispyhumanfly joined #mojo
13:56 odc jkramer, either return() or die()
14:00 jkramer return in the sub prevents all the following steps from being executed?
14:02 kaare joined #mojo
14:02 odc jkramer, yes. The next sub can only be executed if you use $delay->begin (which returns a coderef to the next sub)
14:02 jkramer Ah ok, thanks
14:15 jberger odc: close enough
14:15 odc yeah, i guess $delay->begin is more complicated than that
14:16 ispyhumanfly joined #mojo
14:23 zivester joined #mojo
14:30 ispyhumanfly joined #mojo
14:34 mattastrophe joined #mojo
14:36 bramirez joined #mojo
14:44 asarch joined #mojo
15:25 tempire Hey look! Mojoconf has a twitter! @mojoconf
15:25 jberger retweets! https://twitter.com/mojoconf/status/573504177961328640
15:26 genio tempire++ # mojocasts \o/
15:26 hahainternet downtown NY
15:26 hahainternet suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuucks
15:26 hahainternet also i won't go back into the US until they fix the TSA up a bit
15:26 hahainternet so i'll see you at euromojoconf :D
15:26 genio I haven't ever been to NYC
15:26 hahainternet i went through it on my way to maryland
15:26 hahainternet it stunk
15:26 hahainternet people were bigger arseholes than london
15:26 hahainternet everything was hilariously expensive
15:27 hahainternet we got packed into the shittest tiniest comedy club to the point you were physically trapped in your chairs
15:27 hahainternet and then charged $10/beer
15:27 hahainternet fuuuuuuuuuuuuck you NYC
15:27 jberger hahainternet: ok ok, you don't have to come this time :-)
15:27 jberger thanks for the "enthusiasm"?
15:27 hahainternet haha
15:27 hahainternet see i love mojo
15:27 hahainternet but i'm not willing to get my balls fondled
15:27 hahainternet just to come hang out with you guys
15:28 jberger hahainternet: http://cargocollective.com/4thamendment
15:28 hahainternet jberger: '4th amendment' means nothing
15:28 hahainternet I'm British 8)
15:29 jberger prohibits unreasonable search and seizure, or its supposed to anyway
15:29 jkramer There's a bus in front of houston street center. I can't see shit!
15:29 hahainternet no i know but i mean it doesn't apply to me
15:29 hahainternet and it also wouldn't apply at home, where it's 'ECHR' which provides equivalent guidelines
15:29 jberger ah, true
15:30 hahainternet but yeah i don't actually mind the whole balls thing
15:30 hahainternet but i find the US scary
15:30 jberger you should become a US citizen so they can just ignore your rights, rather than assert that you have none
15:30 hahainternet your border guards can take any of my electronics
15:30 hahainternet and i can do literally nothing about it
15:30 hahainternet i can be detained at any time for any reason with no rescourse
15:30 hahainternet any money i am carrying can be seized under civil forfeiture etc
15:30 hahainternet i've been advocating the US is a protofascist police state for some time
15:30 jberger sadly civil foreiture happens to citizens too
15:30 hahainternet but people tend to think the UK is, because they're wildly ignorant
15:31 hahainternet anyhow i don't want to bring in any drama to here
15:31 hahainternet i genuinely want to come
15:31 hahainternet but there's no way i'm flying to NY to be abused and overcharged
15:31 hahainternet jberger: the scariest thing is that guy who tries to complain about police
15:31 jkramer That should be the motto of NY
15:31 hahainternet and has an accomplice videotape him
15:31 hahainternet and basically every station he goes in
15:31 hahainternet he gets physically confronted
15:31 hahainternet and threatened
15:31 riche funny ... i fly in and out of the us many many times a year and never have problems
15:31 hahainternet and asked why he wants to rock the boat
15:32 hahainternet riche: ah, you confirm eh?
15:32 hahainternet white, male, short hair?
15:32 hahainternet s/confirm/conform
15:33 hahainternet anyway i'll shut my face, i just found it funny that when i went to the US i had slightly long hair and was in my 20s
15:33 jkramer twist: riche is an air marshall
15:33 hahainternet and both sides searched me for cannabis without even bothering to admit they were
15:33 hahainternet on the US it was 'agricultural screening'
15:33 hahainternet no joke
15:33 * hahainternet shrugs
15:33 riche in the 90s I had long hair and it didn't happen to me then
15:34 hahainternet that's the 90s
15:34 hahainternet i'm pretty sure the year things changed a lot was 2001
15:34 hahainternet i visited in 2006 and it was bad enough, and since then i've heard endless horror stories
15:35 riche there's a general rule: don't be an asshole when going through tsa/customs
15:35 riche when I go to australia, i get hassled much worse than the US, but that's ok, they have an island to protect
15:35 hahainternet riche: being polite and british comes across as arrogant to people sometimes :(
15:35 hahainternet yeah australia has significant customs enforcement for fauna/flora etc
15:35 hahainternet which is fair enough
15:36 riche yah I do jfk-hkg-syd about 8x a year
15:36 jberger my little nephew had just learned the word "kaboom" (my sister used when smashing legos) and she said that trip through tsa was the most never-racking ever :-)
15:36 hahainternet i just dislike the fact that in the US there's so many bullshit crimes and unaccountable police etc etc
15:36 hahainternet got a rooted tablet? well that's a DMCA offence and you're fucked son
15:37 hahainternet it's coming to the EU though
15:37 hahainternet ugh, balls to the modern world :)
15:37 hahainternet sorry to spam anyway
15:37 gryphon joined #mojo
15:38 jkramer I'm flying tomorrow, stop scaring me!
15:38 hahainternet jkramer: you'll be fine :)
15:38 jkramer Not to the US though :D
16:00 doby joined #mojo
16:11 cpan_mojo Test-Mojo-Most 0.06 by Lee Johnson - http://metacpan.org/release/LEEJO/Test-Mojo-Most-0.06
16:16 jberger Lee: is that you ^^
16:24 bramirez joined #mojo
16:57 Dandre joined #mojo
16:58 Ptolemarch joined #mojo
17:07 Omar joined #mojo
17:07 Omar Hi All
17:08 Omar What happens when Mojo::IOLoop->next_tick() is called but the event loop has not yet started?
17:12 Omar http://mibpaste.com/DMmNRX
17:13 rohit joined #mojo
17:13 Omar So, the startup function here will return, and then the registered method (called flood() and referred to as $some_method) will register a recurring event, and then start the loop.
17:14 Omar My question is: If the event loop is not yet started, is the call in startup() a blocking call or not?
17:16 Omar joined #mojo
17:30 Omar joined #mojo
17:31 Grinnz no, next_tick just adds a callback to be called on the next tick
17:33 disputin joined #mojo
17:44 sh4 joined #mojo
17:50 dod joined #mojo
17:57 irq joined #mojo
18:00 Flying_Squirrel joined #mojo
18:02 d4rkie joined #mojo
18:03 d4rkie joined #mojo
18:08 D4RK-PH0ENiX joined #mojo
18:45 salv0 joined #mojo
18:46 sri riche: i plan to arrive on the 4th and leave on the 9th, preferrably through BRE airport (not going to YAPC::NA, but doing touristy things for two days in NY)
18:47 genio Good luck understanding NYers.  (NY Accent)--
18:51 sri there's a NY accent? Oo
18:53 genio Yep.  I have a couple of coworkers straight from NY down here in FL. It's odd
18:54 Adura Have them say Coffee, you'll hear it.
18:54 sri joke's on them, i don't drink coffee anymore
18:54 genio coffee, salad, sauce, ...
18:55 kaare joined #mojo
18:58 Ptolemarch joined #mojo
19:03 riche those with accents are usually from brooklyn
19:03 riche maybe queens
19:04 riche but coffee would sound like cawfy
19:05 Grinnz how else is it supposed to sound ;)
19:07 riche sri: preferred loyalty program for airline/hotel pls
19:08 sri no preference
19:08 riche gotcha
19:08 riche i'll see if air china flies that route
19:08 riche lol j/k
19:08 sri heh
19:09 sri i don't think asian airlines fly that route though ;p
19:10 riche I will at least get you on a OW or SA airline
19:10 riche yah they do
19:10 riche just have to route you through dubai and then shanghai or something
19:10 riche that would be plain mean tho
19:12 sri http://cdn.meme.am/images/8221253.jpg
19:12 sri oh, OP_SIGNATURE discussion is heating up again
19:13 trone joined #mojo
19:19 mattastrophe joined #mojo
19:22 Grinnz_ joined #mojo
19:24 ZadYree joined #mojo
19:24 ZadYree Hello! I'm having an issue on Mango, where should I go for it?
19:25 ZadYree I just cannot update a collection without modifying the while document. I would like to modify one single field :(
19:26 Ptolemarch joined #mojo
19:31 jberger oh I just had a great idea!
19:31 jberger I'm going to propose a MojoConf lightning talk at YAPC::NA
19:31 jberger a recap for the Perl community to see
19:33 marcus jberger: sounds great
19:45 sri jberger++
19:45 sri just don't show a picture of drunk sri
19:45 jberger I have no idea how I'm going to plan that travel
19:45 Grinnz lol
19:56 stephan joined #mojo
19:56 stephan hi all.
20:02 marty ZadYree:  what does your update statement look like?
20:02 riche hi stephan ... just didn't want you to feel like ppl are ignoring u on purpose
20:03 stephan riche: that's neat thanks, i appreciate your comment
20:05 sri o/
20:06 marty \o/
20:11 d4rkie joined #mojo
20:11 jberger \o\
20:11 jberger /o/
20:12 polettix joined #mojo
20:36 cpan_mojo Mojolicious-Plugin-BModel 0.03 by Alexander Ruzhnikov - http://metacpan.org/release/BCDE/Mojolicious-Plugin-BModel-0.03
20:41 genio ?  o.O
20:42 polettix joined #mojo
20:52 Guest46 joined #mojo
20:56 cpan_mojo Rex-Repositorio 0.6.0 by Jan Gehring - http://metacpan.org/release/JFRIED/Rex-Repositorio-0.6.0 (depends on Mojolicious::Commands)
21:24 tgt joined #mojo
21:26 irq joined #mojo
21:27 sri so, i guess everyone wants to see me talk about mojolicious internals?
21:27 jberger I think so, especially now that 6.0 will be old news by the time the conference rolls around
21:28 sri not so many flashy features in 6.0 anyway... most of that talk would have been Minion and Mojo::Pg i guess
21:29 sri using the Mojo::Reactor::Poll code to explain how event loops work will be fun
21:30 jberger I think people will learn a lot from that
21:30 sri i think so too, it's neatly self-contained
21:30 jberger I did
21:30 pink_mist compare and contrast with Dancer's "async" code :P
21:31 sri pink_mist: ????
21:32 pink_mist I don't think my font has that glyph
21:33 sri poop!
21:33 pink_mist oh, heh :P
21:33 sri (literally)
21:44 pink_mist riche: btw, can we expect streams from mojoconf? I won't be able to make it in person
21:52 riche I am considering making it PPV
21:52 riche lol
21:52 riche hell, if apple tv can do it, why can't we?
21:52 riche i am actually joking
21:52 Averna joined #mojo
21:53 riche the plan is to match last year, so yes.
21:54 sri that seems to have been the most stressful part last time (at least for batman)
21:54 riche yes it was
21:54 batman sri: me and marcus made it the last minute :)
21:54 riche I could even tell when the talks were going on
21:55 riche he wasn't happy
21:55 batman but doing the actual filming wasn't all bad
21:55 batman i wasn't happy..?
21:55 riche I didn't think so.
21:56 riche you looked not happy, and was playing a lot of morose 90s grunge music
21:56 batman i'm sorry i wasn't better at hiding that i was rather messed up at the time :(
21:57 batman it's not cool to have not-welcoming organizers
21:57 riche well, it wasn't that really - it just seemed like you shouldn't be bothered
21:58 riche anyways
21:58 riche you were fine once a beer got in ya
21:58 sri http://i.imgur.com/8MuWmY3.jpg
21:58 batman riche: yeah. beer helps most of the time ;)
21:59 mishantil batman: For what it's worth: we had a great time and think you all did an outstanding job.
21:59 batman sri: yeah. i do look at bit grumpy. i think it's just my "focused" look though.
21:59 batman mishantil: good to hear :)
21:59 sri you didn't seem grumpy to me at all, just stressed
22:00 batman sri: i was. i think i will try to keep to myself on what level...
22:00 berov batman: In AssetPack sounds better to me: wouldn't be better as "Default value is true in production mode and false in development mode."
22:00 berov than as it is now
22:01 batman berov: no. it only cares about $app->mode eq "production". it never match against $app->mode eq "development"
22:01 batman so if you have $app->mode eq "unittestmodeorsomething", then it is still false
22:01 berov then "and false otherwise"
22:02 berov for me was hard to understand
22:02 batman berov: which attribute is this?
22:02 batman fallback and minify?
22:02 berov minify and yes
22:03 berov but I have anyway a merge request to make
22:03 batman so you suggest this? s/and false if not/and false otherwise/
22:03 berov yes
22:03 batman done. i will change it.
22:03 berov ook
22:04 Anon021 joined #mojo
22:04 sri batman: core only does $app->mode eq "development"
22:04 sri (in case you want consistency)
22:04 batman sri: what do you mean about "core" ?
22:04 sri mojolicious core
22:04 berov BTW yes, I noticed this in Mojo. development is the only mode it knows about
22:04 sri we only have special cases for development mode
22:05 sri production is not actually special
22:05 batman sri: hm... i don't think i can change that now, without breaking stuff.
22:06 mishantil Add ENV-flags! ASSETPACK_DO_WHAT_I_EXPECT=1 ! :p (*joking*)
22:06 berov AFAIR, hypnotoad knew about production
22:06 batman sri: but hypnotoad set it to production
22:06 batman it = mode
22:06 sri hypnotoad only sets the mode to production, but it's not a special case
22:06 sri there is no behavior tied to it
22:06 berov yes
22:07 berov # This is a production server
22:07 berov $ENV{MOJO_MODE} ||= 'production';
22:07 disputin joined #mojo
22:07 batman berov: don't paste
22:07 berov ook
22:07 batman berov: https://github.com/jhthorsen/mojolicious-plugin-assetpack/commit/aa62a98b587e8bb70ffbce0660eba730aa56700a
22:08 batman sri: so how would you do it? minify i all modes, except production?
22:08 batman ooops!
22:08 batman sri: so how would you do it? minify i all modes, except development?
22:09 d4rkie joined #mojo
22:10 sri batman: yea
22:10 batman ok.
22:10 batman what do you think berov ?
22:10 batman does it make sense?
22:11 berov batman: for the sake of consistency it makes perfect sense
22:11 batman then i will change it.
22:11 batman and blame you guys ;)
22:13 berov batman: you have a pull request
22:13 batman does this wording make sense:
22:13 batman Default is C<0> in "development" L<mode|Mojolicious/mode> and C<1> otherwise.
22:14 berov it is ok with 'false' and 'true' too but as you wish
22:15 pink_mist 'false' and 'true' aren't as easy to put in an if statement to check whether they are in fact, false or true
22:15 csson joined #mojo
22:16 berov pink_mist: anybody in the Perl world knows what I meant
22:17 pink_mist I'd disagree with that statement as I am in the perl world, and definitely thought you meant the literal strings 'false' and 'true'
22:17 batman i will also put in $bool = $self->minify;
22:18 batman sri, berov: https://github.com/jhthorsen/mojolicious-plugin-assetpack/commit/0d40993d886e8f98189904c402eb6f0f5086020b
22:19 batman pink_mist: ^ appreicate if you can review the pod
22:19 berov1 joined #mojo
22:20 batman pink_mist: if you still disagree, then figure out something berov agree on, and i will change it
22:20 batman but i don't think C<0> and C<1> will work, since it's too specific
22:20 batman (i think it's "" when it's false)
22:20 batman but any false/true value will work
22:20 berov1 batman: it is
22:21 batman berov1: why do i need "encoding utf8" all over the place?
22:21 berov1 well, to add my name at some point :), jocking
22:22 pink_mist batman: nah, it was the «'» that made me think he meant the literal strings 'true' and 'false' .... it's alright like how you have it =)
22:22 batman aha. cool :)
22:22 batman berov1: haha! nice ;)
22:22 berov1 but everywhere in mojo docks we have it
22:23 batman berov1: so did the documentation make any sense to you?
22:23 berov1 and it will be ok for adding some strange characters without getting warnings
22:23 batman i just threw it together the other day after some feedback from jberger...
22:23 batman i've been wanting to write some *proper* documentation for a long time
22:23 berov1 I just started looking at it
22:24 batman ok. let me know if there's anything that is awful/good/not understandable
22:24 berov1 batman: I was buzzy today,will give more feedback later
22:24 batman but please be specific
22:24 berov1 sure
22:24 batman thanks.
22:24 batman btw: i won't make a new assetpack release just now...
22:25 berov1 np
22:25 batman (the pr is merged)
22:25 berov1 thanks!
22:25 batman thank you
22:34 alnewkirk joined #mojo
22:44 sawtooth joined #mojo
22:47 d4rkie joined #mojo
22:48 sawtooth has anyone ever achieved non-blocking Net::LDAP with mojo?
22:49 sawtooth even with async => 1 it just blocks and never returns to a callback
22:55 marmez left #mojo
23:01 juikuen joined #mojo
23:50 sri does anyone have a favorite code walktrough kinda talk?
23:50 * sri wonders how to do the slides
23:51 sri think i'll mostly use the actual code and then highlight stuff i'm talking about somehow
23:51 * pink_mist glances at mojocasts.com
23:54 n2plato joined #mojo

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