<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3091092960115196878</id><updated>2012-02-16T23:57:30.072Z</updated><title type='text'>budanters</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-5443033951132969625</id><published>2010-04-11T21:03:00.009+01:00</published><updated>2010-04-11T21:44:20.085+01:00</updated><title type='text'>UK car taxation/costs (part 1 - tax)</title><content type='html'>I thought it might be interesting to have a look at the cost of the UK's car-related taxation, and see the benefits of going for high effiecency cars.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I took two typical small cars: a Peugeot 107 Urban and a Ford Fiesta 1.4 Studio.&lt;br /&gt;&lt;br /&gt;Peugeot 107 1.0 Urban 3-door&lt;br /&gt;MPG    62&lt;br /&gt;Insurance Grp  1&lt;br /&gt;CO2 Emissions  106g/km&lt;br /&gt;Road Tax Band  B&lt;br /&gt;Price  £8,470*&lt;br /&gt;&lt;br /&gt;Ford Fiesta 1.4 Studio&lt;br /&gt;MPG    49&lt;br /&gt;Insurance Grp  4&lt;br /&gt;CO2 Emissions 133g/km&lt;br /&gt;Road Tax Band  E&lt;br /&gt;Price  £13,395*&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;*prices taken from their respective main website.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is probably clear from the differing list price that the two might not be directly comparable in terms of quality, but it is still interesting to see what the effect of the extra fule efficency of the Peugeot has on cost.&lt;br /&gt;&lt;br /&gt;The extra efficency will obviously give some saving on petrol costs. Currently main road fuels (i.e. unleaded petrol and diesel) have a fuel duty tax which is paid per litre. As of 01-Apr-2010 this was £0.5719/litre. VAT is then added ontop of the fuel and fuel duty cost.&lt;br /&gt;&lt;br /&gt;Today (11-Apr-2010) my local supermarket was selling unleaded petrol at £1.18/litre (£0.18 VAT, £0.57 Fuel Duty, £0.43 Fuel).&lt;br /&gt;&lt;br /&gt;In addition to the savings on fuel, there will be a saving on the annual Road Tax.&lt;br /&gt;&lt;br /&gt;To  further promote the purchase of fuel efficent cars, there is a further first year road tax incentive. Any car with CO2 emission of 130g/km or less gets the first year of road tax for free.&lt;br /&gt;&lt;br /&gt;So with a few simply assumptions I have calculated the amount of tax paid over a 5 year period for both cars:&lt;br /&gt;&lt;br /&gt;&lt;style&gt;   &lt;!--    BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Arial"; font-size:x-small }    --&gt;  &lt;/style&gt; &lt;table frame="VOID" rules="NONE" border="0" cellspacing="0" cols="3"&gt;  &lt;colgroup&gt;&lt;col width="124"&gt;&lt;col width="100"&gt;&lt;col width="108"&gt;&lt;/colgroup&gt;  &lt;tbody&gt;   &lt;tr&gt;    &lt;td align="LEFT" height="18" width="124"&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td align="CENTER" bgcolor="#aaaaaa" width="100"&gt;Peugeot 107&lt;/td&gt;    &lt;td align="CENTER" bgcolor="#aaaaaa" width="108"&gt;Ford Fiesta 1.4 &lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;VAT&lt;/td&gt;    &lt;td sdval="1261.48936170213" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£1,261.49&lt;/td&gt;    &lt;td sdval="1995" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£1,995.00&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Road Tax Yr 1&lt;/td&gt;    &lt;td sdval="0" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£0.00&lt;/td&gt;    &lt;td sdval="110" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£110.00&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Road Tax Yr 2&lt;/td&gt;    &lt;td sdval="20" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£20.00&lt;/td&gt;    &lt;td sdval="110" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£110.00&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Road Tax Yr 3&lt;/td&gt;    &lt;td sdval="20" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£20.00&lt;/td&gt;    &lt;td sdval="110" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£110.00&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Road Tax Yr 4&lt;/td&gt;    &lt;td sdval="20" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£20.00&lt;/td&gt;    &lt;td sdval="110" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£110.00&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Road Tax Yr 5&lt;/td&gt;    &lt;td sdval="20" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£20.00&lt;/td&gt;    &lt;td sdval="110" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£110.00&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel VAT Yr 1&lt;/td&gt;    &lt;td sdval="127.421900980692" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£127.42&lt;/td&gt;    &lt;td sdval="163.04802431611" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£163.05&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel VAT Yr 2&lt;/td&gt;    &lt;td sdval="129.581594217652" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£129.58&lt;/td&gt;    &lt;td sdval="165.811550151976" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£165.81&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel VAT Yr 3&lt;/td&gt;    &lt;td sdval="129.581594217652" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£129.58&lt;/td&gt;    &lt;td sdval="165.811550151976" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£165.81&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel VAT Yr 4&lt;/td&gt;    &lt;td sdval="129.581594217652" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£129.58&lt;/td&gt;    &lt;td sdval="165.811550151976" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£165.81&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel VAT Yr 5&lt;/td&gt;    &lt;td sdval="129.581594217652" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£129.58&lt;/td&gt;    &lt;td sdval="165.811550151976" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£165.81&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel Duty Yr 1&lt;/td&gt;    &lt;td sdval="414.650303030303" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£414.65&lt;/td&gt;    &lt;td sdval="530.583142857143" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£530.58&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel Duty Yr 2&lt;/td&gt;    &lt;td sdval="427.411004784689" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£427.41&lt;/td&gt;    &lt;td sdval="546.911632653061" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£546.91&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel Duty Yr 3&lt;/td&gt;    &lt;td sdval="427.411004784689" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£427.41&lt;/td&gt;    &lt;td sdval="546.911632653061" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£546.91&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel Duty Yr 4&lt;/td&gt;    &lt;td sdval="427.411004784689" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£427.41&lt;/td&gt;    &lt;td sdval="546.911632653061" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£546.91&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Fuel Duty Yr 5&lt;/td&gt;    &lt;td sdval="427.411004784689" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£427.41&lt;/td&gt;    &lt;td sdval="546.911632653061" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;£546.91&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td align="LEFT" height="17"&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="LEFT"&gt;&lt;br /&gt;&lt;/td&gt;    &lt;td sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="LEFT"&gt;&lt;br /&gt;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;    &lt;td style="border-top: 1px solid rgb(255, 255, 255); border-bottom: 1px solid rgb(255, 255, 255);" align="LEFT" bgcolor="#aaaaaa" height="17"&gt;Total Tax Paid&lt;/td&gt;    &lt;td style="border-top: 1px solid rgb(255, 255, 255); border-bottom: 1px solid rgb(255, 255, 255);" sdval="4111.53196172249" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;&lt;b&gt;£4,111.53&lt;/b&gt;&lt;/td&gt;    &lt;td style="border-top: 1px solid rgb(255, 255, 255); border-bottom: 1px solid rgb(255, 255, 255);" sdval="6089.5238983934" sdnum="2057;0;[$£-809]#,##0.00;[RED]-[$£-809]#,##0.00" align="RIGHT"&gt;&lt;b&gt;£6,089.52&lt;/b&gt;&lt;/td&gt;   &lt;/tr&gt;  &lt;/tbody&gt; &lt;/table&gt;&lt;br /&gt;&lt;br /&gt;I have assumed each car does 10,000 miles per year. I have kept the fuel price the same each year, but for years 2 to 5 I have factored in the annouced increase of fuel duty to £0.5895/litre which occurs on 01-Jan-2011.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-5443033951132969625?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/5443033951132969625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2010/04/uk-car-taxationcosts-part-1-tax.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/5443033951132969625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/5443033951132969625'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2010/04/uk-car-taxationcosts-part-1-tax.html' title='UK car taxation/costs (part 1 - tax)'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-2823451708064419458</id><published>2010-01-06T01:15:00.001Z</published><updated>2010-01-06T01:16:32.555Z</updated><title type='text'>Andrew Graham-Dixon</title><content type='html'>If it is still available on iPLayer than Andrew Graham-Dixon's recent series on the history of art in Spain is excellent.&lt;br /&gt;&lt;br /&gt;http://www.andrewgrahamdixon.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-2823451708064419458?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/2823451708064419458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2010/01/andrew-graham-dixon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/2823451708064419458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/2823451708064419458'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2010/01/andrew-graham-dixon.html' title='Andrew Graham-Dixon'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-6570453313757215422</id><published>2009-10-24T14:05:00.006+01:00</published><updated>2009-10-24T14:49:27.262+01:00</updated><title type='text'>Adding multiple column calculations to ActiveScaffold</title><content type='html'>Recently I have been making great use of the excellent &lt;a href="http://github.com/activescaffold/active_scaffold"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;ActiveScaffold&lt;/span&gt;&lt;/a&gt; for a Ruby on Rails project I have been hired to create.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;ActiveScaffold&lt;/span&gt; (AS) makes it really easily to do a &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;calculation&lt;/span&gt; on the columns, for example displaying the average of a column. In your controller you just need to do:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt; active_scaffold :sale do |&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;config&lt;/span&gt;|&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;      &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;confi&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;g.columns[:product_profit].calculate = :avg&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;end&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_R_TeeppIm2U/SuMB_zRNluI/AAAAAAAAABU/SXDwwfv6nXI/s1600-h/activescaffold01.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 177px; height: 128px;" src="http://2.bp.blogspot.com/_R_TeeppIm2U/SuMB_zRNluI/AAAAAAAAABU/SXDwwfv6nXI/s200/activescaffold01.png" alt="" id="BLOGGER_PHOTO_ID_5396158974125774562" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;However my client wanted both averages and totals at the bottom, so From reading the documentation and a quick web search it didn't look to be a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;pre&lt;/span&gt;-built way to do this, so I had to look at customising the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;ActiveScaffold&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I wanted to be able to set calculate the standard way &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;with a&lt;/span&gt; single option, or have an array of options:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    config.columns[:chassis_profit].calculate = :avg&lt;/span&gt;&lt;br /&gt;-or-&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   config.columns[:chassis_profit].calculate = [:sum, :avg]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The answer was to be found in vendor/plugins/active_scaffold/frontends/default/views/_list_calculations.html.erb.  This file was responsible for calling the caluation and displaying the result. The &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_8"&gt;chosen&lt;/span&gt; calculation option was accessable via column.calculate. I needed a way to handle both single values and arrays. The following code allowed me to iterate over an array, but still works if column.calculate was a single value:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    &lt;% for calculation_type in [*column.calculate] -%&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      column.calculate = calculation_type&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    &lt;% end -%&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As I looped over the array I set column.calculate to each single value, so I did not affect the way AS worked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-6570453313757215422?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/6570453313757215422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/10/adding-multiple-column-calculations-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/6570453313757215422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/6570453313757215422'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/10/adding-multiple-column-calculations-to.html' title='Adding multiple column calculations to ActiveScaffold'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_R_TeeppIm2U/SuMB_zRNluI/AAAAAAAAABU/SXDwwfv6nXI/s72-c/activescaffold01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-5514343885447821283</id><published>2009-10-23T00:47:00.000+01:00</published><updated>2009-10-23T00:48:33.661+01:00</updated><title type='text'>Things to look at</title><content type='html'>http://www.flickr.com/photos/timferriss/2919230853/in/set-72157607796715778/&lt;br /&gt;http://www.dolectures.com/brainfood/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-5514343885447821283?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/5514343885447821283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/10/things-to-look-at.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/5514343885447821283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/5514343885447821283'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/10/things-to-look-at.html' title='Things to look at'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-1948234383326746455</id><published>2009-10-23T00:26:00.003+01:00</published><updated>2009-10-23T00:35:59.113+01:00</updated><title type='text'>Some thoughts to flesh out</title><content type='html'>&lt;ol&gt;&lt;li&gt;Adding win states and game-like mechanics into stuff to postively encourage peoples actions (for example: visible energy usage meters, displaying current MPG in cars, points &amp;amp; badges in software). This idea seems to have the potential to be very powerful.&lt;/li&gt;&lt;li&gt;If you yourself want to make a positive impact and a meaningful footprint on the world, you need to recruit people that will also take action. You need to be offering those people a compelling goal, one that will also offer them the oppurtunity to be part of history. Your goal, your message needs to be clear.&lt;/li&gt;&lt;li&gt;Retail anchor tenants (i.e. you have a new shopping centre and literally pay a big brand to move in). Again seems a powerful idea if transposed into other fields.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-1948234383326746455?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/1948234383326746455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/10/some-thoughts-to-flesh-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/1948234383326746455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/1948234383326746455'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/10/some-thoughts-to-flesh-out.html' title='Some thoughts to flesh out'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-979672777593322762</id><published>2009-10-10T23:00:00.002+01:00</published><updated>2009-10-10T23:03:05.081+01:00</updated><title type='text'>More books</title><content type='html'>&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&amp;amp;bc1=ffffff&amp;amp;IS2=1&amp;amp;bg1=ffffff&amp;amp;fc1=000000&amp;amp;lc1=0000FF&amp;amp;t=budanters-21&amp;amp;o=2&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;md=0M5A6TN3AXP2JHJBWT02&amp;amp;asins=0954452933" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;There seems to be a theme with many of the books I really enjoy. They give you some insight into things really are; just science and figures, no fluff.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-979672777593322762?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/979672777593322762/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/10/more-books.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/979672777593322762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/979672777593322762'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/10/more-books.html' title='More books'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-1287440141424779772</id><published>2009-09-26T13:44:00.007+01:00</published><updated>2009-09-28T18:57:12.715+01:00</updated><title type='text'>My recent TV viewing</title><content type='html'>&lt;span style="font-weight: bold;"&gt;The Love of Money&lt;/span&gt;&lt;br /&gt;Three part documnetary about the recent financial crisis:&lt;br /&gt;1/3. Why the collapse of Lehman Brothers had disastrous consequences for the world's economy.&lt;br /&gt;2/3. Examining the boom years before the global crash, with testimony from key decision makers.&lt;br /&gt;3/3. The story of how politicians reacted to the crash, and what has been learnt from it.&lt;br /&gt;&lt;a href="http://www.bbc.co.uk/programmes/b00mqmjs/episodes/player"&gt;http://www.bbc.co.uk/programmes/b00mqmjs/episodes/player&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Alone in the Wild&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.channel4.com/programmes/alone-in-the-wild/4od"&gt;http://www.channel4.com/programmes/alone-in-the-wild/4od&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Nigel Slater's Simple Suppers&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.bbc.co.uk/programmes/b00mm51f/episodes/player"&gt;http://www.bbc.co.uk/programmes/b00mm51f/episodes/player&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Economy Gastronomy&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.bbc.co.uk/programmes/b00m1c34"&gt;http://www.bbc.co.uk/programmes/b00m1c34&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Jamie's American Road Trip&lt;/span&gt;&lt;br /&gt;Jamie Oliver tours parts of America not often seen on TV and enjoys some of the unique food&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Jonathan Meades: Off Kilter&lt;/span&gt;&lt;br /&gt;1/3. Architecture critic Jonathan Meades takes a quixotic tour of Scotland.&lt;br /&gt;2/3. On the isle of Lewis and Harris, Meades discovers serenity, Calvinism and peat bog bodies.&lt;br /&gt;3/3. Meades celebrates an oil refinery and takes potshots at overpaid footballers.&lt;br /&gt;&lt;a href="http://www.bbc.co.uk/programmes/b00mrbdt"&gt;http://www.bbc.co.uk/programmes/b00mrbdt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Peep Show - Season 6&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.channel4.com/programmes/peep-show/4od"&gt;http://www.channel4.com/programmes/peep-show/4od&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-1287440141424779772?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/1287440141424779772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/09/my-recent-tv-viewing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/1287440141424779772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/1287440141424779772'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/09/my-recent-tv-viewing.html' title='My recent TV viewing'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-6848695340549202284</id><published>2009-08-29T21:02:00.001+01:00</published><updated>2009-08-29T21:04:58.110+01:00</updated><title type='text'>Asus 1005HA</title><content type='html'>&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&amp;bc1=FFFFFF&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=budanters-21&amp;o=2&amp;p=8&amp;l=as1&amp;m=amazon&amp;f=ifr&amp;asins=B002DR4KAO" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-6848695340549202284?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/6848695340549202284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/08/asus-1005ha.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/6848695340549202284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/6848695340549202284'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/08/asus-1005ha.html' title='Asus 1005HA'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-5702537702015868143</id><published>2009-08-07T12:58:00.010+01:00</published><updated>2009-08-10T22:32:27.618+01:00</updated><title type='text'>Book Recommendations</title><content type='html'>A few excellent books worth reading:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Science of Cooking, by Peter Barham&lt;/span&gt;&lt;br /&gt;If you watch a few TV cooking programmes  you will hear often  repeated  rules without any explanantion, "sear your steak first", "always sieve flour". If this ever gives you the pestering thought of, "Why?", then this is the book for you.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&amp;amp;bc1=226699&amp;amp;IS2=1&amp;amp;nou=1&amp;amp;bg1=226699&amp;amp;fc1=ffffff&amp;amp;lc1=ffffff&amp;amp;t=budanters-21&amp;amp;o=2&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;asins=3540674667" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Unfolding of Language, by Guy Deutscher&lt;/span&gt;&lt;a href="http://www.amazon.co.uk/exec/obidos/search-handle-url?%5Fencoding=UTF8&amp;amp;search-type=ss&amp;amp;index=books-uk&amp;amp;field-author=Guy%20Deutscher"&gt;&lt;/a&gt;&lt;br /&gt;Absolutely superb! Gives you a great insight into why language changes and how it develops; why irregularites come about, and shows how fundamental metaphor is to any language.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&amp;amp;bc1=226699&amp;amp;IS2=1&amp;amp;nou=1&amp;amp;bg1=226699&amp;amp;fc1=ffffff&amp;amp;lc1=ffffff&amp;amp;t=budanters-21&amp;amp;o=2&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;asins=0099460254" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Selfish Gene&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;iframe src="http://rcm-uk.amazon.co.uk/e/cm?lt1=_blank&amp;amp;bc1=226699&amp;amp;IS2=1&amp;amp;nou=1&amp;amp;bg1=226699&amp;amp;fc1=ffffff&amp;amp;lc1=ffffff&amp;amp;t=budanters-21&amp;amp;o=2&amp;amp;p=8&amp;amp;l=as1&amp;amp;m=amazon&amp;amp;f=ifr&amp;amp;asins=0199291152" style="width: 120px; height: 240px;" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-5702537702015868143?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/5702537702015868143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/08/book-recommendations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/5702537702015868143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/5702537702015868143'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/08/book-recommendations.html' title='Book Recommendations'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3091092960115196878.post-3717548347778862069</id><published>2009-03-14T13:55:00.004Z</published><updated>2009-03-15T14:56:37.756Z</updated><title type='text'>Running Rails 'on' Windows</title><content type='html'>I have been developing a Rails app on my aging Windows 2000 desktop PC since 2006. Luckily this PC has been trouble-free, so only ever had to get Ruby and Rails installed and working once.&lt;br /&gt;&lt;br /&gt;Recently I decided that I should really move off an operating system that is nearly &lt;span style="font-weight: bold;"&gt;a decade old&lt;/span&gt;, and jump head-first into the modern world.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/wikipedia/commons/3/3b/Two_women_operating_ENIAC.gif"&gt;&lt;br /&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 256px; height: 169px;" src="http://upload.wikimedia.org/wikipedia/commons/3/3b/Two_women_operating_ENIAC.gif" alt="" border="0" /&gt;&lt;/a&gt;I dusted off my 7 year old Windows XP CD and popped it into my computer.&lt;br /&gt;&lt;br /&gt;With my fresh new computer, I had a number of unsuccesful attempts at getting Rails working. I tried the &lt;a href="http://rubyforge.org/projects/rubyinstaller/"&gt;Ruby One-Click Installer&lt;/a&gt;, but had a few problems when I updated to the latest version of Gems.&lt;br /&gt;&lt;br /&gt;After some random searching I happened upon a great answer over at &lt;a href="http://stackoverflow.com/questions/164896/limitations-in-running-ruby-rails-on-windows"&gt;StackOverflow&lt;/a&gt;. The suggestion was to run Rails on a linux virtual machine. So that's what I did ...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Installed VirtualBox 2.1.4&lt;br /&gt;Easy!&lt;br /&gt;&lt;br /&gt;2. Installed virtual machine Ubuntu Server 8.10&lt;br /&gt;This is pretty easy, you just download the ISO from the &lt;a href="http://www.ubuntu.com/getubuntu/download"&gt;Ubuntu &lt;/a&gt;site, in VirtualBox you create a new machine, and point it at the ISO.&lt;br /&gt;&lt;br /&gt;3. Install Ruby &amp;amp; Rails&lt;br /&gt;This was trouble free, I just followed the steps of this screencast over at &lt;a href="http://broadcast.oreilly.com/2008/11/installing-rails-on-ubuntu-har.html"&gt;O'Reilly Blogs&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;At this point I made a decision that I would continue to do my actual coding in Windows and with an IDE (shhh, don't tell anybody or I'll get kicked out of the Rails community). I had previously used Eclipse with Ruby Development Tools and Subclipse plugins. This had served me well, but I recently had the opportunity to try NetBeans and liked it, so decided to go with this.&lt;br /&gt;&lt;br /&gt;This meant the next stage was to have some sort of common file area between the Host and the Virtual Machine. I could of setup Samba on Ubuntu, but VirtualBox provides the feature of Shared Folders, which allows the guest operating systems access to folders on the Host.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4a. Setup Shared Folders&lt;br /&gt;(a little bit of pain, more details to follow)&lt;br /&gt;&lt;br /&gt;4b. Installed the VirtualBox Guest Additons in the the Ubuntu Server.&lt;br /&gt;(a little bit of pain, more details to follow)&lt;br /&gt;&lt;br /&gt;5. Configured port forwarding&lt;br /&gt;There are number of networking options with VirtualBox, the default is NAT with the guests inside their own private network and VirtualBox doing NAT. This gives the guest easy access to the Internet, however it's services won't be accessible by the Host. The easiest option seems to be stick with NAT and configure port forwarding as per the instructions &lt;a href="http://sk.c-wd.net/wp/2008/01/05/virtualbox-port-forwarding-with-linux-host/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3091092960115196878-3717548347778862069?l=budanters.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://budanters.blogspot.com/feeds/3717548347778862069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://budanters.blogspot.com/2009/03/running-rails-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/3717548347778862069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3091092960115196878/posts/default/3717548347778862069'/><link rel='alternate' type='text/html' href='http://budanters.blogspot.com/2009/03/running-rails-on-windows.html' title='Running Rails &apos;on&apos; Windows'/><author><name>gc</name><uri>http://www.blogger.com/profile/15415484674324873589</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
