Displaying 20 results from an estimated 800 matches similar to: "Cursor not behaving properly"
2009 Jan 13
3
trying to get a game called EUO to run
I am trying to run a 2d overhead ultima type game through wine but have some problems. At one point it would run but would refresh the slides of the pictures about once every 5-8 secs and then crash after about a minute or so. Now I get these errors
http://i168.photobucket.com/albums/u191/bizkitboibrett/snapshot1.png
http://i168.photobucket.com/albums/u191/bizkitboibrett/snapshot2.png
2023 Sep 18
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
Context
-------
I am one of the active developers of the open source application "Back in Time"
which uses "rsync" as backend and I want to fix an open issue:
"Back in Time"-Bug:
https://github.com/bit-team/backintime/issues/994#issuecomment-1724211507
"Back in Time" uses "--link-dest" to reduce traffic and storage by hardlinking
2013 Apr 18
1
parSapply can't find function
Here is the code, assuming 8 cores in the cpu.
library('modeest')
library('snow')
cl = makeCluster(rep('localhost', 8), 'SOCK')
x = vector(length=50)
x = sapply(x, function(i) i=sample(c(1,0), 1))
pastK = function(n, x, k) {
if (n>k) { return(x[(n-k):(n-1)]) }
else {return(NA)}
}
predR = function(x, k) {
pastList = lapply(1:length(x), function(n)
2013 Apr 18
1
snow: cluster initialization
Dear all,
I found a strange thing with the snow package.
This will work:
y = matrix(1:4, 2)
cl = makeCluster(rep('localhost', 8), type='SOCK')
parMM(cl, y, y)
This will not:
y = matrix(1:4, 2)
ncore = system('nproc')
parMM(cl, y, y)
Error in cut.default(i, breaks) : invalid number of intervals
I also tried:
cl = makeCluster(rep('localhost', ncore),
2011 Nov 23
2
Is there an easier way to iterate over multiple data frames in R?
> for (d in paste('df', 1:3, sep='')) {
+ assign(d, as.data.frame(replicate(3, rnorm(4))))
+ }
> dats = list(df1,df2,df3)
> for (i in 1:length(dats)) {
+ names(dats[[i]]) = c('w', 'l', 'h')
+ }
> dats
[[1]]
w l h
1 1.24319239 -0.05543649 0.05409178
2 0.05124331 -1.89346950 0.33896273
3 -1.69686777 -0.35963008
2011 Dec 08
1
How to plot multiple graphs in one go?
I am trying to do this, but it won't work:
> library(lattice)
> elemconc = data.frame(expand.grid(id=1:20, geno=c('exp', 'wt'),
region=c('cor', 'cr', 'spine'), elem=c('fe', 'cu', 'zn')), conc=rnorm(360,
10))
> elemconc$geno = factor(elemconc$geno)
> elemconc$region = factor(elemconc$region)
> for (i in
2011 Dec 23
2
cast in reshape and reshape2
> library(reshape2)
> x = melt(airquality, id=c('month', 'day'))
With reshape I can cast with multiple functions:
> library(reshape)
> cast(x, month+variable~., c(mean,sd))
month variable mean sd
1 5 ozone 23.615385 22.224449
2 5 solar.r 181.296296 115.075499
3 5 wind 11.622581 3.531450
4 5 temp 65.548387
2018 Feb 20
0
snapshot of a guest with two disks
Hi,
i just realized that i have a guest with two disks. What would be the appropiate way to snapshot both of them ?
virsh snapshot-create-as --domain guest --diskspec vda,file=/path/to/snapshot/snapshot1.qcow2 -disk-only --atomic &&
virsh snapshot-create-as --domain guest --diskspec vdb,file=/path/to/snapshot/snapshot2.qcow2 -disk-only --atomic
or
virsh snapshot-create-as --domain
2023 Sep 22
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
On Fri, 2023-09-22 at 07:37 -0400, Kevin Korb wrote:
> So I decided to do a quick test using the Linux kernel source tree since
> it has lots of files.
Excellent idea using kernel sources! A lot of different files...
I will use this to create indicative benchmarks for different scenarios...
> ? I duplicated a tree, used 'find . -type f -exec
> chmod 444 {} +' to make read
2019 Oct 23
1
win10 vm stuck in automatic repair
Hello,
I have a Windows 10 guest, when I boot it, it goes in to Automatic
Repair mode, and after some time reports it was unable to repair the PC.
This is from an older snapshot ("snapshot1"), and if I try switching
back to a more recent snapshot ("snapshot2"), libvirt reports that it
can't find the snapshot:
> libvirt.libvirtError: internal error: Child process
2011 Dec 04
1
Complex multiple t tests in a data frame with several id factors
I have assayed the concentrations of various metal elements in
different anatomic regions of two strains of mice. Now, for each
element, in each region, I want to do a t test to find whether there
is any difference between the two strains.
Here is what I did (using simulated data as an example):
# create the data frame
> elemconc = data.frame(expand.grid(id=1:3, geno=c('exp',
2011 Nov 03
1
Why can't this function be used with the 'by' command?
Why can't this function be used with the 'by' command?
> x = array(runif(16), dim=c(8,2))
> x = data.frame(x)
> x$group = rep(c('wt', 'app'), each=4)
> shapiro.p = function(x) shapiro.test(x)[[2]]
> apply(x[,1:2], 2, shapiro.p)
X1 X2
0.4126345 0.2208781
> by(x[,1:2], x$group, shapiro.p)
Error in `[.data.frame`(x, complete.cases(x)) :
2013 Apr 04
1
Unable to convert vm
I am unable to convert a vm using virt-v2v. From the trace and debug
logs I am unable to understand the cause of the problem. I assume it is
a permission or configuration issue but I don't know where to start looking.
The following command was issued:
LIBGUESTFS_TRACE=1 LIBGUESTFS_DEBUG=1 virt-v2v -ic
qemu+ssh://xxx at 192.168.xxx.xxx/system -o rhev -os
192.168.xxx.xxx:/mnt/exports -of
2006 Aug 31
3
Find the difference between two snapshots
Hi everyone,
Is there an easy way to find out which files has changed between two
snapshots? Currently I''m doing a
# rsync -arvn <snapshot1> <snapshot2>
and it creates a list. But rsync needs to go through the whole
filesystem and compare files. It would be nice if zfs would have this
option builtin.
Regards,
Nickus
2011 Nov 05
1
Correlation between matrices
> regions = c('cortex', 'hippocampus', 'brain_stem', 'mid_brain',
'cerebellum')
> mice = paste('mouse', 1:5, sep='')
> for (n in c('Cu', 'Fe', 'Zn', 'Ca', 'Enzyme')) {
+ assign(n, as.data.frame(replicate(5, rnorm(5))))
+ }
> names(Cu) = names(Zn) = names(Fe) = names(Ca) = names(Enzyme) =
2007 Jun 26
2
Wishlist items
I''ve been saving up a few wishlist items for zfs. Time to share.
1. A verbose (-v) option to the zfs commandline.
In particular zfs sometimes takes a while to return from zfs snapshot -r
tank/volumes at foo in the case where there are a great many iscsi shared
volumes underneath. A little progress feedback would go a long way. In
general I feel the zfs tools lack sufficient feedback
2006 May 14
1
No fonts in windows, dialogs, etc..
I use Gentoo Linux, with an up-to-date installation of Gentoo and Wine. I downloaded Winetools, and ran it. To make a long story short, I can't get any fonts or text in any 'Windows' dialogs, windows, etc. (Except for the title bar) I have tried literally EVERYTHING to solve this problem. I 'googled' for other people having the same problem, installed Arial and the other
2010 Oct 04
1
Metropolis: Implementation of Interlock Protocol using Linux Shell Programming, OpenSSH, and GPG
I have wrote a small Linux Shell command for implementing Interlock Protocol
which is known as a cryptographic protocol that resistant to
man-in-the-middle attack. Here is the steps of interlock protocol:
*(1)* Alice send her public key to Bob
*(2)* Bob send his public key to Alice.
*(3)* Alice encrypts her message using Bob's public key. Then she sends half
of that encrypted message to
2013 Aug 25
0
"block incomplete" error when compiling R
Dear list,
I am trying to compile R on a 64-bit Ubuntu 13.04 machine and get the
following error:
make[2]: Entering directory
`/home/kaiyin/opt/R-2.15.0/src/library/Recommended'
begin installing recommended package MASS
Error in untar2(tarfile, files, list, exdir) : incomplete block on file
make[2]: *** [MASS.ts] Error 1
make[2]: Leaving directory
2011 Apr 08
1
Illegible text in SAS JMP
I have installed SAS JMP version 8 using wine (wine-1.2.2) in Linux Mint 9. The program seems to work by a lot of the text is written over other parts of the text, boxes are too small and more as shown in this picture:
[Image: http://www.math.ku.dk/~feodor/snapshot3.png ]
The JMP Starter-window can be resized but no matter how I resize the Preference window I cannot get to see the icons and