Displaying 20 results from an estimated 36151 matches for "stuff".
2008 Jul 09
2
Parsing
Dear R users,
I have a big text file formatted like this:
x x_string
y y_string
id1 id1_string
id2 id2_string
z z_string
w w_string
stuff stuff stuff
stuff stuff stuff
stuff stuff stuff
//
x x_string1
y y_string1
z z_string1
w w_string1
stuff stuff stuff
stuff stuff stuff
stuff stuff stuff
//
x x_string2
y y_string2
id1 id1_string1
id2 id2_string1
z z_string2
w w_string2
stuff...
2004 Aug 17
0
has no CRC! error messages while compiling zaptel
I get this warnings while compiling zaptel
Any suggestions would be very helpfull.
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bri-stuff.0.1.0-RC4/zaptel
modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1'
CC [M] /usr/src/bri-stuff.0.1.0-RC4/zaptel/zaptel.o
/usr/src/bri-stuff.0.1.0-RC4/zaptel/zaptel.c:163: warning: `fcstab' defined
but not used
CC [M] /usr/src/bri-stuff.0.1.0-RC4/zaptel/tor2.o
CC [M] /usr/s...
2003 Aug 30
1
How to synch entire dir???
I hope someone can answer this. I saw another post about this but it
had no answer.
How do you exclude entire dirs???
I have RTFM, RTF FAQ, RTF Mailing List Archives, and still I can't
figure it out. ugh.
I am using this:
rsync -avz -e ssh --exclude=/Stuff /home/user/Data/Docs/
remotePC:/home/user/Data/Docs/
but "Stuff" is always synched. The actual path to "Stuff" is:
/home/user/Data/Docs/Stuff
I have tried:
--exclude "/Stuff/"
--exclude "/Stuff"
--exclude "/home/user/Data/Docs/Stuff/"
--exclude...
2006 Aug 03
6
create or update -
Hi everyone,
I''m looking for a shortcut to finding and updating or creating record
depending on the results of the find.
So, is there a shorter way to do it than this?
@stuff = Stuff.find_by_foo_and_bar("yay","hooray")
if @stuff: Stuff.update(@stuff.id, {:foo => "boo", :bar => "hoo"})
else Stuff.create({:foo => "boo", :bar => "hoo"})
end
By the way, I can''t believe that I want to...
2007 Jun 18
1
Second y-axis in xyplot (lattice) where y1 and y2 have different ranges
...do not
know if these are applicable.
I have unreasonable faith that lattice can do anything. Since my
eventual goal is to make use of a grouping variable as with dat2 below,
lattice will be preferable to complex layouts. Thanks, Andy
dat <- data.frame(Year = 1751:2000,
Stuff = rnorm(250),
Samples = floor(seq(5,30,length.out=250)
+rnorm(250,5)),
Grp = rep('SiteOne',250))
par(mar=c(5,4,4,4) + 0.1)
plot(Stuff~Year, data=dat, type='l')
par(new=T)
plot(Samples~Year, data=dat, typ...
2009 Aug 27
1
generating multiple sequences in subsets of data
...sets
of the data. I've done this using a for loop with a small subset of
data, but attempting the same process using real data (200k rows) is
taking way too long.
Here is some sample data and my ultimate goal
> row1<-c(0,1,2,3,4,5,1,2,3,4)
> row2<-c(1,1,1,1,1,1,2,2,2,2)
> stuff<-data.frame(row1=row1,row2=row2)
> stuff
row1 row2
1 0 1
2 1 1
3 2 1
4 3 1
5 4 1
6 5 1
7 1 2
8 2 2
9 3 2
10 4 2
I need to derive 2 columns. I need a sequence for each unique row2, and
then I need a sequ...
2000 Jul 25
2
Reading files form a server in windows
Hi,
I'm just wondering about file name syntax.
Instead of
stuff <- read.table("e:/statcourses/stuff.dat")
I'd like to be able to do
stuff <- read.table("ptolemy/statcourses/stuff.dat")
or
stuff <- read.table("ptolemy.math.waikato.ac.nz/statcourses/stuff.dat")
that is, I'd like to be able to read a file from a...
2007 Nov 01
2
Nodes and defaults question
Hi there,
If I have a manifest with, say:
node default { ..stuff.. }
node mymachine { ..stuff.. }
What would happen on mymachine: will the stuff in default be executed
*as well as* the stuff in default, or only the stuff in mymachine?
And, if the latter, should I move global stuff just to global scope
outside of nodes?
Thanks
-Iwan
2002 Oct 10
1
Exclude symbolic link to a directory?
Hi folks,
I have a subtle problem with rsync that I'm hoping has a simple
answer. I have a directory tree (call it /local) that I synchronize
every night onto a group of about 100 machines. This works great.
On a few of these machines, one of the subdirectories of /local
(call it /local/stuff) needs to be a symbolic link to a directory
on another device. So, the situation looks like this:
Most machines: A few machines:
/local /local
|-- stuff |-- stuff -> /elsewhere/stuff
|-- things |
|-- morestuff |-- morestuff
`-- stillmorestuff `...
2008 Sep 24
1
function can permanently modify calling function via substitute?
...eative gymnastics) and wonder if it is really intended. (I can
see other ways to accomplish the intended task of this code [e.g. via
match.call instead of substitute below] that do not trigger the
problem, but I don't think that is the point.)
do.nothing <- function(blah) {force(blah)}
do.stuff.with.call <- function(mycall) {
raw.mycall <- substitute(mycall); # expected raw.mycall would be local
print( sys.call() )
# do.nothing( raw.mycall ); # See below re: commented lines.
# .Call( "showNAMED", raw.mycall[[2]] )
force( mycall ); # not relevant where (or w...
2009 May 29
1
probably simple paste question
Dear R People:
I have the following vector and am using the paste command:
> ya
[1] 57 2 8
> paste("stuff",ya,sep=" ")
[1] "stuff 57" "stuff 2" "stuff 8"
What I want to have is
"stuff 57 2 8"
I also tried:
> yb <- paste(cat("stuff",ya))
stuff 57 2 8> yb
character(0)
I have the feeling that it's really simple and right in...
2006 Jul 04
1
LoginGenerator Problem
...increment,
`login` varchar(20) NOT NULL default '''',
`password` varchar(30) NOT NULL default '''',
`name` varchar(30) NOT NULL default '''',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE ''stuff'' (
''id'' int(6) unsigned NOT NULL auto_increment,
...
''user_id'' int(6) NOT NULL default ''0'',
...
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Stuff--------------------------
class StuffController < ApplicationController
scaffold...
2020 Mar 27
4
object.size vs lobstr::obj_size
...> they provide an over-approximation
They can also provide an "under-approximation" (to say the least) e.g.
on reference objects where the entire substance of the object is ignored
which makes object.size() completely meaningless in that case:
setRefClass("A", fields=c(stuff="ANY"))
object.size(new("A", stuff=raw(0))) # 680 bytes
object.size(new("A", stuff=runif(1e8))) # 680 bytes
Why wouldn't object.size() look at the content of environments?
Thanks,
H.
--
Herv? Pag?s
Program in Computational Biology
Division of Publi...
2006 Apr 24
3
Regex in HTML
..., I''m trying to write a nice bit of regex to handle finding anchor tags in
a bit of html.
This is what I''ve got....
/<[aA][^>]*>[^<]*<\/[aA]>/
I''m planning on using this with a gsub!.
Here is what it has to do....
<html><a href="http://stuff.com" class="link">Anything in here.</a></html>
As you can see, the regex I have will indeed work for this instance. It will
match with ''<a href="http://stuff.com" class="link">Anything in here.</a>''
Except, here is wh...
2009 Jun 03
3
Return variable assignments from a function
...t I seem to be able to only
return one variable. I tried to use a list to return all the arguments, but
then each has to be referred to using the list. For example:
=================================
simple <- function(m,n) {
A=matrix(c(3,3,2,3),2,2)
B=m
c=1:n
list(A=A,B=B,c=c)
}
> stuff=simple(2,3)
> stuff
$A
[,1] [,2]
[1,] 3 2
[2,] 3 3
$B
[1] 2
$c
[1] 1 2 3
=================================
Then I could assign each variable like this (which is what I'd like to
avoid):
=================================
A=stuff$A
B=stuff$B
c=stuff$c
rm(stuff) #stuff is...
2008 May 02
1
nut: simplification of the automake stuff
Hallo.
Here is a simplification of the automake stuff for nut 2.2.2.
The idea is simple:
libcommon.a contains stuff for the binaries
libparseconf.la contains stuff for binaries and shared library
Both are NOINST, automake understands perfectly our intentions.
The rest is only a removal of the implicitly defined stuff.
On top of the parallel build pa...
2020 Mar 27
2
object.size vs lobstr::obj_size
...They can also provide an "under-approximation" (to say the least) e.g.
> on reference objects where the entire substance of the object is
> ignored
> which makes object.size() completely meaningless in that case:
>
> ? ?setRefClass("A", fields=c(stuff="ANY"))
> ? ?object.size(new("A", stuff=raw(0)))? ? ? # 680 bytes
> ? ?object.size(new("A", stuff=runif(1e8)))? # 680 bytes
>
> Why wouldn't object.size() look at the content of environments?
>
>
> As the author, I'm obviou...
2007 Aug 27
1
Nested ZFS sharenfs exports are empty on automount clients
Hello
I''ve got nested ZFS filesystems exported via NFS.
They are mounted on the clients using automount (from a NIS map).
But: only the root exported filesystem shows any contents on the clients.
Any sub-directories it has are fine, but any sub-filesystems are empty.
ie. NIS map auto.stuff contains "stuff server:/stuff/images"
server% zfs get sharenfs
stuff/images sharenfs rw=netgroup
stuff/images/small sharenfs inherited from stuff/images
stuff/images/large sharenfs rw=netgroup
client% ls /data/stuff/images
large/ small/ other files...
But /data/stuff/images/la...
2007 Aug 02
1
dovecot 1.0.2, sieve 1.0.2 and regex
...l and can't seem to get regex to work.
The script starts nicely with:
> require ["fileinto","regex","envelope","vacation","regex"];
and a bit down these few lines comes into play:
> elsif header :regex "From" "logwatch.*stuff.com" {
> fileinto "INBOX.Admin/Logwatch Stuff";
> }
and regex just never seem to catch.
I have 50ish machines in the stuff.com domain, and writing an induvidual
section like this works:
> elsif header :contains "From" "logwatch at a.stuff.com"...
2017 Feb 22
4
question about directory size in linux..
On 2/22/2017 10:40 AM, Gordon Messmer wrote:
> On 02/22/2017 06:34 AM, Jason Welsh wrote:
>> How does the directory *itself* have a size of 2.8 megs?
>
>
> If you write a large number of directory entries in a directory, the
> directory will grow in order to provide storage for those directory
> entries. You can imagine a directory as a text file containing all of
>