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

IRC log for #mojo, 2014-01-22

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

All times shown according to UTC.

Time Nick Message
00:06 meshl joined #mojo
00:24 jberger joined #mojo
01:10 laouji joined #mojo
01:17 D4RK-PH0ENiX joined #mojo
01:17 d4rkie_ joined #mojo
01:22 sri sooo... we might want to plan ahead for signatures in perl 5.20, this branch looks very serious :O https://github.com/Perl/perl5/commit/d46b06066b548628f67e69182eb045c086adb557
01:27 ka2u joined #mojo
01:36 jb360 joined #mojo
02:28 D4RK-PH0ENiX joined #mojo
02:34 klapperl joined #mojo
02:37 jberger !!!!
02:38 jberger What level of api is included?
02:39 geck whoa
02:43 * jberger goes cross eyed scrolling through yak  generated code
02:44 * geck shaves
02:47 sri no api at all, since they all sucked
02:48 * sri thinks it is just right... most minimal implementation possible
02:50 jberger Definitely better than nothing
02:51 jberger Still many CPAN modules can do more and have essentially settled on syntax
02:51 jberger Won't that be the eventual end game?
02:51 jberger Not that I'm complaining, gotta take the first step
02:52 sri it has to start somewhere
02:56 * jberger runs perlbrew install -j9 --as sigs blead
02:56 sri it's not in blead
02:56 marty joined #mojo
02:56 jberger That was on the trunk, no?
02:57 sri zefram/simple_signatures
02:57 * jberger is slightly less excited
03:00 jberger But zefram had been generally critical right
03:01 jberger So maybe this represents the tide turning?
03:06 jberger Double secret experimental api!!
03:06 sri judging by the effort he put into documentation and shit... i'd think so
03:07 sri hmm, ever since the metacpan +1 system there have been no more written reviews for mojolicious
03:10 jberger Much easier to clickety-clack that like button
03:11 * jberger builds from checkout
03:16 Curts joined #mojo
03:23 jberger_ joined #mojo
03:23 jberger_ perl -E 'use feature "simple_signatures"; no warnings "experimental::simple_signatures"; sub doit ($x) { say $x+1 }; doit(2)'
03:23 jberger_ 3
03:23 jberger_ \o/
03:23 sri \o/
03:24 jberger I wasn't going to type that into my phone
03:26 good_news_everyone joined #mojo
03:26 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/KsmWiA
03:26 good_news_everyone mojo/master 98e6dd0 Sebastian Riedel: fixed Changes formatting
03:26 good_news_everyone left #mojo
03:29 Curt joined #mojo
03:38 jberger In other news: http://physics.aps.org/articles/v7/5
03:38 jberger Let's go trap a yeti next
03:59 Curt joined #mojo
04:07 marty joined #mojo
04:14 Curt joined #mojo
04:19 Curt When using Test::Mojo, Is there a simple way to have requests use the server DNS name instead of IP address?
04:34 marty joined #mojo
04:40 good_news_everyone joined #mojo
04:40 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/hvybrA
04:40 good_news_everyone mojo/master 130f717 Sebastian Riedel: better RFC links
04:40 good_news_everyone left #mojo
04:44 marty joined #mojo
04:49 D4RK-PH0ENiX joined #mojo
04:50 damaya Question: What do you guys normally run in your infrastructure for a web app?
04:52 damaya I have a 32GB VPS with 12 cores. The only thing I am running on there is a PostgreSQL database (in master-slave replication with another 8GB VPS), and my web app.
04:52 damaya I am curious what your set ups are like... Do you have a development server and a production server, do you use Puppet/Chef/Etc, and so on.
04:55 marty joined #mojo
05:06 ka2u joined #mojo
05:13 marty joined #mojo
05:13 ka2u joined #mojo
05:15 jwang joined #mojo
05:31 irq joined #mojo
05:32 laouji joined #mojo
06:12 good_news_everyone joined #mojo
06:12 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/qYYBLw
06:12 good_news_everyone mojo/master 86dcdd0 Sebastian Riedel: document overloaded operators in separate section
06:12 good_news_everyone left #mojo
06:32 marty joined #mojo
06:39 marty joined #mojo
06:47 marty joined #mojo
06:51 Vandal joined #mojo
06:54 marty joined #mojo
06:55 dpetrov_ joined #mojo
07:01 marty joined #mojo
07:05 basiliscos joined #mojo
07:07 marty joined #mojo
07:14 marty joined #mojo
07:20 marty joined #mojo
07:27 marty joined #mojo
07:33 marty joined #mojo
07:36 d4rkie_ joined #mojo
07:39 marty joined #mojo
07:45 marty joined #mojo
07:48 dod joined #mojo
07:50 ka2u joined #mojo
07:52 marty joined #mojo
07:58 marty joined #mojo
08:02 rawler joined #mojo
08:04 marty joined #mojo
08:10 laouji joined #mojo
08:10 marty joined #mojo
08:14 dod joined #mojo
08:16 marty joined #mojo
08:17 laouji joined #mojo
08:18 laouji_ joined #mojo
08:22 marty joined #mojo
08:23 D4RK-PH0ENiX joined #mojo
08:24 laouji joined #mojo
08:25 trone joined #mojo
08:28 marty_ joined #mojo
08:30 odc joined #mojo
08:34 marty joined #mojo
08:40 marty_ joined #mojo
08:46 marty joined #mojo
08:47 laouji joined #mojo
08:51 marty_ joined #mojo
08:57 marty joined #mojo
09:02 marty joined #mojo
09:03 alnewkirk joined #mojo
09:08 marty_ joined #mojo
09:13 marty joined #mojo
09:19 marty_ joined #mojo
09:24 marty joined #mojo
09:25 meshl joined #mojo
09:29 marty_ joined #mojo
09:33 rem_lex|pivo joined #mojo
09:35 marty joined #mojo
09:37 meshl joined #mojo
09:40 hummeleBop joined #mojo
09:40 marty_ joined #mojo
09:41 denisboyun joined #mojo
09:42 hummeleBop joined #mojo
09:45 marty joined #mojo
09:46 denis_boyun joined #mojo
09:50 marty joined #mojo
09:56 marty joined #mojo
10:01 marty_ joined #mojo
10:06 marty joined #mojo
10:11 marty joined #mojo
10:17 marty joined #mojo
10:22 marty joined #mojo
10:28 marty joined #mojo
10:33 marty joined #mojo
10:39 marty joined #mojo
10:42 fhelmber_ joined #mojo
10:44 marty_ joined #mojo
10:50 marty joined #mojo
10:56 marty_ joined #mojo
11:01 marty joined #mojo
11:07 marty_ joined #mojo
11:12 marty joined #mojo
11:18 marty joined #mojo
11:23 ver joined #mojo
11:34 marty joined #mojo
11:39 marty joined #mojo
11:45 marty_ joined #mojo
11:49 laouji joined #mojo
11:50 marty joined #mojo
11:56 marty joined #mojo
11:59 yokada joined #mojo
12:01 marty joined #mojo
12:07 marty joined #mojo
12:12 marty joined #mojo
12:12 trone_ joined #mojo
12:18 marty joined #mojo
12:20 irq_ joined #mojo
12:28 marty joined #mojo
12:33 marty joined #mojo
12:38 marty_ joined #mojo
12:39 mire joined #mojo
12:44 marty joined #mojo
12:49 marty_ joined #mojo
12:53 dod joined #mojo
12:54 marty joined #mojo
13:00 marty joined #mojo
13:05 marty_ joined #mojo
13:08 Curt joined #mojo
13:10 marty joined #mojo
13:16 marty joined #mojo
13:21 marty joined #mojo
13:26 marty joined #mojo
13:32 marty joined #mojo
13:37 marty joined #mojo
13:42 marty joined #mojo
13:43 jberger_ joined #mojo
13:47 marty joined #mojo
13:53 marty joined #mojo
13:58 marty joined #mojo
14:00 memowe \o/
14:03 marty joined #mojo
14:05 marty_ joined #mojo
14:19 rem_lex| joined #mojo
14:23 d4rkie_ joined #mojo
14:27 jberger_ :-/ bpo was hacked
14:28 jberger_ sql dump posted
14:28 moritz were the passwords salted and hashed?
14:28 rhaen joined #mojo
14:29 jberger_ I haven't seen the dump yet, phone wouldn't load the page
14:30 d4rkie joined #mojo
14:33 jberger_ So movable type is the best thing perl has had for blogging for years, and it's closed source
14:33 jberger_ Isn't it time for a mojo based blog app on CPAN?
14:33 jberger_ Galileo was a proof of concept for that really
14:34 jberger_ But I stalled because I hated dealing with sql schema
14:34 batman jberger_: i would love to make that happen
14:34 batman DAMN YOU TIME! :(
14:35 batman damaya: i got mojo + redis + mongodb
14:36 D4RK-PH0ENiX joined #mojo
14:37 marty joined #mojo
14:39 jberger joined #mojo
14:40 jberger_ joined #mojo
14:41 btyler joined #mojo
14:52 bluescreen joined #mojo
14:57 dvinciguerra joined #mojo
14:57 sh4 joined #mojo
15:02 maxhq joined #mojo
15:07 mire joined #mojo
15:08 bpmedley damaya: What site(s) do you run with your boxen?
15:10 cleverfox joined #mojo
15:11 bluescreen_ joined #mojo
15:35 zackiv31 joined #mojo
15:36 Curt joined #mojo
15:42 dpetrov_ moritz: "The password is salted and encrypted (with crypt)"
15:45 gryphon joined #mojo
15:45 avenj heh
15:45 avenj that's not very encouraging
15:45 dpetrov_ "If you use your blogs.perl.org password elsewhere, we strongly recommend that you change it" :D
15:46 dpetrov_ http://perlhacks.com/2014/01/blogs-perl-org/
15:47 avenj yeah, mine's some stupid weak throwaway phrase because I already knew all the major perl services are storing passwords in rot13 ...
15:47 avenj :o
15:48 dpetrov_ I even can't remember what mine was
15:50 btyler gah, jeez that's obnoxious. yeah, can't even remember what I used
15:52 nornagest joined #mojo
15:59 marty joined #mojo
16:01 marty joined #mojo
16:01 odc wth? all my retirect_to after a POST don't work anymore. Firefox receives them but does nothing
16:18 Curt joined #mojo
16:29 Curt When using Test::Mojo, Is there a simple way to have requests use the DNS name instead of IP address?
16:42 amirite_ joined #mojo
16:48 tianon Curt: maybe you can post some minimal example code that isn't doing what you want instead of just reposting the question? :)
16:49 tianon because it should be working as you describe - HTTP can't work properly without a Host: header these days
16:50 Curt Sorry posted the question late last night.. New to mojo and irc
16:51 tianon no worries; if you've got some minimal example code, it'll be much easier to help :)
16:56 Curt My company blocks irc track... So, hacking this out on my phone
16:56 Curt my $t = Test::Mojo->new('App');
16:56 Curt my $t = Test::Mojo->new('App');
16:57 Adurah I wouldn't do that twice.
16:59 Curt When performing a get within test::mojo, the URL is http://127.0.0.1, correct?
17:03 rem_lex|pivo joined #mojo
17:04 jberger joined #mojo
17:04 Curt Is a hook the best method to replace 127.0.0.1 with the DNS name?
17:07 marcus joined #mojo
17:08 jberger_ joined #mojo
17:16 Curt joined #mojo
17:21 ka2u joined #mojo
17:33 Curt joined #mojo
17:37 arthas joined #mojo
17:48 mire joined #mojo
18:11 sh4 joined #mojo
18:17 sproingie joined #mojo
18:19 sproingie hey i had a quick simple question: does Mojo::Server::PSGI actually serve PSGI apps, or does it just generate apps that need an external PSGI server?
18:21 bpmedley http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#PSGIPlack  <-- Looks like it always need an external serverfor PSGI/Plack
18:27 marcus joined #mojo
18:28 sproingie mkay.  don't know if i'll get Plack and all its deps into the new dev platform, but at least i got Mojo in
18:30 bpmedley Why do you need Plack?
18:31 sri any thoughts on if this is the right way to document overloaded operators? https://github.com/kraih/mojo/commit/86dcdd0063ffad9190a105251976d48677584102
18:35 bpmedley Seems  straightforward.  The only thing I might change is to show the exact operating being overloaded ('""'); however, that might look odd in the docs.
18:36 sri that doesn't work for links
18:37 sri the descriptions are taken from the overload docs... "" is called stringify there for example
18:37 bpmedley I see.  My bad.  It looks good, then.
18:39 bpmedley The only other consideration would be the order in the documentation: FUNCTIONS, METHODS, OPERATORS, BYTESREAM or OPERATORS, FUNCTIONS, ....  I imagine consitency would be better than any specific ordering.  Does that make sense?
18:39 sri order is consistent
18:44 Curt joined #mojo
18:47 ka2u joined #mojo
18:47 dpetrov_ joined #mojo
18:49 batman sri: i like it, but maybe you could do my $true = !!$collection; if it always return true..?
18:49 sri umm
18:49 sri you made the exact opposite suggestion a few weeks ago
18:52 batman i did? i thought i suggested returning $bool if it could return anything else...
18:52 batman maybe i was looking at the wrong methods then :(
18:54 sproingie bpmedley: i don't need plack per se, but i need some PSGI server.  would Net::Server::PSGI be all right?
18:54 good_news_everyone joined #mojo
18:54 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Ybg0oQ
18:54 good_news_everyone mojo/master a309f75 Sebastian Riedel: more links
18:54 good_news_everyone left #mojo
18:54 bpmedley sproingie: Do you have multiple plack/psgi sites?
18:55 sproingie bpmedley: right now i have zero, i'm hoping we can move a big monolithic mod_perl thing to several PSGI apps.  just one site.
18:56 bpmedley Would you consider perhaps a reverse proxy and multiple mojo apps?
18:56 sproingie that's way in the future tho, right now i want something people can whip up experiments and tests on, plack seems to have a lot of whipitupitude
18:57 bpmedley what about just using morbo in a vm for whipitupitude?
18:59 sproingie might do.  come to think, i'm probably trying to play too many moves ahead, mojo apps would probably do fine
19:00 dpetrov_ left #mojo
19:26 russum1 joined #mojo
19:33 wingfold joined #mojo
19:42 elvis_ joined #mojo
19:42 batman_ joined #mojo
19:51 mire joined #mojo
19:59 Lucas1 joined #mojo
20:37 lukep joined #mojo
21:07 dvinciguerra joined #mojo
21:07 dod joined #mojo
21:10 denis_boyun joined #mojo
22:11 yokada joined #mojo
22:53 yokada joined #mojo
23:51 fhelmber_ joined #mojo

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