YM4R InfoWindow Broken

October 20th, 2008 tkadom

Today Google updated the google maps api scripts from 2.132d to 2.133d.  This seemingly innocent change caused the infowindows as well as the standard controls to dissapear at a client site.  I have confirmed that other people are having the same issue with this specific version of the file.  I corrected my issue by forcing ym4r to revert to the previous revision in map.rb.  I monkey patched my file for the time being, but hopefully google will correct the problem.  There is a thread in the google group for the map api which reports that at least one other person has the same problem.  You can correct this in ym4r by making a change to map.rb

change (around line 34)

http://maps.google.com/maps?file=api&v=2.x&amp

to

http://maps.google.com/maps?file=api&v=2.132d&amp

then restart your mongrel to force reload of the plugin and your map will work again.  Hopefully google addresses this issue soon.

Tim

 

Update: Looks like the problem relates to a mix of prototype and scriptaculous with the new google maps file.

 

Posted in Rails | No Comments »

An introduction to Merb

October 9th, 2008 tkadom

We had a nice presentation on merb at our ATLRUG meeting last night, and i took a stab at capturing it on video.  I think the stab was pretty bad, but it gave me ideas for how to make it better for next month.  In the meantime, if you want to hear one of our members speak about Merb, check out this

presentation

Posted in Random | No Comments »

A seat at the table…

October 7th, 2008 tkadom

I think the problem affecting wall street today is very similar to the problem affecting our american system of government.  Shareholders are not involved with their companies just as voters are not involved with their representatives.  Shareholders to some degree have an excuse given the lack of shareholder rights, and the tilted proxy voting system which favors management every step of the way.  However, there is no reason why this balance can not be shifted with some oversight and new regulation which would either swing the broker vote, or eliminate it altogether forcing companies to reach out to shareholders to reach quarum in order to pass their agenda’s.

Congress requires oversight just like wall street does.  We now have plenty of watchdog groups springing up which keep an eye on how representatives are voting, but the concern with most of those groups is their partisan nature.  It is the peoples house, why not fund an oversight board that is charged with identifying how many self serving ammendments are made by each member of the hosue and senate.  Why not open the books for all those ammendments?  John McCain said "I will make them famous, and you will know their names!"  After the extra 150 billion in tax incentives that were added to the already staggering 750 bailout package, I am still waiting for someone to make the people who demanded the extra 150 billion famous.  Could we have a list of their names?

As far as the bailout is concerned, I think I would like to have a seat at the table when my mortgage is sold for pennies on the Dollar to some other financial institution.  I think a majority of Americans would welcome the opportunity to buy their mortgage back for pennies on the dollar from the company that wants to get that toxic asset off their books.  It seems to me that the folks who are sub-prime and paying ridiculous interests on their loans wouldnt mind that opportunity either.  They could essentially lower their payment substantially, and in some cases wipe out their debt entirely.  If a bank is only paying 10 cents on the dollar and an 80k mortgage becomes 8000, id wager folks would be happy to put that 8k on their credit card to own their house outright. 

The "solution" congress gave us ignored three better alternatives in the house that all targeted the actual credit problem.  The "no BAILOUTS act" was derived from a successfull swedish program that resolved almost the same issues we are facing in our credit markets today.  What is staggering to me is that in the 750 billion dollars, the issue of foreclosures was not even addressed.  Afterall, it is the large number of foreclosures that is driing down home valuations, and bank balance sheets.  The temporary relaxation of the mark to market accounting rule helps banks with their balance sheets, but does not address the foreclosure crisis.  Maybe allowing home-owners to have a seat at the table when their toxic mortgage is sold for pennies on the dollar would make more sense…  Why hasn’t that been suggested?  If, as a bank, you own a "toxic" mortgage and are willing to sell it for pennies on the dollar… why not offer it to the person who has to pay it back?

Tim

 

Posted in Random | 1 Comment »

Thin is at 1.0

October 1st, 2008 tkadom

 

To: thin-ruby@googlegroups.com, ruby-t@ruby-lang.org
Subject: [ANN] Thin 1.0.0 That’s What She Said release

Hey all,

Thin version 1.0.0 (codename That’s What She Said) is out!

Yes 1.0! That doesn’t mean it’s bug free or anything. But, it does  
mean that it’s been running on a number of servers and no show stopper  
bugs have been found since a while.

Also see http://macournoyer.wordpress.com/2008/09/30/thin-10/

== What’s new?

  * Fixed vlad.rake to allow TCP or socket [hellekin]
  * Updated Mack adapter to handle both <0.8.0 and >0.8.0 [Mark Bates]
  * rails rack adapter uses File.readable_real? so it recognizes ACL  
permissions [Ricardo Chimal]
  * Log a warning if Rack application returns nil body [Michael S.  
Klishin]
  * Handle nil and Time header values correctly [#76 state:resolved]  
[tmm1]
  * Add Content-Length header to response automatically when possible  
[#74 state:resolved] [dkubb]
  * Runner now remembers -r, -D and -V parameters so that clustered  
servers inherit those and
     keep your parameters.
  * Make Set-Cookie header, in Rails adapter, compatible with current  
Rack spec [Pedro Belo]
    [#73, state:resolved]
  * Add –no-epoll option to disable epoll usage on Linux [#61  
state:resolved]
  * Add –force (-f) option to force stopping of a daemonized server  
[#72 state:resolved]
  * Update halycon adapter loader [mtodd]

== Get it!

Install Thin from RubyForge:

  gem install thin

Or using my mirror:

  gem install thin –source http://code.macournoyer.com

== Contribute

Site:  http://code.macournoyer.com/thin/
Group: http://groups.google.com/group/thin-ruby/topics
Bugs:  http://thin.lighthouseapp.com/projects/7212-thin
Code:  http://github.com/macournoyer/thin
IRC:   #thin on freenode

Thanks to all the people who contributed to Thin, EventMachine, Rack  
and Mongrel.

Marc-Andre Cournoyer
http://macournoyer.com/

Posted in Random | No Comments »