search for: task1

Displaying 18 results from an estimated 18 matches for "task1".

Did you mean: task
2012 Nov 07
1
Newbie question : selecting subset of a Matrix
I have a matrix, I would like to use it like I use where query on an SQL table Let's say my matrix is > wok who task 1 joe task1 2 joe task2 3 joe task3 4 jack task1 5 jack task2 I want to extract a matrix that contains only rows where who = "joe" and task != "task2" The result would be the following matrix 1 joe task1 2 joe task3 How can I do that with R ?
2011 Apr 10
1
Help with basic loop
...op. Pick up any manual of R, and looping will be explained there. Also, I would recommend that you draw a random number for every iteration of the loop. Defining the random vectors outside the loop make sense to me only if they are the same length as n. prob<-numeric(1000) for (n in 1:1000) { task1 <- runif(1, min=0.8, max= 0.9) task2 <- runif(1, min=0.75, max= 0.85) task3 <- runif(1, min=0.81, max= 0.89) prob[n]<-task1*task2*task3 } If you wanted to store the individual probabilities (task1..3), you would proceed accordingly by defining them outside the loop and storing the v...
2007 Feb 05
0
simple rights question
Dear all, I got the following situation, a share called "Bureaus", with the follwong subdirs: /Bureaus/A /Bureaus/B /Bureaus/C etc. where A,B,C.. are the bureau names under all the bureau names are directories: A/Task1 A/Task2 A/Task3 A/Archive For all the bureau names. Groups: everyone is a member of "Domain Users", and that's always the primary group. And, a group A, a group B etc, and groups "Task1 A", Task1 B"..."Task2 A" etc. The simple idea is to give everyone acce...
2007 Feb 08
0
simple right question
Dear all, I got the following situation, a share called "Bureaus", with the follwong subdirs: /Bureaus/A /Bureaus/B /Bureaus/C etc. where A,B,C.. are the bureau names under all the bureau names are directories: A/Task1 A/Task2 A/Task3 A/Archive For all the bureau names. I've got groups, a groups, everyone is a member of "Domain Users", and that's also always the primary group. And, a group A, a group B etc, and groups "Task1 A", Task1 B"..."Task2 A" etc. The simple id...
2008 Oct 02
4
namespaces
I'd like to control my namespace thoroughly, separated by task. Is there a way, in R session, to introduce namespaces for tasks dynamically and switch them as needed? Or, is there a combination of load/save workspace steps which can facilitate this? Cheers, Alexy
2006 Mar 09
4
sort-weirdness - active record issue?
...''closed''" , session[:user].id.to_s] ) @assignments.concat(tasks) @assignments.concat(issues) @assignments= @assignments.sort @assignments.each {|ea| puts ea.name + ea.scheduled_end_date.to_s} end The output from the puts statement is this: P2 Task1 2006-03-16 T2 2006-03-23 Test Task 2006-01-05 super tests 2006-01-19 super test 3 2006-01-26 Larry''s issue 2006-03-09 For some reason, the sort algorithm thinks that all the dates are nil so they don''t get sorted, but they''re there as the puts...
2012 May 09
3
R exercises - too confusing for me.
Hi! I tried everything to avoid asking somebody but I have absolutely no clue how to solve this tasks. I'll be really glad if someone could explain that to me... 1. http://r.789695.n4.nabble.com/file/n4619850/task1.gif Well, the first part is of course no problem but I have really trouble with the tasks i) and ii). just don't know how to write the function and why I should use rexp... 2. http://r.789695.n4.nabble.com/file/n4619850/task2.gif Oh I love loops. Well - "I think" I have to solve...
2020 Mar 18
2
[GSOC] "Project: Improve inter-procedural analyses and optimisations"
On 03/16, Fahad Nayyar wrote: > I can see that Johanned have put up some issues for GSOC aspirants. I think > that [2] <https://github.com/llvm/llvm-project/issues/179> ([Attributor] > Cleanup and upstream `Attribute::MaxObjectSize`) will be a very good issue > for me, It seems doable and I can get familiar with the whole process of > writing a patch for an issue. How should I
2008 Apr 16
8
Will acts_as_taggable_on_steroids and better_nested_set work together?
I am having this crazy problem where it ONLY shows up in testing. This is my test code <code> def test_should_destroy task1 = Task.new(:description => "tmp", :done => false, :user => User.find_by_login(''admin'')) assert task1.save assert task1.destroy end </code> This is my task model <code> class Task < ActiveRecord:...
2009 Jan 25
1
Multiple lattice plots on a page: aligning x-axes vertically
...subject.means, position = c(0,0,1,0.35)) print(plot.density, position = c(0.0988,0.22,0.98,1), newpage = FALSE) } example.data <- data.frame(subject_ID = c('A01','B01','A02','B02'), subject_group = c('pop1','pop2'), task= c(rep('task1',32),rep('task2',32)),dependent_measure=rnorm(64)) plotdensitymeans(example.data, measure=c('dependent_measure'), xlab="dependent measure (units)", xlim=c(-3,3)) ##END Example --- Daniel Myall PhD Student Department of Medicine University of Otago, Christchurch Van...
2013 Jan 21
1
btrfs_start_delalloc_inodes livelocks when creating snapshot under IO
Greetings all, I see the following issue during snap creation under IO: Transaction commit calls btrfs_start_delalloc_inodes() that locks the delalloc_inodes list, fetches the first inode, unlocks the list, triggers btrfs_alloc_delalloc_work/btrfs_queue_worker for this inode and then locks the list again. Then it checks the head of the list again. In my case, this is always exactly the same
2020 May 31
0
[PATCH v3] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
From: Jia He <justin.he at arm.com> Date: Sat, 30 May 2020 09:38:28 +0800 > When client on the host tries to connect(SOCK_STREAM, O_NONBLOCK) to the > server on the guest, there will be a panic on a ThunderX2 (armv8a server): ... > The race condition is as follows: > Task1 Task2 > ===== ===== > __sock_release virtio_transport_recv_pkt > __vsock_release vsock_find_bound_socket (found sk) > lock_sock_nested > vsock_remove_sock > sock_...
2013 Feb 01
0
R code parallelized using plyr and doMC: error message: Error in do.ply(i) : task 1 failed - “could not find function ”getClass“”
...his runs fine on my own machine (setting it to run only a few times and registering only a couple of cores). But when I run it on the cluster, the output file shows that it ran each of the 500 iterations, but I get no output file, and I get the following error message: |Error in do.ply(i) : task1 failed- "could not find function"getClass"" Calls: llply-> %dopar% -> <Anonymous> Execution halted Nodes: trestles-10-28| Anybody have any idea what is going on here? Thanks in advance! Andrew PS: (Apologies for cross posting, this is also on stac...
2020 May 29
0
[PATCH] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
...ommon] > [ 463.719034][ T5040] vhost_vsock_handle_tx_kick+0x360/0x408 [vhost_vsock] > [ 463.719041][ T5040] vhost_worker+0x100/0x1a0 [vhost] > [ 463.719048][ T5040] kthread+0x128/0x130 > [ 463.719052][ T5040] ret_from_fork+0x10/0x18 > > The race condition as follows: > Task1 Task2 > ===== ===== > __sock_release virtio_transport_recv_pkt > __vsock_release vsock_find_bound_socket (found) > lock_sock_nested > vsock_remove_sock > sock_orphan > s...
2020 May 29
0
[PATCH v2] virtio_vsock: Fix race condition in virtio_transport_recv_pkt
...ck] > [ 463.719041][ T5040] vhost_worker+0x100/0x1a0 [vhost] > [ 463.719048][ T5040] kthread+0x128/0x130 > [ 463.719052][ T5040] ret_from_fork+0x10/0x18 ^ ^ Maybe we can remove these two columns from the commit message. > > The race condition as follows: > Task1 Task2 > ===== ===== > __sock_release virtio_transport_recv_pkt > __vsock_release vsock_find_bound_socket (found) > lock_sock_nested > vsock_remove_sock > sock_orphan > s...
2004 Jun 27
3
memdisk: DOS as a PreOS
Hello! Is it possible to load a virtual DOS Floppy with memdisk to do a few things (e.g. scan for viruses, copy a hard disk image from the network to the local disk) and continue booting from the local hard disk without a reboot? Cheers Alex
2007 Dec 30
1
ReOrdering Wx::TreeCtrl Items
...ct0'' => nil, ''Contract1'' => { ''Project1'' => nil, ''Project2'' => nil, ''Project3'' => { ''task1'' => nil, ''task2'' => nil, ''task3'' => nil } }, ''Contract3'' => { ''Pr...
2013 Apr 11
2
[PATCH 2/2] Btrfs: use a lock to protect incompat/compat flag of the super block
The following case will make the incompat/compat flag of the super block be recovered. Task1 |Task2 flags = btrfs_super_incompat_flags(); | |flags = btrfs_super_incompat_flags(); flags |= new_flag1; | |flags |= new_flag2; btrfs_set_super_incompat_flags(flags); | |btrfs_set_super_incompat_flags(flags); the new_flag1 is recovered. In order to avoid this problem, we i...