Bye bye Sun and Solaris :-(
So sad… but it’s inevitable, Oracle killing Solaris and Sun. Oracle Finally Killed Sun
So sad… but it’s inevitable, Oracle killing Solaris and Sun. Oracle Finally Killed Sun
This news was buried among many other news, but I felt that it deserves more people knowing about it. It is about “fair use” of publicly available web content. What is “fair use” and when can content be restricted. The original article is here. A small company called hiQ is locked in a high-stakes battle…
12/18/12 Update: not all is peachy keen. Login and autocreate account works, but logout can be an issue. I need to clear the session cookie when someone logout. Have not gotten around to coding that yet. After a bit of fiddling around, I finally got ajaxplorer working with (ldap) kerberos5 as the backend authentication/access. We…
We have a need for dynamic handling of robots.txt file as we have different requirements for production, staging, dev, test, etc. Google-fu shows various way to do this, some for Rails 2.x, some for Rails 3.x. Here is my version. First is to edit config/routes.rb and add this line: match ‘/robots.txt’ => RobotsGenerator Then add…
So I am setting up a Continous Integration server using CruiseControl.rb and was getting these errors. I am on a RoR 3.1.x env and pointing to my local (same server) postfix for SMTP. I don’t need SSL. OpenSSL::SSL::SSLError (hostname was not match with the server certificate): /usr/lib/ruby/1.8/openssl/ssl.rb:123:in `post_connection_check’ /usr/lib/ruby/1.8/net/smtp.rb:582:in `tlsconnect’ /usr/lib/ruby/1.8/net/smtp.rb:562:in `do_start’ /usr/lib/ruby/1.8/net/smtp.rb:525:in `start’ http://scottiestech.info/2009/12/21/fixing-the-actionmailer-hostname-not-match-server-certificate-error/…
I have a Ruby script that update our Google Doc spreadsheet as part of releases. The script has been working for years, then suddenly started failing with errors like this one: /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.2/lib/nokogiri/xml/node.rb:159:in `evaluate’: Invalid expression: .//xmlns:link[@xmlns:@rel = ‘http://schemas.google.com/spreadsheets/2006#cellsfeed’] (Nokogiri::XML::XPath::SyntaxError) from /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.2/lib/nokogiri/xml/node.rb:159:in `block in xpath’ from /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.2/lib/nokogiri/xml/node.rb:150:in `map’ from /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.2/lib/nokogiri/xml/node.rb:150:in `xpath’ from /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.2/lib/nokogiri/xml/node.rb:214:in `css’ from /usr/local/lib/ruby/gems/1.9.1/gems/google-spreadsheet-ruby-0.1.6/lib/google_spreadsheet.rb:648:in…
Overcoming RoR Performance Challenges Meetup The talk was on best practices and some tips on looking for problems and how the panelists worked around them. There are no “magic” bullet like Ruby or RoR has 🙂 Essentials: Watch out when using ActiveRecord. It make it too easy to use DB. It make it too easy…