search for: donuts

Displaying 20 results from an estimated 56 matches for "donuts".

2010 Jul 12
3
Continuing on with a loop when there's a failure
Hi R sages, Here is my latest problem. Consider the following toy example: x <- read.table(textConnection("y1 y2 y3 x1 x2 indv.1 bagels donuts bagels 4 6 indv.2 donuts donuts donuts 5 1 indv.3 donuts donuts donuts 1 10 indv.4 donuts donuts donuts 10 9 indv.5 bagels donuts bagels 0 2 indv.6 bagels donuts bagels 2 9 indv.7 bagels donuts bagels 8 5 indv.8 bagels donuts bagels 4 1 indv.9 donuts donuts donuts 3 3 indv.10 bagels donuts bagels 5...
2010 Jul 20
1
Nesting functions in loops that result in error messages breaking the loop
Hello all, I am trying to write a program in R in which I call a function multiple times within a loop. The problem is that sometimes the function breaks down while calling another function, and produces an error message that breaks my loop and the program stops. I would like to keep the loop running when this function breaks down, and just move on to the next iteration in the loop. Is there
2006 Jan 08
3
Getting the current Action in the Model
Is it possible to get the current Controller''s action from within the Model? I have a situation where I want a piece of validation to run on edits, but not on new creates. Thanks, - Mark -- Posted via http://www.ruby-forum.com/.
2010 Sep 26
2
Splitting a data frame into several completely separate data frames
...ain, How do I split a data frame into smaller, completely separate data frames (rather than separate data frames comprising a single "list")? Consider the following data, and my coding attempt: x <- read.table(textConnection("id type number indv.1 bagel 6 indv.2 bagel 1 indv.3 donuts 10 indv.4 donuts 9"), header = TRUE) closeAllConnections() x.split <- split(x, x$type) This is where I'm stuck. Now I have one "list" comprised of different data frames, but what I want is separate data frames. Ideally, I'd like to design a loop to give sequentially-nu...
2006 Jun 29
4
new idea for dragdrop library
Hi, I''ve been working on new ideas for a JavaScript drag and drop library. I haven''t found a drag and drop library flexible enough for my needs and I think I have come up with something that is generally worthwhile. I use the DOM and Event utilities from Yahoo! UI and no Prototype.js. I''m interested in any ideas or suggestions people might have. Blog
2019 Jun 04
2
is this a bug in PruneEH?
I have the following C source: extern unsigned int donut; void f1(); void f2(); void f1() { unsigned int *magic = &donut; if (*magic != 286529877) { f2(); } } void f2() { /* Loop here forever if application is built with wrong version of ROM image */ while(1) { ; } } The -O2 level PruneEH pass uses SimplifyFunction() which contains this code: for
2010 Jun 19
1
Extracting P-values from the lrm function in the rms library
Hello again R users, I have a devilishly hard problem, which should be very simple. I hope someone out there will have the answer to this on the tip of their tongue. Please consider the following toy example: x <- read.table(textConnection("y x1 x2 indv.1 bagels 4 6 indv.2 donuts 5 1 indv.3 donuts 1 10 indv.4 donuts 10 9 indv.5 bagels 0 2 indv.6 bagels 2 9 indv.7 bagels 8 5 indv.8 bagels 4 1 indv.9 donuts 3 3 indv.10 bagels 5 9 indv.11 bagels 9 10 indv.12 bagels 3 1 indv.13 donuts 7 10 indv.14 bagels 2 10 indv.15 bagels 9 6"), header = TRUE) I am fitting a polynomial...
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi! Aaf trunk has undergone several major refactorings the last days, with the result that you can now transparently switch your app from local to remote indexing and back :-) If you plan to scale your app to more than one physical machine, or if you have problems with corrupted indexes and the like under high load, you really should give this a try. I wrote some documentation to get you
2007 Jan 24
7
Ferret problems with Rails 1.2.1
Hi, I''ve just updated rails from 1.1.6 to 1.2.1 and I''m getting the following errors whenever I load a page that uses a class that uses ferret. I have ferret 0.10.13 and acts_as_ferret. They were working fine before the upgrade. #<NameError: cannot remove Object::WildcardQuery>
2004 Aug 06
2
my icecast problem
On Wed, 28 Feb 2001, Kelly Lee Myers wrote: > In addition is there a way to set the size of the outgoing packets or is > that completely handled by the stack and not icecast itself. Forgive me if > that sounds stupid, but I didn't really get that deep into icecast > configuration. You can... but... Someone correct me if I'm wrong, but you want to look at the MTU for your
2006 Jul 21
2
Source code missing for "Agile Web Development with Rails"
Hi, I purchased the first edition of "Agile Web Development with Rails" and it says the source code shown in the book is available on http://pragmaticprogrammer.com/titles/rails . However, I can''t find it. Does anyone know where I can get the code from? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Jul 22
2
Error: Before updating scaffolding from new DB schema, try..
Hi, I''m going through the Depot tutorial in the book "Agile Web Development with Rails" and I can''t even get past the very first step. I''m getting the following error: "Before updating scaffolding from new DB schema, try creating a table for your model (Product)" when I try to run "ruby script/generate scaffold Product Admin. I have a table
2006 Feb 02
2
OpenSSH_4.3p1, OpenSSL 0.9.8a 11 Oct 2005 on solaris 8/9
Howdy, Not sure, but it appears that OpenSSH_4.3p1 on solaris creates bad wtmpx entries during login? mgoebel pts/5 Wed Dec 31 19:00 still logged in It is creating entries for Dec 31st 1969. Thanks, Matt -- Matthew Goebel : goebel at emunix.emich.edu : Unix Jockey @ EMU : Hail Eris Neo-Student, Net Lurker, Donut consumer, and procrastinating Furry Fan.
2006 Feb 23
2
Calgary Ruby Users Society (CRUSERS)
...ay. After a round of introductions, we discussed our interests and brainstormed possible activities for the group. Paul Rogers did a presentation on Watir [http://wtr.rubyforge.org/]. Watir is not just a great tool, but also a way to sneak Ruby into your day job. ThoughtWorks Canada bought the donuts. From now on, we are planning to meet once a month, generally on the third Tuesday. Our next meeting will be in the second half of March (date TBD), most probably a joint meeting with CJUG (Calgary Java Users Group). The subject of the meeting will be Rails (but of course!) So, if you like Ru...
2002 Jun 11
4
ssh setuid changes.
...sshconnect.h] no longer use uidswap.[ch] from the ssh client run less code with euid==0 if ssh is installed setuid root just switch the euid, don't switch the complete set of groups (this is only needed by sshd). ok provos@ A few comments about this.. 1. I bet dollars to donuts that platforms with problems recovering from set[e]uid() changes (NeXT,etc). 2. ssh_create_socket() changed slightly, which should only affect Cygwin. However, looking at the code I think it just needs a glance over by the porter to ensure no additional work is needed. sshconnect.c: @@ -297,26 +2...
2006 Mar 23
1
RE: MeetMe freezes machine with Junghanns
Dollars to donuts it is related to these two posts, but no one seems to know where or why it happens - this issue doesn't seem to be related to one specific piece of hardware: Post 1) ********************************************************* Anyone ever seen MeetMe cause * to crash? Specifically, it happens co...
2004 Aug 06
1
MTU was: Re: my icecast problem
It is going to depend on a number of factors. Linux sets (along with a few other OS's I'm sure) its MTU to 1500. The problem is, if you set it longer then it will most likely be frag'd by your router. If that router does not, then another will. I think MTU for ppp interfaces are smaller. Likewise, if your backbone is FDDI, it has a large frame (somewhere in the 8000 range I
2004 Aug 06
4
[thomas@arkena.com: [vorbis] mp3pro and the mp3 streaming license]
> I don't know about the rest of you, but I'm not charging anything. As > mentioned, the royalties to record labels still stand if you don't follow > the rules, but this will be true regardless of the format > (mp3/vorbis/whatever.) Do you have any ads on your site? That's probably streaming related revenue. Do you list on shoutcast.com? There's definately
2004 Aug 06
2
what I'd like to do
On Wed, 4 Apr 2001, John Griffiths wrote: > i've set up an old 486 running debian 2.2r2 using the debian icecast packages (shout doing the streaming). As my sig points out, yes, it is possible. RiR is linux and icecast stripped to the bare necessities. > so far so good, with a bit of fiddling i had a stream that worked fine over the local network As I too have seen in practice :/
2003 Sep 29
2
4.9-RC and bge
Recent SUP. Installed on Dell PowerEdge 4600. Getting tons of: Sep 30 12:23:16 zige /kernel: bge0: gigabit link up Sep 30 12:23:46 zige last message repeated 98 times Also getting some TCP retransmits. This causes noticable delays in pretty much everything I do now. Not a problem prior to the SUP. I was on 4.8-STABLE before. When pulling/replacing cables, it went into a mode where it would