search for: slugs

Displaying 20 results from an estimated 75 matches for "slugs".

Did you mean: plugs
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 sl...
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
2010 Sep 22
2
How to fix error: 'x' and 'y' lengths differ
...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? Thanks for the help. Heres what i did. > attach(slugs) > slugs product slugs 1 bustaslug 5 2 bustaslug 2 3 bustaslug 3 4 bustaslug 0 5 bustaslug 4 6 bustaslug 4 7 bustaslug 1 8 bustaslug 5 9 bustaslug 6 10 bustaslug 4 11 productX 0 12 productX 3 13 productX 4 14 productX...
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
2008 May 14
3
New blog application post slugs
Hello. I''m creating my own RESTful blog app. I am wondering about creating post slugs. I think Wordpress creates a slug at post creation time and stores the string in the database, then uses that for URLs. I read about the acts_as_sluggable strategy (http:// agilewebdevelopment.com/plugins/acts_as_sluggable) but I don''t like having a number (the ID) in the URL. Any imple...
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.
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: > jj$levels(f)[1] Error: attempt to apply non-function > do.call("$",jj,levels(f)[1]) Error in if (quote) { : argument is no...
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server ActionView::Template::Error (You did not provide both required access keys. Please provide the access_key_id and the secret_access_key.): -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
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
2011 Sep 24
4
Heroku Slugsize shot up drastically
Hi, Locally my application is 7MB without tests and logs, etc. The .git folder is 29 MB. I also have no gems / plugins in vendor folder. 95% of images sit on S3. However on committing to Heroku it shows -----> Compiled slug size is 62.7MB What is wrong? It happened? To add more context my .gitignore file is .bundle, db/.sqlite3, config/ database.yml, log/.log, tmp/, .idea, .redcar,
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
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 di...
2005 Dec 13
1
slug of zombies
after booting a CentOS 4.2 system I have a bunch of zombies... root 2828 0.0 0.0 0 0 ? Z 14:41 0:00 [chvt] <defunct> My read from googling this is chvt stems from something that involves a shell. They ***may*** have been created from my attempts to start mysqld which isn't working (I will start another thread) but no efforts to kill them off are working...
2006 Jun 14
3
WRTG54GS Capacity
Does anyone know how many simultaneous calls can a WRTG54GS handle? Assuming SIP phones are connected locally using G711.u codec and the WRTG54GS connects to a remote Asterisk server using IAX2 trunking using GSM codec. Thanks, Daniel
2010 Aug 15
0
Singular resources namespaced by its slug (Routing)
Hi, I have the followed Rails 3 routes: Hello::Application.routes.draw do resources :blogs do resources :articles do resources :comments end end end By raking them, we can find (for instance): GET /blogs/:blog_id/articles(.:format) {:action=>"index", :controller=>"articles"} Because every routes begin with the
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
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
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
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