Camelia, the Perl 6 bug

IRC log for #mojo, 2012-02-23

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

All times shown according to UTC.

Time Nick Message
00:15 * sri would like to rename Mojo::CookieJar to Mojo::UserAgent::CookieJar
00:22 kitt_vl joined #mojo
00:26 * tempire has no opinion whatsoever on that point
00:40 sri well, i actually don't want to rename it, but Mojo::UserAgent::CookieJar just seems right :S
00:42 * sri waits for someone to tell him not to do it
00:43 tempire what is the use case.
00:43 tempire will it affect anyone
00:43 sri it's a jar, for cookies, the user agent uses it
00:43 tempire is it tested
00:44 tempire put it in a jar!
00:44 sri well tested and absolutely nobody uses t directly
00:45 sri outside of a user agent it's useless
00:55 tempire hmm.  morbo mws -> "mws" is not a valid application.
00:56 sri return value was not an app
00:57 tempire ah.  rogue 1;
00:57 sri sneaky bugger
00:59 d4rkie joined #mojo
01:08 scott joined #mojo
01:17 tempire hmm
01:17 tempire I want Mojolicious::Controller->on to take key/value pairs of events
01:18 sri doesn't work
01:18 purl Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Is it making faces at you? Does it want more money? Is it sleeping with your girlfriend? Please be specific!
01:18 sri on returns an identifier that can be used to delete individual events again
01:18 tempire it could return a list
01:20 sri that gets very ugly with ->once
01:22 sri actually i don't think multiple events in one method call are pretty either
01:26 tempire you speak madness.  https://gist.github.com/1889023
01:27 tempire ->once confuses me though.
01:27 sri yea, i hat multiple callbacks in one method call
01:27 tempire why do you hate it?  it's perfectly perlish.  lists lists lists.
01:29 sri second is a lot more readable
01:29 mire joined #mojo
01:30 sri callback spaghetti is something i'm very worried about
01:30 tempire I don't think of it as spaghetti, so much as key value pairs.
01:30 sri with the second you wouldn't mind another nested callback
01:39 sri events are tricky, i would feel a lot better if we enforced good style in this one case
01:40 sri if you allow multiple callbacks it will be used that way, multi layers
01:48 sri tempire: http://hastebin.com/raw/xoviqobeti
01:49 sri now add another listener to the nested ->on
01:50 sri you know ->on with multiple callbacks would become convention if we allowed it, people are lazy
01:52 sri tempire: http://hastebin.com/raw/meparilote # actually here's an example with two nested events
01:55 tempire I hear you.
01:55 tempire but still.  I don't like it.
01:55 tempire I want macros.
01:55 tempire PERL Y U NO MACROS
01:55 sri well, if you feel that strongly about it, have a vote
01:56 tempire no, I understand the reasoning behind it.  If I want it I can write my own abstraction.
01:57 tempire A friend of mine just posted that a cold fusion programmer at his work was gushing about this awesome Perl framework called Mojolicious
01:58 sri :D
02:00 sri maybe the callback problem should have a ticket for discussion
02:00 sri i can imagine marcus might be interested in it too
02:34 jb360 joined #mojo
02:42 tempire marcus: is there a list of the google code-in stuff?
02:50 lukep joined #mojo
03:04 arpadszasz joined #mojo
03:21 hshong joined #mojo
03:47 tardisx "the current architecture is too genius" is definitely QOTD
03:47 xaka joined #mojo
03:58 auggy left #mojo
04:52 tempire !!
04:52 tempire I just spent a billion hours before I realized that websocket '/' cannot be after get '/'
04:53 tempire a billion!
04:57 crab now you will be punished.
05:21 jb360 left #mojo
06:03 Elraraniel joined #mojo
06:11 crab Mojo::IOLoop->singleton->connecti​on_timeout($self->tx->connection => 30);
06:11 crab that should be Mojo::IOLoop->stream($self->​tx->connection)->timeout(30) now, right?
06:12 inokenty joined #mojo
06:34 d4rkie joined #mojo
06:36 inokenty joined #mojo
06:41 Foxcool joined #mojo
06:44 baton8 joined #mojo
06:48 d4rkie joined #mojo
07:04 batman joined #mojo
07:06 dpetrov_ joined #mojo
07:10 marcus oh hay
07:13 tempire hai
07:13 marcus I agree with sri on the ->on thing.
07:14 marcus callbacks are too scary :)
07:14 migo joined #mojo
07:16 hshong joined #mojo
07:20 marcus KICK IT!
07:21 * tempire breaks it down
07:21 marcus you ask your mum 'please' / but she still says no.
07:21 marcus you gotta fight ... for your right ... to paaaaaarty!
07:22 hshong` joined #mojo
07:22 perlite_ joined #mojo
07:23 scott_ joined #mojo
07:23 marty joined #mojo
07:26 BHS_error joined #mojo
07:30 * tempire stares at the crazy text that the websocket received
07:32 Elraraniel left #mojo
07:37 rafl joined #mojo
07:38 crab hi rafl.
07:50 tempire marcus: I saw your oauth2 plugin...didn't you create something that made it easy to use twitter auth as well?
07:52 marcus tempire: no, I'm waiting for twitter to migrate to oauth2 :)
07:52 marcus (as they announced like a year ago).
07:53 noganex_ joined #mojo
08:00 marcus https://dev.twitter.com/discussions/397
08:01 rafl joined #mojo
08:13 cosmincx joined #mojo
08:15 batman joined #mojo
08:17 tempire Trying to implement oauth for the first time.
08:17 tempire I see now.
08:22 stephan48 ;)
08:24 rafl joined #mojo
08:25 berov joined #mojo
08:36 marcus tempire: google supports oauth2 tho
08:50 crab i thought oauth was horrid?
08:53 rafl joined #mojo
08:55 marcus crab: only oauth1
08:55 marcus crab: oauth2 removes all the horror in favor of ssl
09:08 cosmincx joined #mojo
09:34 marcus wonder what would be a better name for MojoX::Redis
09:34 marcus it doesn't actually work anymore on current mojo, due to deprecations in the ioloop.
09:34 rafl joined #mojo
09:35 marcus maybe I should just use AnyEvent::Redis
09:38 crab that seems like the sensible thing to do
09:50 Netfeed AE::Redis can be used without much probelm in an Mojolicious-app?
09:50 marcus Netfeed: http://blog.kraih.com/mojolic​ious-hack-of-the-day-anyevent
09:51 marcus Netfeed: http://mojolicio.us/perldoc/Mojoli​cious/Guides/Cookbook#Event_loops
09:51 Netfeed oh, nice
09:52 crab what i need to do is use AE::XMPP in my mojolicious app
09:52 Netfeed no update for AE::Redis in over a year though
09:56 marcus heh, redis doesn't put dates in their changelog :/
09:57 daxim joined #mojo
10:02 marcus Netfeed: is there any new feature that's missing?
10:04 Netfeed i doubt it, but i usually get a bit, let's call it nervous in lack of better words, when i see that a lib hasn't been touched in that time
10:14 marcus Netfeed: pretty stable names on the author list tho. miyagawa, acme...
10:15 Netfeed that might be, but for people, like me, that doesn't really know who those people are, that doesn't really say anything
10:21 judofyr joined #mojo
10:26 daxim http://stackoverflow.com/questions/9​410645/globals-and-threads-in-mojoli​cious-for-handling-different-paths
10:31 maxx joined #mojo
10:32 marcus daxim: answered
10:33 judofyr Travis is soon getting Perl support: http://travis-ci.org/#!/judofyr/mojo/jobs/727071
10:35 maxx anyone knows how I can push multiples values for same key using $self->param() override ?
10:36 judofyr maxx: ->param(foo => [1, 2, 3]) ?
10:36 maxx I tried this, but code in TagHelpers expect $self->param to return an array
10:37 maxx in _input:   my @p = $c->param($name);
10:37 maxx it works if parameters were filled from request, say GET /path?foo=1&foo=2
10:38 maxx but I cannot use override feature to get the same behaviour
10:38 maxx I'm trying to prefill a select tag that has multiple attribute
10:39 Kulag joined #mojo
10:43 Netfeed don't you have a reference? my @p = @{ $c->param($name) };
10:44 maxx that code "my @p = $c->param($name);" comes from Mojolicious/Plugin/TagHelpers.pm
10:56 crab @{$c->param($name)} is definitely wrong.
10:58 Netfeed awh :(
10:59 batman maxx: are you doing $self->param(foo => $value) in your controller?
11:00 maxx yes, and that works
11:00 maxx if I use an input text for example
11:00 batman does it? thought $self->param was read only
11:00 batman have you tried $self->req->url->param(foo => $value) ?
11:00 maxx then I can set the input text value to what I set in param
11:01 maxx a single combobox with select is ok too
11:01 maxx my problem is that I set the 'multiple' attribute on select
11:01 maxx so I have to push multiple values for the same key in param
11:02 maxx the form is ok if I call it with /form?foo=a&foo=b
11:02 maxx the elements are correctly pre-selected
11:02 maxx but I cannot force this from my controller
11:04 batman have you tried $self->req->url->param(foo => \@values) ?
11:12 maxx batman: ah indeed: $self->req->param('foo', 'a', 'b') works
11:13 maxx req->param store is a Mojo::Parameters and not a simple hash
11:13 maxx a bit hacky but it works :) thanks !
11:14 batman https://metacpan.org/module/M​ojolicious::Controller#param <-- "Access GET/POST parameters" != "Set GET/POST parameters"
11:14 batman i had the same issue some days back :)
11:17 maxx https://metacpan.org/module/Mo​jolicious::Plugin::TagHelpers
11:17 maxx Most form helpers can automatically pick up previous input values and will show them as default. You can also use param to set them manually and let necessary attributes always be generated automatically.
11:17 maxx % param country => 'germany' unless param 'country';
11:18 maxx writing $self->param() seems intended
11:18 batman strange... maybe i'm just confused :/
11:19 maxx $self->param also returns stash captures
11:20 batman i thought they were a copy...
11:31 fhelmber_ joined #mojo
11:41 alnewkirk joined #mojo
11:42 vervain Can a bridge redirect?
11:43 judofyr vervain: sure, as long as it "return 0;"
11:45 yko joined #mojo
11:48 ki0 joined #mojo
11:54 yko joined #mojo
13:02 abra joined #mojo
13:14 inokenty joined #mojo
13:17 marcus sri: does plugin 'config'; set $app->config as well? It seems like it only reads it?
13:17 marcus and merges it into $self->stash('config')
13:29 alnewkirk joined #mojo
13:32 sri marcus: of course it does
14:15 sri maxx: looks like a bug, i'll fix it
14:16 sri $c->param(foo => qw/bar baz/) should work i suppose
14:30 GitHub142 joined #mojo
14:30 GitHub142 [mojo] kraih pushed 1 new commit to master: http://git.io/jmZs0g
14:30 GitHub142 [mojo/master] fixed multiple value bug in param method of Mojolicious::Controller - Sebastian Riedel
14:30 GitHub142 left #mojo
14:30 sri maxx: should be fixed now
14:31 glob joined #mojo
14:31 sri and documented
14:32 judofyr sri: btw, I'm pretty close on getting Mojo run on Travis :)
14:32 sri yay?
14:33 judofyr sri: http://travis-ci.org/#!/judofyr/mojo/builds/727119
14:33 sri what is it good for?
14:33 judofyr CI
14:33 marcus fucking hashbang urls
14:33 sri we have cpantesters in perl, that seems a million times better
14:34 judofyr sri: this tests on 5.10, 5.12, 5.14 every time you push a commit to github
14:34 sri http://www.cpantesters.org/distro​/M/Mojolicious.html#Mojolicious-2.51
14:34 judofyr and you'll get feedback within ~2 minutes
14:34 marcus sri: travis vi would be a good compliment to cpantesters
14:34 glob does mojo templating work by building the output in memory, then writing it back to the client?  i have a page which is rather large, i'd like to be able to write to stdout progressively
14:34 sri ok, i suppose that's kinda useful
14:34 marcus sri: also, less reason for you to release just to see tester results :)
14:35 marcus if we're trying to reduce the frequency.
14:35 sri marcus: not really
14:35 marcus sri: we're not really trying?
14:35 sri cpantesters has so many more differet setups
14:36 arpadszasz joined #mojo
14:36 Netfeed why, oh why, don't people inherit from a base exception other then exception if they're throwing one million billion named exceptions in java? :(
14:42 sri marcus: i actually test 5.10 and 5.12 regularly on my dev box
14:43 sri breakage on generic perl setups is pretty rare
14:49 yko joined #mojo
14:56 black joined #mojo
14:57 yko joined #mojo
14:58 amoore joined #mojo
15:06 black joined #mojo
15:09 GitHub94 joined #mojo
15:09 GitHub94 [mojo] kraih pushed 1 new commit to master: http://git.io/CjvClQ
15:09 GitHub94 [mojo/master] fixed another small bug in param method - Sebastian Riedel
15:09 GitHub94 left #mojo
15:15 maxx sri: indeed, thanks
15:16 xaka joined #mojo
15:18 d4rkie joined #mojo
15:23 yko joined #mojo
15:39 judofyr sri / marcus: wo-hoo: http://travis-ci.org/#!/judofyr/parallol
15:39 judofyr also: http://travis-ci.org/#!/judofyr/mojo
15:40 sri judofyr++
15:43 yko joined #mojo
15:51 kaare joined #mojo
15:55 yko joined #mojo
15:56 kaare_ joined #mojo
16:08 mire joined #mojo
16:08 GabrielVieira joined #mojo
16:08 hshong joined #mojo
16:10 driller_work joined #mojo
16:10 driller_work Is it possible to deploy an mojo-app without running the standalone server?
16:13 judofyr driller_work: you can run it with CGI
16:13 judofyr driller_work: or a PSGI-server
16:14 driller_work I tried following the deployment-guide for CGI that is available on mojolicious's github but it doesn't seem to work at all; could you by any chance share your apache-vhost setup if you run it with CGI?
16:15 tempire judofyr: weren't you working on a capybara perl port?
16:15 judofyr tempire: correct
16:16 tempire As I recall, it was working, but was in an internal nordaaker repo
16:16 judofyr correct
16:16 judofyr although it doesn't handle forms 100% correct
16:16 tempire miyagawa is talking about a perl port on the twitters.
16:17 sri miyagawa wants it based on mechanize though
16:18 yko joined #mojo
16:20 judofyr sri: as long as the driver is pluggable, it should be possible to use Test::Mojo too
16:20 tempire release release release!
16:22 d4rkie joined #mojo
16:23 judofyr tempire: Brownie looks similar: https://github.com/masaki/Brownie
16:29 judofyr tempire: also, I'm kinda busy :/
16:31 tempire I don't really have any use for it at the moment.  I'm just bringing it up so it's considered at some point in the future.
16:32 driller_work does someone have a template for how to setup mojo under apache with CGI? The example on the deployment-page doesn't seem to do it for me
16:32 tempire http://mojolicio.us/perldoc/Mojoli​cious/Guides/Cookbook#Apache2FCGI
16:32 judofyr driller_work: what error do you get?
16:34 sri it's kinda funny how much harder setting up apache+cgi is these days than just using hypnotoad and a reverse proxy
16:35 tempire er, I guess that's what you meant by the deployment page.
16:35 * tempire redacts link
16:36 driller_work tempire: I looked at this one: https://github.com/kraih/m​ojo/wiki/Apache-deployment
16:36 driller_work Let me give that a try
16:36 sri the wiki is entirely user generated, and full of errors
16:37 tempire seems to be common.  I wonder if there's a way to put a huge "BEWARE" at the top of every page.
16:37 driller_work well, seems like that one is not working either
16:37 driller_work no errors, hmm
16:38 yko joined #mojo
16:39 driller_work http://pastebin.com/JZcyiGSL <- does this look wrong?
16:40 sri it's purely an apache problem though, mojolicious itself does nto require any setup
16:40 driller_work well, I kinda need to run it as a vhost
16:41 driller_work should be a way to get it to work under apache? no one in here that uses apache+mojolicious?
16:44 driller_work ??
16:45 tempire I haven't used apache since 2009 :(
16:45 driller_work what do you use to deploy your mojolicious app with?
16:45 tempire hypnotoad
16:45 purl ALL GLORY TO THE HYPNOTOAD!!!
16:46 maxx nginx reverse proxy
16:48 driller_work That would be the one that comes with mojolicious, right?
16:50 judofyr yup
16:50 tempire http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad
16:51 judofyr driller_work: or, Mojo comes with three servers: daemon (very simple HTTP server), morbo (which automatically reloads your app) and hypnotoad (which spawns child-processes that handle requests)
16:51 judofyr driller_work: hypnotoad is essentially daemon+fork
16:53 driller_work this is getting confusing, is there no easy way to deploy an app with a subdomain and have it run on port 80??
16:53 sri millions of ways
16:53 yko joined #mojo
16:53 driller_work that is what I thought too, but which one should I go for?
16:54 sri most of those have nothing to do with mojolicious though, but the web server you choose
16:54 driller_work I run apache and you say it wont work with apache
16:54 sri who said that?
16:54 driller_work or apache wont work with mojolicious
16:54 sri who said that?
16:55 driller_work you said apache has an problem with mojolicious and it's not mojolcious fault
16:55 sri where did i say that?
16:55 tempire he said whatever the problem is, it's an apache configuration issue.
16:55 driller_work @sri: it's purely an apache problem though, mojolicious itself does nto require any setup
16:55 vervain Ya.. what tempire said.
16:55 sri yea, what tempire said
16:55 tempire driller_work: try http://mojolicio.us/perldoc/Mojolicio​us/Guides/Cookbook#Apache2Fmod_proxy
16:55 vervain snap!
16:56 tempire assuming you want to use apache, the idea is you have apache forward the requests to hypnotoad
16:56 driller_work oh, and then reverse proxy it on apache to handle the request appropriately?
16:56 tempire yes
16:57 driller_work thank you, that is what I was fishing for :)
16:57 tempire if you don't require apache to be running, just skip it entirely.  You only need to do the reverse proxy if your site is busy enough for it to matter.
16:58 driller_work roger
16:58 tempire even so, I think the consensus in here is to prefer nginx over apache.
16:58 tempire should you need a reverse proxy at all
17:00 tempire I've assumed there was no interest, but I wonder if it's that no one has noticed the tip button on mojocasts.com
17:02 * sri did not notice it
17:03 sri in my experience tip buttons don't work so well
17:04 sri there needs to be a special cause for people to donate, like you need new build servers or similar
17:05 maxx it's tempting to write:
17:05 maxx my $nested = $r->route('/foo')->name("foo")
17:05 maxx $nested->via('GET')->to(action => "do_get")
17:05 maxx $nested->via('POST')->to(action => "do_post")
17:05 maxx but it does not work
17:05 maxx normal ?
17:05 purl normal is definitely not right.  minimal is probably a better word. or "there is no normal any more" or "there is no normal any more - http://youtu.be/O3MVMMDA5nM"
17:05 sri please don't paste into the channel
17:05 maxx okay
17:05 maxx will pastebin
17:06 maxx http://pastebin.com/33yEMcgP
17:06 driller_work christ, I simply cannot get it to deploy on port 80
17:07 driller_work tilting
17:07 maxx so using via() implies a little DRY ?
17:09 xaka joined #mojo
17:25 driller_work nah, time to rewrite this api in PHP instead
17:25 inokenty (that is why php much popular than perl =)
17:26 driller_work just sick and tired of running into problems when I use mojolicious
17:26 driller_work might be only me, but once I do, the support is not that significant, some care to assist whilst others dont. I wish mojolicious had a better community behind it, then things would certainly be different
17:26 driller_work but for now, I'll be sticking to CGI or catalyst
17:27 black joined #mojo
17:27 tabbi joined #mojo
17:29 tabbi hi. i have a mojolicious app which creates a strange debug entry in the logs for a specific page:
17:29 tabbi instead of saying 200 OK (0.0394s, .../s)
17:29 tabbi it says 5  (0.0394s, ...
17:29 tabbi and the page in the webbrowser is empty
17:30 tabbi can you tell me where i should search for to solve this?
17:34 tempire tabbi: not enough info...make a minimal lite app that duplicates the problem and gist it, you'll be more likely to get help
17:41 cstamas joined #mojo
17:42 * tempire gives sri a cookie: http://empireenterprises.com/ski​tch//Finder-20120223-094224.png
17:42 sri \o/
17:43 sri *munch*
17:49 * sri is still unsure about the Mojo::CookieJar renaming :S
17:49 sri please someone tell me to not rename it!
17:49 tempire "a not sure is the same as a no"
17:49 sri :o
17:51 tabbi left #mojo
18:07 * tempire <3 Devel::Dwarn
18:08 poundyz joined #mojo
18:08 poundyz hi all
18:08 * tempire waves
18:09 * sri waves
18:09 poundyz if i want to restrict a subroutine only for authenticated access (using plugin::authentication), what's the command ? get /blah => [ authenticated => 1 ] => sub { .. } ?
18:10 poundyz i tried to read the plugin documentation & google ... but can't found :( I recalled i saw it somewhere
18:10 tempire lite or full?
18:10 poundyz lite
18:11 tempire oh wait, actually I've never used plugin::authentication.
18:13 tempire still, it's probably just a check within an under
18:13 tempire http://mojocasts.com/e3#Under%20directive
18:13 tempire Hey! Mojolicious::Plugin::Authentication references mojocast 3
18:14 * tempire demands royalties
18:14 sri pirates!
18:14 purl I thought pirates got to rape, pillage,  and loot. or loot, THEN pillage or http://www.atari.com/pirates/ or  http://i12.photobucket.com/a​lbums/a207/Cyber_Akuma/Forum Hosted Junk/pirates_of_the_internet_DSCF0020.jpg
18:16 * sri wonders if $c->$next looks better than $next->()
18:17 sri (for around_dispatch examples)
18:17 tempire next looks cooler
18:17 tempire er
18:17 tempire $next->()
18:17 sri mkay
18:17 tempire but I could see it being confusing to noobs
18:18 sri around_dispatch is not meant for noobs :D
18:18 tempire $next->() it is then
18:19 sri is it just me or is jamadams patch actually even harder to grok than the original implementation?
18:19 sri https://github.com/jamadam/mojo/commit/990d​84d1c0e3ae39da76a8ec1d7d14a20364ce3d#L0R19
18:20 tempire I think they are equality convoluted.
18:20 tempire *equally
18:20 sri ;p
18:24 batman joined #mojo
18:27 amoore joined #mojo
18:32 mateu joined #mojo
18:34 vervain Does mojo have a funding account?
18:35 sri nope
18:37 ZadYree joined #mojo
18:37 ZadYree Hey, I'm the claws guy
18:38 ZadYree is there a mojolicious MVC schema somewhere?
18:38 ZadYree a friend of mine is willing to learn MVC
18:45 vervain I'm still stuck on the claws part... do you have a wolverine fetish or a red and white winter suit?
18:45 vervain :-)
18:46 tempire not sure what you mean by an mvc schema
18:47 tempire like a diagram?
18:47 batman [ model ] <-> [ controller ] <-> [ view ]
18:47 batman :)
18:52 vervain I've just put $self->defaults->{layout} = 'default' in my startup... is this the right thing to achieve this effect?
18:53 sri hmm, i actually have jamadams patch down to exactly the same number of lines as before
18:54 sri it does seem more correct, just not sure about the test case
18:55 tempire vervain: if it works, it's fine.
18:55 sri oh, now jamadams patch is less lines than before :o
18:56 tempire assuming your layout is a header/footer that you want on every page no matter what.
18:56 * sri is running out of arguments for not applying it
18:56 tempire but it's more flexible to include the layout in the template whenever you want to use it.
19:01 vervain Fair... at the moment it's easier to 'unset' it where I don't want it.
19:05 vervain A while ago I asked about sending mails on error... could this just be triggered by the exception template?
19:08 GitHub65 joined #mojo
19:08 GitHub65 [mojo] kraih pushed 1 new commit to master: http://git.io/4rZyCA
19:08 GitHub65 [mojo/master] improved emit_chain method in Mojolicious::Plugins to allow reforwarding - Sebastian Riedel
19:08 GitHub65 left #mojo
19:09 * sri can't resist a patch that does more with less code :/
19:09 sri might even be a little faster
19:24 sri oh noes, github layout changed again
19:24 vervain Is there a way to put HTML validation into my Mojo tests?
19:25 sri it's actually pretty cool though, you can see who made changes to a file https://github.com/kraih/mojo/​blob/master/lib/Mojolicious.pm
19:26 sri not sure if file history was there before, but it's damn useful
19:30 ZadYree back, sorry guys, had to eat fast, my hunger wasn't bearable
19:31 ZadYree <vervain> I'm still stuck on the claws part... do you have a wolverine fetish or a red and white winter suit? # I was seeing it more like Zoidbergs claws, but next time I'll be Mr Clamps
19:32 sri WHY NOT ZOIDBERG?!
19:33 ZadYree :)
19:33 judofyr joined #mojo
19:33 sri (V) (;,,;) (V)
19:33 ZadYree hehehehe
19:33 purl hehehehehe
19:34 vervain :-)
19:34 inokenty nice
19:35 sri purl: no, why not zoidberg is <reply> (V) (;,,;) (V)
19:35 purl OK, sri.
19:36 ZadYree ascii morbo seems harder
19:38 daxim (✜_✜)℞  # hypno eyes
20:46 lukep joined #mojo
20:49 mire joined #mojo
20:54 rafl joined #mojo
21:15 alnewkirk joined #mojo
21:17 sri marcus/crab: what are your thoughts on the last commit?
21:18 sri oh, 3am in india, crab prolly sleeps :)
21:18 * sri shakes marcus
21:21 marcus Yo
21:21 marcus Hype 1.5 loos pretty great http://tumultco.com/hype/whats-new/1.5/
21:23 marcus Sri: i like your change. It's cleaner.
21:24 sri i like the new icon
21:34 marcus Sri: i like it too.
21:35 sri uppercase S, you're ircing from the ipad again :)
21:41 batman joined #mojo
21:44 tempire I feel like the browser should be smart enough to send a cookie on appropriate redirects.
21:46 marcus Sri: busted.
21:47 trek1s joined #mojo
21:52 tempire huh.
21:52 tempire I doesn't seem like oauth is compatible with session based cookies.
21:55 tempire if all cpan modules used mojo::useragent, the world would be a better place.
21:56 batman that could maybe be easier to accomplish if it was in it's own distribution...
21:57 batman (just thowing it out there)
21:57 tempire why?
21:57 batman because people are strange
21:57 tempire well that, I can't argue with.
21:57 batman they get scared pulling down the server, when all they need is the client...
21:58 tempire to which my response is always, "oh, you mean the WHOLE framework that is installed and tested in less than a minute, or 15 seconds with parallel tests?"
21:58 sri that didn't stop LWP
21:58 tempire It's the little things.
21:59 tempire like MOJO_USERAGENT_DEBUG
21:59 tempire that feature alone is worth billions.
21:59 batman tempire: i don't argue. i'm hooked on the complete package :)
21:59 tempire I know.  I'm just saying.
21:59 batman sri: what do you mean about lwp?
22:00 batman i don't think lwp was as "big" as mojo...
22:00 tempire that's the trouble these days.  when perlrs think framework, they think catalyst.
22:00 sri i think the whole argument is artificial and someone made it up recently to back the catalyst architecture
22:01 sri LWP was shipping a full http server as well
22:01 sri for a decade
22:01 batman i actually thought the same thing this sommer: we do i need to download the server framework, when all i want is mojo::ua and mojo::dom?
22:01 tempire and it was even worse, because it never installed successfully via cpan.
22:01 batman sri: oh. i don't remember that :/
22:01 tempire you had to always do some tinkering.
22:01 batman tempire :D
22:02 * batman <3 mojo
22:02 sri hehe
22:02 sri LWP 5.x was just as big as mojolicious is these days ;p
22:03 sri 10k lines of code
22:03 purl somebody said 10k lines of code was nothing really
22:03 batman but not even half as loveable. i didn't ever care much for lwp
22:03 tempire truth.
22:03 batman there just wasn't any alternative...
22:03 tempire 15 SECONDS!
22:03 purl 15 seconds is a life time...
22:03 tempire have you figured out how to turn on HARNESS_OPTIONS by default yet?
22:04 * tempire cracks the whip
22:04 * sri hides under desk
22:04 sri don't think it's possible, we could only add it to the oneliner
22:04 sri oh btw
22:05 sri LWP 5.x was 10k lines *without* counting deps like HTML::Parser, URI...
22:05 sri just the core
22:05 tempire what about a bash script install?  curl -L mojolicio.us/latest | sh
22:05 sri actually
22:05 batman what about cpanm -n --sudo Mojolicious ? :P
22:06 sri why doesn't cpanm have a flag for HARNESS_OPTIONS=j9
22:06 sri oh, does it?
22:06 sri oooh
22:06 sri notest
22:06 sri not sure we should advocate that
22:07 tempire I'm pretty sure marcus would support that.
22:07 sri on the other hand, maybe worth a try
22:07 tempire It still scares me, though.
22:07 sri if it goes wrong we can always backpedal
22:07 * batman <3 cpanm as well :)
22:07 tempire I'd rather push to get HARNESS options supported in cpanm
22:08 tempire 'cause then if someone advertises their -n time, we still win.
22:08 * tempire WINS ALL THE THINGS
22:09 * sri pokes marcus and crab
22:09 sri cpanm -n yay or nay?
22:09 batman i always do -n when i develop and then i run test in stage/prod
22:09 batman yay
22:09 batman -n == skip all tests
22:10 tempire I have no idea how to do twitter auth with session cookies.
22:10 * tempire cries for HALP
22:10 sri marcus is good with oauth
22:10 batman tempire: are you doing oauth?
22:10 batman sri: marcus has a oauth2 (not oauth)
22:10 batman oauth is hell. oauth2 is simple :(
22:11 tempire yes. you can't access the session when redirected to
22:11 sri no cookies for tempire?
22:48 mattastrophe joined #mojo
23:06 vervain I love the Mojolicious allows you to hack a hugh amount of groovy stuff... and then go back and sanitize it down into about 10% of the original code. :-)
23:06 vervain I guess at some point I won't write it 1000% in efficient in the first round. :-)
23:07 vervain s/in efficient/inefficient/
23:27 black joined #mojo
23:41 tempire is there a hip html text editor for windows?
23:43 sri sublime2?
23:43 purl i guess sublime2 is neither pretty or usuable?
23:43 sri it works on windows, os x and linux
23:44 tempire oh.  right.
23:48 batman joined #mojo

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