<?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/"
		>
<channel>
	<title>Comments on: LessCss for CFML Developers</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-386276</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 26 Jun 2013 21:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-386276</guid>
		<description>Jusuf,

Sorry, I have no idea about the internals of the JRuby runtime.  Did you check the server logs to see if there is a more complete stack trace, or any other sort of helpful info?  I will reoffer my previous advice: take a look at the JS-based LESS.  It&#039;s current, actively supported, simpler to use, and faster.</description>
		<content:encoded><![CDATA[<p>Jusuf,</p>
<p>Sorry, I have no idea about the internals of the JRuby runtime.  Did you check the server logs to see if there is a more complete stack trace, or any other sort of helpful info?  I will reoffer my previous advice: take a look at the JS-based LESS.  It's current, actively supported, simpler to use, and faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jusuf Darmawan</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-386269</link>
		<dc:creator>Jusuf Darmawan</dc:creator>
		<pubDate>Wed, 26 Jun 2013 20:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-386269</guid>
		<description>I finally found in jruby-bin-1.4. However I got an error like this: 
org.jruby.embed.jsr223.JRubyContext

 
The error occurred in C:/Users/Jusuf Darmawan/Documents/GitHub/mycf/cfgroovy/script.cfm: line 62
Called from C:/Users/Jusuf Darmawan/Documents/GitHub/mycf/cfgroovy/script.cfm: line 105
Called from C:/Users/Jusuf Darmawan/Documents/GitHub/mycf/lesscss.cfm: line 12
60 : 			detail=&quot;Groovy scripts must have at least one expression in them.  Forgetting to use &lt;cfoutput&gt; around your &lt;g:script&gt; tag when &lt;cfsetting enableCfOutputOnly=&quot;&quot;true&quot;&quot; /&gt; is a common cause of this problem.&quot; /&gt;
61 : 	
62 : 	
63 : 	
64 : 	

Can you help me with this. I drop all of those jar in the WEB-INF/lib and cfusion/lib but I got this. My cfgroovy is working fine.

Thanks.</description>
		<content:encoded><![CDATA[<p>I finally found in jruby-bin-1.4. However I got an error like this:<br />
org.jruby.embed.jsr223.JRubyContext</p>
<p>The error occurred in C:/Users/Jusuf Darmawan/Documents/GitHub/mycf/cfgroovy/script.cfm: line 62<br />
Called from C:/Users/Jusuf Darmawan/Documents/GitHub/mycf/cfgroovy/script.cfm: line 105<br />
Called from C:/Users/Jusuf Darmawan/Documents/GitHub/mycf/lesscss.cfm: line 12<br />
60 : 			detail="Groovy scripts must have at least one expression in them.  Forgetting to use &lt;cfoutput&gt; around your &lt;g:script&gt; tag when &lt;cfsetting enableCfOutputOnly=""true"" /&gt; is a common cause of this problem." /&gt;<br />
61 :<br />
62 :<br />
63 :<br />
64 : 	</p>
<p>Can you help me with this. I drop all of those jar in the WEB-INF/lib and cfusion/lib but I got this. My cfgroovy is working fine.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-386257</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 26 Jun 2013 19:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-386257</guid>
		<description>Jusuf,

Honestly, I have no idea how JRuby has evolved in the past 4 years.  However, LESS itself is now a JS package instead of Ruby, so you don&#039;t need to jump through nearly as many hoops to make it run.  I don&#039;t have a code sample at hand for using the JS engine from CFML, unfortunately.  If you want to stick with the Ruby route (knowing that you&#039;ll be stuck with a several-years-old version of LESS), grabbing a JRuby of the same age (Septempber 2009) should have the proper JARs.</description>
		<content:encoded><![CDATA[<p>Jusuf,</p>
<p>Honestly, I have no idea how JRuby has evolved in the past 4 years.  However, LESS itself is now a JS package instead of Ruby, so you don't need to jump through nearly as many hoops to make it run.  I don't have a code sample at hand for using the JS engine from CFML, unfortunately.  If you want to stick with the Ruby route (knowing that you'll be stuck with a several-years-old version of LESS), grabbing a JRuby of the same age (Septempber 2009) should have the proper JARs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jusuf Darmawan</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-386255</link>
		<dc:creator>Jusuf Darmawan</dc:creator>
		<pubDate>Wed, 26 Jun 2013 19:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-386255</guid>
		<description>I just downloaded the jruby and I got only jruby.jar and no profile.jar. Is profile.jar is not necessary now?

I downloaded jruby (jruby-bin-1.6.8 and jruby-bin-1.7.4) there is no profile.jar on both of them.

Thanks.</description>
		<content:encoded><![CDATA[<p>I just downloaded the jruby and I got only jruby.jar and no profile.jar. Is profile.jar is not necessary now?</p>
<p>I downloaded jruby (jruby-bin-1.6.8 and jruby-bin-1.7.4) there is no profile.jar on both of them.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Less CSS with ColdFusion &#171; The Web Applications Blog</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-217890</link>
		<dc:creator>Using Less CSS with ColdFusion &#171; The Web Applications Blog</dc:creator>
		<pubDate>Tue, 17 Aug 2010 13:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-217890</guid>
		<description>[...] CSS was originally implemented in Ruby, and Barney Boisvert has already blogged about using the Ruby implementation in ColdFusion in the past. Â However the author of Less CSS is now working on a JavaScript version, less.js. This [...]</description>
		<content:encoded><![CDATA[<p>[...] CSS was originally implemented in Ruby, and Barney Boisvert has already blogged about using the Ruby implementation in ColdFusion in the past. Â However the author of Less CSS is now working on a JavaScript version, less.js. This [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Ho</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-190745</link>
		<dc:creator>Henry Ho</dc:creator>
		<pubDate>Wed, 09 Sep 2009 19:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-190745</guid>
		<description>Oops, I guess I misunderstood the div 2 operation in LessCss.

Maybe use a simple &lt;cfcache&gt; tag to eliminate penalty of CF processing on every stylesheet request?

Nesting is hard, yes, but my colleague and I don&#039;t like it very much. 

Mixins can be achieved with &amp;ltcfsaveoutput&gt;.

CFML is a hammer. :)</description>
		<content:encoded><![CDATA[<p>Oops, I guess I misunderstood the div 2 operation in LessCss.</p>
<p>Maybe use a simple &lt;cfcache&gt; tag to eliminate penalty of CF processing on every stylesheet request?</p>
<p>Nesting is hard, yes, but my colleague and I don't like it very much. </p>
<p>Mixins can be achieved with &amp;ltcfsaveoutput&gt;.</p>
<p>CFML is a hammer. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-190744</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 09 Sep 2009 19:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-190744</guid>
		<description>@Henry

Yeah, you can certainly do it that way, but then you incur the penalty of CF processing on every stylesheet request, which can place significant extra load on your server.  However, your color manipulation is incorrect, you don&#039;t want to divide the whole number by 2, you want to divide each color segment (two-digit pair) by two, and then stitch the results back together.

Doing nesting and inclusion are also problematic with simple output tricks.  They really require a full language parser so you can manipulate the AST.

All that said, you could certainly package the couple lines of Ruby up into a custom tag to run your tag body through the interpreter and output it, so a &lt;less:css&gt; tag is really reasonable.</description>
		<content:encoded><![CDATA[<p>@Henry</p>
<p>Yeah, you can certainly do it that way, but then you incur the penalty of CF processing on every stylesheet request, which can place significant extra load on your server.  However, your color manipulation is incorrect, you don't want to divide the whole number by 2, you want to divide each color segment (two-digit pair) by two, and then stitch the results back together.</p>
<p>Doing nesting and inclusion are also problematic with simple output tricks.  They really require a full language parser so you can manipulate the AST.</p>
<p>All that said, you could certainly package the couple lines of Ruby up into a custom tag to run your tag body through the interpreter and output it, so a &lt;less:css&gt; tag is really reasonable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Ho</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-190742</link>
		<dc:creator>Henry Ho</dc:creator>
		<pubDate>Wed, 09 Sep 2009 19:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-190742</guid>
		<description>and... add this to the 1st example... sorry.

&lt;cfset color = InputBaseN(&quot;fdd&quot;,16)&gt;</description>
		<content:encoded><![CDATA[<p>and&#8230; add this to the 1st example&#8230; sorry.</p>
<p>&lt;cfset color = InputBaseN("fdd",16)&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Ho</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-190741</link>
		<dc:creator>Henry Ho</dc:creator>
		<pubDate>Wed, 09 Sep 2009 19:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-190741</guid>
		<description>oh... the tags are stripped off.
Just imagine there were &lt;cfoutput&gt; tag on the first example.

And there were &lt;less:css&gt; on the last example.</description>
		<content:encoded><![CDATA[<p>oh&#8230; the tags are stripped off.<br />
Just imagine there were &lt;cfoutput&gt; tag on the first example.</p>
<p>And there were &lt;less:css&gt; on the last example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Ho</title>
		<link>https://www.barneyb.com/barneyblog/2009/09/08/lesscss-for-cfml-developers/comment-page-1/#comment-190740</link>
		<dc:creator>Henry Ho</dc:creator>
		<pubDate>Wed, 09 Sep 2009 19:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1082#comment-190740</guid>
		<description>I was talking with my college who specialized in doing front-end.  We come to a conclusion that most of what LessCss does can be done by CFML just as well, just a Little bit more verbose? :)



##header {
  background-color: #FormatBaseN(color, 16)#;
  color: #FormatBaseN(color / 2, 16)#;
}


Maybe it&#039;ll be a good idea to write a custom tag to do inline LessCss! :)


@color: #fdd;
#header {
  background-color: @color;
  color: @color / 2;
}
</description>
		<content:encoded><![CDATA[<p>I was talking with my college who specialized in doing front-end.  We come to a conclusion that most of what LessCss does can be done by CFML just as well, just a Little bit more verbose? :)</p>
<p>##header {<br />
  background-color: #FormatBaseN(color, 16)#;<br />
  color: #FormatBaseN(color / 2, 16)#;<br />
}</p>
<p>Maybe it'll be a good idea to write a custom tag to do inline LessCss! :)</p>
<p>@color: #fdd;<br />
#header {<br />
  background-color: @color;<br />
  color: @color / 2;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
