search for: greggs

Displaying 20 results from an estimated 134 matches for "greggs".

Did you mean: gregs
2007 Mar 05
3
Rbind with data frames -- column names question
As part of my work, I am trying to append matrices onto data frames. Naively I assumed that when rbinding a data.frame and matrix, the matrix would be coerced and appended, keeping the names from the data frame. Clearly, I am not fully understanding the process by which rbind works. Example code: > A<-data.frame(1,1,1); names(A)=letters[1:3] ; B<-matrix(0,2,3) > rbind(A,B)
2008 Jan 21
13
has_many with different primary key
I''ve got quite the ActiveRecord challenge, any help would be appreciated. In my current project Companies can have many reviews. class Company < ActiveRecord::Base has_many :reviews, :as => :reviewable end However, my company table, I have two different IDs to identify my company. id - This is the typical id we use for normal stuff other_company_id - This is the id we use
2002 Aug 26
3
Question about memdisk
Peter, I am trying to get memdisk to work with grub and have run into a problem. Grub loads memdisk into the 0x9000 segment and then starts it at location 0x90200. I run into problems in the first printf statement. It turns out that printf uses a switch statement that compiles into a jump table. When I reach this jump table, I believe the code is jumping into hyperspace due to the jump table
2006 May 24
2
OSX Rails Session Issues
Hey friends, I need a little assistance getting one of my applications running on OSX. I am able to install everything, and get my application running, but when I try to store an object in the session in one of my apps, the session object doesn''t get stored. I tried running webrick, and I tried running under lighttpd. I tried running a regular session store, and a mysql
2006 Jun 27
3
Decoding Unicode URLs Properly
Please help, I have an application I switched over to UTF-8, but I am unable to decode URLs with unicode characters in them properly. For instance, if I have "item=Pur%E9ed" as a parameter in my url, when it''s decoded by rails, it returns "Pur?ed" and not "Pur?ed". Is there an easy way to fix my controller to accept these characters properly?
2005 Nov 18
6
expected system load from DTrace scripts/probes
Does anyone out there have any thoughts on the type of load common DTrace scripts would cause on a system if run 24x7? I know "common DTrace scripts" and their underlining probe calls a vague statement. So for the lack of a common and establish set of scripts in the OS, I''ll use the most popular right for my question...the DTraceToolkit from Brendan Gregg. Which by the
2002 Sep 22
0
Gregg M Doherty/USA/StateStreet is out of the office.
I will be out of the office starting 09/12/2002 and will not return until 09/30/2002. I will respond to your message when I return.
2006 Sep 29
5
Request URI Length Override
Please help, Does anyone know how to override the Mongrel request URI limits built in? I know it was set at a 512 byte limit, but my application will not work with this in place. Why do I need a larger limit? I''ve written a rails application that uses a bookmarklet to send large amounts of data from site to site. The only way to do this is (and keep it cross browser
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15. Here are the errors: gregg@gregg2 ~/user/DMS $ rake test (in /home/gregg/user/DMS) /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:2: warning: method redefined; discarding old []= /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:11: warning: method
2003 Apr 10
12
Asterisk-Redhat 9 install guide.
Hi, Not sure if anyone will be intersted but I have put together an install guide for Asterisk on RedHat 9.. Its nothing special but it may be of use to the newbies.. Like me.. If you would like a copy let me know and I will send it to you.. later.. -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze
2009 Jan 08
3
Creating file names.
I have a function that is called from a "sourced" script, whenever certain conditions are met. I have this inside it: if(P > 0.9)save( file = today() , myLMSmodel ); This gives me files that look like this: Thu Jan 8 14:04:43 2009 That works fine on my Mac, but it would be much more convenient to have something like this: LMSMOD_Jan_08_09_1404 Does anyone know how I can do
2006 Nov 07
2
echo residue buffer size
Hi, What is the required size of the echo residue buffer in speex_echo_cancel function? The mdf.c source would suggest that it's frame_size + 1, while preprocessor.c source claims it's frame_size. Bug? Or am I missing something? I am using 1.2beta1. Thanks, Gregg
2002 May 22
0
Correction - RE: using winbind in pam.d/system-auth, doub le prompts for password
Er, The relevant part of my /etc/pam.d/login (on Debian Potato) actually looks more like this: auth sufficient pam_winbind.so auth required pam_unix.so use_first_pass Manuel Gomez -----Original Message----- From: Manuel Gomez [mailto:ERG@e-r-solutions.com] Sent: Wednesday, May 22, 2002 12:18 PM To: 'Gregg Lebovitz'; 'samba@lists.samba.org' Subject: RE: [Samba] using
2007 Feb 19
2
Acts_As_Ferret Tutorial
Hey guys, I wanted to share with you guys a detailed tutorial I just finished this weekend for using Acts_As_Ferret. http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial I started using Ferret and Acts_As_Ferret a few weeks ago, and I learned so much that I wanted to give back to the community by writing up a helpful tutorial that covers all the key topics in one
2009 Jan 04
3
Newbie question
Hi: I'm loading in students test scores with: > abntest <- read.table("scores.txt") if I type: >abntest I get ALL the values. I want to be able to filter it by various things such as: if( abntesr > 90) Print abntest; and other logical operators. I'm sure this is simple for someone experienced. Thanks, Gregg Allen
2008 Apr 01
10
Request for code review: the brendan() action
This came up as an RFE during the conference (I believe it''s been logged as "4012008: brendan() action needed for DTrace Toolkit".) As everyone here is aware, DTrace is not quite as user friendly as it could be. For the uninitiated, it can be confusing to run a DTrace script and not see the expected output. Brendan Gregg has addressed this in the DTrace Toolkit[1] by
2001 Jan 11
2
nls error handling
I'm written a function that uses nls in a loop to fit a model to resampled data. Occasionally a sample is drawn such that the algorithm (apparently) can't converge and step factor reduced below minimum is printed to the screen. I tried a few different settings for the minFactor parameter in nls.control with no different result. When this happens, I would like my function to put NAs
2011 Dec 15
31
Can I create a mirror for a root rpool?
On Solaris 10 If I install using ZFS root on only one drive is there a way to add another drive as a mirror later? Sorry if this was discussed already. I searched the archives and couldn''t find the answer. Thank you.
2009 Feb 02
8
ZFS core contributor nominations
The time has come to review the current Contributor and Core contributor grants for ZFS. Since all of the ZFS core contributors grants are set to expire on 02-24-2009 we need to renew the members that are still contributing at core contributor levels. We should also add some new members to both Contributor and Core contributor levels. First the current list of Core contributors: Bill
2012 Jun 12
15
Recovery of RAIDZ with broken label(s)
Hi all, I have a 5 drive RAIDZ volume with data that I''d like to recover. The long story runs roughly: 1) The volume was running fine under FreeBSD on motherboard SATA controllers. 2) Two drives were moved to a HP P411 SAS/SATA controller 3) I *think* the HP controllers wrote some volume information to the end of each disk (hence no more ZFS labels 2,3) 4) In its "auto