Displaying 20 results from an estimated 117 matches for "brainspl".
Did you mean:
brains
2006 Feb 12
0
Repost: brainspl.at tutorial and lighttpd .10 crashes
I just got a new Debian Sarge server and followed the brainspl.at
"Debian Lighttpd Rails Stack" tutorial.
The only place I deviated was the version of Lighty. The page uses
1.4.7 and I spotted that 1.4.10 was available. I installed that and
couldn''t get anywhere. Lighty died on first access from the test
rails app, and even from a ultra...
2006 Jun 30
0
Mongrel-users Digest, Vol 5, Issue 24
...---------
>
> Message: 1
> Date: Fri, 30 Jun 2006 07:41:06 -0700
> From: Ezra Zygmuntowicz <ezmobius at gmail.com>
> Subject: Re: [Mongrel] Time To Pick the Mongrel BUGS Mascot!
> To: mongrel-users at rubyforge.org
> Message-ID: <5146505B-ADFE-4C61-8E06-925B489CF887 at brainspl.at>
> Content-Type: text/plain; charset="us-ascii"
>
> I''m going to have to say either Jake or Victoria myself. And I resent
> the pug in that contest, he''s not ugly ;)
>
> -Ezra
>
>
> On Jun 29, 2006, at 11:40 PM, Matt Pelletier wrote:
>...
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
Hi there
I''m planning to build "The Perfect Rails/Debian/Lighttpd Stack",
published by Ezra Zygmuntowicz and Sean Schertell at
http://brainspl.at/rails_stack.html
I''m wondering what sort of constant maintanance that setup would
incur. What actions have be regularly performed to keep this setup
healthy and secure under normal conditions?
Alder
2006 May 15
10
BackgrounDRb background task runner and Application Wide Context Store
...le backend processes
like fcgi''s or mongrels. This MiddleMan runs in a drb(distributed
ruby) process that is separate from the rails process. This allows
for all backends to have one place to store data or launch jobs from.
You can see the proof of concept screencasts here:
http://brainspl.at/drb_progress.mov
http://brainspl.at/drb_ajax_tail.mov
And you can download the proof of concept rails app and run it
yourself from here:
http://opensvn.csie.org/ezra/rails/plugins/backgroundrb/
I''m looking for some folks to play with this and give feedback so I
can improve on i...
2006 May 05
3
Stop browser timeout with large file uploads + processing?
Hi
Im uploading a file to my rails app, i''s usually a large file, 5-50mb.
Once the file has been uploaded it must be parsed and processed, this
can take a very long time, 1-20mins. The problem is that most of the
time my browser timeouts.
Im not really sure how to solve it. One idea is that i have a script
run constantly on the server that checks for uploaded files in a
2006 Jun 30
50
Time To Pick the Mongrel BUGS Mascot!
Bradley Taylor shot me this *goldmine* of ugly ugly ugly dogs:
http://www.sonoma-marinfair.org/uglydogvote.shtml
I *have* to use one of these for the Mongrel BUGS Mascot. He''ll go on
our bug list page and replace the little beetles on the left.
Pick the dog you think best represents a lovable but defective pooch and
reply to this with your +1.
Let the voting begin!
--
Zed A. Shaw
2006 Jun 25
4
Function/Method Execution Progress Bar
Hello,
I want to create a progress bar for the exececution of a particular
function.
I found a solution at http://brainspl.at/articles/tag/background but one
need to create a separate server that communicates the progress of a
job.
Is there anyways to change a global variable or so and have the user see
the execution stage of the function?
I tried playing with Thread but no success because for the page to be
load...
2006 Sep 12
2
Nginx conf with all the right rules for mongrel_cluster
Folks-
James Cox, Alexy Kovyrin and I all huddled up and got nginx working
perfectly with mongrel cluster and rails page caching. So all static
and cached files are served fast by nginx and anything not static
gets sent to mongrel.
http://brainspl.at/articles/2006/09/12/new-nginx-conf-with-rails-caching
Cheers-
-Ezra
2005 Dec 22
3
How to specify SwitchTower SSH port
Hi !
Following Ezra's suggestions on http://brainspl.at/pages/perfect_vps,
I changed the port sshd listens to.
I'm trying to setup SwitchTower, and I don't know how to set the port.
Where should that be configured ? I can't see anything in
switchtower.rake, nor can I see it in the source.
If this already exists, can anybody point me t...
2006 Jun 30
3
New release of ez-where plugin
...ot;
}
end
=>["(articles.title LIKE ? OR articles.body LIKE ?
OR articles.extended LIKE ?) AND ((authors.name = ?)
OR (comments.body LIKE ?))", "%foo%", "%foo%", "%foo%", "Ezra", "%
foo%"]
More examples on my blog:
http://brainspl.at/articles/2006/06/30/new-release-of-ez_where-plugin
Get it here:
$ script/plugin install svn://rubyforge.org//var/svn/ez-where
Mailing list here:
http://rubyforge.org/mailman/listinfo/ez-where-devel
Cheers-
-Ezra
-------------- next part --------------
An HTML attachment was scrubbed...
URL...
2006 Jan 31
11
ez_where plugin updated features.
...ite with fixtures that covers all the available
syntax. Look at the test suite for more syntax possibilities. There
have been many additions since my last release. Fabien Atelier has
been working on this with me and has added a bunch of great code.
You can get it from here:
http://http://brainspl.at/opensvn.csie.org/ezra/rails/plugins/dev/
ez_where/
This is a request for feedback. I want to solidify the api soon so
suggestions are welcome.
Here''s a snippet from the README:
Welcome to the new improved ez_where plugin for rails. This plugin is
meant
to be used as a nice ruby...
2006 Feb 23
13
Check if a saved user''s name is admin
Hi all,
I have a question about this method in my User model:
# Returns true for the (saved) user called "admin"
def is_the_administrator
true if save and name == "admin"
end
The method returns true if the user''s name is admin. However, I only want to
return true if the state of the object is "saved", so I call the save method
first.
I''m
2006 Apr 27
3
Books, other resources for new Rails VPS sysadmin
Hello!
Since Virtual Private Server seems to be the only way to run Rails
apps without problems, so in the future I will need to become a Linux
sysadmin.
I plan on using debian (as per Ezra''s instructions in <http://
brainspl.at/pages/perfect_vps>).
Rails VPS sysadmin is not the same as general Linux sysadmin, since
only webserver, db and email are of interest (and of course all Rails
stuff). So probably general Linux sysadmin books/resources are too
much for me. Or not? Tell me...
Are there any books (I am n...
2006 Feb 07
14
Production Server That Just Works?
Hi,
Love Rails...
I''m looking for a Production Quality Server that brings the same ease of
use as Rails does to web development.
I''ve tried TextDrive, and never got it to work. I''m sure there are good
reasons why it didn''t work but they are beyond me. I''ve contacted tech
support there several times, and it seems that there are so many setups
that
2006 Aug 19
3
Special ruby language for describing sql conditions
I was brainstorming today about a smooth way to define conditions in an
sql query, when the numbers of attributes increase, so does the uglyness.
So instead of passing a hash, I thought you could specify the conditions
directly in code.
I hacked together some example code which actually turned out to work.
The result is concise and pretty beutiful.
def search(params)
Ad.find(:all) do
2006 Feb 27
3
Send parameter along with method in before_filter
Hello list,
I have an app that has a very simple authorization scheme. A person can have
many roles and roles can have many people.
In my app, I''d like to do
before_filter :login_required (since no role name is provided, it accepts
any users with credentials)
before_filter :login_required ("administrator") (only accepts those with
role administrator)
before_filter
2006 Aug 04
5
Mongrel Cluster Compatibility
...own the problem/solution
but just wanted to throw out the question to see if anyone was using
this already succesfully or if someone (Dave? :) knew why ferret might
choke on this setup.
I''ve been developing using lighttpd as a server without any problems
-Debian sarge built like
http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install
but I''ve just started testing on a production server
-Debian sarge with with Apache 2.2, mod_proxy_balancer and Mongrel built
like
http://forums.rimuhosting.com/forums/showthread.php?t=230
and
http://blog.innere...
2006 Mar 04
4
authorization framework?
There are a number of good authentication frameworks for rails - has anyone
developed a generic authorization framework?
I''m thinking of something that included the concept of roles, mapped roles
to both actions and users and could be used to wrap actions before their
invocation.
Extra good would be some way to check data permissions (as in, "yes you can
perform the ''Edit
2006 Apr 26
3
Dead Simple Deployment
...up. I would love for more folks to
experiment with this type of setup to expose any issues it may have
as a production environment. I have had zero issues with it so far
and I am able to get 800-1000 req/sec for static assets and 70-140
req/sec for full blown dynamic rails pages.
http://brainspl.at/articles/2006/04/26/dead-simple-deployment
Let me know what you think.
Cheers-
-Ezra
2006 Feb 02
1
FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
In case this helps anyone I recently finished setting up a Debian server
closely following Ezra''s excellent guidance @
http://brainspl.at/rails_stack.html.
I used newer libraries in some cases (and mysql 5.0) and everything worked
great until the end when lighttpd wouldn''t start. I finally figured out
that Lighty 1.4.9 has a problem working with rails out-of-the-box. See
ticket http://trac.lighttpd.net/trac/ticket/487...