search for: whatevers

Displaying 20 results from an estimated 23741 matches for "whatevers".

Did you mean: whatever
2006 Mar 01
15
Is there a perl equivalent of .= in ruby/rails??
I want to make a for loop that concats strings onto a variable: html .= var1 + "this is a test" + whatever What is the syntax that does this in ruby/rails? Also, is there a ''print'' method in ruby? Because when I try to use render_text it will only let me use this once. -- Posted via http://www.ruby-forum.com/.
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host wasn''t getting applied to emails, I realized that it''s because the config object in the context of a mailer is config.action_mailer and not config.action_controller. This means you need to set asset host separately for emails, as config.action_mailer.asset_host. Should this be considered a bug? Is it really
2005 Oct 15
2
batch file execution
I am new to R and really like to get a handle of basics in short period of time. What I am trying to do is get myself a list of must-do's (read in data, batch execution, delimiters, basic modeling commands) in R as in Stata or SAS. I am just wondering how to execute a R batch file in RGui. Suppose I have a script file (like do file in stata, or sas file in SAS) under c:\whatever.R, how can I
2007 Jan 19
6
wireless card for CentOS
Hi, I'll need to buy a new wireless card. I need a recommendation for PCMCIA wireless card that simply works with CentOS out of the box. By "works out of the box", I mean that it doesn't need ndis wrapper (or whatever it is called), kernel hacks, or whatever. Thanks
2013 Dec 05
2
Dsync error: Couldn't drop privileges: getgrnam
Hi, I upgraded (in place upgrade, preserving my dovecot configs) to a newer release of ubuntu in order to gain access to slightly newer Dovecot release and be able to use Dsync for migration from Cyrus, here is my doveconf -n output: # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.5.0-44-generic x86_64 Ubuntu 12.10 auth_debug = yes auth_default_realm = whatever.com auth_master_user_separator
2006 Feb 23
12
how to output something from within <% %> tags?
simple question: how do I output something from within <% %> tags? e.g. like ''echo'' in PHP. I thought it would be ''puts'' or ''print'' but neither seems to work. right now I always close the %> and open a <%= which is tedious. -- Posted via http://www.ruby-forum.com/.
2011 Feb 17
1
Function scope issues
Dear R-users, I have some questions about the scope of functions, which I would like to illustrate with the following example: ### First example require(Hmisc) combine.levels <- function(x,y) browser() whatever <- function(x,y) combine.levels(x,y) x <- 1:5 names(x) <- LETTERS[x] y <- 6: 10 names(y) <- LETTERS[y-2] combine(x,y) # no debugging break whatever(x,y) # debugging
2013 Apr 07
2
[LLVMdev] Integer divide by zero
Hi Cameron, On 07/04/13 18:20, Cameron McInally wrote: > Hey Duncan, > > On Sun, Apr 7, 2013 at 11:22 AM, Duncan Sands <baldrick at free.fr > <mailto:baldrick at free.fr>> wrote: > ... > > can't front-ends implement this themselves using the "select" constant > expression? For example, rather than dividing by "x" you can divide
2014 May 28
1
Style question
Greetings, When using a 'foreign' function (from another package, say function 'whatever' from package 'foo'), you can of course just require the package and then just have whatever(...) in your code. However, I would like to use the foo::whatever(...) form instead, just for documentation purposes (easier to see what function comes from what package). Is there a
2008 Oct 12
1
Routes problem.
Hello, Just a single problem i can''t solve. The scenario... I have a controller called "places" but i don''t want to link the users to /places/whatever, i want something like /no/whatever. How to achieve this? I have in my routes.rb: map.resources :no, :controller => "places", map.connect '':controller/:action/:id'' map.connect
2008 Jun 24
5
centos 5.2 for real this time
I did a yum update last night at about 23h15 EDT (-4). No upgrade. I just did a yum update this morning at about 08h45 (-4). for my system there's about 348 megs of updates. Now all I have to do is figure out how to remove OO.o 2.0.whatever which is being upgraded to 2.3.whatever. I'm using 2.4.1 on my 4.6 boxes (have always been using the latest OO.o on them since installation a
2008 Jan 23
0
strange issues with pam_winbind and sudo
I have two issues, potentially related, potentially not. First off, a bit about my environment: I am experiencing the same issues on two boxes, one of which is running red hat linux ES 4 update 6 i386, the other running red hat enterprise linux server release 5.1 x86_64 . Both appear to be running samba 3.0.25b, both are members of an active directory domain . There are 7 domain controllers in
2012 Jan 10
3
I am looking to try to mixing sounrce and content in a file instance
Let''s start with this: class whatever ( $myType=''other'' ) { file { "some-config-file": ... content => $myType ? { ''this'' => template("whatever/this.erb"), ''that'' => template("whatever/that.erb"), ''other'' =>
2008 Nov 17
2
assign("FALSE", TRUE)
It was recently pointed out by Wacek Kusnierczyk that although one is prevented from doing FALSE <- TRUE one *can* do assign("FALSE",TRUE) and have an object named ``FALSE'' with value TRUE in one's workspace. This apparently has no deleterious effects; e.g. doing sample(1:7,replace=FALSE) gives a random permutation of 1:7 as expected and desired. I.e. the local
2009 Apr 24
2
Generalized 2D list/array/whatever?
I'm trying to figure out how I can get a generalized 2D list/array/matrix/whatever working. Seems I can't figure out how to make the variables the right type. I always seem to get some sort of error... out of bounds, wrong type, wrong dim, etc. Very confused... :) x[["some label", "some other index"]] <- 3 x[["some other label", "something
1999 Mar 10
2
.Alias and memory
In an effort to encapsulate my dependence on class in order to deal with oldclass/class in Splus I defined the functions tfclass <- class "tfclass<-" <- function(x, value){ class(x) <- value ; x } and also the function classed <- function(x, cls) {class(x) <- cls; x} This last allows me to end a function definition with ... classed(somecalc,
2010 Apr 03
2
Specifying a decimal field precision/scale with scaffold requires 2 steps?
Hi, It appears to me that the command: ruby script/generate scaffold whatever money_field:decimal(10,2) will not generate a valid migration. Therefore it appears to me only two ways to achieve the desired result is: 1.1 Omit the the precision/scale on the scaffold command 1.2 Edit the migration file by following the "do |t| ... end" with the command: change_column :whatever
2006 Jul 22
4
Accessing the controller name in your views?
I need to know what controller and action the user is currently in to do various things in my layouts/application.rhtml file. Isn''t there is a better way than: <% if params[:controller] == "whatever" && params[:action] == "whatever" %>some html<% end %> I know in the controllers you can just use controller_name, but that is not provided
2012 Feb 15
1
mount.cifs gives error 13 after changing servers -- hidden cache??
A sysadmin moved a share from one Windows server to another. I am now getting error 13 when trying to mount the share from the new server. The following worked before the server was replaced: mount.cifs //ipaddress1/share1$ /mnt/share1 -o credientials/home/whatever/.smbcredentials,rw mount.cifs //ipaddress2/share2$ /mnt/share2 -o credientials/home/whatever/.smbcredentials,ro Change: server
2005 Feb 17
3
A vector or array of data frames
Hi A simple question again, but I can't find it by google-ing R-help. Quite simply, I want to read in the contents of a number of files, using read.table, and assign the results to elements of a vector/array/list/whatever. I want it so that, if my vector/array/whatever is "pos", that pos[1] will give me the first data frame, pos[2] will give me the second etc... Kind of basic