AT&T DSL Customer Service

March 23rd, 2008 by nikhilb

This number was a bit hard to find:
“You can call AT&T DSL Customer Care at 1-877-937-5288 (1-877-XDSLATT), and select the billing prompt.” from the AT&T DSL faq.

Ca number no longer Valid (sunday Aug 1)

Overrides in Camping

March 5th, 2008 by nikhilb

If you want to add a call to all the controllers in your Camping miroframework app you can use before or after overrides. These are similar to the before_filter in Rails.

Remember to return the superclass or Camping will throw a “Read error: #<NoMethodError: undefined method `status’ for nil:NilClass>” because it can’t call back into the returned controller. A modification of the above linked wiki page example illustrates -

Camping.goes :YourApp

module YourSession
  def service(*a)
    @session = YourApp::Session.new
    s = super(*a)
    @session.close
    #return s from above after completing
    s
  end
end

module YourApp
  include YourSession
end

How much does nuclear power really cost?

March 2nd, 2008 by nikhilb

Forbes had an article on the true cost of nuclear power in the US. It turns out clean coal generated power is only slightly more expensive than regular coal. On the other hand Nuclear power is significantly more expensive and only makes economic sense because of subsidies.

I didn’t see a chart in the the article so I made one with their statistics. Enjoy.

Comparative cost of different power generating methods