similar to: Find multiple strings collected in an array

Displaying 20 results from an estimated 20000 matches similar to: "Find multiple strings collected in an array"

2009 Feb 13
1
Unble to find cpufreq driver
Hi, I am trying to use the cpufreq driver and was unable to find the same on my xen kernel. I am currently running the folloing kernel: # uname -a Linux mbr-Dom0-3 2.6.18.8-xen #1 SMP Wed Jan 28 10:27:04 IST 2009 x86_64 x86_64 x86_64 GNU/Linux I read in certain places that some versions of Xen donot support cpufreq. But the information was not too clear. Could someone kindly tell me if cpufreq
2005 Aug 29
9
can a class find out it''s instance name?
Hi friends - a javascript question.... Does the prototype object add some way for a class to find out the variable name of its instance variable? Or does javascript have some built in way to do this? This is confusing to describe - but if I define a variable as some object: var myVariable= new Widget(''fdfa''); can some built-in method inside the Widget class be
2011 Mar 18
7
Controller Spec & DataMapper Chaining
Hi there, I''m fairly new to RSpec, and DataMapper and I''m trying to write a controller spec for an index action that will include DM query chaining. Here is a very simplified version of the Controller#index I''m working on def index @widgets = Widget.all(:order => [ :name.asc ]) if params[:alpha] @widgets = @widgets.by_alpha(params[:alpha]) elsif
2009 Jan 28
6
Creating an object from a pp string?
When I use pp on an object in rails, it prints out a nice string representation of the object. I am trying to pass objects from one server to another and I am wondering if I can just pass this string and create an object on the other server. Any libraries/functions out there that can do this? Or any other way to do this (not necessarily using pp). Thanks! -- Posted via
2008 Aug 18
5
Boot CentOS 5 to command line
Hi fellows, Pretty new to CentOS. I was trying to find a way to boot CentOS into command prompt instead of GUI (or without loading any services). Tried using 'Crl+Alt+F1' at the boot process, but, that holds the screen at mounting and doing fstab and doesn't proceed further. Is there anyother way to boot CentOS into command prompt without using Rescue option from the installation CD?
2005 Oct 14
1
join tables and position (acts_as_list)
I''m working on some schema for a new project that we''ll be doing in rails (our first rails project!). A recurring structure we are seeing is the desire to define an ordering any way we wish, so ''acts_as_list'' comes to the rescue. But, the ''position'' column seems to need to belong in the join table to make sense. For example, we have
2009 Apr 06
1
Need Help with StatET Error/Bug? on Ubuntu 8.10 amd64
Hi, I posted this message on the StatET-user board last week, but it looks like a ghost-town... I have a bad feeling that there is some code in the plug-in which doesn't work well with my environment, but if I am lucky, maybe other users have worked around this problem somehow - I am hoping that my setup is the issue. Note: very similar StatET setups on 32-bit XP Pro and Vista run
2006 Mar 02
2
sftp batch mode and password authentication
Hi all, I used to execute ftp in batch mode to dowload files. In my case, password authentication is the only way to get remote access. Could anyone tell me how can i accomplish the same task using sftp under batchmode as what i have done with ftp ? Meanwhile, how can i specify the password securely ? Is there anyother alternatives ? -- Thanks M.P
2002 Aug 15
2
RichEdit and Dlls
Hello All, I have an app that I wrote a few years ago with Delphi 5 and one of its components is a RichEdit. That's the only thing that does not work when running it with WIne. I've got the latest build for SuSE 8, version 20020804 and it does not work as well. I know Wine has richedit.dll as part of it but would I have to install MFCs dlls or anyother dll to enable it to run. Thank you,
2006 Mar 27
4
widgets on rails?
Here''s my crazy question of the day. Has anybody played around with using Rails to create Mac OS X Dashboard Widgets? Or is that just sick and wrong? Giles
2006 Jan 03
3
Changing tables within rails app
Hi, I want to know if my idea is possible within the rails framework. I want to write a rails app that uses the same code to manage two classes of widgets; "wired widgets" and "wireless widgets". For the most part, all the code to manage these two classes of widgets will be identical. The only differing part are some of the underlying field names in each respective db table
2008 Jun 13
6
Newbie question on has_many
I have two classes: a Widget and a User. The User has an id that is referenced in two places on the Widget: owner_id and operator_id. How should I structure that reference for has_many? Thanks folks - I appreciate any help on this. --David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2005 May 31
1
AJAX & Partials
Hi, looking to see if I''m on the right track here... we''re selling widgets to customers, but there are a number of different type of widgets and each different type of widget has a number of parameters that the customer can specify, in effect each customer orders widget''s customised in ways particular to that specific order. We use STI to store each different widget
2011 Dec 05
1
using StatEt IDE for Eclipse
Hi, I'm trying to use StatEt IDE for Eclipse as my R editor, but I'm completely lost. I've read all I could find online, made apparently all I had to do (installing rj, configuraing StatEt, etc.) but still cannot make R running. Below is the error log file. Thank you so much for assistance. Matteo !ENTRY de.walware.statet.r.console.ui 1 0 2011-12-05 16:21:51.355 !MESSAGE
2008 Jun 07
2
Rails integration tests without stories
I''m looking to drive the development of a rails app that does nothing but serve a JSON API. All of the models are well tested elsewhere, so I needn''t worry about that. My only immediate goal is to be able to fire off requests to a path and check the returned JSON. I''ve tried a number of methods for this today, without being particularly enthused about any of them. I
2005 Jun 09
8
RDoc Dashboard Widget
Hi everyone - sorry if this is a bit OT, I''m not subscribed to the ''ruby-talk'' list, but if anyone wants to cross post this over there... This is just a quick announcement to let people know that I''ve built a basic RDoc Dashboard widget for Mac OS X Tiger. It''s still beta-ish, but seems to work okay for me - and it''s a convenient reference
2005 Apr 01
4
error in kmeans
I am trying to generate kmean of 10 clusters for a 165 x 165 matrix. i do not see any errors known to me. But I get this error on running the script Error: empty cluster: try a better set of initial centers the commands are M <-matrix(scan("R_mutual",n = 165 * 165),165,165,byrow = T) cl <- kmeans(M,centers=10,20) len = dim(M)[1] .... .... I ran the same script last night and
2004 Aug 19
28
Documents, Views and DocManagers
Hi, Are there any effort in making wxDocument, wxView, etc types of classes avaiable under wxRuby? For supporting SDI/MDI architecture. Cheers, Phuah Yee Keat
2008 Jun 27
2
Samba PDC: Vmware Problem
Heya All I'm having a Samba PDC on Centos machine from past 4-5 months everything went one coolly untill I installed vmware on this same machine to put a new server, as the hardware of the computer was very good to support it. No worried with the vmware even both the servers are running properly. My Samba was set to use Interface eth0 with ip 192.168.50.56 . Upon installation the Vmware
2007 Aug 24
26
testing behaviour or testing code?
hypothetical question for all you BDD experts: I want to make sure that a :list action always returns widgets in alphabetical order. There''s at least 2 ways of doing this: it "should fetch items in alphabetical order" do Widget.should_receive(:find).with(:order => "name ASC") get :list end it "should fetch items in alphabetical order" do [:red,