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

IRC log for #mojo, 2015-01-28

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

All times shown according to UTC.

Time Nick Message
00:12 Ptolemarch joined #mojo
00:52 asarch joined #mojo
01:04 absolut_todd joined #mojo
01:06 jonquest joined #mojo
01:12 muraiki_ joined #mojo
01:36 marty joined #mojo
01:42 jberger Grinnz_: how's the weather? :-P
02:12 Ptolemarch joined #mojo
02:16 klapperl_ joined #mojo
02:18 Grinnz didn't snow as much as they said, lol
02:18 Grinnz still, more than it has so far this winter
02:27 Oleg joined #mojo
02:33 jb360 joined #mojo
02:34 kaare joined #mojo
02:36 jberger you must be closer to NY than Boston then
02:37 jberger all, I have added documentation to my phantom js test module
02:37 jberger https://github.com/jberger/Test-Mojo-Phantom
02:37 jberger if anyone wants to take a peek
02:37 jberger its getting close to beta release quality in my mind too
02:38 jberger biggest holdup is a release of Test::Simple with the new Test::Stream behavior
02:59 nicomen great ;)
02:59 nicomen does phantomjs support dumping the error log somehow?
03:10 jberger when there is an error, the entire stack is sent and I emit it as Test::More::fail($stack)
03:14 disputin joined #mojo
03:22 nicomen jberger: I am interested in the errors happening outside of the tests
03:22 nicomen like: load page, ensure no errors appeared
03:22 jberger nicomen: what do you mean?
03:22 jberger there is an error handler for that too
03:22 nicomen oh?
03:25 jberger https://github.com/jberger/Test-Mojo-Phantom/blob/master/lib/Test/Mojo/Phantom.pm#L44-L56
03:25 jberger the handler
03:25 purl it has been said that the handler is called by POE::Component::Client::DNS or (it is the same) via if ($response) {
03:25 jberger then lines 57 and 80 assign it
03:25 jberger purl: forget the handler
03:25 purl jberger: I forgot handler
03:28 jberger nicomen: make sense?
03:33 nicomen hm, no, not really, I am talking about access to errors that are normally printed out in the console. Typically happening after a web page load, but before running any tests
03:34 jberger there is probably more handling that can be added
03:35 jberger see the events listed here
03:35 jberger http://phantomjs.org/api/webpage/
03:35 nicomen onConsoleMessage apparently also, but perhaps onError is good enough
03:35 jberger on the left side at the bottom (H)
03:35 nicomen thanks ;)
03:38 Oleg joined #mojo
03:46 noganex joined #mojo
04:00 jberger At this point, the template is mutable before use
04:00 Ptolemarch joined #mojo
04:01 jberger my hope is that once I get everything ironed out (appropriate hooks etc) that the template can just be stored in a lexical
04:07 Eke- joined #mojo
04:16 hshong joined #mojo
04:21 denny joined #mojo
04:36 gyan joined #mojo
04:38 inokenty-w joined #mojo
04:58 gyan joined #mojo
05:04 rem_lex joined #mojo
05:05 dotandimet joined #mojo
05:17 jberger nicomen: quick fix: https://github.com/jberger/Test-Mojo-Phantom/blob/master/t/setup.t
05:19 gyan joined #mojo
05:27 jberger I figure once I have everything setup and ready including error handling then the test author can add whatever they need there
05:27 jberger rather than being opinionated about it
05:28 dotandimet joined #mojo
05:30 charsbar joined #mojo
05:39 gyan joined #mojo
05:49 Ptolemarch joined #mojo
05:53 absolut_todd joined #mojo
05:56 dotandimet joined #mojo
06:00 gyan joined #mojo
06:22 gyan joined #mojo
06:23 dod joined #mojo
06:28 dod joined #mojo
06:32 dotandimet joined #mojo
06:45 gyan joined #mojo
06:52 Eke- joined #mojo
07:06 gyan joined #mojo
07:21 dotandimet joined #mojo
07:26 basiliscos joined #mojo
07:27 Jonis joined #mojo
07:29 gyan joined #mojo
07:37 crab joined #mojo
07:38 Ptolemarch joined #mojo
07:40 dod joined #mojo
07:41 rem_lex|pivo joined #mojo
07:50 gyan joined #mojo
08:03 reneeb joined #mojo
08:09 mattp joined #mojo
08:11 gyan joined #mojo
08:13 eseyman joined #mojo
08:19 QGuLL left #mojo
08:21 Vandal joined #mojo
08:22 trone joined #mojo
08:35 eseyman joined #mojo
08:36 gyan joined #mojo
08:56 gyan joined #mojo
09:17 fhelmber_ joined #mojo
09:18 gyan joined #mojo
09:27 absolut_todd joined #mojo
09:27 Ptolemarch joined #mojo
09:36 * sri yawns
09:38 gyan joined #mojo
10:03 gyan joined #mojo
10:10 * augensalat appreciates 2dc2492
10:10 augensalat sri: be so kind and merge https://github.com/augensalat/mojo/tree/srand_doc
10:11 augensalat to let people know they do not need Mojolicious::Plugin::OnFork anymore
10:23 marcusr oh the servers gonna patch patch patch patch patch
10:26 gyan joined #mojo
10:28 sri calling srand() is not a feature, and i will certainly not document it
10:30 sri in fact, it will just vanish again if we decide to use a different load balancing strategy
10:32 augensalat bummer, but somehow I expected this answer
10:32 sri and i expect more passive agressiveness
10:32 augensalat whatever that means
10:38 good_news_everyon joined #mojo
10:38 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/FBSj
10:38 good_news_everyon mojo/master d53deb3 Sebastian Riedel: test additional whitespace too
10:38 good_news_everyon left #mojo
10:50 gyan joined #mojo
11:04 nicomen how can I fix this (in 5.74)?
11:04 nicomen $ perl -wlE 'use Mojo::DOM; my $d = Mojo::DOM->new("<a><img></a>"); $d->find("img")->each( sub { my ($self) = @_; say "self-parent-a: " . ($self->parent->at("a")||"<none>");});'
11:04 nicomen self-parent-a: <none>
11:10 gyan joined #mojo
11:12 noganex_ joined #mojo
11:13 buu 5.74?!
11:13 buu What the heck is that
11:14 go|dfish mojo version
11:14 buu ohhh
11:14 buu heh
11:16 Ptolemarch joined #mojo
11:17 marty joined #mojo
11:18 marty_ joined #mojo
11:26 marty joined #mojo
11:33 gyan joined #mojo
11:39 gatitskiy joined #mojo
11:55 gyan joined #mojo
11:56 Eke|| joined #mojo
12:08 dvinciguerra joined #mojo
12:16 gyan joined #mojo
12:26 gatitskiy joined #mojo
12:40 gyan joined #mojo
12:51 neilhwatson joined #mojo
13:02 btyler joined #mojo
13:04 gyan joined #mojo
13:05 Ptolemarch joined #mojo
13:11 Eke- joined #mojo
13:18 neilhwatson joined #mojo
13:29 gyan joined #mojo
13:41 asarch joined #mojo
13:45 ignacio_ joined #mojo
13:47 hesco joined #mojo
13:52 jkramer joined #mojo
13:54 gyan joined #mojo
13:54 jkramer Is it just me or does this make anyone else want to reverse the most recent eating process? - Search::Elasticsearch
13:56 ZadYree joined #mojo
13:59 ZadYree Hello! I wonder which solution I should use to make mojolicious harvest many parameters (more than 20) that it may not know. I thought of using JSON-RPC but I never used it. Is it a good idea?
14:00 jkramer Just URL parameters?
14:01 jkramer What's the problem with that?
14:01 purl Issues.
14:03 ZadYree I see.
14:04 dotan ZadYree: You can pass as many parameters as you want using the Query string or POST form fields and get at them with $c->param
14:05 dotan http://mojolicio.us/perldoc/Mojo/Message/Request#param
14:05 dotan Or you can post a JSON document and parse it in your mojolicious POST handler
14:05 ZadYree well yeah, but I wonder what is the most efficient between parsing the params->to_hash or getting a json object...
14:05 dotan (like some javascript frameworks like to do)
14:06 dotan I bet params, because it's simpler (key=value, no hashes/objects or arrays and nesting)
14:06 nicomen if you are talking > 20 parameters, json, if you are talking 20 use param
14:07 ZadYree I see.
14:07 nicomen mostly for sanity and clients not fucking up
14:07 tencendur joined #mojo
14:11 dotan jkramer: what makes you queasy about S:ES?
14:11 dotan Is it "I can just do all this with M::UA, and be Async as well"?
14:13 marcusr MUA(HAHAHA)
14:14 jkramer dotan: It's the name. Makes me cringe.
14:15 jkramer So much actually that I'm considering the deprecated ElasticSearch module
14:15 jkramer *using
14:16 sri dotan: actually you can't, the query string usually has a size limit
14:16 dotan Moyoeeyoloooop!
14:16 ladnaV joined #mojo
14:17 gryphon joined #mojo
14:17 dotan sri: my co-worker just had to debug a query she was making of a mojolicious script, making a POST request with an empty body and a huge JSON document crammed in the query string.
14:17 sri ouch
14:17 dotan Obviously, something was going very wrong on the Javascript end.
14:18 dotan But hey, I told her how to use get -M POST (she was expecting there to be a "post" command for debugging)
14:19 sri i think we accept about 10kb, most servers 8kb
14:19 dotan I think HAProxy or Apache will chop it down before it reaches Mojolicious.
14:20 dotan IE used to refuse to make requests with long query strings
14:23 McA joined #mojo
14:32 sri which reminds me that i wanted to reduce the limit to 8kb too
14:32 sri and possibly increase the default max message size to 16mb
14:34 sri or even a bit further
14:42 hesco joined #mojo
14:45 Grinnz 16mb is what we have it set to, mostly because it sorta matches up with the size of a MEDIUMBLOB or something in mysql
14:46 sri it also matches up with the mongodb document limit ;p
14:46 Ptolemarch joined #mojo
14:47 gyan joined #mojo
14:54 good_news_everyon joined #mojo
14:54 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/F0Bb
14:54 good_news_everyon mojo/master 7a8e71f Sebastian Riedel: use more common default values for message and line size limits
14:54 good_news_everyon left #mojo
14:56 jkramer Is there a mojo plugin for working with images/graphics? Just simple stuff like resizing/scaling. Couldn't find anything during my 3sec search.
14:56 sri websocket messages are limited to 256kb
14:56 sri anyone had problems with that default?
15:03 good_news_everyon joined #mojo
15:03 good_news_everyon [mojo] kraih pushed 1 new commit to master: http://git.io/F0gs
15:03 good_news_everyon mojo/master b9f92e3 Sebastian Riedel: mention how to increase the size limit for WebSocket messages
15:03 good_news_everyon left #mojo
15:09 gyan joined #mojo
15:10 asarch How can I make this work in a single line? <% if ($param == 5) { %><% "asarch" %><% } else { %><% "unknown" %><% } %>
15:10 asarch % if ($param == %) { "asarch" } else { "unknow" }
15:11 asarch ?
15:11 sri does that work in normal perl?
15:12 dotan asarch: are you outputing those strings? It looks like you're using them in void context (no assignment, no %=)
15:13 sri that too
15:14 mishantil jkramer: Alien::ImageMagick
15:15 mishantil jkramer: ...since ImageMagick in itself does not work with perlbrew and I am assuming you use perlbrew.
15:15 mishantil jkramer: I've also worked a little with Imager in the past. Pleasant enough API.
15:16 jkramer mishantil: Yeah, Imager is quite nice. I was just hoping for something already integrated in the mojo-way, async and stuff.
15:19 jberger jkramer: Image processing is cpu intensive, not so much waiting on io (which is where mojo async shines)
15:19 jberger you should look at Minion as a job queue or Mojo::IOLoop::ForkCall to "unblock" by forking
15:19 jberger depending on your needs
15:20 sri image processing is the perfect task for a job queue
15:20 * jberger agrees with sri
15:22 jkramer Ok, will look into those
15:24 asarch With %= if ($param... I get "Global symbol $param requires explicit...."
15:24 sh4 joined #mojo
15:26 jkramer asarch: Just param('...')
15:28 jkramer (Assuming you want to access a parameter like $c->param(...))
15:28 jkramer Otherwise you probably didn't set $c->{stash}->{param} = ...; either make sure it exists in the stash, or check in your template if it's there with if(stash('param'))
15:29 asarch Well, in the ep file: <a href="/details?=<%= if (param == 5) { "asarch" } else { "unknow" } %>">Customer Details</a>
15:30 asarch So far, I've been using: <a href="/details?="<% if ($param == 5 ) { %><% "asarch %><% } else { %><% } %>">Customer Details</a>
15:31 asarch And I was wondering if is there a way to shorten all those <% and %> EP tags
15:32 dotan asarch: <%= ($param == 5) ? "asarch" : '' %>
15:33 gyan joined #mojo
15:33 dotan (single quotes in the last string there, sorry)
15:33 mishantil Are there any plans of getting Mojo::Pg and DBIx::Class to work together? Would it even be possible, or is it one or the other?
15:34 dotan mishantil: DBIx::Class::ResultSet has an as_query() method, so you could use it to build your SQL and feed that to Mojo::Pg, maybe?
15:35 dotan You do lose features like prefetching related tables and converting them into nested data structures, though
15:36 ribasushi mishantil: you need to define "work together" better for the question to make sense
15:38 ribasushi mishantil: i.e. which part of DBIC do you envision using and which part of M::Pg do you envision using
15:39 Ptolemarch joined #mojo
15:43 punter joined #mojo
15:45 cpan_mojo WWW-Crawler-Mojo 0.08 by Sugama Keita - http://metacpan.org/release/JAMADAM/WWW-Crawler-Mojo-0.08
15:45 nicomen oooh
15:46 useror joined #mojo
15:55 gyan joined #mojo
16:05 dod joined #mojo
16:05 asarch Why this doesn't work?: %= if (1 == 1) { "asarch" }
16:06 meredith joined #mojo
16:06 sri my $foo = if (1 == 1) { "asarch" };
16:06 sri why does that not work?
16:09 sri the rendering guide has examples for what perl code ep templates compile to http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Embedded-Perl
16:09 sri (once you can answer the question above)
16:18 gyan joined #mojo
16:22 asarch Not enough arguments for scalar at template notes/index.html.ep line 4, near "scalar  if"
16:26 nicomen asarch: are you sure you want to use %= ?
16:26 nicomen <% Perl code %>
16:26 nicomen <%= Perl expression, replaced with XML escaped result %>
16:26 nicomen sri: % Perl code line, treated as "<% line =%>"
16:27 nicomen is there an = too many there?
16:27 pink_mist nope
16:27 pink_mist you can read what the = at the end means
16:27 pink_mist it's in the documetation too
16:28 PotatoGim^Home joined #mojo
16:28 nicomen pink_mist: well hidden in that case
16:29 pink_mist https://metacpan.org/pod/Mojolicious::Guides::Rendering#Embedded-Perl "Whitespace characters around tags can be trimmed by adding an additional equal sign to the end of a tag."
16:30 nicomen ah right
16:33 Vertig0 joined #mojo
16:44 gyan joined #mojo
16:51 Lee joined #mojo
16:55 go|dfish joined #mojo
17:00 amon joined #mojo
17:04 gyan joined #mojo
17:10 disputin joined #mojo
17:23 dod joined #mojo
17:31 gyan joined #mojo
17:51 hesco I've sorted out by trial and error the parsing of much of an html page using Mojo::DOM, but remain confused about how to sort out the layers of array references I must dig through to find the data I am interested in.  Can anyone here please enlighten me on how to do this in a repeatable way?  https://gist.github.com/hesco/7217d168aa20b8e8fa23 Thanks for any guidance you can provide.
17:51 dotandimet joined #mojo
17:53 dotandimet joined #mojo
17:54 gyan joined #mojo
17:54 sri once you upgrade your mojolicious that will stop working
17:54 sri and you'll be glad
17:54 sri because it solved the arrays of arrays issue
17:54 marmez joined #mojo
17:55 sri and i'm glad we got rid of the AUTOLOADs :)
18:00 jberger maybe people here know, did Digest::SHA3 change?
18:00 jberger I get different output between version 0.22 and 0.23
18:00 jberger :o
18:01 * sri blames the nsa
18:03 Trelane https://metacpan.org/changes/distribution/Digest-SHA3 spec change?
18:09 jberger Trelane: yeah, that's what I'm investigating
18:09 jberger I would have thought I would have heard more noise
18:11 jberger alh just showed me more metacpan win
18:11 jberger https://metacpan.org/diff/file?target=MSHELOR/Digest-SHA3-0.23/&amp;source=MSHELOR/Digest-SHA3-0.22/#t/sha3-224.t
18:11 jberger test expectations changed between versions!
18:12 Grinnz_ heh
18:16 gyan joined #mojo
18:20 dotandimet joined #mojo
18:33 Eke- joined #mojo
18:39 gyan joined #mojo
18:42 hesco joined #mojo
18:42 hesco and I'm back.  lost a breaker here.  any chance I may have missed a response to my 12:51 pm question?
18:43 hesco Judging from by scroll buffer in this irc client, I've been off-line since 13:28, or for about 15 minutes.
18:44 hesco though the last post I see was jberger talking about changing test expectations at 13:11
18:47 marty hesco:  channel logs are searchable.  http://irclog.perlgeek.de/mojo
18:54 nicomen hesco: 12:51 what timezone?
18:54 nicomen ah
18:54 nicomen hesco:
18:55 hesco EST
18:55 hesco thanks, looking up the logs then.
18:57 hesco looks like I only missed Grinnz_ saying 'heh', then.
19:02 go|dfish hesco: "once you upgrade your mojolicious that will stop working"
19:02 gyan joined #mojo
19:03 go|dfish http://irclog.perlgeek.de/mojo/2015-01-28#i_10019646
19:05 go|dfish with regards to ->find()->find()
19:06 hesco ok, thanks go|dfish.  I had seen your comment before but had not realized it was intended for me.
19:06 hesco I prepared another gist, here:  https://gist.github.com/hesco/a1cf1b6fd9553247aaba
19:07 Grinnz_ that was sri's actually ;)
19:07 sri don't expect too much help with obsolete apis
19:07 sri your problem is exactly why the api is gone
19:08 hesco with this observation, that these means of addressing into the DOM tree seem awfully fragile to me and I am concerned that while these ->[0]->[0]... find the data I seek on my sample page that they will break down once I start scraping the site.
19:08 hesco ah, ok, so I should upgrade and try again and come back with new questions if they still exist.
19:09 hesco that would also explain why the disconnect between the latest documentation and the observed behavior, I guess.
19:11 hesco ok, carton install building the newest version at ./local/lib/perl5
19:19 hesco I'm getting:
19:19 hesco Couldn't find module or a distribution Mojo::DOM (5.75)
19:19 hesco from carton/cpanm
19:20 hesco never mind on that.  ENV{'PERL_CARTON_MIRROR'} in the way here.
19:29 gyan joined #mojo
19:30 marty Only a few days until the Perl6 release at FOSDEM. groovy
19:32 sri it's not a perl6 release
19:32 sri just more bad pr
19:32 marcusr :'(
19:33 mst marty: so far as I can tell, it's going to be an announcement that they're hopefully going to get the runtime released this year
19:33 sri if you want to get a feel for the actual state of things, take a look at the docs
19:34 sri and how complete they are
19:34 sri (hint: there's almost nothing)
19:35 dotandimet joined #mojo
19:35 sri rakudo star is actually in a rather sad state... shipping with dozens of bad modules
19:36 sri i kinda lost interest in perl6 after seeing the poor web framework that comes bundled with it
19:37 genio I'm probably in the minority, but I wish they'd just scrap Perl 6 and let Perl have the damn number be available for breaking changes
19:39 Grinnz_ calling it a new name would be nice.
19:39 Grinnz_ plus good PR, its like a new language
19:41 sri honestly, i just don't care anymore :o
19:41 sri if it happens... yay... if it doesn't i'm fine with that too
19:48 genio meh, I just don't want to have to 'use 5.xxx;' forever
19:48 mgrimes joined #mojo
19:49 go|dfish joined #mojo
19:50 gyan joined #mojo
19:54 hesco OK, shiny new Mojo::DOM, is certainly getting me closer:  https://gist.github.com/hesco/23193ea6c3fb49a7c6aa
19:55 hesco But at this point, I'm tempted to do a fragile looking: ->{'name'}->[4]->[1].  but I'd rather address it as ->name->text or some variation on that.
19:56 hesco Can anyone give me a pointer to the intended usage, please?
19:56 sri if you're using ->tree, you're doing it wrong
19:57 hesco This is all it took to get me this far:  $result{'name'} = $self->parse_name( $dom->at( '#mn-member-general #mn-member-name-nologo' )->tree );
19:57 hesco ok, good place to start
19:57 purl good place to start is probably to find the manufacturer's data sheet for the chip, and see if it has :mailto:CanyonMan!~chrisp@cpe-66-66-121-255.rochester.res.rr.com PRIVMSG #perl :that show how to use it
19:57 sri mind the note http://mojolicio.us/perldoc/Mojo/DOM#tree
20:04 Eke- joined #mojo
20:05 hesco Thanks sri!  Now that is the sort of elegance I was looking for:  my $name = $dom->at( '#mn-pagetitle h1' )->text;
20:06 hesco that should prove far more resilient when I start running this code over the entire data set.
20:06 hesco at least i hope so.
20:06 sri :)
20:06 hesco Next to see if the rest of the page parses so easily.
20:07 genio \o/ Mojo::DOM
20:12 gyan joined #mojo
20:20 hesco And this: my $url = $dom->at( '#mn-memberinfo-block-website > a' )->{'href'};
20:20 hesco sweet!  nice job on the new api folks!
20:21 hesco 15 minutes to sort that out.  At this rate, I can have the whole page parsed in under three hours!
20:21 hesco where is some wood?
20:25 genio I would rather see ->attr('href') than ->{'href'}
20:26 hesco and email
20:27 hesco six minutes, starting to get the hang of this I guess.
20:34 gyan joined #mojo
20:40 hesco ok, that time I made it work on the first test.  Really nice work sri!  I could get used to this.
20:41 hesco genio: I tried that, and it came back to me undef, at least with the path I took.  I had a Mojo::Collection (an array), not an object at that point.
20:59 gyan joined #mojo
21:07 jberger purl forget good place to start
21:07 purl jberger: I forgot good place to start
21:09 stephan48 joined #mojo
21:10 trone joined #mojo
21:12 upasana joined #mojo
21:14 upasana_ joined #mojo
21:16 dod joined #mojo
21:21 gyan joined #mojo
21:28 berov joined #mojo
21:32 hesco thanks jberger: that was momentarily confusing, though not nearly as confusing as the legacy Mojo::DOM API proved to be.
21:32 hesco But this new API you folks cooked us sings!
21:33 hesco I am down now to only a couple of fields left to go.  This paste describes one of them:  https://gist.github.com/hesco/c2fca7f23eaca266993d
21:33 hesco Can anyone provide insight on how to get closer here?
21:38 berov hesco: can you provide sample from the HTML you are trying to parse?
21:41 hesco sure berov, had done so in an earlier gist, but will update the latest one.
21:41 gyan joined #mojo
21:41 berov ah I justconnected, will look at history
21:43 berov commented under the gist
21:44 hesco thanks, testing that now.  just updated gist with snip of html
21:46 berov hesko: updated comment with another example - sam selector tough
21:50 hesco y perl 5.18 threw a syntax error with say, so replaced it with print.  With some massaging, it gave me this:  https://gist.github.com/hesco/c2fca7f23eaca266993d#file-berov_sample_code-output
21:51 berov use Mojo::Base -strict; at the beginning of the script
21:51 berov then say will work
21:52 hesco thanks berov!  second code sample is a charm!  Exactly the arrayref I was hoping for, with no further munging required!
21:52 berov :) gald!
21:52 berov glad
21:56 hesco two hours and the task I was head-banging over for two days with the old API (absolutely convinced of the fragility of what I was writing) seems to be over.  That certainly makes for a sweet way to parse a web page.  A long way from my first regex driven web crawler I hammered on for weeks to make right back in 2002.
21:58 hesco thanks jberger, marty, nicomen, go|dfish, berov, sri and everyone else contributed to writing this tool over the years and to helping me understand how to use it today.
21:58 jberger \o/
21:58 jberger the AUTOLOAD was "handy
21:59 jberger "
21:59 jberger but it seems that way too many people were confused by what was really happening
21:59 berov hesko: more here: http://mojolicio.us/perldoc/Mojo/DOM#find
21:59 jberger like sri I'm now glad they are gone
21:59 jberger hesco++ keep it up!
22:00 hesco next task is to let this script crawl for a while to see what breaks it.  It parses the two sample pages I downloaded to my sandbox, but the real test will be building the database to come.
22:00 hesco you bet, jberger.
22:04 gyan joined #mojo
22:07 disputin1 joined #mojo
22:23 gyan joined #mojo
22:25 rem_lex joined #mojo
22:33 disputin joined #mojo
22:33 disputin1 joined #mojo
22:40 melo joined #mojo
22:43 lagrasta joined #mojo
22:44 lagrasta Anybody up for a potentially stupid mojo question?
22:46 * cfedde awaits the next question with his bogosity gage set at hi-rez
22:46 berov lagrasta: you are questioning already :)
22:46 lagrasta lol, sorry, making sure I eliminate a last stupid mistake by checking the code.
22:47 lagrasta When I run “mojo test” it always reports that is can’t find the test directory. However, it is the standard t directory created using mojo generate app appname
22:47 cfedde best not to ask to ask better to just ask
22:47 lagrasta very true
22:49 punter joined #mojo
22:49 lagrasta and I was a minute too late to catch it. It appears I should run it as appname test and not mojo test
22:50 berov lagrasta: $mojo help test
22:50 berov aaha
22:51 gyan joined #mojo
22:51 lagrasta Thanks for listening. Time to get back to API creation.
22:51 nicomen mojo test could've actually run the $CWD/t though
22:52 lagrasta Yes, I did see that. But  that was soooo much extra typing. :)
22:53 dotandimet joined #mojo
23:03 nicomen I meant that when run directly from /usr/bin it could've checked t...
23:15 gyan joined #mojo
23:17 tencendur joined #mojo
23:31 asarch joined #mojo
23:38 gyan joined #mojo

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