similar to: FOSCON II: The Ruby Rodeo

Displaying 20 results from an estimated 110 matches similar to: "FOSCON II: The Ruby Rodeo"

2006 Aug 10
4
mongrel and comet "implementation"
Hey folks, I was playing around with adding Comet (a javascript technology used to receive events without AJAX polling) support to Mongrel. More info about Comet here: http://en.wikipedia.org/wiki/Comet_%28programming%29) I sort of got it working. My code is available at: http;//cyll.org/comet.tar.gz Run comet.rb from inside the directory and point your browser at: http://localhost:5555/ The
2006 Mar 23
5
Custom date format
Hi, I''ve followed these directions : http://railswiki.pdxruby.org/HowToDefineYourOwnDateFormat.html It seems pretty straightforward but obviously it doesn''t work for me... article.date_edited.to_formatted_s(:my_format_1) produce a default formatted date, not the one I''ve defined in environment.rb : ActiveSupport::CoreExtensions::Date::Conversions::DATE_FORMATS.merge!(
2006 May 08
2
Creating a "Foo has_many bars" association where bar isn''t a model.
Hi Let''s say we have model Foo. Each Foo instance can have several bars. Those bars are primitive, so they shouldn''t be models. For example, Foo might be a type of convention, and the bars might be years the convention was held in. Naively, we would have a conventions_years date, and put: has_many :years inside class Convention. But then we''d get an error, since for
2007 May 04
22
CampingConf?
Campers -- In a few weeks there will be a bunch of people in Portland, OR, for a conference. A long time ago some campers mentioned that might be a good time for us to get together and hold a mini CampingConf for a few hours. Is anyone interested? Does anyone want to organize it? I''m thinking Wednesday night, May 16. We could possibly get a spot at FreeGeek (not likely since they are
2008 Jan 17
5
unusual challenges speccing external software
This is something I''ve come up against twice. First, I have an interactive editor which calls vi, emacs, or TextMate (etc.) via Unix, and then loads the file handed to the editor back into IRB after it''s edited and saved. I guess that makes it a special case of a more general question, which is how do you spec external processes, with a slightly more complicated version of the
2006 Dec 05
7
mongrel and long lived connections
Hi, I found this article http://cyll.org/blog/tech/2006-08-09-themongrelcomet.html on mongrel and COMET very interesting. I ran the code, and it worked just as Christopher explained. The one thing I don''t understand is why mongrel can only handle 1 connection at a time. I thought that mongrel used a thread per connection. It appears that each registered handler can only handle 1
2020 May 17
3
Problems with userdb and mail deliveribility
I briefly got some mails delivered, but not anymore. Attached are dovecot-info.log, dovecot-debug.log, dovecot.log, maillog, /etc/mail/passwd smtpd.conf, vaddr, vusers, vdomains Thanks for any help. Chris Bennett -------------- next part -------------- May 15 12:54:25 master: Error: service(config): pipe() failed: Too many open files May 15 12:54:25 master: Error: service(auth): pipe() failed:
2010 Jun 25
3
gsub with regular expression
If I have a text with 7 words per line and I would like to put first and second word joined in a vector and the rest of words one per column in a matrix how can I do it? First 2 lines of my text file: "2008/12/31 12:23:31 numero 343.233.233 Rodeo Vaca Ruido" "2010/02/01 02:35:31 palabra 111.111.222 abejorro Rodeo Vaca" Results: Vector: 2008/12/31 12:23:31 2010/02/01 02:35:31
2020 May 17
1
Problems with userdb and mail deliveribility
On 17 May 2020, at 11:08, Chris Bennett <chris-dvcot at freedomforlife.rocks> wrote: > > I realize that I dumpimg a lot of info out there. But not what we need. doveconf -n postfix -n (or equivalent) What MTA you are using (postfix, etc) Errors in mail.log showing the failures. > I can shoot for system users, but I really want to get the virtual users > working. This is a
2006 Jan 23
2
del.icio.us-like output
I''m trying to build a page similar to a delicious page that is a listing of your bookmarks in this format: 1. Querying serialized data in ActiveRecord<http://www.karmiccoding.com/articles/2005/11/29/querying-serialized-data-in-activerecord> Hack to search serialized fields to rails <http://del.icio.us/djsodom/rails> ... and 4 other
2006 Jan 11
6
Output non-HTML (CSV) from Rails
Hi, I want to offer a CSV download of data in my Rails app (eg. An "Export to Excel" link to grab the current view of tabulated data). However, I can''t seem to break-out of the Rails framework to output this non-HTML data. Even if I eliminate my layout template from my view, the most basic view (no HTML) will still wrap the output in
2006 Nov 27
3
Consistency in REST-routes naming
Hello everyone! In working with the Rails-REST-features I have always wondered about the URL for the new-action /objects/new In REST the URL should represent a Resource. As the semicolon is for adding non-standard actions (verbs) to a resource, IMHO it should be: /objects;new and not /objects/new In fact, this is just like an additional action, which I would specify with the
2006 May 23
2
New to the List (Hi)
Hi All, Just wanted to say hi. A little background with me, I''m a college student up in Portland, OR and have been developing RoR toys since December. I am currently working on a few sites which should be up by the end of the summer. Thanks for being such a lively community! Phil -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably get less than 100 hits per hour. I just looked in /tmp on the server and there are over 10,000 ruby_sess.* temp files containing: " hash{" flashIC:''ActionController::Flash::FlashHash{: @used{ They''ve piled up so much that I can''t even rm -f ruby*. Bash complains
2006 Jul 16
4
migrations questions: MySQL -> postgreSQL
I started my app before migrations were a best practice and have been using SQL scripts. Now I''m looking at potentially having to move from using MySQL to postgreSQL to use a particular hosting provider. I understand migrations are the way to go to make this ''easy'' but it also looks like the use of migrations introduces extra work in other areas. I''d really
2005 Aug 21
8
validates_numericality_of
As far as I can tell "numericality" is not a word. Maybe this method should be renamed. -- R. Mark Volkmann Partner, Object Computing, Inc.
2005 Sep 19
0
RUXCON 2005 Update
Hi, RUXCON is quickly approaching yet again. This e-mail is to bring you up to date on the latest developments on this years conference. Our speakers list is complete [1] and our timetable has been finalised [2]. Below is a list of presentations for RUXCON 2005 (in order of acceptance): 1. Breaking Mac OSX - Ilja Van Sprundel & Neil Archibald 2. Binary protection schemes - Andrew
2005 Oct 25
0
question about accessing XP login names within smb.conf
I don't want to maintain a list of userids in either Linux, or Samba. Our PDC is a win 2000 box and all the userids are stored on that win 2000 box. I'd like to store the "My Documents" folders on a Samba server and use %U to map each student's "My Documents" to their directory on the Linux machine. This works well in Win 98, but on the XP machine, instead of
2002 Dec 10
0
(no subject)
I have Samba v2.2.7 on Solaris 8. I have uploaded all the needed print drivers and setup several printers using administrator. I edited the 'device settings', under printer/properties, to adjust memory and paper trays etc. When I login as a regular user on W2k client, the settings are underintensified and I don't see the changes made earlier, only the default settings. If I add the
2002 Dec 16
0
Samba versus NFS/ftp
I ran some tests today, ftp'ing a 288MB file to the server was completed in 29.3 seconds, ~10 MB/sec. This is 3 times faster than Samba! which needed 82 seconds using drag/drop on W2K. NFS needed 39 seconds. I have read the 'performance tuning' documents and have done all/most of the changes they recommend but nothing appears to increase the speed. We are running Solaris 8 with