search for: ahoward

Displaying 12 results from an estimated 12 matches for "ahoward".

Did you mean: howard
2005 Dec 15
1
A way to handle looong executions?
Is there somewhere I can specify a maximum execution time for a given request. (Eg, someone does something in my application that brings about and infinite loop). The idea of potentially huge queries or even a programmer mistake is not impossible, and I have a hard time accepting that I will release an application that has no way of handling that.
2006 Feb 14
0
rubyforge-0.1.1
...succeeded since 200 is returned from rubyforge even for failed operations and only the html text reveals the status. - add more functionality. OPTIONS global : --help , -h this message --config , -c specify a config file (default /home/ahoward/.rubyforge/config.yml) --username , -u specify username, taken from config otherwise --password , -p specify password, taken from config otherwise --cookie_jar , -C specify cookie storage file (default /home/ahoward/.rubyforge/cookie.dat) a...
2011 Dec 30
0
testthat 0.6
...il or error for every? expectation. If you're using the terminal, it'll even colour the output.?? ??`testthat` draws inspiration from the xUnit family of testing packages, as well from many of the innovative ruby testing libraries, like [rspec](http://rspec.info/), [testy](http://github.com/ahoward/testy), [bacon](http://github.com/chneukirchen/bacon) and [cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have used what I think works for R, and abandoned what doesn't, creating a testing environment that is philosophically centred in R. Version 0.6 -----------------------------...
2011 Dec 30
0
testthat 0.6
...il or error for every? expectation. If you're using the terminal, it'll even colour the output.?? ??`testthat` draws inspiration from the xUnit family of testing packages, as well from many of the innovative ruby testing libraries, like [rspec](http://rspec.info/), [testy](http://github.com/ahoward/testy), [bacon](http://github.com/chneukirchen/bacon) and [cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have used what I think works for R, and abandoned what doesn't, creating a testing environment that is philosophically centred in R. Version 0.6 -----------------------------...
2010 Sep 01
0
testthat: version 0.3
...fail or error for every expectation. If you're using the terminal, it'll even colour the output. `testthat` draws inspiration from the xUnit family of testing packages, as well from many of the innovative ruby testing libraries, like [rspec](http://rspec.info/), [testy](http://github.com/ahoward/testy), [bacon](http://github.com/chneukirchen/bacon) and [cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have used what I think works for R, and abandoned what doesn't, creating a testing environment that is philosophically centred in R. Changes in version 0.3 ------------------...
2010 Sep 01
0
testthat: version 0.3
...fail or error for every expectation. If you're using the terminal, it'll even colour the output. `testthat` draws inspiration from the xUnit family of testing packages, as well from many of the innovative ruby testing libraries, like [rspec](http://rspec.info/), [testy](http://github.com/ahoward/testy), [bacon](http://github.com/chneukirchen/bacon) and [cucumber](http://wiki.github.com/aslakhellesoy/cucumber/). I have used what I think works for R, and abandoned what doesn't, creating a testing environment that is philosophically centred in R. Changes in version 0.3 ------------------...
2005 Mar 03
12
bug in postgresql ''now'' time handling??
...in transaction; insert into t values(42, ''now''); # sleep one minute insert into t values(42, ''now''); # sleep one minute insert into t values(42, ''now''); commit; and fields will have the same timestamp. for example: [ahoward@localhost ~]$ cat a.rb require ''open3'' stdin, stdout, stderr = Open3::popen3 ''psql'' stdin.puts ''drop table t;'' stdin.puts ''begin transaction;'' stdin.puts ''create table t(ts timestamp);'' 4.t...
2007 Nov 02
3
tumblr-0.0.1
...may be read from files using the syntax ''key=file=val'' or ''key==val'' you should first cache your login info to avoid having to pass it everytime cfp: ~> tumblr setup --email=my_email --password=my_password -- name=drawohara /Users/ahoward/.tumblr.yml you can post cfp: ~> tumblr write regular title=testing body=rock_on you can post from files cfp: ~> tumblr write regular title=slurp body==./post.html you can read cfp: ~> tumblr read start=42 num=42 you can test the auth...
2005 Mar 04
3
Boolean values
...de my apps to explicitly deal with the string ''now'' where they might >> normally encounter a date object. I think that''d be a step backwards in >> terms of making rails database agnostic. > > and how do you approximate this schema in rails? > > [ahoward@localhost ~]$ cat a.sql > create table prices( > id int, > price float, > valid_starting_at timestamp not null default ''now'', > valid_ending_at timestamp not null default ''infinity'' > ); > insert into prices valu...
2007 Dec 29
0
(unknown)
...leaking rails apps periodically. Recalling that Bj will only allow one copy of itself to process jobs per hostname/rails_env pair we can simply do something like this in cron cmd = bj run --forever \ --rails_env=development \ --rails_root=/Users/ahoward/rails_root */15 * * * * $cmd this will simply attempt the start the background runner every 15 minutes if, and only if, it''s not *already* running. In addtion to this you''ll want to tell Bj not to manage the runner itself using Bj.config["product...
2006 Apr 28
0
rq-2.3.2
...purposes!!! ~ > rq q feed -v4 --min_sleep=2 --max_sleep=4 1) same as above, but viewing the executed sql as it is sent to the database ~ > RQ_SQL_DEBUG=1 rq q feed -v4 --min_sleep=2 --max_sleep=4 2) feed from a queue in daemon mode - logging to /home/ahoward/rq.log ~ > rq q feed --daemon -l/home/$USER/rq.log log rolling in daemon mode is automatic so your logs should never need to be deleted to prevent disk overflow. start : the start mode is equivalent to running the feed mode except the --daemon is im...
2006 Jun 08
0
rq-2.3.3
...purposes!!! ~ > rq q feed -v4 --min_sleep=2 --max_sleep=4 1) same as above, but viewing the executed sql as it is sent to the database ~ > RQ_SQL_DEBUG=1 rq q feed -v4 --min_sleep=2 --max_sleep=4 2) feed from a queue in daemon mode - logging to /home/ahoward/rq.log ~ > rq q feed --daemon -l/home/$USER/rq.log log rolling in daemon mode is automatic so your logs should never need to be deleted to prevent disk overflow. start : the start mode is equivalent to running the feed mode except the --daemon is im...