Displaying 20 results from an estimated 20000 matches similar to: "OFF-TOPIC; Can''t post to this mailing list"
2006 Jan 22
6
SwitchTower with public key authentication?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
BEWARE: this is not a Rails question, but a SwitchTower question. I am asking
here because SwitchTower is usually employed with Rails.
I am developing what we may call a "distributed video player" in Ruby (this is
NOT a Rails application). It works this way: I have several boxes that play
videos and one server, where I store the
2006 May 14
9
IBM UniVerse database adapter for ActiveRecord?
I''m facing a situation where I am going to have to integrate with a
legacy database , specifically the IBM UniVerse database, which is not
*quite* relational. It feels like a holdover from the dark ages of
computing.
Before I attempt writing an ActiveRecord adapter, I''d like to know if
anyone else uses this database and if I''m the only person that needs
this thing. I
2006 May 22
8
flickr tag question
hey,
i am using the flickr wrapper for ruby and need to access the tags of a
specific photo. i got all the rest working. i must admit i am kind of new to
ruby, but i tried and tried and couldn''t figure it out. among other things i
want to read geotags like in my example here:
http://www.flickr.com/photos/whoisstan/146634506/
i''m sure it is deadsimple and i just overlooked it.
2006 Apr 30
16
postgresql duplicate key violates unique constraint
I have a weird problem with creating a new record when using PostgreSQL.
From inside script/console ...
>> entity = Entity.new
>> entity.first_name = "Foo"
>> entity.last_name = "bar"
>> entity.save
Throws an exception due to the following SQL error: duplicate key
violates unique constraint.
The application was working fine before and suddenly
2006 Jan 24
7
formatting numbers with commas
I needed to format numbers with commas to make it more human
readable. Here''s how I did it.
def commify(number)
c = { :value => "", :length => 0 }
r = number.to_s.reverse.split("").inject(c) do |t, e|
iv, il = t[:value], t[:length]
iv += '','' if il % 3 == 0 && il != 0
{ :value => iv + e, :length =>
2006 Jul 20
16
Juggernaut Released - (a.k.a Armageddon)
I''ve just released Juggernaut - a plugin for ruby on rails.
Check out the site: http://juggernaut.rubyforge.org
I?ve also finished a demo that illustrates some of Juggernuat?s
capabilities. You can sign up for an account here:
http://alexmaccaw.no-ip.info:3500/login/sign_up . It might be a tad slow
as it?s running from my home machine.
Juggernaut for Ruby on Rails initiates a flash
2003 May 06
2
"help.start() and kde konqueror"
Hello,
When I attempt to use KDE 3.03 "konqueror" for help.start() I can't get the
search engine to work but otherwise help.start() is OK. How should
"konqueror" be setup for this?
The response to the command is below:
> help.start(browser= 'konqueror')
Making links in per-session dir ...
If konqueror is already running, it is *not* restarted, and you must
2006 Feb 17
4
Why doesn''t this work!
I have this in my controller...
@tech_standards = TechStandard.find_by_sql("SELECT * FROM tech_standards
WHERE subpoint <> 0")
Everything is fine except when I look at my view I still get supoints
that are 0. When I run this query in my query browser I don''t.
View:
<select name="resource[tech_standard]" id="tech_standard">
2006 Jan 17
5
file_column mangling URL
Hey,
I''ve gotten file_column to upload a file, drop it in the dynamic
directory, but I can''t display the image, the directories repeat
themselves:
My model:
class Person < ActiveRecord::Base
file_column :image_url
In my view:
<%= image_tag url_for_file_column(''person'', ''image_url'') %>
HTML generated is this:
<img
2002 Mar 11
4
Mailing list etiquette? [mildly off-topic]
Since i've gotten so much help from this list with my samba issues, i've
been trying to be active and help others, but heres my question. If I
reply to someone, should I send it JUST to the mailing list, JUST to the
person i'm helping, or both? I've been keeping it on the mailing list,
but some people may want the help to come into their main mailbox.
Should I send to both?
2006 Jan 20
15
Cannot rake migrate on OS X After New Install, Tons of Debugging
I''m getting ready to go to the Rails Studio in Pasadena next week. As
part of the prep for that event, I was instructed by the Pragmatic
guys to download and install a new Rails 1.0/Ruby 1.8.4 configuration
to my OS X 10.4.4 box. I did that three or four days ago. Ever since
then, I cannot run a rake migrate command successfully anywhere in my
Rails world. (Mind you,
2005 Aug 08
2
extract t-values from pairwise.t.test
Hi,
how can I extract the t-values after running a pairwise.t.test? The
output just list the p-values.
Many thanks for your help.
Cheers
Guido
____________________________________
Guido J. Parra
School of Tropical Environment Studies and Geography
James Cook University
Townsville
Queensland 4811
Phone: 61 7 47815824
Fax: 61 7 47814020
Mobile: 0437630843
e-mail:
2013 Apr 16
7
the joy of spreadsheets (off-topic)
Given that we occasionally run into problems with comparing Excel
results to R results, and other spreadsheet-induced errors, I thought
this might be of interest.
http://www.nextnewdeal.net/rortybomb/researchers-finally-replicated-reinhart-rogoff-and-there-are-serious-problems
The punchline:
"If this error turns out to be an actual mistake Reinhart-Rogoff made,
well, all I can hope is that
2006 Feb 17
5
getting old values
Hi all,
I''ve add :before_update event to my model
Before updating a record I want to check if new attributes differ to old attr.
My question is how to retrieve old attributes in :before_update event ?
thanks
--
gratis egold 1$ http://shegold.com/
2012 Dec 18
1
off-topic: firefox & noscript
Not a biggie, but definitely annoying: I try to register for a media site,
so I can put in a comment, and every time I hit "register", noscript pops
up telling me it's protecting me from cross-site scripting... and if it's
giving me any way to say, "that's ok for this site", I don't see it. I've
tried typing in a pattern for xss, and no joy.
Clues for the
2006 Jan 07
4
GIS Image coordinates / markers?
Hey everyone,
Is there Rails support for something like Google Maps, but using my
own images/maps?
Basically, I''d like to have my own maps/images, be able to drop
markers on them, center on certain attributes etc.
- Nic
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Jun 12
5
Doing a simple search from the database?
I realize thi may be more complex issue than can be asnwered in this
post. But, what I need to do is create a simple query on my existing
tables via a search form. I have half my app done (I can write all the
info I want to my database), but pulling the data out dynamically is
giving me trouble.
I have both the "ruby for rails" book and the Agile Development book.
They both give
2006 Jan 16
4
Creating two records at once
Hi there,
I have a User model and a Profile model. A user has_one profile, and a
profile belongs_to a user. The profile model contains a user_id column
as the foreign key.
The problem comes in when I want a user to register. In the
user_controller I have a method that creates the user. I also want the
profile model to be filled in with the appropriate user_id foreign key
(I don''t care
2006 Apr 30
8
format numbers as words
Does anyone know if there is a function available which can format any
entered number as words?
eg: ''1234'' would be ''One Thousand Two Hundred and Thirty Four''
In the past, I would have said this is a tall order, but from what I''ve
seen with playing with rails for a short time, I don''t know what to
expect. :)
Thanks for any help,
Damien