search for: mylog

Displaying 20 results from an estimated 28 matches for "mylog".

Did you mean: mlog
2006 Apr 25
5
Authorisation question
My authentication (signup/login) is up and running in my app, now I need to implement an authorisation system. Its not going to be a complex one. One admin (me) and then normal members and premium members. Any tutorials or tips on a simple way to get this running? Thanks. -- Posted via http://www.ruby-forum.com/.
2019 May 26
2
Low Battery False Alarms
2002 Oct 23
3
How to pipe debugmsg to a file?
Is there a wine option to send the log output to a file? I'm doing the following: wineconsole --debugmsg +all program_name parm1 parm2 parm3 > /mylog.txt mylog.txt is not receiving a copy of the millions, nay billions!, of messages output. I'm using Redhat 7.3 and the 10/07/2002 RPMs. - Bill
2019 May 25
2
Low Battery False Alarms
2009 Aug 03
3
session logging
...onsole? If I remember to save the console to a file at the end of my R session, that does it. But (1) That requires pointing and clicking--can it be automated as a text command? (2) It would be nice to issue the text command at the start of the R session, such as "log this entire session in mylog.txt, append", if this would ensure that the session is logged whether I remember to save the console or not. As far as I can tell, sink(file="mylog.txt") will hide the output from me and put it into mylog.txt. But it still shows me the error messages. An attempt to put the output...
2005 Dec 19
3
tough activerecord problem
I have an application that is using active record outside of rails. the app works fine w/o the activerecord code, but when I added activerecord to the mix I started having trouble with constants not being recognized, e.g.: [echo] 1) Error: [echo] test_pipeline_cruncher(IntradayCruncher::TestPipelineCruncher): [echo] NameError: uninitialized constant INFO [echo]
2009 Apr 17
1
Overwrite the rsync log-file in rsync3.0.5 ??
Hi, Could any one please let me know if there is anyway to overwrite the log-file if it already exists. I want /tmp/mylogs/myfile file to be overwritten each time below command executes. rsync -av -ii file-format='MyLogs: %i %f %l %o %b' --log-file='/tmp/mylogs/myfile' Thanks, Jignesh -------------- next part -------------- HTML attachment scrubbed and removed
2012 Apr 27
5
How to cap table with active record
...t to keep my table size to not much bigger than 50,000,000 rows or so. What is the easiest, most efficient way to delete any extra rows that there may be ? This is an SQL/active record problem I have not encountered before. I would know in theory how to get all the records as an array by calling MyLog.find(:all) and ordering it by date and then iterating from where I want to chop off to the end and deleting each one, but that may not be the most efficient or acceptable way to do that. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" g...
2002 Apr 18
3
Variable definition problem
Hello, what does this error message indicate and how do I avoid this? (sample code below) Thank you. -Tosh #read in the data table co<-read.table("co.txt",header=T,as.is=T) for (i in 1:3){ paste("logco",i, sep="")<-log(co$co[co$day==i]) } Gives the error: Error: Target of assignment expands to non-language object
2009 Jul 14
2
SOS! error in GLM logistic regression...
Hi all, Could anybody tell me what happened to my logistic regression in R? mylog=glm(mytraindata$V1 ~ ., data=mytraindata, family=binomial("logit")) It generated the following error message: Error in model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) : factor 'state1' has new level(s) AP Thank you!
2004 Nov 19
3
Tools for data preparation?
Hello list, I'm regularly in the position where I have to do a lot of data manipulation, in order to get the data I have into a format R is happy with. This manipulation would generally be in one of two forms: - getting data from e.g. text log files into a tabular format - extracting sensible sample data from a very large data set (i.e. too large for R to handle) In general, I use Perl or
2009 Apr 21
0
Overwrite the log-file in rsync3.0.5
> > Hi, Could any one please let me know if there is anyway to overwrite the > log-file if it already exists. I want /tmp/mylogs/myfile file to be > overwritten each time below command executes. > > rsync -av -ii file-format='MyLogs: %i %f %l %o %b' > --log-file='/tmp/mylogs/myfile' > > Thanks, > Jignesh > > -------------- next part -------------- HTML attachment scrubb...
2010 Mar 20
2
EM algorithm in R
Please help me in writing the R code for this problem. I've been solving this for 4 days. It was hard for me to solve it. It's a simulation problem in R. The problem is My true model is a normal mixture which is given as 0.5 N(-0.8,1) + 0.5 N(0.8,1). This model has two components. I will get a random sample of size 100 from this model. I will do this 300 times. That means, I will have
2014 Dec 09
0
Log to file in Asterisk: append with newline
Hi all, (I am testing on Asterisk 11.7.0~dfsg-1ubuntu1) I am using the following format to append to a logfile, according to the documentation <http://www.voip-info.org/wiki/view/Asterisk+func+FILE>: same => n,Set(FILE(/tmp/mylog.txt,,,a)=my-log-message) But this does not append a newline. So I am trying: same => n,Set(FILE(/tmp/mylog.txt,,,al)=my-log-message) But this does not append (instead, it just overwrites - surprisingly, since the documentation says that this should append!). How can I append *and* make sure...
2011 Feb 25
1
Small enhancement for CMD check
....R? Comparing ?book1.Rout? to ?book1.Rout.save? ... OK Running ?book2.R? Comparing ?book2.Rout? to ?book2.Rout.save? ... OK etc. The survival package has enough test scripts that it exceeds my terminal's scroll bar; I have to either watch closely or run R CMD check survival >& mylog Terry Therneau
2007 Oct 04
2
newbie question with login form
...g on my app like this : ------ @agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") } @agent.user_agent_alias = ''Mac Safari'' @page = @agent.get("http://myappAdress/") @form = @page.forms.first @form[''form_login''] = ''myLog'' @form[''form_password''] = ''myPass'' @page = @agent.submit(@form, @form.buttons.first) put @page.body ---- Identification process is done , i can see it in my application log, but the page displayed is still the login form. here is the mechanize log...
2010 Jun 30
0
drb problem? ringy-dingy won't answer...
...tive_support'' require ''drb'' class ScriptWorker attr_accessor :script_id attr_accessor :run_id attr_accessor :distrib def initialize( script_id, run_id, distrib = true ) self.script_id = script_id self.run_id = run_id self.distrib = distrib @myLog = '''' end def perform myScript = Script.find(script_id) # left out setting of variables used below... require "#{myRoot}/script/#{myScript.name}" fullScript = Object.const_get(myClass).new( myScript, myRun, runenv, myURI, myRoot ) if self.distrib...
2013 Jan 14
3
function coverage
Is there an easy way to identify all the functions called as a result of invoking a function? Getting the calling hierarchy too would be nice, but is definitely not essential. I'm trying to understand someone else's package, which is in a namespace and has some S3 functions. I could probably live without tracing the S3 functions. All the functions I want to trace are in R. The code
2011 Feb 18
2
How to flag those iterations which yield a warning?
Hi, I am running a simulation study with the survival::coxph. Some of the simulations result in problematic fits due to flat partial likelihood. So, you get the warning message: Warning message: In fitter(X, Y, strats, offset, init, control, weights = weights, ... : Loglik converged before variable 2 ; beta may be infinite. How can I keep track of the simulations which yield any kind of
2019 May 26
0
Low Battery False Alarms
On Sun, 26 May 2019, Mike Dillinger wrote: > function MyLogging () { >     echo "$1" >     logger -t $SCRIPT $1 > } If you need to keep a close eye on what is happening, you could also add an on-screen notification of impending shutdown to all logged-in users using notify-send. Doing this for NUT is non-obvious - I documented my soluti...