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

IRC log for #mojo, 2014-09-22

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

All times shown according to UTC.

Time Nick Message
00:01 good_news_everyon joined #mojo
00:01 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/6BMQOw
00:01 good_news_everyon mojo/master 285746a Sebastian Riedel: fixed a few small bugs in Makefile.PL
00:01 good_news_everyon left #mojo
00:07 woz joined #mojo
00:12 good_news_everyon joined #mojo
00:12 good_news_everyon [mojo] kraih tagged v5.43 at 9f7f8ad: http://git.io/xlYXIQ
00:12 good_news_everyon left #mojo
00:14 good_news_everyon joined #mojo
00:14 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/IKWLew
00:14 good_news_everyon mojo/master 4bcf375 Sebastian Riedel: bump version
00:14 good_news_everyon left #mojo
00:20 sri well, that should teach me to try and be clever about the Makefile.PL structure
00:45 d4rkie joined #mojo
00:47 laouji joined #mojo
01:07 woz joined #mojo
01:12 Averna joined #mojo
01:51 Akron joined #mojo
02:07 woz joined #mojo
02:21 good_news_everyon joined #mojo
02:21 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/9_WwGw
02:21 good_news_everyon mojo/master db01d44 Sebastian Riedel: fixed bug in Mojolicious::Renderer that prevented proxy objects from being reused (closes #677)
02:21 good_news_everyon left #mojo
02:22 Akron sri++
02:22 Akron Thanks!
02:22 Akron That was a weird issue.
02:22 sri sri--
02:23 sri i made a silly mistake there
02:25 Akron I didn't even try to find the bug to be honest ...
02:27 good_news_everyon joined #mojo
02:27 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/MbivaQ
02:27 good_news_everyon mojo/master 64c43d4 Sebastian Riedel: better test for proxy object reuse
02:27 good_news_everyon left #mojo
02:40 Akron The description of the proxy object is a bit complicated - but the idea is to reuse it and to circumvent autoload of the controller object, right?
02:40 noganex joined #mojo
02:42 sri right
02:43 sri hmm, some people seem scared about subroutine signatures being experimental
02:43 preaction it _is_ a big scary word
02:43 sri i think that can be turned around with the addition of another sentence
02:44 sri like
02:44 sri "Perl is over 25 years old, but the language is still evolving, so we strongly suggest that you update regularly, (subroutine signatures)[https://metacpan.org/pod/distribution/perl/pod/perlsub.pod#Signatures] are just one of many recent improvements."
02:44 sri below the bleeding edge example
02:45 sri or "Perl might be over 25 years old, but..."
02:46 sri similar in tone to how we recommend the use of perlbrew
02:47 sri and maybe "...so we strongly suggest that you update regularly to get the most out of it..."
02:48 Akron "Perl is an evolving language with a strong dedication to compatibility, therefore new features are often declared as experimental, although their usage is strongly recommended" ?
02:48 sri now the example actually reassures people that perl is still evolving :)
02:48 sri Akron: i like the intro... but the ending makes no sense to me
02:49 sri although it might give the impression that we are bullshitting people
02:49 Akron Then steal the intro!
02:49 sri many will see our frontpage after being exposed to perl fud
02:50 sri so a more humble start might go over better
02:50 sri "Perl might be over 25 years old, but is still an evolving language..."
02:51 sri *+it
02:54 sri Perl might be over 25 years old, but it is still an evolving language with a   yearly release cycle, so we strongly recommend that you update regularly,   (subroutine signatures)[https://metacpan.org/pod/distribution/perl/pod/perlsub.pod#Signatures]   are just one of many recent improvements.
02:54 Akron I don't like the term "improvements", otherwise it sounds good.
02:55 sri powerups?
02:55 Akron Hm ... additions is not good either ...
02:56 Akron I guess the native speakers should show up.
02:57 * sri shakes jberger
02:57 sri preaction was around a few minutes ago too
02:57 preaction oh god no!
02:57 preaction i mean, hi
02:58 preaction if not improvements, "new features"?
02:58 sri i guess people like new features
02:59 sri "...are just one of many new features."
02:59 Akron Yeah. Maybe it's that simple.
02:59 sri would you say update or upgrade in that sentence?
02:59 preaction i use http://hemingwayapp.com a lot these days, and it likes this better: Perl might be over 25 years old, but it is still an evolving language with a yearly release cycle. We strongly recommend that you update regularly. Subroutine signatures is just one of many recent improvements.
03:00 Akron Oh. 5am. I should remember I've got a regular job ...
03:00 Akron Update.
03:00 preaction since "Subroutine signatures" is a singular thing, it should be "is just one" and not "are just one". but i'm sure we could have a bunch of English teachers in here to debate that one forever ;)
03:01 Akron Good night! o/
03:01 sri "  Perl might be over 25 years old, but it is still an evolving language with a   yearly release cycle, so we strongly recommend that you update regularly,   (subroutine signatures)[https://metacpan.org/pod/distribution/perl/pod/perlsub.pod#Signatures]   is just one of many new features."
03:01 sri \o
03:03 sri so hemingway would have liked this i guess
03:03 sri "  Perl might be over 25 years old, but it is still an evolving language with a   yearly release cycle. We strongly recommend that you update regularly.   (Subroutine signatures)[https://metacpan.org/pod/distribution/perl/pod/perlsub.pod#Signatures]   is just one of many new features."
03:03 preaction at the very least, after "regularly", you should start a new sentence. right there is a comma splice. a comma alone is not strong enough to hold those two independent sentences together. ("so" can be used as a conjunction, so (heh) the comma is fine there)
03:04 preaction yeah, that's what that app is trying to do, essentially
03:04 sri i do most of my writing on twitter what is punctuation
03:05 preaction im 12 and what is this
03:06 good_news_everyon joined #mojo
03:06 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/stKBRw
03:06 good_news_everyon mojo/master 31e9569 Sebastian Riedel: tell folks about Perl
03:06 good_news_everyon left #mojo
03:07 woz joined #mojo
03:15 basic6_ joined #mojo
03:19 doublelel joined #mojo
03:51 sujithm joined #mojo
04:07 woz joined #mojo
04:17 doublelel joined #mojo
04:30 Guest_ joined #mojo
05:03 doublelel joined #mojo
05:07 woz joined #mojo
05:17 romel joined #mojo
05:37 laouji joined #mojo
05:49 mr-foobar joined #mojo
06:00 reedlepee joined #mojo
06:02 dod joined #mojo
06:07 sujithm joined #mojo
06:07 woz joined #mojo
06:12 KCL_ joined #mojo
06:16 neyasov joined #mojo
06:16 preaction_ joined #mojo
06:36 sugar joined #mojo
06:38 damaya joined #mojo
06:39 damaya question: I am using HTML5, CSS3, JQuery, Mojolicious and PostgreSQL thus far in my web app.
06:39 damaya Any other technologies I should know about when it comes to web app development?
06:46 Vandal joined #mojo
06:51 jamesaxl joined #mojo
06:54 preaction_ angularjs
06:54 purl angularjs is the new fad
07:02 davido__ joined #mojo
07:02 Lee_ joined #mojo
07:02 d4rkie_ joined #mojo
07:02 basiliscos joined #mojo
07:06 marty damaya: http://mojolicio.us/perldoc/Mango
07:07 woz joined #mojo
07:08 damaya Interesting, I've never heard of MongoDB
07:11 Lee joined #mojo
07:12 Lee joined #mojo
07:12 dp_ joined #mojo
07:24 fhelmber_ joined #mojo
07:27 neyasov joined #mojo
07:35 trone joined #mojo
07:39 Negor joined #mojo
07:39 woz joined #mojo
07:50 Lee joined #mojo
08:01 damaya How many of you use hypnotoad vs nginx in development?
08:05 denis_boyun joined #mojo
08:09 Lee we use nginx to "emulate" load balancing, through to morbo/hypnotoad
08:10 damaya Good god, there's so many different technologies out there now.
08:10 damaya I like the idea of nginx as a load balancer
08:10 denis_boyun_ joined #mojo
08:11 damaya So, angularjs is client-side framework, and mojolicious is server-side? I hope I got that much right.
08:12 denis_boyun__ joined #mojo
08:14 damaya Ah, getting all this
08:15 denis_boyun joined #mojo
08:20 denis_boyun_ joined #mojo
08:21 d4rkie joined #mojo
08:31 denis_boyun joined #mojo
08:35 doublelel joined #mojo
08:46 GillesM joined #mojo
08:52 denis_boyun joined #mojo
08:53 doublelel joined #mojo
08:54 Adura joined #mojo
08:55 curmet joined #mojo
09:01 sujithm joined #mojo
09:08 arthas joined #mojo
09:20 charmander joined #mojo
09:26 marcus haproxy is a much better load balancer imo
09:26 aleksey joined #mojo
09:32 Lee_ joined #mojo
09:39 damaya So, haproxy + hypnotoad?
09:43 sujithm joined #mojo
09:47 Lee_ joined #mojo
09:49 sugar_ joined #mojo
09:53 basiliscos joined #mojo
09:53 Lee joined #mojo
09:57 TitanOfOld joined #mojo
10:06 Lee joined #mojo
10:06 dexteruk joined #mojo
10:22 bodgix joined #mojo
10:38 * noganex wishes there was some lightweight alternative to HTML::FormHandler for mojo... :(
10:40 damaya hey
10:40 damaya what's a good stack for a webapp that you see growing?
10:40 damaya hm, what stack do you all use?
10:40 damaya mojolicious, nginx, postgresql, redis, etc...
10:42 Nei what about fillinform::lite
10:42 D4RK-PH0ENiX joined #mojo
10:45 noganex Nei: i thought of something where i can model the form via Moo as a class, generate html from it and create a request from it inside a mojo app ;)
10:46 noganex but i guess i just have to bear with formhandler... :/
10:54 noganex and while i'm wishing for stuff.. i wish method signatures weren't experimental ;)
11:18 denny joined #mojo
11:27 marcus noganex: you know mojo ships with form validation?
11:33 oetiker joined #mojo
11:34 basiliscos joined #mojo
12:00 denis_boyun joined #mojo
12:02 mr-foobar joined #mojo
12:16 firnsy joined #mojo
12:23 Akron joined #mojo
12:29 bodgix joined #mojo
13:11 sugar_ joined #mojo
13:15 doby joined #mojo
13:17 mr-foobar joined #mojo
13:21 sri this is depressing... https://github.com/kraih/mojo/commit/31e9569cab3df95da703d5d57ff4e71b09807391#commitcomment-7869512
13:23 Nei lol
13:23 Lee "closures, tied variables, lvalues" WAT?
13:24 lipizzan joined #mojo
13:27 neilhwatson joined #mojo
13:29 marcus sri: yes. very depressing
13:29 marcus Let's get some moose up in this motherfucker
13:29 marcus and impress the world.
13:43 sujithm joined #mojo
13:48 Bender joined #mojo
13:56 sri if anyone here has access to non-perl programmer guinea pigs... please make them read the new examples on http://mojolicio.us/
13:56 sri and especially the last one
14:01 nicomen sri: I might be stupid, but a simple gif showing the web app in action under it would be even more encouraging for noobs
14:01 mikegrb sri: the two on the front page?
14:01 sri mikegrb: yes
14:01 mikegrb k
14:05 nicomen win 27
14:09 r0b3rt This needs to be updated (stable version number, form validation, etc)  http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
14:11 good_news_everyon joined #mojo
14:11 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/tetDCw
14:11 good_news_everyon mojo/master 0677933 Sebastian Riedel: fixed markdown link
14:11 good_news_everyon left #mojo
14:15 Nei "Try it" would be fancy
14:17 good_news_everyon joined #mojo
14:17 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/NXQ2MQ
14:17 good_news_everyon mojo/master a5a7267 Sebastian Riedel: removed unnecessary link
14:17 good_news_everyon left #mojo
14:20 good_news_everyon joined #mojo
14:20 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/tkI4Cw
14:20 good_news_everyon mojo/master f273dd0 Sebastian Riedel: fixed a few typos
14:20 good_news_everyon left #mojo
14:20 sri Nei: ?
14:33 preaction joined #mojo
14:35 sri jberger, tempire, crab, marcus, batman: yay or nay for experimental signatures in frontpage example?
14:36 sri (and with or without the "Perl might be over 25 years old..." bit)
14:42 odc sri, did you see my comment about that on github?
14:43 sri odc: link?
14:43 odc https://github.com/kraih/mojo/commit/31e9569cab3df95da703d5d57ff4e71b09807391
14:43 sri oh
14:44 sri odc: http://irclog.perlgeek.de/mojo/2014-09-22#i_9393435
14:45 sri odc: so by your logic any framework that adds websocket support now shouldn't be talking about it because they are late?
14:45 nicomen I tend to focus on the current speed and momentum it has gained, rather than talk about old and add connotations to being outdatet
14:46 odc sri, websockets are a recent things. Signatures existed before cobol !
14:46 nicomen Perl5 has picked up, and with its yearly major version releases it has introduced blahblah
14:47 odc but i wouldn't be against an example on frontpage using signatures
14:50 sugar__ joined #mojo
14:51 sri for the record... crab and tempire already voted -1 on using signatures in the example
14:51 odc huh
14:51 odc do they think it's gonna confuse new comers?
14:55 sh4 joined #mojo
14:55 Nei maybe remove the comment about perl
14:56 good_news_everyon joined #mojo
14:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/ujWxfw
14:56 good_news_everyon mojo/master af22682 Sebastian Riedel: do not tell folks about Perl
14:56 good_news_everyon left #mojo
14:57 sri guess this is one of those cases where i have to force people to see the light
14:58 marcus sri: I'm +1 on signatures
14:59 marcus and -1 on Perl might be 25 years - it's too defensive
14:59 sri so, you're +1 on how it is right now https://github.com/kraih/mojo#duct-tape-for-the-html5-web
15:03 sri which is also what i started with actually -.-
15:03 purl okay, sri.
15:04 marcus sri: yes, is that bad? :)
15:05 sri not at all
15:06 marcus to me it's so obvious that that should work that I don't worry much about it being experimental
15:06 marcus it makes Perl not look dated compared to the alternatives, while Mojo it shine.
15:08 sri for me personally, it's at this point actually the only realistic example we have, because all my apps use signatures now
15:19 nicomen for me the example failed, I got a bit turned off, but that's what I get for not running 5.20
15:22 doby sri: i like it how it is now. people may wonder about the "use experimental..." if you didn't mention the ability to use all the latest features
15:29 sri hmm
15:30 sri hmm, another suggestion from the list, replace "use experimental 'signatures'" with "use feature 'signatures'"
15:30 sri and leave the warnings enabled
15:34 aleksey joined #mojo
15:38 sri anyway, it stays the way it is now ;p
15:41 doublelel joined #mojo
15:45 marty joined #mojo
15:48 mst sri: what were you pinging me about?
15:50 * sri tries to remember
15:50 sri mst: ah right, the signatures module was throwing funny exceptions around
15:51 sri i later learned that it just doesn't work with perl -e at all
15:53 neyasov joined #mojo
15:54 mst sri: ah, yeah, I remember something weird about that
15:54 bodgix left #mojo
15:54 mst er
15:54 mst perl -Msignatures -e '(sub ($x) { warn $x })->(3)'
15:55 sri https://rt.cpan.org/Ticket/Display.html?id=98312#txn-1413381
15:55 sri those were my results
15:56 mst right. notice that mauke does it as 'use signatures; ...'
15:56 mst whereas I do it as -Msignatures
15:57 mst you can also do
15:57 mst perl -e 'use signatures;' -e '...'
15:57 mst basically, you can't start using the signatures on the same line that the 'use signatures;' call happens
15:57 Nei that sounds shitty
15:58 Nei why does perl suddenly care about newlines, source filter?
15:58 sri tokenizer hooks i believe
15:59 mst actually, the newline thing *is* sort of because of a source filter
15:59 sri xD
15:59 mst both signatures.pm and Devel::Declare based stuff need to fuck with the line of code being parsed
15:59 mst the problem is, that bits of the perl compiler already have C-level pointers into it
15:59 mst so you can't realloc it
16:00 mst so what you do instead is, you use the C source filter mechanism to realloc the line on the way in to give you some space to work in
16:00 Nei what about pluggable api ,is that also affected?
16:00 sri honestly, i would be so happy if someone made a polyfill for signatures with a simple source filter that just works most of the time
16:00 mst Nei: of course not
16:00 mst the whole point of the keyword API was to make this doable sanely
16:00 Nei ok who cares about perl<5.14 ;p
16:01 mst right, but the keyword API can't fuck with 'sub'
16:01 mst sri: that would give you exactly the same "won't work with -e" problem though
16:01 sri argh
16:02 mst it's *because* signatures.pm has to use a filter to set things up that that doesn't work
16:02 mst hence the error message "forced to realloc PL_linestr ... bailing out before we crash harder"
16:02 mst because at that point, the only other thing you can do is segfault
16:02 Nei ah, so we need perl 5.20?
16:03 mst or you need to understand the caveat and not be an idiot
16:03 mst sri: so, "i later learned that it just doesn't work with perl -e at all" is bullshit
16:03 mst sri: I was under the impression that Mojo one liners were normally done with 'perl -Mojo -e ...' ?
16:04 mst if so, ojo.pm's import() can do the relevant fuckery
16:04 sri heh, i just managed to get signatures to fail in another way
16:05 sri it just blocks forever on perl -Mojo -e 'sub ($x) {}'
16:05 disputin joined #mojo
16:05 sri (in the signatures branch)
16:06 sri of course i have no clue what i'm actually doing https://github.com/kraih/mojo/compare/signatures#diff-b9415bf02cb61707bcfa1aa8ad876397R52
16:07 mst the setup_for thing seems odd
16:08 mst oh, hrm, the perl code is interesting
16:08 mikegrb [11:34:58] <~ eric> index.html.ep sounds like an album title
16:08 mikegrb [11:35:13] <~ eric> index.html EP - straight outta tha cloud
16:08 mst oh, fuck me with a rake, it's doing a sigwarn wrap
16:08 mst I think that's why I finally gave up on it
16:09 mikegrb I tried, sri
16:09 mst 'use warnings FATAL => "all";' breaks it
16:09 mst should really be doing 'warnings->unimport("illegalproto");'
16:09 mst though I think that's 5.12
16:09 mst warnings::illegalproto is the nice way to minimise the warnings you disable
16:28 mjb152 joined #mojo
16:29 ashimema joined #mojo
16:30 ashimema Hi all, new here.
16:31 ashimema Wondering if anyone can point me at some documentation describing how the 'reply' method works..
16:32 ashimema Think i'm being stupid.. I was attempting to add a really simple route that renders a template if it exists, or replies with a static file otherwise.
16:33 ashimema but I always get a 'Cant locate object method "reply"' error.. which confuses me..
16:33 ashimema this is within a controller.
16:39 mjb152 maybe post a pastebin of some code to show what you've got ?
16:41 ashimema silly question then.. is there a pastbin for this irc.. or do you guys just use a generic one out there?
16:41 ashimema very new round here ;)
16:42 mjb152 I was just watching Glen Hinkles great youtube video from openwest 2014, and I wondered if a) there are some slides b) what people use to benchmark non blocking mojo apps, and is there some generic code to do this ?  e.g fire off 300 non blocking requests and time the responses ?
16:42 mjb152 seems a good way to test my server is actually non blocking and that I haven't made any obvious mistakes
16:43 mjb152 I'm new as well, but it cant hurt to just use a generic one and then link to it.
16:46 KindOne joined #mojo
16:48 two_tired joined #mojo
16:55 woz Howdy folks, I'm looking to write a module to interface with a RESTful API. I'd like to make it non-blocking if possible. Are there any guides out there that anyone knows of?
16:56 woz Or just try and nick all the good ideas from batman's modules?
16:58 tempire woz: do you know why non-blocking is good, or are you a little unclear?
16:58 woz Dude, you taught me :-)
16:58 woz MojoConf
16:58 purl i guess MojoConf is not officially announced yet
16:58 tempire lulz
16:58 tempire rock on
16:58 tempire then you know all the things. :)
16:59 woz I know the principle of all the things
16:59 tempire Guess I need to start using convos so I can see gravatars
16:59 woz Just looking for any tips on implementing non-blocking in modules.
16:59 woz Returning results etc.
17:00 tempire jberger has some articles. Though, really, all you need to do is render
17:00 tempire and use render_later at the top of the controller to save yourself some headache
17:00 woz No no, I want to implement a re-usable module.
17:01 woz Much like Mojo::somehthing
17:04 woz We have an in house code deployment tool with a RESTful API. I want to write Mojo::MyThing that will use Mojo to talk to that API.
17:06 d4rkie joined #mojo
17:06 D4RK-PH0ENiX joined #mojo
17:07 sri feels great to update perl without ever stopping hypnotoad
17:17 sri at some point maybe we should consider collecting a few company logos of mojolicious users we can show on the frontpage
17:19 neilhwatson My company is tiny, but you can use it if you are starving for logos.
17:20 sri http://hapijs.com/community # this is rather good for getting people to trust you
17:23 mjb152 tempire: can we see the code to your talk at Openwest 2014 online anywhere ?
17:23 sri i wonder how they collected those
17:27 tempire mjb152: I haven't posted it anywhere
17:27 tempire there's not much to it
17:27 tempire I suppose I can
17:27 tempire What are you interested in, specifically?
17:28 tempire I like the idea of company logos and quotes
17:29 tempire I can provide one
17:29 tempire sri^
17:30 sri we need a volunteer to collect some logos and quotes
17:30 sri i'd say once we have about 10 we add a new page to the site
17:30 sri (if necessary i'd volunteer for the last part)
17:31 * tempire commits to one
17:31 preaction joined #mojo
17:32 sri maybe it's enough if you start a wiki page in the right format and we post it everywhere (so people can add their own)
17:32 tempire We kind of already have that.
17:32 tempire Just with no logos
17:32 sri and no quotes ;p
17:33 tempire I like what hapi does, it adds to the legitimacy
17:33 tempire And the wiki can't be relied upon to be pretty
17:33 tempire not that people can't add their own to it, but we could take from that list and keep the site updated
17:34 tempire ah
17:34 tempire that's probably what you meant.
17:34 sri yea yea, i would turn it into a real page once the wiki page has 10 quotes ;p
17:35 lilybet joined #mojo
17:35 lilybet hello
17:35 purl hello, lilybet.
17:35 lilybet hi purl
17:35 sri or you would... really anyone could maintain that static page
17:35 lilybet do I just ask my question purl?
17:35 tempire lilybet: purl is a bot
17:35 sri botsnack!
17:35 purl :)
17:35 tempire lilybet: and yes, ask your question
17:35 preaction_ joined #mojo
17:36 lilybet oh ok
17:36 lilybet I am not sure what a bot is but ok
17:36 tempire an artificial life form intended to entertain and irritate the lives of programmers.
17:37 * sri hugs purl
17:37 * purl nibbles sri's elbow
17:37 sri :o
17:38 lilybet I am using Mojo::UserAgent to create a service integration to an online API. I am trying to replicate a curl call that is shown in the documentation. https://gist.github.com/anonymous/2e97f2f2ff7785fc0919
17:38 mjb152 tempire: the code for the Mojo::IOLoop::Delay  and a script that;ll fire off x request simultaneously,
17:39 ashimema joined #mojo
17:39 KCL_ joined #mojo
17:40 lilybet I use the following code using Mojo::UserAgent. https://gist.github.com/anonymous/c37e4c86c642516741e3
17:40 lilybet the problem I am having tempire is that with curl it works
17:40 lilybet but with Mojo::UA I get a 401 unauthorized
17:41 lilybet how do I replicate curl -u with Mojo::UA ... and when I do a data::dumper dump of the $tx it does have the right [user] key
17:42 lilybet did I ask correctly? Sorry if I make mistake my english is not first languge
17:42 disputin joined #mojo
17:43 lilybet should I add more information to question?
17:43 lilybet ok I be quite now
17:45 neyasov joined #mojo
17:47 Akron lilybet: the URI is not self explaining to me - are you using Mojo::URL for building?
17:48 tempire mjb152: https://gist.github.com/tempire/4a772ac60b123859d24e
17:51 mjb152 tempire:  thanks very much. off to play with the code now :-)
17:51 lilybet Akron: uri is just string => 'https://[api-key]@api......org/api/[store_id]/'
17:53 Akron lilybet: And the authority is correctly parsed? You can check with $tx->req->url.
17:56 denis_boyun joined #mojo
17:58 ashimema anyone here use tt_renderer?
18:00 lilybet akron: should I send you the url parse?
18:01 Akron liliybet: No, just check if the parsed URL is equivalent to the URL you passed to the script.
18:01 lilybet yes the url is same
18:02 sri ashimema: that error should be fixed in master
18:06 Akron lilybet: Then I don't see the problem being the user information (the curl -u).
18:06 basiliscos joined #mojo
18:07 Akron lilybet: But I don't understand the "[api-key]:" in your gist. Does it mean the password is empty?
18:10 lilybet no it is a password
18:11 Akron The normal userinfo goes "user:pwd". "user:" works, but it is not identical to the URL you use in the Mojo gist.
18:12 lilybet it looks like 12345678-1234-1234-1234-123456789012
18:12 KCL joined #mojo
18:12 Akron lilybet: So "[api-key]:" vs "[user]". Are you appending a colon like in the curl gist or not?
18:12 sri userinfo is just a string
18:13 Akron sri: Yes, but in the curl-gist there is a colon added.
18:13 sri ah
18:14 lilybet no I am not
18:14 lilybet let me try that
18:20 lilybet that gives me 400 bad request
18:20 lilybet which is a up the stairs a bit
18:20 lilybet :)
18:20 Akron :)
18:20 lilybet how do I print the request structure?
18:20 lilybet $tx->req->body?
18:22 Akron lilybet: $tx->req->to_string.
18:23 lilybet there is no content
18:23 lilybet I trying to add document
18:24 lilybet $tx->req->body_params->append('document' =>  encode_base64($doc));
18:25 Akron lilybet: Why don't you do  my $tx = $ua->post('http://example.com' => {Accept => '*/*'} => form => {document => encode_base64($doc)}); ?
18:27 lilybet that is the stuff!
18:28 Akron Okay, so the -u was fine.
18:29 lilybet it needs colon
18:29 lilybet did I read the documentation wrong?
18:29 lilybet Maybe I didn't see it some place?
18:29 Akron :)
18:30 lilybet I try to #EWTW
18:30 lilybet err
18:30 lilybet english is #RTFM?
18:30 lilybet where do I read about the colon?
18:31 Akron Which one? I am a bit confused now ...
18:31 lilybet the colon in userinfo
18:31 lilybet why do I need colon?
18:31 lilybet I don't understand this
18:31 Akron Because you posted it here: https://gist.github.com/anonymous/2e97f2f2ff7785fc0919
18:31 lilybet oH!
18:32 lilybet my face I am embarraded
18:32 lilybet Sorry
18:32 sugar__ joined #mojo
18:32 lilybet thank you
18:32 Akron nP.
18:32 lilybet good day to you and family
18:32 Akron Thanks - you too!
18:38 sujithm joined #mojo
18:43 bodgix joined #mojo
18:44 dod joined #mojo
18:47 mishantil My female is playing the trololololol-song in our living room.
18:48 mishantil Oh well.
19:00 Bravo13 joined #mojo
19:08 dod joined #mojo
19:09 neyasov joined #mojo
19:13 * tempire applauds the mishantil female
19:16 jamesaxl joined #mojo
19:24 woz Popped out for food - playing catchup. I'll ask if you can include our company logo, but they generally don't share info on what software etc we use.
19:33 marcus o/
19:37 sri companies that don't allow us to use their logo shouldn't get support from the community ;p
19:39 Akron First rule of Mojo Club.
19:40 sri we really need a logo and quote to get this started though
19:42 _eugen joined #mojo
19:45 tempire on it
19:46 berov joined #mojo
19:46 tempire Is there any sort of web interface that allows running/viewing of TAP output?
19:46 mishantil Logos you say? Our company uses mojo for All The Things. Be happy to put our logo somewhere if it is for the promotion of mojo.
19:46 marcus http://www.meetv.no/ is a mojo based site with a nice logo.
19:46 tempire mishantil: Only if it comes with a fabalus quote
19:46 marcus (imo)
19:50 * neilhwatson puts mojo recommendation writeup on todo list.
19:52 sri https://github.com/kraih/mojo/wiki/User-quotes
19:52 sri edit away
19:53 berov sri: what are these quotes mentioned for?
19:56 neyasov joined #mojo
19:56 tempire berov: for something like this: http://hapijs.com/community
19:57 preaction_ disney uses everything...
19:58 mishantil preaction_: Not me..?
20:00 neyasov joined #mojo
20:03 neilhwatson Disney using Open Source. Irony?
20:04 tempire Not really. They've built their empire on using other peoples' stuff
20:05 neilhwatson Good point.
20:05 purl nice and sharp
20:05 mishantil tempire, sri: Added quote
20:05 mishantil Feel free to spellcheck/correct.
20:06 sri mishantil++
20:06 Akron stix.no even supports the favicon.ico!
20:07 tempire so technology
20:07 purl i heard so technology was not the only limiting factor?
20:08 Akron Nice quote. mishantil++
20:09 mishantil Akron: Thanks. We do love mojo. :)
20:09 mishantil Akron: Also, yeah, you can bet the designer I just hired has complaied about us using a 'stock' favico when we have a bundle of sexy favicos sitting in a tarball.
20:10 mishantil That is favicos made with our company logo, for a range of resolutions. Should be put there. Need more Tuit's.
20:11 mishantil s/made with/with/
20:16 woz I'm not sure we ever have had any community support. Usually just RTFM ;-)
20:17 woz But I do *entirely* agree. Some of us are trying to change these things. I've seen our name appear on a few sites recently.
20:17 berov tempire: thanks, I got it :)
20:22 Akron :)
20:22 sugar joined #mojo
20:28 sri posted to the list as well https://groups.google.com/forum/#!topic/mojolicious/6Oz_gP6zI34
20:30 sugar_ joined #mojo
20:37 woz I will ask the powers that be. I'm meeting a lot of the senior guys next week. I've put a reminder in my phone.
20:37 tempire quote added
20:37 purl Ticker data invalid
20:44 sri tempire++
20:45 tempire I've said it before
20:45 tempire I'll say it again
20:45 tempire I LOVE the mount plugin
20:46 punter joined #mojo
20:51 neyasov joined #mojo
20:53 da5id joined #mojo
20:58 woz What's that Tempire?
21:09 nikita joined #mojo
21:13 nikita hello. how i should implement downloading remote rss in before_dispatch hook? or i should just use cron to download it, and then parse in before_dispatch hook?
21:15 nikita when i run starman every worker tries to download it
21:20 disputin joined #mojo
22:16 memowe joined #mojo
22:18 good_news_everyon joined #mojo
22:18 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/FYZMQA
22:18 good_news_everyon mojo/master 29ecbc0 Sebastian Riedel: use tap in version command too
22:18 good_news_everyon left #mojo
22:21 neilhwatson joined #mojo
22:21 Zx3 joined #mojo
22:36 meshl joined #mojo
22:50 neyasov joined #mojo
22:51 neyasov_ joined #mojo
23:22 axlrose joined #mojo
23:26 noganex joined #mojo
23:28 jamesaxl joined #mojo
23:37 D4RK-PH0ENiX joined #mojo
23:51 bodgix left #mojo

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