search for: chronical

Displaying 20 results from an estimated 94 matches for "chronical".

Did you mean: canonical
2012 Jan 01
4
Chronic parsing date range in console but not in application in rails 3
Hey all, Chronic will parse a date range in console: Chronic.parse(1/1/2011 - 1/1/2012, :guess => false) => 2012-01-01 12:00:00 -0500..2012-01-01 12:00:01 -0500 However, when I use logger to check if it''s parsing in application, it is not: logger.info "The value of history date is #{history_date}" => The value of history date is 1/1/2011 - 1/1/2012
2008 Feb 20
1
Chronic parse problem?
Hi all, Using the Chronic.parse method, I see some weird behavior. Perhaps someone can set me straight or confirm that it is indeed weird. Note that the date changes to one day earlier in the last example below. Since the date and time are uniquely specified using the hh:mm:ss notation -- though in the future -- I would expect the same result as when I specify the time as in
2012 Jan 22
4
undefined method `gsub!' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span
Hey all, I am getting this error: NoMethodError (undefined method `gsub!'' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span): in this code: date_range = Chronic.parse(the_date, :guess => false) reports.sum_distance_by_date(date_range).each do |d| u[:m] << d end def
2007 Mar 13
6
Easy Date question - newb
All I want to do is find the objects that were created today under the ''created_on'' column. I''ve tried many ways, here is one example using the chronic gem. @products = Product.find_all_by_created_on(Chronic.parse(''today'')) I must be missing something right in front of me .... Thanks for any help.
2009 Jan 17
0
Chronic Problems with "File system does not support long filenames"
When trying to create a file or folder on a samba share (3.0.28-0.el4.9) from a Windows 2003 R2 server, I occasionally receive an error message stating that the target filesystem does not support long filenames. This happens even if object name follows 8.3 naming conventions. It does not *always* happen. Also, I have another samba 3.0.28-0.el4.9 server where this does not happen at all. What
2009 Jan 20
0
Chronic Intermittent Problems with "File system does not support long filenames."
When trying to create a file or folder, or sometimes even rename a file, on a samba share (3.0.28-0.el4.9) from a Windows 2003 R2 server, I occasionally receive an error message stating that the target filesystem does not support long filenames. It does not always happen. Also, I have another samba 3.0.28-0.el4.9 server where this does not happen at all. What causes this? Here's the
2008 Jul 16
4
Likelihood ratio test between glm and glmer fits
Dear list, I am fitting a logistic multi-level regression model and need to test the difference between the ordinary logistic regression from a glm() fit and the mixed effects fit from glmer(), basically I want to do a likelihood ratio test between the two fits. The data are like this: My outcome is a (1,0) for health status, I have several (1,0) dummy variables RURAL, SMOKE, DRINK, EMPLOYED,
2019 Jun 24
3
Vulnerabilities to bind-libs bind-utils - possible to remove these on webservers
I think the subject says it all. We don't run named. It seems there are chronic issues with bind. Can these packages be removed? We locally authenticate. I see this: Removing for dependencies: bind-utils ipa-client sssd sssd-ad sssd-ipa We shouldn't need any of that with local authentication (/etc passwd and /etc/shadow) right? This message contains information which may be
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2)
2007 Jan 13
6
nice date function
Hi: you know the way the google and this forum presents dates? How it''s measure from the current date/time and presents nicely as "39 minutes ago", 2 days ago, etc.? Has anyone done a gem or other library object that I can get to do those types of dates? Thanks so much in advance! Mike -- Posted via http://www.ruby-forum.com/.
2008 Apr 08
0
cron trigger problem
Hi, I am playing around with backgroundrb 1.0.3. I have the following backgroundrb.yml, --- :backgroundrb: :port: 11006 :ip: 0.0.0.0 :schedules: :task_worker: :run: :trigger_args: */10 * * * * * My task worker is just, class TaskWorker < BackgrounDRb:MetaWorker set_worker_name :task_worker def run logger.info "begin" sleep 60 logger.info
2008 Jul 06
2
Shirewall and ppp interface
I well, my ISP just worked with me to switch in my new gateway. After the switch and bringing up the ppp interface, the new gateway was access the Internet just fine, but none of systems behind it were. Scratched my head, and after some fumbling, I discovered that it seems like I have to restart shorewall after ppp interface is brought up. So. How do I ensure that shorewall is restarted
2011 Jan 03
8
Heroku, needs constant AppController updates?
Dear All, Fairly new to rails and Heroku, so could be doing something wacky - do let me know if you think my code practice is off, even if unrelated to this error, I''d like to learn! I''m using Rails 3.0.0, ruby 1.8.7, and ''sqlite3-ruby'', ''1.2.5'', :require => ''sqlite3''. I''ve got an application that goes off and
2007 May 03
4
Survival statistics--displaying multiple plots
Hello all! I am once again analyzing patient survival data with chronic liver disease. The severity of the liver disease is given by a number which is continuously variable. I have referred to this number as "meld"--model for end stage liver disease--which is the result of a mathematical calculation on underlying laboratory values. So, for example, I can generate a Kaplan-Meier plot
2004 Aug 21
2
system reboot often?
I just deployed * on my home system last Sunday. 2x since then the Zap hardware seems to have malfunctioned on some way. One time it would just screech out one FXS, even though it would ring. The other time * would bridge to my FXO but it never got out on the line. I have a new TDM400 with 3 FXS and 1 FXO. Both times I tried unloading the zaptel drivers (which worked) and reloading them,
2011 Mar 29
2
Participation in GSOC
...sematics of a query term. Of course, this is not an easy task, and multilanguage support is quite hard, but anyway, I think its worth working on it, starting with some special cases. A natural language date parser, like chronic for ruby could be a usefull feature, when search for date ranges in a chronical document archive, like blogs. This is just an example. A few words to myself: I'm a computer scientist student from Berlin. I've been working 4 years at a research center, developing software for 2d/3d image proceccing, mainly in C/C++. I participated in two minor projects for the open...
2011 Mar 29
2
Participation in GSOC
...sematics of a query term. Of course, this is not an easy task, and multilanguage support is quite hard, but anyway, I think its worth working on it, starting with some special cases. A natural language date parser, like chronic for ruby could be a usefull feature, when search for date ranges in a chronical document archive, like blogs. This is just an example. A few words to myself: I'm a computer scientist student from Berlin. I've been working 4 years at a research center, developing software for 2d/3d image proceccing, mainly in C/C++. I participated in two minor projects for the open...
2007 Oct 24
13
Ryan Bates' Multi-object Forms and the date_select
I think I''ve found a bug with Edge. I''m trying out Ryan Bates'' multi-object form technique shown in one of his Rails-casts (railscasts.com/episodes/75). If you use a fields_for similar to that shown (here: http://pastie.caboo.se/110480), you get a Server Error 500: ------ Status: 500 Internal Server Error Conflicting types for parameter containers. Expected an
2009 Apr 23
2
BackgrounDRb start error
Hi, I''ve got a Rails 2.2.2 app and I''m trying to get BackgrounDRb running. I''m just following the simple example in Advanced Rails Recipes. I installed BackgrounDRb from Git, installed the packet and chronic gems, ran ''rake backgroundrb:setup'', generated a worker, and then tried to run ''script/backgroundrb start'' but I get:
2008 May 28
1
nil.send_request = Incorrect worker name?
Hi, Would greatly appreciate some help with this. Is the following error caused by an incorrect worker name? You have a nil object when you didn''t expect it! The error occurred while evaluating nil.send_request /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:44:in `ask_worker'' Here''s what I''m doing in my rails console.