search for: amrita

Displaying 20 results from an estimated 23 matches for "amrita".

2009 Sep 11
2
Anyone know why __END__ and DATA don't work in Rails?
When writing Ruby you have the option to end the file early with __END__. Anything after the __END__ is assigned to a constant called DATA which is available within the file. I recently tried using this in Rails and it didn''t work. Instead I get an uninitialized constant exception. Anyone know why? Has it been disabled in Rails? thanks Gavin
2009 Aug 14
9
Rescuing from REXML::ParseException
Hello, When I call an action with some invalid XML or JSON data a parse exception gets raised from within Rails/Ruby (REXML or ActiveSupport::JSON). The problem that I''ve got is how to handle these exceptions. In my application_controller.rb I have the following for debugging purposes: def rescue_action_in_public(exception) respond_to do |request| request.all { render :text =>
2011 Jun 16
2
Save the results of data analysis in R
Hi everyone, I want to do data analysis using the values retrieved from a MySQL database. Is there a way to save the results of data analysis in R. [[alternative HTML version deleted]]
2008 Oct 07
7
Rails production version not accessible from other machines
Hi, I just deployed my first rails application in production mode using Capistrano and mongrel clusters. Here are the lines in my mongrel_cluster.yml file. cwd: /myrailsdeploymath/current log_file: log/mongrel.log port: "8000" environment: production address: myserver.mydomain.org id_file: tmp/pids/mongrel.pid servers: 3 My development and production machine are the same. When I run
2011 Jun 14
1
Setting up RODBC or RMySQL package.
...r accessing MySQL Db a connector is required.For that can i use the mysql db which is a part of WAMP server or use separate mysql db. I know there is a package called RMySQL. But i find it very difficult to install the RMySQL package under .Which is better one for accessing MySQL Database. Thanks Amrita [[alternative HTML version deleted]]
2011 Jun 20
2
analysis with the data from mysql database
Hi everyone, I have certain values retrieved from mysql database.How can i do certain analysis like histogram, correlational analysis tc using this data,I tried it. But when i tried to plot a histogram it actually showed error the data is not numeric evenif it was stored as integer data type in mysql db. Please anyone help. Can anyone specify the steps for doing data analysis after
2011 Jun 08
5
Can we prepare a questionaire in R
Is there a way to prepare a questionnaire in R like html forms whose data can be directly populated into R????? [[alternative HTML version deleted]]
2006 Jul 26
4
MasterView rails-optimize (x)html friendly template engine - Release 0.2.4
...s helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives be very similar to rails helpers so that one could intuitively start using MasterView with little learning curve other than knowing rails. MasterView was inspired by Amrita, Kwartz, Tapestry, Zope/PHP TAL, Liquid, and Web Objects but designed with a fresh approach and specifically targetted for rails users. Release Notes Release 0.2.4 Fixed apache2 scgi problem where masterview was not being loaded at startup. Added Interactive template console to admin pages for...
2001 Nov 07
2
Flaw in empty password authentication in sshd
...enter. >Fix: This problem can be overcome if "pam_authenticate" is called with "PAM_DISALLOW_NULL_AUTHTOK" flag if empty passwords are not permitted. A possible patch for the problem is given below: *** auth-pam.c Tue Apr 24 00:08:37 2001 --- auth-amrita.c Tue Nov 6 22:58:46 2001 *************** *** 203,208 **** --- 203,209 ---- { extern ServerOptions options; int pam_retval; + int flags=0; do_pam_set_conv(&conv); *************** *** 217,223 **** __pampasswd = password;...
2006 Apr 05
25
How to avoid bunch of <% %> ??
Hello, I would like to know is there is a way to avoid poluting the views with tons of <% %> ? Like this <%= start_form_tag() %> <%= text_field_tag(''category[title]'', category.title, {:size => 20, :maxlength => 128}) %> <% if not category.parent_id.nil? %> <%= select("category", "parent_id", Category.find(:all,
2006 Jun 21
2
MasterView rails-optimized (x)html friendly template engine plugin - Release 0.2.0
...s helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives be very similar to rails helpers so that one could intuitively start using MasterView with little learning curve other than knowing rails. MasterView was inspired by Amrita, Kwartz, Tapestry, Zope/PHP TAL, Liquid, and Web Objects but designed with a fresh approach and specifically targetted for rails users. Allow your web designers to work on the design while the developers focus on coding. To get you up and running quickly the MasterView generator creates usable sty...
2008 Jul 21
0
Re: Listing user jobs
...<% @jobs = userjobs() %> <% for job in @jobs %> <%=h job.status %> <%=h job.filename %> <%=h job.created_at %> <%=h job.updated_at %> <br> <% end %> If you are reading this and this is not the best way to do this, please let me know. Thanks, Amrita --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send e...
2008 Jul 23
0
undefined method `first' for :users:Symbol
...h an extension # instead of a file named ''wsdl'' map.connect '':controller/service.wsdl'', :action => ''wsdl'' # Install the default route as the lowest priority. map.connect '':controller/:action/:id'' end Thanks a lot! Amrita --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send e...
2006 Jun 16
0
[ADV] Ruby / RoR Training Camp, Pune (India)
...Objects 2. Object space 3. Freezing objects 4. Tainted objects 5. Marshaling Objects Hour 3: Networking and Databases ------- 1. Net Library: ftp/http/smtp/telnet/pop3 2. DBI Library 3. Threading 4. DRb/Rinda 5. SOAP/XMLRPC Hour 4: Web ------ 1. CGI Library 2. Templating engines: ERB, Amrita 3. REXML 4. Redcloth/Bluecloth 5. YAML 6. Webservers: Webrick, Mongrel Hour 5: Extending/Embedding Ruby ------- ------- 1. Ruby in C 2. C in Ruby 3. JRuby 4. Ruby.NET Hour 6: Case Study ------- 1. Write a complete application: tests first! 2. Create a gem 3. Document using...
2010 Mar 30
1
Need help in speex..
Hi, Vipin, What you're going to want to do here is convert your 8-bit stereo samples into 16-bit mono samples and back again when you're done(*). What you are actually doing here, it sounds like, is feeding 2 8-bit mono samples into Jspeex, which expects 16-bit mono. So, the most-significant-byte is in the right channel, and more or less gets encoded/decoded properly, but the
2010 Mar 28
3
Need help in speex..
...ime.But when i try to play it back i could hear sound only in right channel.Left channel is fully noise.Stereo mode was used in encoder and decoder.I am not using any format converter during playback..what can be the possible cause of the noise..plz reply -- Regards, Vipin Das MTech CyberSecurity Amrita School of Engineering -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100328/838d6e2e/attachment-0001.htm
2006 Jul 05
0
MasterView rails-optimized (x)html friendly template engine - Release 0.2.3
...s helpers but still be editable/styleable in a WYSIWYG editor. It was also a major goal that the syntax of these attribute directives be very similar to rails helpers so that one could intuitively start using MasterView with little learning curve other than knowing rails. MasterView was inspired by Amrita, Kwartz, Tapestry, Zope/PHP TAL, Liquid, and Web Objects but designed with a fresh approach and specifically targetted for rails users. Video A short video which demos the basic operation is available at http://masterview.org/videos/demo_short.html<http://masterview.org/videos/masterview_quick_...
2006 May 01
3
Your view on MasterView!
Has anybody tried (or will check out) the MasterView plugin? Anything else similar to or better than this? >From http://wiki.rubyonrails.org/rails/pages/MasterView+Plugin "MasterView is a ruby/rails optimized HTML/XHTML friendly template engine. It is designed to use the full power and productivity of rails including layouts, partials, and rails html helpers while still being
2011 Jun 07
1
Populating values from html
can we populate values into an excel sheet from html forms that has to be used in R for data analysis Can we directly retireve the values from html forms into R fro analysis -- View this message in context: http://r.789695.n4.nabble.com/Populating-values-from-html-tp3579215p3579215.html Sent from the R help mailing list archive at Nabble.com.
2011 Jun 16
1
Do a corelational analysis in R
Hi everyone, I retrieved the values of form elements such as radiobuttons, text area,textbox etc into MySQL database. I retieved the values from MySQL db to R using RODBC package. If i want to do a corelational analysis using the values in textarea and radiobutton how is it possible as textarea may contain a variety of values like a sentence or a group of words...Is there any other way to do the