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

IRC log for #mojo, 2015-11-13

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

All times shown according to UTC.

Time Nick Message
00:36 sri till: works for me
00:36 sri MOJO_USERAGENT_DEBUG=1 perl -Mojo -E 'g($_) for qw(http://microsoft.com http://mojolicio.us)'
00:36 sri maybe your dns is broken
00:37 sri common reasons for something to get "stuck" is dns problems or running out of file descriptors
00:38 till sri: does this also work for you? MOJO_USERAGENT_DEBUG=1 perl -Mojo -E 'g($_) for qw(http://www.microsoft.com/ http://enteryourwebsite.../)'
00:39 till I tested it on different machines, alsways freezes
00:39 sri wait, you literally used that broken url?
00:39 till yes
00:39 sri oh
00:39 till can be any invalid url
00:42 sri ok, now i see it
00:42 till do you think you can fix it? :)
00:52 sri yes
00:52 sri it's the cookie jar
00:53 sri the first url fills it, so there's a search for the second, which gets stuck somewhere
00:56 till cool :)
01:00 good_news_everyon joined #mojo
01:00 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4eg1
01:00 good_news_everyon mojo/master 08d5f42 Sebastian Riedel: fix handling of invalid URLs in Mojo::UserAgent::CookieJar
01:00 good_news_everyon left #mojo
01:00 sri till: thanks, fixed
01:02 till so simple and elegant patch sri++ :)
01:02 sri half fixed actually
01:02 sri gotta handle leading dots too
01:04 good_news_everyon joined #mojo
01:04 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4eaV
01:04 good_news_everyon mojo/master 3374566 Sebastian Riedel: handle leading and trailing dots
01:04 good_news_everyon left #mojo
01:22 aborazmeh joined #mojo
01:43 good_news_everyon joined #mojo
01:43 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4eDW
01:43 good_news_everyon mojo/master e6162e3 Sebastian Riedel: no need for values
01:43 good_news_everyon left #mojo
01:58 McA joined #mojo
03:23 kaare joined #mojo
04:34 inokenty-w joined #mojo
04:34 Phil21 hmm
04:34 Phil21 does the bot have to join/part every time? :)
04:35 Phil21 I have a filter that disables show part/joins unless the guy speaks within X seconds of the event
04:35 Phil21 guess I could add a specific nick block, but hrm
04:35 Phil21 just makes phone beep
04:35 Phil21 said filter may have been one of the largest IRC improvements I've made in recent years
04:38 Grinnz having your phone beep on join/part sounds like a bad idea
04:51 Phil21 well, it's more events :)
04:51 Phil21 and usually I filter them
04:51 Phil21 I've adjusted filter, just breaks anyone else running weechat+irc_smart_filter
04:54 Phil21 but yes, your point stands.  It was a bad idea to alert on all channel events :)
05:10 sri Phil21: so, i can make your phone beep like this?
05:10 Phil21 haha, yes
05:10 Phil21 by highlighting my nickname
05:10 sri Phil21: \o\
05:10 Phil21 otherwise no, now :)
05:10 sri Phil21: /o/
05:10 Phil21 haha
05:11 kivilahtio joined #mojo
05:18 buu Phil21: ooh can I play too
05:18 Phil21 things I shouldn't tell a public IRC channel...
05:18 Phil21 heheh
05:18 buu =O
05:19 buu It's better than /ns hunter2
05:19 Phil21 I used to Oper, and people would think they were clever spamming /stats p
05:19 Phil21 (opers see it every time you run it)
05:19 Phil21 those were the only people I ever k-lined :)
05:21 Phil21 and the global alert is more "someone happened in this channel since last time" not every msg to the channel :)
05:21 Phil21 but highlights to alert
05:21 Phil21 it's actually pretty handy for work channels and such
05:21 Phil21 s/to/do/
05:54 melo joined #mojo
06:33 ichi joined #mojo
06:37 dod joined #mojo
07:01 polettix joined #mojo
07:06 Lee joined #mojo
07:36 anon joined #mojo
08:01 cosimo joined #mojo
08:01 Vandal joined #mojo
08:08 osfabibisi joined #mojo
08:25 eseyman joined #mojo
08:26 berov joined #mojo
08:27 y1mmm joined #mojo
08:29 berov joined #mojo
08:38 trone joined #mojo
08:50 arthas joined #mojo
09:03 val joined #mojo
09:36 polettix joined #mojo
09:39 bjakubski joined #mojo
09:52 Mattjes joined #mojo
10:12 melo joined #mojo
10:22 dboehmer joined #mojo
10:24 dboehmer joined #mojo
10:56 carneirao joined #mojo
10:58 melo1 joined #mojo
11:03 kivilahtio_ joined #mojo
11:08 melo joined #mojo
11:12 melo joined #mojo
11:25 jontaylor joined #mojo
11:37 melo joined #mojo
12:05 neilhwatson joined #mojo
12:06 cosimo joined #mojo
12:14 cosimo joined #mojo
12:16 cosimo joined #mojo
12:25 fvox joined #mojo
12:46 jberger batman: MojoSlides is passe
12:46 jberger https://metacpan.org/release/Mojolicious-Plugin-RevealJS
12:47 batman ah. why don't you remove it?
12:47 batman how do you run revealjs..?
12:47 batman i don't get why you want to write perl code to be able to show slides :/
12:51 jberger I just got to the point where everything in mojo centers on the app, so I made my talk an app
12:52 jberger And yes I should remove both it and SimpleSlides
12:52 batman ok
12:59 ajr_ joined #mojo
13:09 hernan605 joined #mojo
13:11 val joined #mojo
13:21 kaare joined #mojo
13:24 jberger Is this a typo?  https://github.com/kraih/mojo/pull/873/files
13:28 cpan_mojo Mojolicious-Plugin-FormFieldsFromJSON-0.31 by RENEEB https://metacpan.org/release/RENEEB/Mojolicious-Plugin-FormFieldsFromJSON-0.31
13:49 good_news_everyon joined #mojo
13:49 good_news_everyon [mojo] kraih pushed 2 new commits to master: http://git.io/v4UfH
13:49 good_news_everyon mojo/master 0268bd6 Markus Koch: Fixed typo
13:49 good_news_everyon mojo/master 3a6a7ac Sebastian Riedel: Merge pull request #873 from jbob/master...
13:49 good_news_everyon left #mojo
14:07 nic sri: I saw your comment about optional params to a template resulting in multiple instances of the template
14:07 nic If I currently do ->render(template => 'x', foo => bar) and ->render(template => 'x')...
14:08 nic does it avoid the problem if I change the second one to ->render(template => 'x', foo => undef)  (and let the template assign a default value) ?
14:08 jberger nic: that can't work
14:09 nic ?
14:09 jberger undef could be a valid value
14:09 jberger That would be a bigger problem
14:09 nic jberger: The question I'm asking: Do both of those invocations result in the same underlying template object?
14:10 nic If so, then that certainly will work (for me)
14:10 jberger Oh I missed the "for me" sorry
14:11 jberger Yes iiuc that should work
14:11 nic You missed the multiple uses of "I" ;)
14:11 jberger Yeah
14:12 stephen joined #mojo
14:12 nic ok, so I should always call them with the same stash keys, even if that means passing null values
14:13 nic that's good to know
14:14 jberger Id have to read the template caching code again to be sure but that's how I remember it
14:22 sri yes, that's how it works
14:23 nic awesome, thanks
14:23 sri MOJO_TEMPLATE_DEBUG=1 perl -Mojo -E 'my $c = app->build_controller; $c->render_to_string(inline => ""); $c->render_to_string(inline => "", foo => 1)'
14:24 sri that's the one-liner i used to demonstrate it
14:24 sri if you change the first call, there will only be one template compiled
14:24 sri MOJO_TEMPLATE_DEBUG=1 perl -Mojo -E 'my $c = app->build_controller; $c->render_to_string(inline => "", foo => undef); $c->render_to_string(inline => "", foo => 1)'
14:25 sri variables in templates are a tricky problem, and i'm still very curious if there are other solutions
14:27 sri everything i can think of would be worse, like declaring all variables upfront in the beginning of the template
14:28 jberger The problem is the $stash_value injection right?
14:28 sri yes
14:28 jberger The only option I could think of is disabling that optionally
14:28 nic was just about to say that
14:29 jberger I know I really never use it in production templates anyway
14:29 jberger I would not want to remove it though
14:31 jberger In a production template I never want to risk a compile error so I always use the stash helper
14:31 jberger Call it paranoid
14:31 jontaylor jberger: i do the same
14:31 nic My workaround above doesn't go far enough, because it's not just stash values passed explicitly to ->render
14:32 nic My logged-in users have extra keys in their stashes, and so are causing all templates to duplicate
14:32 sri i mean, you can do "no strict "vars""
14:32 jberger But I like strict vars :P
14:33 irqq joined #mojo
14:33 sri it doesn't help with multiple versions either though
14:34 sri very glad we managed to remove the boilerplate for helpers
14:34 jberger If that was optionally disableable it wouldn't make caching easier?
14:34 sri dunno, who would actually disable it?
14:35 jberger I might, if it got me performance (without thinking about it a lot)
14:35 jberger Since I don't use the $ form anyway
14:36 sri personally, i use the $ form quite a bit
14:36 sri <%= $foo %> vs <%= stash 'foo' %>
14:36 sri so much easier
14:36 jberger Right now I probably am in a worst case, I don't use the $ form and I don't really keep an eye on my stash values to only get one template
14:37 jberger Right I'm not arguing to get rid of it
14:37 jberger I use it all the time in demos and prototypes
14:37 nic I know it's silly, but having variables appear that I didn't create unnerves me a little and I never use them
14:38 nic It kind of goes against template reuse, since they're only useful if they always exist in the stash
14:39 sri there's the epl format for you
14:39 nic Doing "% my $x = stash('x') // 'default x';" seems a safer way to go
14:39 sri https://github.com/kraih/mojo/blob/master/t/mojolicious/lite_app.t#L1062
14:40 sri this is epl, you only get $c as first arg
14:40 nic heh, never used epl; better start reading :)
14:40 jberger sri: does epl get helpers?
14:40 sri nope, nothing
14:40 jberger I didn't think so
14:40 sri but epl does represent the other extreme
14:41 jberger True
14:41 jberger Does the caching work there?
14:41 nic I guess this only matters if you have a _lot_ of templates
14:41 sri if you're just after performance, it doesn't really matter ever
14:42 jberger I guess the more I use nested helpers the more I'm using $c anyway
14:42 sri ep is really fast
14:42 cpan_mojo Clustericious-Admin-0.26 by PLICEASE https://metacpan.org/release/PLICEASE/Clustericious-Admin-0.26
14:42 jberger Sorry I didn't mean fast, I meant memory
14:42 jberger And in truth I don't really care about that either
14:43 jberger I was just addressing a concern that comes up from time to time
14:45 nic It's true.  The apps that have lots of templates aren't the ones you run on embedded devices :D
14:46 nic But that's a useful reminder about epl
14:46 sri only the last 100 templates go into the cache anyway
14:46 nic yes, but that can be extended can't it  (I haven't looked up how quite yet)
14:47 sri sure, but that's your decision
14:47 nic when I saw you mention that it prompted me I need to raise that param on a few of my apps
14:48 jberger It is funny that others do as I do wrt $ form
14:48 jberger I assumed I was the only odd duck
14:49 sri you're oth odd ducks ;p
14:49 sri +b
14:49 nic On this channel I increasingly get the impression every Mojolicious user reckons they're the only odd duck :)
14:50 nic ref: The number of times someone declares they love mojolicious, use it all the time, but are 'abusing' it or using it 'wrong'
14:55 nic So in startup, $self->renderer->cache->max_keys(200)
14:55 sri jberger: so, if you were to allow disabling template $vars, what would you teach as the alternative?
14:55 jontaylor I just want to quickly say how much I appreciate the mojolicious documentation, i’ve been forced to write a CGI::Application plugin, and they don’t even say when their hooks run…, Mojo is so much better
14:55 sri \o/
14:55 nic haha, another CGI::Application refugee
14:56 sri jberger: <%= $stash->{foo} %> or even <%= var 'foo' %>, or something completely different?
14:56 jontaylor This template issue everyone is discussing, does it boil down to essentially generating a cache key or something?
14:57 nic not <%= stash('foo') %>  ?
14:57 nic better without parentheses
14:59 * genio shudders at the memory of CGI::Application
14:59 sri jontaylor: http://irclog.perlgeek.de/mojo/2015-11-13#i_11532086
15:00 sri first one-liner gives you two templates, the second just one
15:00 sri the empty inline template is just a placeholder, and it works just the same for real templates
15:02 jontaylor and that seems reasonable as it is surely
15:02 nic MOJO_TEMPLATE_DEBUG=1 perl -Mojo -E 'my $c = app->build_controller; $c->render_to_string(inline => ""); $c->stash(username => "nic"); $c->render_to_string(inline => "")'
15:04 jberger <%= stash 'foo' %>
15:05 jberger Actually I usually do % my $foo = stash('foo') || 'default'
15:06 sri that's just too verbose for me
15:06 sri ->render(foo => 'bar') and <%= $foo %> make so much sense together
15:07 jberger Yes unless you're pulling in more than a few stash values
15:07 jberger Perhaps some from a few places
15:07 sri you know what's funny, i was originally arguing for the jberger solution, and marcus made me add the variables in templates
15:07 nic MARCUS!!!!
15:08 jberger Again I like the $ form for small templates demos pocs etc
15:08 polettix joined #mojo
15:08 jberger And yes when I render a quick template with only a few obviously required stash values I use it
15:08 sri jberger: an option for disabling it doesn't really work though, you'd need a third extension
15:09 sri .epl, .ep, .e? ;p
15:09 jberger .eeep
15:09 sri :D
15:09 Grinnz .lp
15:12 nic I guess a workaround is to $self->defaults(every => 'param', i => 'might use');
15:12 sri that works
15:14 nic typically you only have a few, stuff like 'username', 'auth_group', 'role', etc
15:15 jontaylor i like to pass everything into templates doing ->render(foo => 'bar’), when other values work their way in their from the stash I don’t like that so much, but it doesn’t really bother me
15:16 jontaylor I feel like i’ve declared it myself when I do that, so when I can just use it as a variable in the template that feels nice and natural
15:19 polettix joined #mojo
15:27 sri jberger: adding the option would be trivial btw. one additional line
15:27 good_news_everyon joined #mojo
15:27 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4Uoh
15:27 good_news_everyon mojo/master 3847e3d Sebastian Riedel: encourage the use of a new name
15:27 good_news_everyon left #mojo
15:27 sri just testing would be a nightmare, as usual
15:28 cpan_mojo Test-Mojo-Role-Debug-1.001001 by ZOFFIX https://metacpan.org/release/ZOFFIX/Test-Mojo-Role-Debug-1.001001
15:36 Akron joined #mojo
15:45 jberger Zoffix: how would you use that ^^ with ->or ?
15:46 jberger oh he's not here
15:48 nicomen jberger: [Fri Nov 13 16:48:02 2015] [error] Can't use string ("1") as a subroutine ref while "strict refs" in use at /usr/local/share/perl/5.20.2/Mojolicious/Plugin/MountPSGI/Proxy.pm line 12.
15:49 nicomen Test-Mojo-Role-PSGI-0.03
15:49 nicomen using ->new('NameOfApp');
15:51 nicomen same when using relative path to .psgi file
15:52 jberger nicomen: can you try manually setting the app attribute in the proxy?
15:52 jberger if that works then its something to do with loading the app
15:53 Mattjes joined #mojo
15:53 jontaylor joined #mojo
15:53 nicomen jberger: weird it seems like load_psdgi returns 1...
16:00 gryphon joined #mojo
16:00 kivilahtio joined #mojo
16:01 fvox Dudes, whats the best way to restart a Minion worker? kill -HUP? :P
16:01 nicomen jberger: it seems my .psgi file i b0rken
16:02 jberger fvox: http://mojolicio.us/perldoc/Minion/Command/minion/worker#INT-TERM
16:03 jberger sri: should INT, TERM be the same =head level as SIGNALS?
16:04 nicomen or hm, it's just a default catalyst generated .psgi
16:04 fvox jberger: Oh, thank u so much!
16:04 jberger oh, nm, its not, just looks that way to me in that case
16:04 nicomen but it's $app is 1
16:04 jberger fvox: np
16:05 jberger nicomen: are you accidentally getting a scalarization of a list/array
16:05 jberger ?
16:06 nicomen jberger: perhaps, but I wouldn't know why
16:06 nicomen warn $app in app.psgi returns 1 too..
16:06 nicomen s/returns/outputs/
16:07 jberger well good luck, but I think I'm confident saying that that's not an issue in my (and marcus') modules
16:07 jberger I'm curious to see what is going on though
16:13 PryMar56 joined #mojo
16:19 nicomen jberger: ok, it actually works when using full path to psgi, but not when using app-name
16:19 nicomen I think I read something about include paths in load_psgi, but I thought 'lib' was included
16:19 jberger hmmm, yeah, that makes sense
16:20 sh4 joined #mojo
16:20 jberger you can do Test::Mojo::WithRoles->new($app_instance) and that should work
16:20 jberger https://metacpan.org/source/JBERGER/Mojolicious-Plugin-MountPSGI-0.04/lib/Mojolicious/Plugin/MountPSGI.pm#L25-26
16:21 jberger if we can dream up some nice way to know if a string is a path or a class name ...
16:21 jberger or maybe there is a way to pass it nicely
16:21 jberger I thought most people did psgi apps by path to script though?
16:21 * jberger could be wrong
16:23 nigel joined #mojo
16:24 nicomen another issue now is that in line 61 of MountPSGI it expects $psgi_res to be an array ref, but I get a code_ref there
16:24 nicomen I think I should try to make some tests instead
16:26 ZoffixW joined #mojo
16:27 ZoffixW jberger, what do you mean how would you use it with ->or?
16:27 jberger if you only wanted debug if the previous test failed
16:27 jberger I'm making a pr for you anyway
16:27 jberger just about ready
16:27 ZoffixW Sweet
16:28 * ZoffixW just got tired of typing "; dduTAB $t->tx->res->dom->at('#foo'); $t->" all the time :P
16:28 ZoffixW Never used ->or; just noticed it today when looking at docs
16:29 jberger two things, you should use diag rather than warn
16:29 jberger and it should only diag when ! $t->success
16:29 ZoffixW I rather use warn, because diag adds hashmarks
16:29 jberger both of which are in my pr
16:30 jberger of course it does
16:30 jberger you don't want it in the TAP stream
16:31 asarch joined #mojo
16:31 ZoffixW Hm. My plan was to manually stick ->d where needed while coding. Your proposal seems to be more about leaving it in place in the test forever
16:31 * ZoffixW waits for the PR to see what's what
16:32 berov left #mojo
16:32 jberger PR is in
16:33 jberger https://github.com/zoffixznet/Test-Mojo-Role-Debug/pull/1/files
16:33 jberger btw, this is the kind of stuff that testing will be so much easier in Test::Stream
16:33 jberger testing testers
16:33 jberger because you just get a diag event that you can capture
16:33 jberger and inspect
16:33 jberger <3
16:34 ZoffixW There's Test::Tester
16:34 disputin joined #mojo
16:37 kes joined #mojo
16:39 * jberger pukes
16:39 ZoffixW ?
16:40 jberger Regexing the text output of the tap stream is why Test::Stream is happening in the first place
16:41 jberger they wanted to change the indentation of some comments and broke half of CPAN because they were using modules that tested with Test::Tester and which regexed the tap stream
16:41 jb360 joined #mojo
16:42 jberger ZoffixW: btw, I updated your example to make it easier (and not rely on findbin-ing to a separate app), I'd probably recommend you do the same to your "test"
16:42 jberger its just so much easier that way
16:46 nicomen jberger: PR with failing test added
16:52 jberger nicomen: thanks, I've added a few comments
16:56 nicomen ok, answered back, the most important was if you were able to reproduce though ;)
17:00 sri jberger: if you want do restyle the different headings, give it a go
17:00 sri s/d/t/
17:14 cpan_mojo Test-Mojo-Role-Debug-1.002001 by ZOFFIX https://metacpan.org/release/ZOFFIX/Test-Mojo-Role-Debug-1.002001
17:14 ZoffixW jberger++ # giving me a chance to use the CONTRIBUTORS section from Pod::Spiffy :P
17:15 nicomen ;)
17:16 good_news_everyon joined #mojo
17:16 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4TwG
17:16 good_news_everyon mojo/master 7900fdd Sebastian Riedel: =head4 exists too
17:16 good_news_everyon left #mojo
17:17 sri that selector looks odd https://github.com/kraih/mojo/commit/7900fdd4e95d473a926627bbd9e77208d7bebf7d#diff-a6abcbfa5b731359ce13f94c3f9c17d3R87
17:17 sri i never had to format a multi-line selector, no idea how to do it better
17:18 Grinnz_ sri: examples from jquery appear to do basically the same
17:19 * ZoffixW newlines stuff like that on commas
17:26 cpan_mojo Test-Mojo-Role-Debug-1.002002 by ZOFFIX https://metacpan.org/release/ZOFFIX/Test-Mojo-Role-Debug-1.002002
17:29 punter joined #mojo
17:30 osfameron evening.  Any recommendations for something like Mojo::DOM in Ruby?
17:30 osfameron (I'm doing some Jekyll hacking)
17:32 ZoffixW ¯\_(ツ)_/¯ ask in a Ruby channel? :)
17:33 ZoffixW sri might know tho
17:33 sri nokogiri
17:34 osfameron thanks - that was on my list to check out
17:34 osfameron it's hard to know which are good without understanding the ecosystem better
17:34 sri it's notorious for segfaulting though, the libxml bindings seem a bit fragile
17:35 sri but it's the default choice in ruby
17:35 osfameron heh ok
17:35 osfameron and for a static site the odd segfault isn't a big deal I guess
17:35 sri Mojo::DOM was more inspired by hpricot back in the days, but that is no longer being maintained
17:50 eseyman joined #mojo
17:51 disputin joined #mojo
18:05 disputin1 joined #mojo
18:06 good_news_everyon joined #mojo
18:06 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4TNO
18:06 good_news_everyon mojo/master 5626f1b Sebastian Riedel: test more variants
18:06 good_news_everyon left #mojo
18:09 irqq joined #mojo
18:13 sue joined #mojo
18:20 jberger btw, sorry, I'm afk for a bit
18:21 jberger got some paperwork to do ;-P
18:23 kes joined #mojo
18:32 cpan_mojo Test-Mojo-Role-Debug-1.003002 by ZOFFIX https://metacpan.org/release/ZOFFIX/Test-Mojo-Role-Debug-1.003002
18:45 jberger Zoffix: cool stuff
19:23 jb360 joined #mojo
19:56 good_news_everyon joined #mojo
19:56 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/v4kPD
19:56 good_news_everyon mojo/master c004924 Sebastian Riedel: change font size for headings
19:56 good_news_everyon left #mojo
20:41 gryphon joined #mojo
20:49 nigel joined #mojo
21:30 Mattjes Hello
21:30 Mattjes Has Mojo problems to parse tables <tables>?
21:30 Mattjes if they are strong interleaves?
21:31 Mattjes <table></table> i mean
21:32 Mattjes Mojo dont find "table.table-1" here! <table width="600" border="0" class="table-1">
21:33 Mattjes in a simple Testhtml-File Mojo find it but not on a website with extremly interleaves tables.
21:33 Mattjes hmmmm
21:36 buu What is 'interleaves tables' ?
21:37 preaction i'm guessing nested tables
21:37 Mattjes sorry - my english is not good
21:38 Mattjes encapsulated tables
21:38 buu Mattjes: It should work fine..
21:38 Mattjes not by me
21:38 buu Then it's likely you've done something wrong
21:38 Mattjes you have table > tr td > table > tr > td > table
21:38 Mattjes website from hobby-webmaster
21:38 buu ok
21:38 Mattjes its terrible
21:39 Mattjes in my test-htmlfile it works correct but not on the website with complexes tables
21:40 Mattjes http://www.caprice-escort.de/escortservice/escort-damen/marie/marie.htm
21:41 Mattjes There i must find "p" in table.table-1
21:41 Mattjes its terrible
21:42 genio I don't think I want to click that link while at work
21:42 Mattjes its a escort site - yes
21:42 Mattjes i will test it with i will test find("p")->first(qr/word/)
21:43 Mattjes let's see if that works
21:43 Mattjes websites from hobby-webmasters are terrible ...
21:43 sri Mattjes: don't ever link something like that here again
21:43 Mattjes last webiste was made with CMS and this was so easy
21:44 Mattjes sri: ok - i spider this ...
21:44 Mattjes sorry
21:44 sri a temporary ban might be in order
21:44 Mattjes what?
21:44 sri you've violated the code of conduct linked in the channel title
21:44 Mattjes due to a linked page escort?
21:45 sri http://mojolicio.us/perldoc/Mojolicious/Guides/Contributing#CODE-OF-CONDUCT
21:45 buu sri: Just curiously is this a prohibition on pages involving semi-naked women or people or escorts in specific or what?
21:46 Mattjes sri: sorry -  I did not know that
21:46 sri "Posting sexually explicit or violent material."
21:47 buu It's not all that explicit, but ok, I understand your point of view.
21:49 Mattjes Even in the prudish America Escort sites are not banned and a youth protection is not there there also. Therefore, I understand that not so pretty.
21:49 Mattjes But ok - I will refrain in the future (I did not know)
21:50 sri please respect the code of conduct
21:50 Mattjes i make it
21:50 Mattjes sorry
21:51 sri this is a professional environment
21:52 Mattjes this was not advertising - I spider those pages for a search engine
21:53 Mattjes that could be seen from my question also
21:54 Mattjes this is professional environment
21:54 Mattjes sorry
21:54 Mattjes I do not play in the sandbox
21:58 Mattjes $dom2->find("p")->first(qr/Beruf/) does not work too
21:58 Mattjes hmm
21:59 buu Mattjes: Do you really want to stringify the element?
22:01 Zoffix joined #mojo
22:03 Mattjes buu: "strinify element"? What you mean wth this?
22:05 Mattjes omg
22:05 Mattjes i have a big mistake here in my code
22:05 Mattjes I am embarrased about it
22:07 Mattjes since missing a "/" in the path and I spider the redirect page
22:07 Mattjes sorry
22:07 buu heh
22:07 Mattjes I have been working for 16 hours
22:07 Mattjes sorry
22:08 Mattjes My concentration is over
22:08 Zoffix 16 hours? Time to go home, buddy ;)
22:08 Mattjes Another hour;-)
22:09 Mattjes still an hour (is better)
22:10 Mattjes now it works
22:11 Mattjes its 11 om here
22:11 Zoffix \o/
22:11 Mattjes pm
22:11 Mattjes i make a coffee
22:11 Mattjes :-)
22:11 Mattjes off for 10 minutes
22:16 val joined #mojo
22:37 Zoffix joined #mojo
22:50 nicomen wow
22:50 genio poor france, man
22:52 Mattjes omg
22:52 Mattjes I have just seen it
22:53 Mattjes What's wrong in this world?
22:53 Mattjes explsion by soccer.game france/germany in statdion?
22:55 Mattjes at least 60 dead - omg
22:56 Mattjes The army is now active even in Paris
22:56 Mattjes wtf
23:00 Quai sounds like a nightmare...
23:01 mantovani wow
23:02 Adura joined #mojo
23:53 val joined #mojo

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