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

IRC log for #mojo, 2014-02-01

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

All times shown according to UTC.

Time Nick Message
23:07 odc joined #mojo
23:15 zivester joined #mojo
23:19 btyler joined #mojo
00:23 sri isn't it awesome when google calendar picks dates automatically from your gmail spam so your android phone can remind you to call that nigerian prince...
00:37 dvinciguerra joined #mojo
00:39 jberger_ joined #mojo
00:43 d4rkie joined #mojo
00:44 d4rkie joined #mojo
00:45 jberger sri yes I hate that so much!
00:48 nicomen_ sri: wait, what, he sent you an email too?
00:51 tempire joined #mojo
00:57 davido_ joined #mojo
01:03 ka2u joined #mojo
01:09 jberger_ joined #mojo
01:13 jberger_ sri: I'm having a problem, that I'm reasonably sure is do to the client disconnecting before the response can be rendered (for a nonblocking server)
01:13 jberger_ I seem to recall there was something I could do about that
01:13 jberger_ but I think I'm having a bad brain day
01:53 KindTwo joined #mojo
01:59 sri jberger: ->on(finish => sub {...})
02:00 * sri stumbled over another fun redirect quirk
02:01 sri curl only ever changes POST to GET... and preserves everything else for the followup request... even DELETE
02:02 sri it does remove the content however, and preserves custom headers
02:03 ka2u joined #mojo
02:08 good_news_everyone joined #mojo
02:08 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/c-7xXA
02:08 good_news_everyone mojo/master 4d62346 Sebastian Riedel: preserve all request methods other than POST
02:08 good_news_everyone left #mojo
02:08 jberger_ argh, this is driving me crazy!
02:10 sri why didn't anyone tell me that bob's burgers is pretty fun?
02:16 jberger_ sri: non-blocking get doesn't return the tx?
02:16 jberger_ is that the connection id?
02:17 jberger_ that works for me, but is that documented?
02:17 jberger_ hmmmm
02:17 jberger_ not documented either way
02:18 jberger_ sri: should I rely on the return value of $ua->get( $url => sub { } ) being the connection id?
02:21 jberger_ argh, I don't think that's the problem anyway
02:22 komodo_ joined #mojo
02:26 klapperl joined #mojo
02:31 jberger_ sri: can I ask you to look at this
02:31 jberger_ ?
02:31 jberger_ https://github.com/jberger/Mojo-FriendFeed/blob/master/lib/Mojo/FriendFeed.pm
02:31 jberger_ right now, this works fine
02:32 jberger_ but I was hoping to allow the users to let the Mojo::FriendFeed object fall out of scope and let that kill the request cycle
02:32 jberger_ but every time I do that it dies horribly
02:35 ka2u joined #mojo
02:40 * sri is busy reading the new signatures patch... which is pretty awesome :O $method eq 'POST'
02:40 sri oops
02:40 sri https://github.com/Perl/perl5/commit/30d9c59b5f3cba8b5d632d20c2370e82d8ba69ca
02:43 jberger_ this signatures patch is much more power, more like some of the CPAN-style version
02:44 jberger_ not sure if I like $= tho
02:44 zM joined #mojo
02:45 sri https://github.com/Perl/perl5/commit/30d9c59b5f3cba8b5d632d20c2370e82d8ba69ca#diff-9e7cc5aeaa35c709063fd1031d94555bR306
02:46 sri link to the description
02:52 sri jberger: i love it
02:52 sri look at the bare "@"!
02:53 sri remember, you have arity errors now
02:55 buu Wait
02:55 buu Whats the point of $=
02:55 sri default of nothing
02:56 sri $ is a required argument
02:56 buu But you aren't reading it
02:56 buu OH
02:56 sri :)
02:56 sri $= just means you don't care if it's there or not, for arity errors
02:56 buu right
02:57 * sri likes it a lot, very consistent and simple
02:57 buu But its functionally the same as ($foo,@)
02:57 sri nope
02:57 buu Well, I guess it dies on (1,2,3)
02:57 sri right
02:57 buu Hard to imagine when you'd want that, but still
02:57 buu Signatures would be nice!
02:58 sri you're just not used to arity errors i think
02:58 sri once you are you want them everywhere to detect bugs faster
02:58 jberger_ I don't deny the value of arity errors, I just don't like $=
02:59 buu I'm surprised signatures don't imply prototypes
02:59 jberger_ looks like a built-in punctuation variable
02:59 buu Well, it is
02:59 buu It'd be nice if foo($x,$y); got you join ",", foo 1,2,"\n"; for free
02:59 * jberger_ bikesheds
03:00 buu jberger_: But punctuation variables are things we're not supposed to talk about any more =]
03:00 buu Especially the weird ones
03:01 yko joined #mojo
03:01 jberger_ wat!? I'm not supposed to mention $FORMAT_LINES_PER_PAGE
03:01 jberger_ ????
03:03 laouji joined #mojo
03:07 btyler joined #mojo
03:14 jberger_ sri: ok, I have tracked it down further
03:14 jberger_ if I start a non-blocking ua request
03:14 jberger_ but I expect that it is possible that the ua will go out of scope before the request is completed
03:15 jberger_ is there any graceful way to handle that?
03:15 bpmedley jberger_: Do you have a smallish code snippet?
03:16 jberger_ bpmedley, not really small, but here is the offending line: https://github.com/jberger/Mojo-FriendFeed/blob/master/lib/Mojo/FriendFeed.pm#L55
03:16 bpmedley jberger_: https://groups.google.com/forum/#!topic/mojolicious/eLtwn_FHFFE  <-- This may help
03:16 bpmedley my $ua = $self->stash->{ua} = Mojo::UserAgent->new;   <-- From the google group post
03:17 jberger_ bpmedley, that won't help here
03:17 jberger_ I want the ua to be able to fall out of scope, in which case I don't care about the response
03:18 jberger_ alternatively, I could use a DESTROY method to terminate the request, but I can't figure out how
03:20 ka2u joined #mojo
03:26 bpmedley has ua => sub { state $ua = Mojo::UserAgent->new->inactivity_timeout(0) };   <-- I added this and got output.
03:39 jberger_ bpmedley, what do you mean you got output
03:39 jberger_ the code on github works as is
03:39 jberger_ its the crazy thing I'm doing locally that doesn't work
03:39 bpmedley http://pastie.org/8687514 <-- I could be very confused
03:40 jberger_ bpmedley, let me push a branch up which demonstrates the actual problem
03:40 bpmedley http://pastie.org/8687516
03:40 bpmedley Ok
03:49 jberger_ bpmedley (sri) here is what I mean to do: https://github.com/jberger/Mojo-FriendFeed/compare/weaken-demo
03:49 jberger_ the tests fail when $uaX is commented out in the tests
03:49 jberger_ when the are uncommented, it keeps a live reference to the ua long enough to receive the next message, allowing the tests to pass without dying
03:50 jberger_ note that I do not need nor use those results
03:50 sri sorry... but weaken problems is not something i enjoy tracking down ;p
03:50 jberger_ sri: all I need to know is how to tell a transaction to abort in place
03:51 sri i don't even understand what that means
03:51 jberger_ I start a transaction, then later I decide that I don't care what it gives me and I want it to stop, how do I do that?
03:53 sri you mean like
03:53 sri https://github.com/kraih/mojo/blob/master/t/mojolicious/longpolling_lite_app.t#L277
03:53 sri or
03:53 nicomen_ buu: as far as I understand you can do sub :prototype ($$) ($x,$y) { ... } to get join ',', foo 1,2,"\n" working
03:53 sri https://github.com/kraih/mojo/blob/master/t/mojolicious/longpolling_lite_app.t#L298
03:57 buu nicomen_: Sure, but why isn't it the default?
03:57 jberger_ sri: I think so
03:57 * jberger_ hacks
04:03 bpmedley jberger_: Why do you call weaken on the $ff object?
04:03 sri i'm going to add an example
04:04 jberger_ bpmedley, because I want to let the request cycle stop when the $ff object goes out of scope
04:04 jberger_ sri: that would be excellent
04:04 good_news_everyone joined #mojo
04:04 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/PPEGsA
04:04 good_news_everyone mojo/master ed1d91e Sebastian Riedel: added example for interrupting a user agent transaction
04:04 good_news_everyone left #mojo
04:04 sri that should cover it :)
04:07 btyler joined #mojo
04:09 * jberger_ reads
04:10 sri setting an error is pretty straight forward, it will cleanly interrupt when convenient and discard the connection
04:23 jberger_ sri: still get:
04:23 jberger_ Mojo::Reactor::Poll: Read failed: Mojo::FriendFeed: Mojo::Transaction::HTTP=HASH(0x399b240) at /home/joel/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/Mojo/EventEmitter.pm line 17, <DATA> line 76.
04:29 cfedde joined #mojo
04:37 ka2u joined #mojo
04:53 sri jberger: that tells me absolutely nothing
04:53 jberger_ same :-(
04:54 jberger_ though, since I sent you that, I think I'm not actually triggering the error
04:54 sri unless there's some really silly shit going on like $friendfeed->emit(error => $tx)
04:55 jberger_ hahaha, maybe
04:59 marty_ joined #mojo
05:06 sri oh you've got to be kidding me.... https://github.com/jberger/Mojo-FriendFeed/blob/master/lib/Mojo/FriendFeed.pm#L45
05:06 * sri sets jberger on fire
05:06 jberger_ on my branch I have commented that out
05:06 jberger_ but I
05:06 sri you've got an unhandled error event there that escalates
05:07 jberger_ but I'm not actually able to get the error to throw from the progress handler
05:07 sri that code is horrible
05:08 jberger_ :_(
05:09 jberger_ its basically a direct port from miyagawa's AE version
05:09 jberger_ if that means anything
05:11 sri transaction as error message makes me go http://stream1.gifsoup.com/view/257866/keyboard-smash-o.gif
05:12 jberger_ sri: haha, yeah, that's on my "to fix" list. I need to investigate the mechanism that friendfeed reports errors
05:14 sri error might not be what you want, mind the "fatal if unhandled" http://mojolicio.us/perldoc/Mojo/EventEmitter#error
05:14 jberger_ maybe not, either way, its not what I'm tripping on now, its commented out on my branch here
05:18 jberger_ hunh, but now I am getting a different error message
05:19 * jberger_ sets himself on fire, again
05:19 good_news_everyone joined #mojo
05:19 good_news_everyone [mojo] kraih tagged v4.73 at 450ca23: http://git.io/FPAQoA
05:19 good_news_everyone left #mojo
05:52 * jberger_ gives up
05:53 jberger_ I keep getting "Connection refused" now
05:53 jberger_ and I'm cheating to even get that far
05:57 bpmedley jberger_: Do you have pastie of the latest version?  I have edits; however, I'm afraid they may be removed from your original design.
06:00 sri perhaps you're over your quota and they are cutting you off
06:00 jberger_ this is just using my  testing mock-up
06:00 * jberger_ dreads what sri thinks of that monstrosity
06:01 sri that's a good start
06:02 jberger_ what, my test mock-up or my dread?
06:02 sri dread
06:02 * jberger_ thought so
06:02 jberger_ it works in my strong-reference tests just fine
06:03 KindTwo joined #mojo
06:03 jberger_ and it works when I keep a strong reference to the ua waiting for that last response
06:03 jberger_ :-/
06:03 jberger_ this is a bad design strategy
06:06 sri i don't get what the problem is, of course you have to keep a reference for the ua as long as you're using it
06:07 jberger_ but I don't want to be using it anymore
06:20 Adurah joined #mojo
06:50 jberger_ sri/bpmedley: now it works all of a sudden, $ff->emit( error => ... ) and all
06:51 jberger_ true, its possible that I don't want to do that, but still
07:00 jberger_ https://github.com/jberger/Mojo-FriendFeed/tree/weaken-demo
07:01 jberger_ I think I will have several questions in the morning, but for now, I'm exhausted and its working
07:01 jberger_ I'm headed to bed
07:02 jberger_ sri: thanks for being patient with me :-)
07:02 jberger_ bpmedley, thanks for being a second pair of eyes
07:02 jberger_ o/
07:25 KindTwo joined #mojo
07:45 UnnamedUser2995 joined #mojo
07:46 tempire joined #mojo
08:08 d4rkie_ joined #mojo
08:13 buu_ joined #mojo
08:26 d4rkie joined #mojo
08:32 basiliscos joined #mojo
08:51 Vandal joined #mojo
08:52 rem_lex| joined #mojo
09:03 buu_ sri: Hey you around?
09:04 * tempire is excited about signatures
09:22 moritz in about four years I might be able to use them in production :-)
09:22 moritz with luck in 2.5..3
09:22 moritz at $work we use the perl that's shipped with debian stable
09:23 moritz I don't think signatures will make it into the perl shipped with Jessie, so it'll be in Jessie + 1, which will probably come out in O(2 years)
09:23 moritz and then we need some time to upgrade to it
09:24 arthas joined #mojo
09:25 punter joined #mojo
09:27 plenum joined #mojo
09:30 dod joined #mojo
09:55 dod joined #mojo
09:58 KindTwo joined #mojo
10:14 arthas_ joined #mojo
10:44 KindTwo joined #mojo
10:46 abra joined #mojo
10:51 denisboyun joined #mojo
11:04 rem_lex|pivo joined #mojo
12:27 trone joined #mojo
13:47 * jberger feels sorry for moritz
13:47 jberger Then again I mostly write cpan code, so I'll never be able to use them
13:51 zM joined #mojo
14:23 plenum joined #mojo
14:35 marcus joined #mojo
14:37 mire_ joined #mojo
14:39 Drossel joined #mojo
15:04 sri moritz: so you'll be able to use it in production before perl6 :p
15:04 sri *ba dum tss*
15:08 * sri wishes he could use s///r and __SUB__ in mojolicious already :S
15:11 russum joined #mojo
15:15 bowtie joined #mojo
15:27 Kulag joined #mojo
15:31 jberger_ sri: the more I think about it, the more I think ff should emit an error, the question is what should its arguments be
15:32 jberger_ status code, error message, friendfeed api error response (if available)?
15:32 purl Since Tue Aug 13 05:43:03 2013, there have been 10004 modifications and 3758 questions.  I have been awake for 172 days, 9 hours, 49 minutes, 4 seconds this session, and currently reference 953386 factoids. Addressing is in optional mode.
15:32 jberger_ status code
15:32 purl Since Tue Aug 13 05:43:03 2013, there have been 10004 modifications and 3758 questions.  I have been awake for 172 days, 9 hours, 49 minutes, 22 seconds this session, and currently reference 953386 factoids. Addressing is in optional mode.
15:32 jberger_ haha
15:33 jberger_ maybe its just
15:33 jberger_ status
15:33 purl Since Tue Aug 13 05:43:03 2013, there have been 10004 modifications and 3758 questions.  I have been awake for 172 days, 9 hours, 50 minutes, 13 seconds this session, and currently reference 953386 factoids. Addressing is in optional mode.
15:45 Negor joined #mojo
15:59 sri purl: shut up
15:59 purl ;-(
16:02 denis_boyun joined #mojo
16:40 jberger_ anyway, Mojo::FriendFeed is how I want it now I think
16:41 jberger_ I have my demo bot running in #release
16:42 jberger_ <3 Mojo::IRC
16:42 jberger_ https://github.com/jberger/Mojo-FriendFeed/blob/master/ex/cpan.pl
16:45 * sri likes $send
16:46 jberger_ ephemeral methods ftw
16:47 sri lexical methods!
16:48 jberger_ $obj->$fully::qualified::name(@args) # not lexical
16:55 plenum joined #mojo
17:01 rem_lex| joined #mojo
17:03 bpmedley jberger_: Did you get your FriendFeed working?
17:03 nicomen_ moritz: local::lib/perlbrew?
17:05 moritz nicomen_: exists, and I use them for private projects, but they are no option for $work
17:05 nicomen_ ok
17:05 jberger_ bpmedley, yep, on github, main branch
17:05 nicomen_ $work = Work->new();
17:05 nicomen_ :-)
17:06 jberger_ sub Work::DESTROY { warn 'ENOMONEY' }
17:06 plenum joined #mojo
17:06 bpmedley /opt/perl -Ilib t/listen.t  <-- Seems to work for me
17:06 Negor joined #mojo
17:07 jberger_ bpmedley, strange, right? I'm not sure why things suddenly started working
17:07 jberger_ I think the problem was in my mock service, but I don't think I did much to change it tbh
17:07 sri gremlins
17:07 purl i heard gremlins was a good choice, though I don't have it
17:14 bpmedley jberger_: I think the clone methods are helping
17:16 bpmedley Yeah, if if remove them it goes crazy again.. :)
17:19 jberger_ yikes, that is odd, well, I'm glad I did that then
17:21 marcus grumplings
17:23 jberger_ grumpkins and snarks
17:44 bpmedley $url->host(undef); $url->scheme(undef);  <-- Those two parameters seem to get set in Mojo::FriendFeed::listen
17:44 KindOne joined #mojo
18:12 ilbot2 joined #mojo
18:12 Topic for #mojo is now ????, indubitably | http://mojolicio.us | http://irclog.perlgeek.de/mojo/today
18:28 punter joined #mojo
18:37 hummeleBop joined #mojo
19:00 nicomen mst: http://enlightenedperl.org/ someone forgot something?
19:19 kanishka joined #mojo
19:23 jberger_ bpmedley, interesting
19:37 kanishka is there any alternative for logstash or fluentd in perl ?
19:47 good_news_everyone joined #mojo
19:47 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/Vxexaw
19:47 good_news_everyone mojo/master 3b5fc23 Sebastian Riedel: fixed typo in user agent example
19:47 good_news_everyone left #mojo
20:12 andrefs joined #mojo
20:18 cpan_mojo joined #mojo
20:18 jberger_ Mojo::FriendFeed released!
20:18 andrefs joined #mojo
20:18 Adurah Is it for automating feeding of pets?
20:19 sri FEED ALL THE FRIENDS
20:19 jberger_ hehe, no, FriendFeed is a data feed service
20:19 jberger_ miyagawa uses it to provide a cpan modules feed
20:20 Adurah Well, guess my search for such a module continues.
20:20 jberger_ that plus AnyEvent::FriendFeed::Realtime drives @cpan_new
20:20 jberger_ on twitter
20:20 jberger_ and now that feed plus Mojo::FriendFeed is powering cpan_mojo in the channel (unless sri hates that)
20:21 jberger_ any release matching qr/Mojo/ gets announced here
20:22 sri i'll allow it
20:22 jberger_ \o/
20:23 jberger_ I really enjoy following @cpan_new and sometimes I see interesting Mojolicious modules, I thought it would be fun to see them here, separated from the other stuff
20:26 sri someone upload a mojo module now!
20:29 tianon jberger_: just find a bug in Mojo::FriendFeed real fast so you can update it and it can announce itself :)
20:29 jberger_ hehe
20:29 jberger_ I'm thinking about packaging the example script as an installable script
20:29 sri seriously... that would have been the proper way to announce your first release...
20:29 jberger_ that would need a new release
20:30 jberger_ actually, I had it running in #release, I want to be sure that it was filtering announcements correctly
20:30 jberger_ I had it running most of the morning hoping someone would release another Mojo module
20:32 jberger_ no, I think I'm going to leave it as an example script
20:32 jberger_ or else as a separate dist
20:34 cpan_mojo joined #mojo
20:34 jberger_ wow, I didn't know Bender did that
20:37 denis_boyun joined #mojo
20:37 jberger_ sri: should the pattern include Mango?
20:37 jberger_ "<release_bot> MangoX-Queue 0.10 by IANKENT - http://metacpan.org/release/IANKENT/MangoX-Queue-0.10"
20:37 sri -1
20:37 purl -1
20:37 * sri hugs purl
20:37 purl sri: bathe first
20:37 jberger_ haha
20:39 sri i don't let github announce mango commits here either
20:39 jberger_ good point
20:39 purl nice and sharp
20:39 jberger_ purl's on a roll
20:39 jberger_ purl: botsnack
20:39 purl :)
20:39 sri botsnack!
20:39 purl :)
20:44 jberger_ sri: interesting that this shows up in my github feed: https://gist.github.com/rjbs/8757352
20:44 sri interesting how?
20:45 jberger_ when rjbs is posting gists about signatures ... I take notice
20:45 sri well, most p5pers are looking for edge cases
20:47 sri phaylon found the most freaky tests so far http://perl5.git.perl.org/perl.git/commitdiff/acf0afbd
20:48 * jberger_ isn't following p5p lately
20:48 * jberger_ cant keep up with the traffic
20:55 sri this made me chuckle https://twitter.com/rjbs/status/429469126835601408
20:56 sri it's true, crazy perl expressions right in the signature is soooo perl
21:04 jberger_ nice
21:30 jberger_ hey, I forgot to include a Changes file, guess I need another release
21:34 jberger_ booo
21:34 jberger_ my #release bot caught it, what happened?
21:40 jberger_ I see it
21:41 denis_boyun joined #mojo
21:41 btyler joined #mojo
21:47 cpan_mojo joined #mojo
21:47 bowtie joined #mojo
21:48 cpan_mojo Mojo-FriendFeed 0.03 by Joel Berger - http://metacpan.org/release/JBERGER/Mojo-FriendFeed-0.03
21:50 jberger_ \o/
22:00 stephan48 does someone have a sample nginx config for serving static files directly by nginx and everything other by mojolicious?
22:01 Adurah My session compression testing is marred by deflate's seeming lack of determinism.
22:04 jberger_ Adurah, can't just check that the size is smaller and that the data survives a round trip?
22:05 Adurah I'm just trying to figure out the best level/memLevel.
22:07 Adurah Benchmarking is hard when the result is a moving one.
22:10 zM joined #mojo
22:30 denisboyun joined #mojo
22:33 jberger_ if we all just keep blogging, we can keep raising Mojo's profile: http://stackoverflow.com/questions/21362267/nonblocking-django
22:33 jberger_ :-)
22:34 sri jberger++
22:36 jberger_ fun to see people wishing they could use Perl, rather than complaining that they have to
22:36 buu sri: Hey, I'm asking on behalf of a friend, he remembered you wrote a very done article on routing in web applications for your blog, several yeas ago I guess at this point, and was wondering if you had a copy lying around someplace?
22:36 buu 'very done'
22:36 buu As opposed to medium well done, obviously.
22:37 sri afraid i don't
22:37 tianon does the wayback machine? :)
22:38 sri i don't even remember which domain i used for the blog back then :o
22:38 jberger_ mojolyst?
22:38 purl mojolyst is up to you guys, but i'm going to need a default dispatcher soon
22:38 buu tianon: Yeah thats what I was wondering
22:38 sri before i announced mojo
22:40 sri in any case, that blog post would be horribly outdated
22:41 sri basically just django routing that didn't get any better over the years ;p
22:42 LiveLover joined #mojo
22:42 LiveLover HeLLO!
22:43 LiveLover I try to parse web page via Mojo::DOM/
22:44 LiveLover What should be the page type .... <!DOCTYPE XHTML....>  ?   does it matter?
22:44 LiveLover А тут принято по-русский или inEnglish&
22:44 LiveLover А тут принято по-русский или inEnglish?
22:45 Adurah A... tit something...
22:45 LiveLover sorry.. what does it mean "tit"?
22:46 LiveLover I am new on irc etc...
22:46 Adurah I'd just try parsing it, then ask questions when problems come up.
22:46 jberger_ LiveLover, what page?
22:46 LiveLover Oh ....
22:47 LiveLover when I print Dumper $dom
22:47 LiveLover i see strange nodes
22:47 good_news_everyone joined #mojo
22:47 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/f6oEMQ
22:47 good_news_everyone mojo/master 26f8b8d Sebastian Riedel: use Unicode characters in Mojo::DOM examples
22:47 good_news_everyone left #mojo
22:47 jberger_ LiveLover, don't dump the object
22:47 jberger_ what are you trying to do
22:47 jberger_ ?
22:47 punter joined #mojo
22:49 LiveLover [
22:49 LiveLover 'text',
22:49 LiveLover '
22:49 LiveLover '
22:49 LiveLover ]
22:49 LiveLover [
22:49 LiveLover 'text',
22:49 LiveLover '
22:49 LiveLover '
22:49 jberger_ no
22:49 jberger_ stop
22:49 LiveLover ]
22:49 LiveLover [
22:49 LiveLover 'text',
22:49 LiveLover '
22:49 LiveLover '
22:49 LiveLover ]
22:49 jberger_ don't paste into the channel
22:49 LiveLover [
22:49 LiveLover 'text',
22:49 LiveLover I want to consider web page like XML file, not text.. but  spaces outside tegs has mean
22:49 Adurah texty
22:49 jberger_ use a pastebin site and link to it
22:49 LiveLover Ok ok i am sorry.
22:50 * jberger_ should have seen that one coming
22:50 sri MY EYES
22:50 tianon and tell us what you're trying to do, not what you're getting back from Dumper
22:50 LiveLover Is it possible to see page like xml, not html?
22:51 Adurah You want to view the source of the page?
22:51 good_news_everyone joined #mojo
22:51 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/D_cRcg
22:51 good_news_everyone mojo/master 149ede8 Sebastian Riedel: even more Unicode characters in Mojo::DOM examples
22:51 good_news_everyone left #mojo
22:52 jberger_ LiveLover, http://mojolicio.us/perldoc/Mojo/DOM#CASE_SENSITIVITY
22:52 LiveLover my be my question is stupid.... but I was puzzled at first because I saw a lot of empty elements http://pastebin.com/XGHAsAGT
22:53 jberger_ LiveLover, allows a full round-trip
22:57 damaya joined #mojo
22:57 damaya Is there any good documentation out there on writing RESTful APIs using Mojolicious?
22:58 damaya I nominate this video the most misleading title ever: http://www.youtube.com/watch?v=yvmHDdE6pss
22:58 LiveLover I will try to do not task SO stupid question in future))
22:58 LiveLover Guru, big-big thank You!
22:58 LiveLover *ask
23:01 jberger_ LiveLover, I'm not sure we helped at all, did you get your question answered?
23:14 LiveLover I saw on the line breaks in DOM object dump and was puzzled, because I have not understood, that text between  tags must be represented to. It was night question)
23:14 LiveLover Thank You!
23:15 jberger_ glad to help
23:27 bpmedley damaya: What problems are you having?
23:30 denis_boyun_ joined #mojo
23:33 good_news_everyone joined #mojo
23:33 good_news_everyone [mojo] kraih pushed 1 new commit to master: http://git.io/0EjsAw
23:33 good_news_everyone mojo/master 4f127d8 Sebastian Riedel: updated Mojo::DOM::HTML example too
23:33 good_news_everyone left #mojo
23:49 jberger__ joined #mojo

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