Displaying 9 results from an estimated 9 matches for "thave".
Did you mean:
have
2007 Jul 21
2
avoiding timconsuming for loop renaming identifiers
...oid a time-consuming for loop on my 600000 obs dataset.
school_id y
8 9.87
8 8.89
8 7.89
8 8.88
20 6.78
20 9.99
20 8.79
31 10.1
31 11
There are, say, 143 different schools in this 600000 obs dataset.
I need to thave sequential identifiers, 1,2,3,4,5,...,143.
I was using an awkward for look that took 30 minutes to run.
sid = 1
dta$sid[1] = 1
for (i in 2:nrow(dta)) {
if (dta$school_id[i] != dta$school_[i-1]) sid = sid+1
dta$sid[i] = sid
}
Any hints appreciated.
Thanks Toby
2006 Mar 29
3
socket for mysql
...database: cookbook
username: root
password: mypassword
host: posta.rmasonfamily.info
problem seems to be that I''m missing the socket entry, This is the
message I get
Can''t connect to local MySQL server through socket
''/path/to/your/mysql.sock
but I don''thave a mysql.sock. I do have an empty
directory /var/lib/mysql.
do I have anything to install?
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
2010 Oct 20
3
Plot help
...t; axes is sim and actual values.
#What i want to do is plot the simulated values with the 95% CI values, and then plot the actual values and see if they fall in the CI'S which they do. The idea is that there is no significant difference between the actual values and the simulated values.
#I thave Ci for sim and this is where the trouble begins!
simCI <- c(0.000908781,0.001248025,0.000928731,0.000885441,0.002384808,0.002700088,0.005377963,0.006202863,0.000918969,0.002566072,0.007687229,0.001593536,0.001578519,0.001299327,0.00217493,0.000908781,0.00090428,0.001550469,0.008840134,0.0033008...
2009 Apr 06
3
Sangoma and BT single lines
...are fine. Outgoing calls ring the far
end, BUT asterisk never sees that the call is answered (ie no message in
the logs files saying so), as a result the remove end can hear the PBX
side talking, but there is no audio back from the remote side to us.
When we hangup the log files show messages thave suggest it thinks the
line is still ringing
Comparing with another line which works fine (this is a BT multi-line
system with what they call "PBX signalling" on it) I see that as soon as
the remote end answers then asterisk gets a log message stating the same
and audio is fine on thi...
2010 Feb 12
1
Why does config.gem mess up migration?
I was working this morning, trying to clean up my project and I did
something that sent migrations to hell-in-a-hand-basket.
I tried to run rake db:migrate --trace I got the following error msg:
(in /Users/richardmartin/NetBeansProjects/ReTrace)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Table
2008 Aug 29
2
IPMI and Dell ERA/O
Hi Everyone,
I have a dell 1750 server with ERA/O card running on FreeBSD 7.0-STABLE
According to Dell, the ERA card supports ipmi 1.0:
http://linux.dell.com/ipmi.shtml
But so far no luck with freebsd :/
[root@home /usr/src/sys/i386/conf]# ipmitool -I open channel info 1
Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No
such file or directory
2005 Aug 05
3
Very complicated dialplans?
Hey,
how can I implement a dial plan like the following:
incoming call:
1. ring phones 1,2,3 monday to friday between 9:00 and 20:00; if no
answer after 15 sec also ring phones 4 and 5
2. ring phone 1 monday to friday between 0:00-9:00 and 20:00-24:00; if
no answer after 20 sec also ring phones 2 and 3
3. ring phone 1 saturday and sunday all day
I do not need a in detail answer for each of the
2008 Oct 21
6
detecting width overflow in serialized column with mysql
So I''ve got an ActiveRecord model pointing to a MySQL db, with an
auto-serialized column ("serialize :columnName").
Thing is, MySQL, depending on how it''s configured (like, by default),
has a bad habit of just truncating your data if it''s too wide for the
column, with no error raised. Yeah, I can probably reconfigure MySQL
and/or my AR connection to it. But
2006 May 10
7
mongrel vs. scgi
I''ve liked the scgi runner ever since it came out. I like the way it''scontrolled, the way it''s clusterable, and the fact that it runs onwin32 platforms so easily.
Now it''s May 2006, and the scgi runner hasn''t changed since October,and now we have mongrel. I keep seeing hints of clustering in mongrel,as well. I just downloaded the win32 installer for