<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Computing with units and dimensions</title>
	<atom:link href="http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/feed/" rel="self" type="application/rss+xml" />
	<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/</link>
	<description>A blog about everything Clojure</description>
	<lastBuildDate>Thu, 09 May 2013 14:29:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Eric Fraga</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-157</link>
		<dc:creator><![CDATA[Eric Fraga]]></dc:creator>
		<pubDate>Wed, 13 Jul 2011 20:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-157</guid>
		<description><![CDATA[Ah, I see!  Sorry I misunderstood your point.  I agree completely that adding conversions between Celsius and Fahrenheit is not worth the effort. So long as Kelvin is there, I&#039;m happy!]]></description>
		<content:encoded><![CDATA[<p>Ah, I see!  Sorry I misunderstood your point.  I agree completely that adding conversions between Celsius and Fahrenheit is not worth the effort. So long as Kelvin is there, I&#8217;m happy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khinsen</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-156</link>
		<dc:creator><![CDATA[khinsen]]></dc:creator>
		<pubDate>Sat, 09 Jul 2011 15:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-156</guid>
		<description><![CDATA[Kelvin is in there, of course, it&#039;s an SI unit after all. Adding Rankin is trivial, as is adding most other units: All it takes is a defunit statement containing the conversion factor to some already known unit combination. What&#039;s not possible without adding lots of code is units whose zero is non-standard, which in practice means Celsius and Fahrenheit.]]></description>
		<content:encoded><![CDATA[<p>Kelvin is in there, of course, it&#8217;s an SI unit after all. Adding Rankin is trivial, as is adding most other units: All it takes is a defunit statement containing the conversion factor to some already known unit combination. What&#8217;s not possible without adding lots of code is units whose zero is non-standard, which in practice means Celsius and Fahrenheit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Fraga</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-155</link>
		<dc:creator><![CDATA[Eric Fraga]]></dc:creator>
		<pubDate>Fri, 08 Jul 2011 18:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-155</guid>
		<description><![CDATA[If I may comment on this: &quot;I don’t think that introducing that amount of complexity is justified, considering that daily-life temperatures are rarely combined in computations with quantities of other dimensions.&quot;:

It is true that working with temperatures can be complex, especially if you allow the use of non-0 based scales like Celsius and Fahrenheit.  However, if you stick to Kelvin (and/or Rankin), there is little complexity.  More to the point, there are plenty of problems that require combining temperatures with other units, especially in chemical engineering and physics problems dealing with heat transport.

I would really appreciate you reconsidering the above, at least adding support for Kelvin (and/or Rankin)!  If I get a chance, and if my Clojure expertise is up to it, I may have a go myself, but I assume it should be trivial for you to do.

Thanks, in any case, for what looks like a great addition to the Clojure-verse!]]></description>
		<content:encoded><![CDATA[<p>If I may comment on this: &#8220;I don’t think that introducing that amount of complexity is justified, considering that daily-life temperatures are rarely combined in computations with quantities of other dimensions.&#8221;:</p>
<p>It is true that working with temperatures can be complex, especially if you allow the use of non-0 based scales like Celsius and Fahrenheit.  However, if you stick to Kelvin (and/or Rankin), there is little complexity.  More to the point, there are plenty of problems that require combining temperatures with other units, especially in chemical engineering and physics problems dealing with heat transport.</p>
<p>I would really appreciate you reconsidering the above, at least adding support for Kelvin (and/or Rankin)!  If I get a chance, and if my Clojure expertise is up to it, I may have a go myself, but I assume it should be trivial for you to do.</p>
<p>Thanks, in any case, for what looks like a great addition to the Clojure-verse!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artie</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-112</link>
		<dc:creator><![CDATA[Artie]]></dc:creator>
		<pubDate>Sat, 29 May 2010 22:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-112</guid>
		<description><![CDATA[Works now!  Cheers!]]></description>
		<content:encoded><![CDATA[<p>Works now!  Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khinsen</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-111</link>
		<dc:creator><![CDATA[khinsen]]></dc:creator>
		<pubDate>Wed, 26 May 2010 08:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-111</guid>
		<description><![CDATA[Please try release 0.2.2, which works with the current version of Clojure 1.2. Make sure that you have a recent version of clojure-contrib as well; I fixed a relevant bug there yesterday!]]></description>
		<content:encoded><![CDATA[<p>Please try release 0.2.2, which works with the current version of Clojure 1.2. Make sure that you have a recent version of clojure-contrib as well; I fixed a relevant bug there yesterday!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khinsen</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-110</link>
		<dc:creator><![CDATA[khinsen]]></dc:creator>
		<pubDate>Tue, 25 May 2010 09:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-110</guid>
		<description><![CDATA[The error message looks strange indeed because there is no line 1917 in file units.clj!

However, I suspect that your problem is due to the Clojure version you use. The units module was written for an early development version of Clojure 1.2. Older Clojure releases (1.0 and 1.1) don&#039;t have the deftype mechanism that is heavily used, and in recent developmenet versions of Clojure 1.2 this mechanism has changed so much that the units modules doesn&#039;t work anymore. As a consequence, there are only a few snapshots of the development version that actually work with clj-units.

I am working on adapting clj-units to the current Clojure 1.2 development versions, but since I don&#039;t have much time right now, this might take another week or two. Please be patient!]]></description>
		<content:encoded><![CDATA[<p>The error message looks strange indeed because there is no line 1917 in file units.clj!</p>
<p>However, I suspect that your problem is due to the Clojure version you use. The units module was written for an early development version of Clojure 1.2. Older Clojure releases (1.0 and 1.1) don&#8217;t have the deftype mechanism that is heavily used, and in recent developmenet versions of Clojure 1.2 this mechanism has changed so much that the units modules doesn&#8217;t work anymore. As a consequence, there are only a few snapshots of the development version that actually work with clj-units.</p>
<p>I am working on adapting clj-units to the current Clojure 1.2 development versions, but since I don&#8217;t have much time right now, this might take another week or two. Please be patient!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artie</title>
		<link>http://onclojure.com/2010/03/23/computing-with-units-and-dimensions/#comment-109</link>
		<dc:creator><![CDATA[Artie]]></dc:creator>
		<pubDate>Sat, 22 May 2010 18:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://onclojure.com/?p=115#comment-109</guid>
		<description><![CDATA[Two things. 

The clojars site lists the pom&#039;s version as 0.2.1 but the actual version that is available is 0.2.0.  
Also, trying to use your example, I get this error:

(ns+ unit-demo
  (:clone nstools.generic-math)
  (:from units dimension? in-units-of)
  (:require [units.si :as si]))
java.lang.IllegalArgumentException: Unsupported option(s) - :as (units.clj:1917)

Not sure what&#039;s wrong, I&#039;m able to use (:require [foo :as bar]) elsewhere in my code.]]></description>
		<content:encoded><![CDATA[<p>Two things. </p>
<p>The clojars site lists the pom&#8217;s version as 0.2.1 but the actual version that is available is 0.2.0.<br />
Also, trying to use your example, I get this error:</p>
<p>(ns+ unit-demo<br />
  (:clone nstools.generic-math)<br />
  (:from units dimension? in-units-of)<br />
  (:require [units.si :as si]))<br />
java.lang.IllegalArgumentException: Unsupported option(s) &#8211; :as (units.clj:1917)</p>
<p>Not sure what&#8217;s wrong, I&#8217;m able to use (:require [foo :as bar]) elsewhere in my code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
