search for: slug

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

Did you mean: plug
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 s...
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...
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?...
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 impl...
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. Currently I use this command on greywolf to push-backup some key files to the external drive: rsync -avz --delete --numeric-ids /home/paul/somefiles -e ssh paul@slug:/backup/edgy I get asked for p...
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 n...
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 th...
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, .sass-cache/, multi_xml/, test/, doc/ Please advice -- You received this message because you are subscribed to the Google Groups &quo...
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...
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 d...
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]
...ruby -force_reinstall successful then gem install rails (I receive the following error) [~] # gem install rails Building native extensions. This could take a while... ERROR: Error installing rails: ERROR: Failed to build gem native extension. /opt/bin/ruby extconf.rb creating Makefile make /home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu-gcc -I. -I/opt/include/ruby-1.9.1/i686-linux -I/opt/include/ruby-1.9.1/ruby/backward -I/opt/include/ruby-1.9.1 -I. -DJSON_GENERATOR -O2 -O2 -I/home/slug/optware/ts509/staging/opt/include -D_FILE_OFFSET_BITS=64 -fPIC -O2 -...
2005 Mar 05
3
routes inconsistency?
...duce that URL for you), while the ones that don''t specify an :id seem to work both ways. (hours later) Ok, I''ve played around with it a bit, and I''ve come up with a "kinda" solution, something that works but is ugly. First, I added a column to my table, "slug", which is a short, unique keyword to identify each page. Then I added this field to my edit template and adjusted the model to properly validate it''s uniqueness & length. Afterwards, I added this method to my controller: def show_by_slug @page = Page.find_by_slug(@params[&...
2003 Jul 28
1
joining samba domain 3-b3 with windows XP Pro
...he logfile and it returns ok, I can connect to a share using the login details in LDAP. I am just not sure what exactly is failing, the logs don't contain anything that looks like an error (to me at least). Any ideas on what is happening? (extra debugging tips etc.) ---Gareth Walters -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
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 => params[ :page ] ) end end def parade if not @contest.nil? @videos = Video.paginate( :all, :include => { :ad =&gt...
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 returne...