Displaying 20 results from an estimated 10000 matches similar to: "user settings"
2012 Oct 15
1
calculate out of different lists in R
hey There
I've been trying to match 2 lists in R I have an excel sheet containing all
the 51states of amerika devided by zipcode. the columns are : zip,city,
state, latitude,longitude,count so now I want R to make a new table that I
could use to draw a map. The table should consist the name of the state plus
the count. Like I said I have all the zipcodes and the count for the
zipcodes, so now
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all,
I can blab, but here is a sample of my /var/log/apache2/error.log, it
has all the info:
any ideas what I can do prevent 500s from hitting my users? (besides
redirecting them with javascript to the same URL which will be fine on
the next request? :)
thanks,
_alex
[Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI:
incomplete headers (0 bytes) received from
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
2011 Oct 12
0
Override values from default node inheritance (variable scoping).
Hi,
I have a pretty basic question about variable scooping. We have been
using puppet for the past few weeks now and were running into some
problems which are probably caused by a lack of understanding or best
practices.
We have run into the following scenario and are not sure how to fix
this. The majority of our host all use the same resolvers in our
network (our internal dns servers) but there
2009 Dec 14
1
lapply , mapply questions
Dear all,
i have a programming problem that should be simple, though i am stuck with it. Please note that this is not a specific geonames problem, though i use it as an example - it´s just a basic problem with lapply.
I use the geonames webservices with the R geonames packages which works almost smoothly.
I have a vector of Zipcodes and i want to do a geonames lookup for all of them, which
2006 Jun 18
3
ActiveRecord Help - Not finding Data
Hello,
I''m farily new to RoR and am having a problem trying to retrieve data
from my database. Here is the code from my controller:
def index
zip = params["zip"]
@zip1 = Zipcode.find(:first, :conditions => ["zip = ?", zip])
lat = @zip1.latitude.to_f
long = @zip1.longitude.to_f
radius = 50
@bookstores = Bookstore.find_by_sql ["SELECT * FROM
2010 Dec 21
1
Matching 2 SQL tables
Hi,
I have a postgresql and a mysql database and I would like to combine the
info from two different tables in R. Both databases contain a table with
three columns: project_name, release_id and release_date. So each project
output could be released multiple times (I am interested in the first
release_date). However, some of the data is missing. Basically, what I want
to do is to try and fill the
2008 Jan 31
1
RSpec and the Basecamp API
I realise that this is kind of a basic question but I''m new to rspec and
still trying to work out how to do things. I''m working on a rails project
that requires basecamp integration via the api, which is fairly trivial to
use via the basecamp.rb wrapper:
Connection:
basecamp = Basecamp.new(APP_CONFIG[''api_host''], APP_CONFIG[''api_username''],
2006 Feb 12
4
How do I emulate directory structure with routes?
I''ve got something that I''m not sure is actually doable. I have a
very complex model relationship with a lot of parent/child/grandchild/
greatgrandchild etc stuff going on. Is there a way to do a route like
this?
tld.com/
projects/:project_name/:sequence_acronym/:shot_number/:department/:eleme
nt_name/:version/
where:
project is the parent of sequence
sequence is the
2006 Oct 19
2
OT :JavascriptSortableTables
I found this on the rails wiki
http://www.kryogenix.org/code/browser/sorttable/
Looked farily easy, class and id for the table. Dropped the JS in to
application.js.
Problem is it''s putting the sort link on the first row of data and not on
<thead>
Anyone know how to fix it ?
Here''s a bit of my table:
<table class="sortable" id="poso">
2006 Jan 09
7
Large select list, speed issues
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">I have a piece of code in my page
to generate
2011 Mar 21
1
Getting user session object in cucumber
Hi,
I am learning cucumber.
I have integrated the Devise with my rails 3 application.
My problem is I have to write a test which will create a project.
For that I have to make sure that user should be logged in. So I have
written the user login feature first which is working fine. After that I
have written the creation of project scenario. Whenever I am running
that scenario we are getting an
2010 Oct 06
1
Dynamic Variable Name
Is it possible to dynamically determine a variable''s name?
I would like to do:
$project_NAME
where
NAME can be anything.
I''ve tried this (for experiment purposes):
$project_name = ''my_project''
$project_my_project = ''/mnt/pa/test'' #this variable will be set out
of this script
notice($"project$project_name")
This is not parseble!
2006 Jun 05
0
Extra pair of eyes for VersionCamp
I''m just wondering if someone is willing to check out a little tool
I''ve been working on last 3 days after work called VersionCamp.
It''s basic function is to transfer SVN changeset logs into BaseCamp as
messages.
It''s also meant to be a frontend for a Basecamp project. Displaying
the changesets, milestones and tickets(Ticket adding not done). And
also
2009 Apr 04
1
Rails 2.3.2 - template question
Simplest of template files, tst.rb, contains:
PROJECT_NAME = File.basename(RAILS_ROOT)
run ''echo '' + PROJECT_NAME
Running command "rails tst -m ~/Rails_Tools/tst.rb" produces:
create
create app/controllers
.
.
create log/development.log
create log/test.log
applying template: /Users/rick/RailsTools/tst.rb
Anonymous modules
2006 Oct 31
4
Auto-increment lost during migration.
Hi. I get some strange results when using rename_column on a primary
key in a migration. It seems like the migration script removes the
auto-increment property if you rename a column.
This is a minimal example.
create_table :foo, :primary_key => :foo_id do |t|
t.column "name", :string
end
# renaming the primary key makes auto-increment disappear.
rename_column
2012 Feb 13
11
stale records with integration testing?
Hi,
I was writing an integration test for my user signup form (with
capybara), and found that my test was failing due to a validation error:
"email is already taken". I''m a bit confused because I thought when I
run "rspec spec/some_spec.rb", the test database would be wiped clear?
Is that not the case?
Patrick J. Collins
http://collinatorstudios.com
2010 Oct 14
3
XCP: buitin templates (how they works?)
Good day.
I''m pretty curious, how they work with netinst (debian, suse, ubuntu,
centos)...
As I understand, at first start they downloads xen-aware kernel and
netinst initrd from repository (with one user must point with
other-config:install-repository)...
But how they do it? I means, this some kind of script, some kind of
variables...
Really, I''d like to do few more
2011 Jun 14
1
Invalid Regular Expression
I'm working with some data, and am trying to generate it in the following
format.
state city zipcode
I like pizza 0 0 0
I live in Denver 0 1 0
All the fun stuff is in Alaska 1 0 0
he lives in 66062
2006 Jul 11
0
Routes à la Basecamp
New signup here, everybody hello!
I want to set routes for my application that act like basecamp.com.
When you log into Basecamp and select a project, you are in
/projects/12345/msg, for example.
If you want to read a message, you are taken to a url like
/projects/12345/msg/cat/123/6789/comments.
What I want to do is the same: the main controller of my app is
"categories".
After