search for: bauman

Displaying 11 results from an estimated 11 matches for "bauman".

Did you mean: batman
2005 Feb 13
5
Select Enumerated Values with FormOptionsHelper
Hey, I''m new, so apologies if I''ve overlooked obvious resources or violated any etiquette rules for this list. Since rails does not support the MySQL enum data type, I''m following David''s advice of using a varchar and storing the valid values in the application: http://one.textdrive.com/pipermail/rails/2005-January/001536.html So here''s my
2002 Feb 05
2
Wine always tries to connect to ":0.0"
Wine always give errors when it tries to start on xser ver ":1" because it always tries to connect to ":0.0". I know that DISPLAY is set correctly: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server
2006 Apr 25
2
Re: Internet Explorer Installation
Stephen Bauman wrote: > I'm trying to install MS IE 6 SP1. I'm using Fedora Core 5 and the Wine > that comes with wine.0.9.11-1.fc5.rpm from the distribution. > > "Setup was unable to download the required components. Please make sure > you are connected to the Internet or try to run S...
2006 Mar 31
10
ruby help / if (cond or cond)
Why this code doesn''t work as expected? It raises exceptions everytime. Tried with || operator, too. validates_each :x, :y do |record, attr| record.errors.add (attr, ''between 1 and 100'') if (attr.to_i>100 or attr.to_i<0) end -- They say money can''t buy happiness? Look at the smile on my face... ear to ear, baby!
2006 Apr 11
2
Getting distinct years from a date column the Rails way
I have an original_at column in my photos table. I''d like to get a list of distinct years that occur in this column, and some of the values are NULL. I see two ways of doing this. The SQLish way: photos = Photo.find :all, :select => ''distinct year(original_at)'' This is efficient in that it utilizes the database to do the filtering, and the code is not too ugly.
2006 Apr 03
1
Why no call to Model.new on find?
I created a model with some internal state derived from a combination of database and non-database data. Since I wanted to calculate these values once rather than every time they''re requested by the view, I calculated them in the initialize method and set some instance variables. However, I soon noticed that these values weren''t getting set when I retrieved data using the
2008 Aug 01
1
how to include an explicit list of files
I want to rsync files between two machines, but only a subset of the files on the server. I want to specify the subset explicitly via a list of files to the rsync daemon. I've tried: filter = + */ \ + foo/bar/file1 \ + foo/bar/file2 \ + bar/baz/file3 \ - * but this doesn't work - I end up with stuff like foo.obsolete/file4 when rsyncing. I
2013 Dec 01
0
How to create polygons representing sampled forest plots, and how to compute D1 matrix between these polygons ?
...matrices (function anova.cca()). So the question is : How can I do to make my plots polygons instead of point ? And then how do I get a Euclidean distance matrix that I will be able to use for the PCNM ? I hope someone with some experience and good ideas will be able to help. Thanks a lot, David Bauman [[alternative HTML version deleted]]
2006 Apr 17
40
Convince me to buy TextMate!
I got a Powerbook recently and am debating buying TextMate. I installed the trial and have checked it out, but don''t see what''s so great about it. AFAICS it''s the Ruby and Rails macros for expansion and other stuff that might be it. Other than that, TextMate seems like a pretty basic editor. I currently use PSPad and Editplus, and I could probably get/make macros
2011 Mar 01
14
virt-manager 0.8.2 local ISO and PXE boot install option greyed out on 2.6.32.27 pv-ops Dom0 kernel
Hi, I just installed a pv-ops Dom0 2.6.32.27 Kernel on a 64 bit non VT machine. Following instructions here http://wiki.xensource.com/xenwiki/Xen4.0 for 64 bit Ubuntu 10.04 apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended
2005 Mar 04
0
Time input with select_time
In MySQL I have a table named "game_times" with a time type field named "begin". I figured it would be straightforward to use "select_time" to get input in the view: <%= select_time(Time.now, :prefix => "game_time[begin]") %> However, in the controller: @game_time = GameTime.new(@params["game_time"]) Doesn''t seem to work.