Displaying 20 results from an estimated 600 matches similar to: "New blog application post slugs"
2004 Nov 16
1
lme, two random effects, poisson distribution
Hello,
I have a dataset concerning slugs. For each slug, the number of
pumps per one time slot was counted. The number of pumps follows
Bi(30, p) where p is very small, thus could be approximated by
Poisson dist. (# of pumps is very often = 0)
The slugs were observed during 12 time slots which are correlated in
time as AR(1). The time slots are divided into two categories:
Resting time
2010 Sep 22
2
How to fix error: 'x' and 'y' lengths differ
Hi, im a student so still very new to R. Hope someone could help me out here
=)
They are 3 slug control products, bustaslug, product X and Y. Im ask to
explore the data by plot() and tapply(). But when i try to plot or use the
tapply command, it tells me that the x and y lengths differ. so im thinking
its because the data is unbalanced? Is there a simple command that i could
use to fix this?
2006 Jul 18
2
how to generate calculated db fields
I''m trying to generate a "page slug" i.e. a url sanitized id from
some text in my model that I want to be saved into the database and
I''m not seeing how I can do it.
The closest I''ve come to getting this to work has been...
class Page < ActiveRecord::Base
attr :name
before_save :generate_slug
def generate_slug
self.slug = self.name.gsub
2009 Oct 23
1
access elements of a named list using a factor
Hi
I have a factor 'f' and a named list 'jj'.
I want names(jj) to match up with levels(f).
How do I use levels(f) to access elements of jj?
> f <- factor(c("pigs","pigs","slugs"))
> f
[1] pigs pigs slugs
Levels: pigs slugs
>
> jj <- list(pigs=1:10,slugs=1:3)
My attempts to produce jj$pigs all give errors:
>
2008 Aug 27
6
Restful routes
Hi, I''m pretty new to the concept of restful routing and am struggling
to find any rails 2 info that helps with what I''m looking for.
I have a regular scaffold setup and the routes are setup as default
map.resources :pages
I would like to be able to use titles in the url rather than relying on
the id.
Eg
localhost:3000/pages/sometitle
instead of just
localhost:3000/pages/1
2007 Nov 28
1
Cross-compiling asterisk-1.4 for Debian on a slug
Hi folks!
I planned to put asterisk-1.4 on my slug (one of these embedded devices).
Since i don't want to compile it natively on this slow processor, i need
a cross-compile toolchain. I tried out several ways such as manually
compiling binutils and gcc, or using scratchbox. All of these with the
result that i got binaries for machines except the one i wanted! :(
I then have been given a link
2012 Mar 14
5
Does Ruby 1.9 support Unicode normalization yet?
In the process of upgrading from 1.8 to 1.9 we are getting a lot of
warnings about "Ruby 1.9 doesn''t support Unicode normalization yet".
However the commit that added those lines is from 2008 and just
mentions "Ruby 1.9 compat: no Unicode normalization support yet"
without any references. Does anyone know whether this is still true
for ruby 1.9 and for which minor
2010 Jun 21
4
Failing Routes in deployment
I have an app that has the following in the routes file:
namespace "admin" do
# ADMINISTRATIVE ROUTES ONLY
root :to => ''home#index''
resources :comments do
member do
get :approve
get :reject
end
end
resources :users do
member do
get :block
get :unblock
end
end
end
When browing to
2008 Dec 04
1
permalink_fu and Rails 2.2.2
Hi,
Since I have updated my Rails gems to 2.2.2, when I create a new entry
in DB which has a permalink I get the following error message:
uninitialized constant ActiveSupport::Multibyte::Handlers
Do you know if permalink_fu is compatible with Rails 2.2.2? Is there an
option I have forgotten to pass to make it work correctly?
--
Posted via http://www.ruby-forum.com/.
2010 Nov 29
4
Error heroku: App Crashed
Hi ,
i developed a small application(which contails only static pages) . I
tried to host that on heroku .just when everything was finished when
i
opened my site i,e http://floating-moon-89.heroku.com/ i am getting
an
error as App Crashed..where did it gone wrong? pls help...
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2013 Feb 17
1
Error on installation of Ruby On Rails on QNAP TS809U-RP [Linux]
I am not sure where I should even begin troubleshooting this. I know a
little bit about Linux and am comfortable editing files and running
commands however definitely not a Linux guru. I have ipkg already installed
on the QNAP. I know absolutely nothing about ruby on rails. Thanks for any
help.
For those that are not familiar with a QNAP, ipkg is the same as apt-get or
yum in some Linux
2005 Mar 05
3
routes inconsistency?
Hello,
As a small excercise in learning rails, I''ve been porting a very
simple website from SSI to rails (yep, a bunch of static files that
were previously served with a tiny bit of SSI magic are now served by
a database-backed rails, it''s total overkill, I know). Part of the
reason is that I''m trying to move from apache to lighttpd, and
lighttpd''s SSI for
2009 Feb 03
1
Can't compile on NSLU2 LE
Hi,
I keep getting the following on my slug no matter what version I try (1.2, 1.4, 1.6, 1.6svn):
...
make[2]: Leaving directory `/usr/portage/distfiles/svn/trunk/menuselect/mxml'
gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
menuselect.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
distcc[19221] ERROR: compile (null) on
2003 Apr 22
0
Correct SE in a poisson model.
Hi all,
I'm here again with my newbies questions :(
I have a simple example:
count of slugs in two fields.
I need to make a barplot with mean and SE of mean.
So I have:
The mean:
> tapply(slugs,field,mean)
Nursery Rookery
1.275 2.275
The SE:
> tapply(slugs,field,sd)/sqrt(tapply(slugs,field,length))
Nursery Rookery
0.3651264 0.3508004
If the data has been normally
2006 Nov 16
0
rsync-ssh problem
I am having a real nightmare getting automated login with ssh to work;
hoping someone can guide me. I am running Ubuntu 6.10.
I have a main machine (called greywolf) which has a partition for
my /home on it. I am doing backups to an extrnal usb drive attached to
a Linksys NSLU2 (called slug) running UnSlung firmware. All hosts,
networking, shares, firewall & such stuff is working fine.
2008 Feb 12
3
Rsync to a Read Only file system
I think your product is awesome, but I am experiencing an unexpected
behaviour.
$ rsync -avviPH /Users/alan/Desktop/rsync_test\ Folder/
root@slug::Downloads
opening tcp connection to slug port 873
sending daemon args: --server -vvlHogDtpre30.16i "--log-format=%i" --
partial . Downloads
sending incremental file list
.d..t..g... ./
rsync: failed to write xattr user.rsync.%stat for
2002 Oct 18
6
winbind, getent and wbinfo
Guess I'll ask again . . .
[Samba] Winbind and groups Bub Slug bub1slug@hotmail.com
Sun Oct 13 02:35:01 2002
Previous message: [Samba] Strictly Private.
Next message: [Samba] Winbind and groups
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I'm trying to get a samba server which is all by itself, No Windows DCs, or
even windows shares at all, to play nice
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
2008 Jun 13
0
DRYing some controller code
def index
if not @contest.nil?
@videos = Video.paginate( :all, :include => { :ad
=> :contest }, :page => params[ :page ],
:conditions => [ "videos.state = ''published'' AND
contests.slug = ?", @contest.slug ] )
else
@videos = Video.paginate( :all, :conditions => { :state =>
''published'' }, :page
2003 Jul 28
1
joining samba domain 3-b3 with windows XP Pro
G'day all,
I have Samba 3 beta 3 running on a RH9 box,(OpenLDAP backend)
trying to make it a PDC.
Everything seems to be working ok (see shares, browse etc)
except I cannot add a machine to the domain.
Windows XP Pro as the client, (registry settings changed)
after I enter the admin user account details to join the domain
I get the following error message...
The user name could not be