search for: dema

Displaying 20 results from an estimated 64 matches for "dema".

Did you mean: defa
2005 Sep 03
13
acts_as_taggable v2 - Tagging on Steroids
Hi folks, Thanks to the community feedback on the 1st version, I''ve come up with a much improved version of the acts_as_taggable mixin. There´s some piece of the action here: http://dema.ruby.com.br/articles/2005/09/03/tagging-on-steroids-with-rails Cheers Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2005 Aug 16
3
Rails Docs in CHM format
Hi Folks, For the Windows Railers, I''ve made the Rails docs available as a CHM file: http://dema.ruby.com.br/articles/2005/08/16/rails-docs-in-chm-format Cheers, Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2005 Sep 06
9
acts_as_taggable v4 - Tag Counting Anyone?
...e'' => 37, ''vodka'' => ''22'', ... } # Gets the tags count that are greater than 30 Photo.tags_count :count => ''> 30'' # => { ''beer'' => 68, ''wine'' => 37 } More about it here: http://dema.ruby.com.br/articles/2005/09/06/tag-counting-anyone I promise this is the last release of the week. ;-) Cheers, Demetrius -- http://dema.ruby.com.br - Rails from a .NET perspective
2006 Sep 12
1
acts_as_taggable -- which one?
There appear to be three acts_as_taggable implementations and I''m looking for a recommendation on which to use. - Gem - DHH plugin - Dema mixin The Gem implementation appears to be obsolescent, from what I can read on the lists and Google search. I like that the DHH plugin uses polymorphic associations because there will be lots of different taggable items in my application; however, adding and removing tags is a bolt-on, not desig...
2005 Sep 06
6
strange behavior of acts_as_taggable
I was testing my models with this new library and I got: >> s.tag "warp" ActiveRecord::StatementInvalid: ERROR: inserción o actualización en la tabla «tags_stories» viola la llave foránea «tags_stories_story_id_fkey» DETAIL: La llave (story_id)=(8) no está presente en la tabla «stories». : INSERT INTO tags_stories ("tag_id", "story_id") VALUES
2005 Jun 08
7
Rails/lighttpd: Changes to controller not being seen?
This is a weird one: My app works fine on our local box with webrick. After uploading to TxD server, the app starts behaving weirdly. I make some edits to one of the controllers and my changes don''t seem to be going through. So I go ahead and change the name of the controller file. The page loads without error. I figure maybe I''m in the wrong directory, so I change the
2006 Jan 01
4
rails under windows and mysql make webrick unstable
...ruby and rails under windows(exactly this one: http://rubyforge.org/frs/download.php/4174/ruby182-15.exe that includes rubygems) the thing is that while trying to install the mysql gem, it seemd to try to build the native extension, so I finally added a compiled version that I found in http://dema.ruby.com.br/ the problem is that webrick behaves quite unstable while querying to the database and makes it to close too often. is anyone suffering this too? any recomendation? thanks in advance
2005 Aug 27
0
acs_as_taggable : easy tagging with Rails
Hi there, If you''re building a web application that uses tags, you might want to take a look here: http://dema.ruby.com.br/articles/2005/08/27/easy-tagging-with-rails Cheers, Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2016 May 22
3
Problemas con For
...n estola idea es que para cada valor del frame x4 si es cero ponga cerosino que ponga un valor del frame Nsinel cual tiene una estructura como % | n25% | 150% | 275% | 3100% | 4 y x4 tiene una cierta cantidad de valores en 0 (poco menos de la mitad pero varian aleatoriamente) y los demas un valor aleatorio entre 0 y 1Tomando en cuenta que si el valor que busco de x4 es menor que Nsin$% entonces ponga el valor de Nsin%nfor (i in 1:nrow(x4)) {x4[i,5] <- ifelse(x4[i,5]==0,0, for (j in 1:nrow(Nsin)) { ifelse(x4[i,5]<Nsin[j,1],...
2010 May 11
3
Smoothing Techniques - short stepwise functions with spikes
...hown in the diagram. These spikes do not have more than one or two points. I consider larger groups as relevant and want to keep them in. I sometimes have less than 5 points for each step, and up to 50 at max. Given these conditions would you suggest using one of the moving averages (e.g. SMA, EMA, DEMA, ...) or the locally linear regression (lowress) method. Are there any other options? Does anybody know a good site that overviews all methods without going to much into mathematical details but rather focusing on the requirements and underlying assumptions of each method? Is there perhaps even a p...
2005 Jul 04
4
form_remote_tag works on Firefox but not in IE
Hi, I''m having troubles using form_remote_tag to render a partial (a new row in a table). It works on Firefox but with IE 6 nothing happens when I submit the form. I''m running WEBrick on windows localhost. Here is what I noticed : * using Firefox: 127.0.0.1 - - [02/Jul/2005:14:35:35 W. Europe Daylight Time] "POST /item/addItemRow HTTP/1.1" 200 267 - ->
2013 Jul 19
1
organizar datos
...s ordenar los mismos por columna, una junto a la otra, estacion por estacion... esto es, los datos estan ordenados una estacion debajo de la otra, pero los necesito agrupados por el campo SUMATORIA, una estacion al lado de la otra organizadas en filas por año. Agradezco sugerencias, indicaciones y demas, incluidas criticas constructivas.... -- Luis Alfonso LOPEZ ALVAREZ MSc- Meteorologia - Ing. Sistemas PROFESIONAL ESPECIALIZADO (E) METEOROLOGO - IDEAM e-mail: llopez en ideam.gov.co a.lopez.wrf en gmail.com acalopez97 en yahoo.com ------------ próxima parte ------------ Se...
2005 Sep 13
5
acts_as_taggable 1.0.4 now gemified!
Hi Folks, The acts_as_taggable mixin is now available as a shiny gem. More details here: http://dema.ruby.com.br/articles/2005/09/13/acts-as-taggable-gemified This release features some cool additions as well. Cheers Dema -- http://dema.ruby.com.br - Rails from a .NET perspective
2012 May 15
6
Curva dosis-respuesta
...lp-es, Estoy interesado en estimar una curva dosis-respuesta para un conjunto de datos y para ello, estoy utilizando la libreria "drm". Hasta ahi todo bien. Me gustaria automatizar algunas cosas y el primer paso para ello es la estimacion del modelo. Si la estimacion funciona, todo lo demas funciona; de lo contrario, todo fallara. Tengo algunas lineas que mitigan un poco el problema, pero no cuando hay problemas de convergencia como el que se ilustra a continuacion: # datos d <- structure(list(y = c(509.75, 498.8629, 584.9069, 808.5421, 679.3904, 597.3327, 561.4653, 496.4428, 47...
2012 Nov 09
6
(sin asunto)
...,select=1:i) nam=paste("r",i,sep=".") orden.4=assign(nam,orden.3)} despues de correr la funcion en la consola, y aplicar la funcion que he creado, me sale objeto i no encontrado, no entiendo por que pasa eso, si en el bucle estoy diciendo que i va desde 1 a "n" y las demas ordenes tienen al objeto i indicado. Gabriel Antonio Trujillo Paucar Estudiante de Biologia 997603768 [[alternative HTML version deleted]]
2014 Feb 16
1
permissions not work
...ustedes me pueden ayudar... mi ingles es muy malo yo hablo espa?ol... yo instale samba4 en ubuntu 12 y todo anda bien, puedo unir computadoras al dominio y puedo crear usuarios. Mi problema son los permisos, no se como trabajan!! yo necesito que el due?o de la capeta tenga todos los permisos y los demas usuarios puedan ver el contenido de la carpeta y leer pero NO MODIFICAR NI ELIMINAR... no puedo conseguir eso.. intente todas las combinaciones de permisos en linux y no funciona.. tambien intente cambiar los permisos por la ficha seguridad en el administrador de usuarios y grupos de windows y tam...
2005 Dec 23
6
Stories with many tags, tags with many stories, has_and_belongs_to_many howto?
Hi, I began experimenting with habtm relationships, and so I created a stories table, a tags table, and a stories_tags table referencing the former 2. When I create a "story", I want to add several tags to it. Then, the model should create those tags and link them to the respective stories, and for the tags that already exists, just link them to the story. I tried something like
2006 Apr 08
3
FastCGI issues
...nableSendfile Off EnableMMAP Off Win32DisableAcceptEx FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1 \ -initial-env PATH="c:/ruby/bin;c:/windows/system32;c:/windows;C:/mysql/bin" \ -initial-env RUBYOPT=rubygems in httpd.conf per this article: http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows As soon as I try to access any controller the harddrive starts grinding and Apache''s error log is spammed with [Sat Apr 08 07:00:30 2006] [warn] FastCGI: (dynamic) server "C:/ruby/rails/mata/public/dispatch.fcgi"...
2006 Feb 11
5
acts_as_taggable : plugin vs gem
Googling for acts_as_taggable is a little confusing: gem, plugin?! What are the differences? Which one to choose? Where is the best doc? Alain
2013 Sep 04
3
Fwd: Bienvenido a la lista de distribución R-help-es
Hola Jose, si CONCATENAR significa APILAR, es decir, concantenar verticalmente, por decirlo de algun modo, podrias hacerlo con rbind(): nuevovector <- rbind(vector1,vector2) Si ademas quieres que cada valor de los vectores originales sea identificado en el nuevovector, puedes usar: nuevovector <- stack(vector1,vector2) en este ultimo caso se agrega una columna adicional tipo factor, con el nombre de la columna de los vectores originales. lo demas no lo entiendo :) ojala...