search for: tenderlove

Displaying 20 results from an estimated 20 matches for "tenderlove".

2012 Jun 02
1
Determining frequency and period of a wave
...39;m pretty new to R, so I'm not sure how to figure this out. I *suspect* I should be doing an fft on the temperature data, but I'm not sure where to go from there. Here is a graph I'm producing: http://i.imgur.com/WpsDi.png Here is the program I have so far: https://github.com/tenderlove/rsausage/blob/master/graphing.r I have posted a repository with a SQLite database that has the data I've collected here: https://github.com/tenderlove/rsausage Any help would be greatly appreciated! -- Aaron Patterson http://tenderlovemaking.com/ -------------- next part --------------...
2012 Jan 27
2
dealing with Encoding::UndefinedConversionError: "\xA2" from ASCII-8BIT to UTF-8
I''m 99% certain that this is what''s being discussed in https://github.com/tenderlove/mechanize/issues/168 But I''m not sure what the remedy is. My production app is running on Heroku, so I need a fix that I can push there. Can someone post instructions that this neophyte can follow? (I gather I''m supposed to fork and add the current master version from github t...
2013 Mar 26
2
Using rack.hijack with ActionController::Live
Pinging @tenderlove Some questions on how best to move forward with this: 1.) AC::Live is making use of the stream object on ActionDispatch::Response. Should the rack.hijack_io object be used instead of this in AC::Live or should ActionDispatch::Response be changed to use rack.hijack_io? 2.) What do you think ab...
2013 Feb 19
4
Float::INFINITY ranges in where() clause
This seems like such an obvious idea that I''m having trouble believing I''m the first to think of it. Why not take ranges containing Float::INFINITY and translate them to the appropriate greater than or less than comparisons? Example: class Person scope :voters, -> { where(born_on: (-Float::INFINITY..18.years.ago)) } end This would generate something along the lines of
2009 Dec 23
4
html parser / assertions in a model
I am using http.get in a model to parse html code returned from a Oracle server. My first try was to use assertions (assert and assert_select) to test and parse the html code. But I have problems including the methods in the model. Have tried both "include" and copy/paste to get assertion methods into my model. Works as a model, but I get load errors when I am using the model from a
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi, I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem. The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt'' Not sure if there are missing gems, and if so,
2012 Jul 17
6
Database connection parameters are tied to the filesystem
HI Guys, I recently tried VERY hard to override the database configuration bassed on ENV vars or actual API calls. This task is almost next to impossible. I know that the database.yml file is parsed as ERB but that is sane for simple ENV replacement if you want to actually change which database adaptor it is (requires extra config/params) it becomes messy. I found
2012 Sep 13
0
Updates to const_get
HELLO other Rails-Core people! I''m trying to push changes to const_get in to ruby-core that will make our lives easier. I''ve pushed a branch of Ruby to github. Can you please check it out to make sure it does what we need? Here is the link: https://github.com/tenderlove/ruby/tree/p2c When we''re happy with the way it works, I''ll do the work make sure it gets merged to ruby trunk. Thanks! <3<3<3<3 -- Aaron Patterson http://tenderlovemaking.com/
2011 Feb 04
1
LIbrary to maintain manage browser sessions from command line
I have to update 80 pages'' compliance terms on our clients existing CMS system. I can''t do this on the back end, and it''s a tedious task I''m looking to automate. These are all in an admin panel, so I am trying to find a library that could at least maintain a session and simulate browser interaction from the command line. Any leads would be helpful! Thanks!
2009 Mar 11
0
problem scrapping ATnT site (Matt White)
...> > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > > ------------------------------ > > Message: 5 > Date: Thu, 5 Mar 2009 09:54:43 -0800 > From: Aaron Patterson <aaron at tenderlovemaking.com> > Subject: [Mechanize-users] [ANN] mechanize 0.9.2 Released > To: Seattle Ruby Brigade! <ruby at zenspider.com>, > ruby-talk at ruby-lang.org, mechanize-users at rubyforge.org > Message-ID: <20090305175443.GA5166 at Jordan2.local> > Content-Typ...
2013 Apr 23
4
Examples of long AND WELL-WRITTEN Ruby scripts
I''m looking for examples of Ruby scripts that are long AND well-written. I have a Ruby script for scraping information on stock ETFs and mutual funds and storing the data in a Postgres database at https://github.com/jhsu802701/bsf-scrape/blob/master/scrape.rb . While I need to make some minor changes to it (like providing external options to choose between the long and short
2009 May 11
7
Upload file with url parameter
I want to upload file using get method. for example, "http://www.mydomain.com/upload?file=c:\test.exe" upload my local file to the remote server. I found one useful link about file uploading here(http:// www.tutorialspoint.com/ruby-on-rails/rails-file-uploading.htm). Even I''ve changed some code in order to fit my rails version, it worked well. But the problem is I have use
2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
Hi everyone! Im trying to install mechanizer from http://github.com/tenderlove/mechanize. I`ve clone the project into /tmp folder. When I do rake inside the folder /tmp/mechanizer it gives me this error: mac159180:mechanize renatosis$ rake (in /private/tmp/mechanize) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w -Ilib:bin:test:. -e ''require...
2009 Aug 11
13
I've decided to use Rails... (I hope I made the right decision).
I''ve read a ton of comparisons that compare one framework to another, and one language to another. There''s so much conflicting advice out there that it''s hard to know what is best. Did I make the right choice choosing Rails for my first web project? I guess we''ll see. The only reason why I''m hesitant is that a lot of the big name sites use php
2013 Nov 28
74
Remove :js responder
https://github.com/rails/rails/issues/12374#issuecomment-29446761 Here in discussion I proposed to deprecate JS responder because this technique is insecure and not pragmatic way to transfer data. It can be exploited in this way http://homakov.blogspot.com/2013/05/do-not-use-rjs-like-techniques.html i find this bug very often so i know what i''m talking about. With it attacker can
2012 Jul 26
0
Ruby on Rails version 3.1.7 has been released!
...ails/blob/v3.1.7/railties/CHANGELOG.md) A comprehensive list of changes can be found on github: https://github.com/rails/rails/compare/v3.1.6...v3.1.7 Thanks to all the contributors, especially everyone who tested the release candidate. I appreciate it! <3<3 -- Aaron Patterson http://tenderlovemaking.com/
2013 Oct 16
2
Ruby on Rails 3.2.15 has been released!
....15.gem da220b9b6f37871d7f32f4c66fe33d42acc92a5a rails-3.2.15.gem 66e189a5331dabc675459001d57e0fd906f3a888 railties-3.2.15.gem ``` I''d like to thank you all, every contributor who helped with this release, especially everyone who tried the release candidates. -- Aaron Patterson http://tenderlovemaking.com/
2013 Oct 16
2
Ruby on Rails 3.2.15 has been released!
....15.gem da220b9b6f37871d7f32f4c66fe33d42acc92a5a rails-3.2.15.gem 66e189a5331dabc675459001d57e0fd906f3a888 railties-3.2.15.gem ``` I''d like to thank you all, every contributor who helped with this release, especially everyone who tried the release candidates. -- Aaron Patterson http://tenderlovemaking.com/
2013 Jan 08
3
[SEC] Rails 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released!
...82f974be7e65765819824e87bdb3cfd activerecord-2.3.15.gem 4644b7a27993f7860d9e176f51dfa52d8f029ec9 activeresource-2.3.15.gem 64843e3676c20a49060605546dfcdddaef2ea1a8 activesupport-2.3.15.gem c8c0c49c63ca0f9acc3e0967b38d92b1c0b115af rails-2.3.15.gem ``` <3<3<3 -- Aaron Patterson http://tenderlovemaking.com/
2013 Jan 08
3
[SEC] Rails 3.2.11, 3.1.10, 3.0.19, and 2.3.15 have been released!
...82f974be7e65765819824e87bdb3cfd activerecord-2.3.15.gem 4644b7a27993f7860d9e176f51dfa52d8f029ec9 activeresource-2.3.15.gem 64843e3676c20a49060605546dfcdddaef2ea1a8 activesupport-2.3.15.gem c8c0c49c63ca0f9acc3e0967b38d92b1c0b115af rails-2.3.15.gem ``` <3<3<3 -- Aaron Patterson http://tenderlovemaking.com/