<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jepstone.net &#187; programming</title>
	<atom:link href="http://www.jepstone.net/blog/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jepstone.net/blog</link>
	<description>Rants and Raves from South Kingstown, RI</description>
	<lastBuildDate>Mon, 30 Aug 2010 01:43:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>What&#8217;s in the Mac OS X version of Silverlight 1.1 Alpha?</title>
		<link>http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/</link>
		<comments>http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/#comments</comments>
		<pubDate>Tue, 01 May 2007 19:14:32 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/</guid>
		<description><![CDATA[I downloaded Silverlight 1.1 Alpha and poked around until I found out where the .NET stuff lives. Here&#8217;s what&#8217;s in the bundle: $ cd /Library/Internet\ Plug-Ins/Silverlight.plugin/Contents/MacOS/ $ ls CoreCLR.bundle System.Core.dll IronPython.Modules.dll System.SilverLight.dll IronPython.dll System.Xml.Core.dll Microsoft.JScript.Compiler.dll System.dll Microsoft.JScript.Runtime.dll agclr.dll Microsoft.Scripting.SilverLight.dll agcore &#8230; <a href="http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://www.microsoft.com/silverlight/downloads.aspx">downloaded Silverlight 1.1 Alpha</a> and poked around until I found out where the .NET stuff lives. Here&#8217;s what&#8217;s in the bundle:</p>
<pre>
$ <strong>cd /Library/Internet\ Plug-Ins/Silverlight.plugin/Contents/MacOS/</strong>
$ <strong>ls</strong>
  CoreCLR.bundle                          System.Core.dll
  IronPython.Modules.dll                  System.SilverLight.dll
  IronPython.dll                          System.Xml.Core.dll
  Microsoft.JScript.Compiler.dll          System.dll
  Microsoft.JScript.Runtime.dll           agclr.dll
  Microsoft.Scripting.SilverLight.dll     agcore
  Microsoft.Scripting.Vestigial.dll       slr.dll
  Microsoft.Scripting.dll                 slr.dll.managed_manifest
  Microsoft.VisualBasic.dll
</pre>
<p>And check out what those DLLs are made of:</p>
<pre>
$ <strong>file System.dll</strong>
  System.dll: MS Windows PE 32-bit Intel 80386 console DLL
</pre>
<p>But what&#8217;s this thing? Man, that&#8217;s big!</p>
<pre>
$ <strong>file agcore</strong>
  agcore: Mach-O universal binary with 2 architectures
  agcore (for architecture i386): Mach-O bundle i386
  agcore (for architecture ppc):  Mach-O bundle ppc
$ <strong>ls -l agcore</strong>
  -rwxr-xr-x   1 502  admin  16083600 Apr 26 03:16 agcore
</pre>
<p>So how much of those DLLs are managed code? Do they contain Win32 code, and does agcore have some magic in it for bootstrapping Win32 code?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Natural Language Game Programming with Inform 7</title>
		<link>http://www.jepstone.net/blog/2006/06/08/natural-language-game-programming-with-inform-7/</link>
		<comments>http://www.jepstone.net/blog/2006/06/08/natural-language-game-programming-with-inform-7/#comments</comments>
		<pubDate>Fri, 09 Jun 2006 00:23:58 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[games]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[retro]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=530</guid>
		<description><![CDATA[Liza Daly: &#8220;If you are a COBOL fan, you will love this language, and if you are not, the main thing you should know is that Inform 7 does not suck. It can do real work in a novel way.&#8221;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.onlamp.com/pub/a/onlamp/2006/06/08/inside-inform-7.html">Liza Daly</a>: &#8220;If you are a COBOL fan, you will love this language, and if you are not, the main thing you should know is that Inform 7 does not suck. It can do real work in a novel way.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2006/06/08/natural-language-game-programming-with-inform-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not an attack, just some observations</title>
		<link>http://www.jepstone.net/blog/2006/01/04/not-an-attack-just-some-observations/</link>
		<comments>http://www.jepstone.net/blog/2006/01/04/not-an-attack-just-some-observations/#comments</comments>
		<pubDate>Wed, 04 Jan 2006 17:00:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=7</guid>
		<description><![CDATA[Tom Hoffman: Test-Driven Development: What a Pain in the Ass!]]></description>
			<content:encoded><![CDATA[<p>Tom Hoffman: <a href="http://tuttlesvc.teacherhosting.com/wordpress/?p=30">Test-Driven Development: What a Pain in the Ass!</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2006/01/04/not-an-attack-just-some-observations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Mandelbrot Set in JavaScript</title>
		<link>http://www.jepstone.net/blog/2005/09/07/the-mandelbrot-set-in-javascript/</link>
		<comments>http://www.jepstone.net/blog/2005/09/07/the-mandelbrot-set-in-javascript/#comments</comments>
		<pubDate>Wed, 07 Sep 2005 13:00:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=128</guid>
		<description><![CDATA[Want to bring your browser to a grinding halt for anywhere between a few seconds and a minute? If you do, be sure to click here. (On my Mac, Opera is much faster than Firefox or Safari.) I drew on &#8230; <a href="http://www.jepstone.net/blog/2005/09/07/the-mandelbrot-set-in-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Want to bring your browser to a grinding halt for anywhere between a few<br />
seconds and a minute? If you do, <a href="http://jepstone.net/mbro_js.html">be sure to click here</a>.  (On<br />
my Mac, Opera is much faster than Firefox or Safari.) I<br />
drew on a few sources of inspiration:</p>
<ul>
<li><a href="http://www.davidbetz.net/graphics/">JavaScript Graphics<br />
Development</a></p>
<li><a href="http://del.icio.us/bjepson/fractals">Various<br />
implementations of a Mandelbrot set generator</a>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2005/09/07/the-mandelbrot-set-in-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Food for Thought on Mono and Patents</title>
		<link>http://www.jepstone.net/blog/2004/05/20/food-for-thought-on-mono-and-patents/</link>
		<comments>http://www.jepstone.net/blog/2004/05/20/food-for-thought-on-mono-and-patents/#comments</comments>
		<pubDate>Thu, 20 May 2004 18:01:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=209</guid>
		<description><![CDATA[Miguel de Icaza: &#8220;&#8230;take a step back, and for every instance of the word `Mono&#8217; replace it with every major open source project today `gnu libc&#8217;, `linux kernel&#8217;, `Open Office&#8217;, `samba&#8217;, `x11&#8242;, `cairo&#8217;, `gtk+&#8217;, `qt&#8217;, `binutils&#8217;, `gcc&#8217;, gnome&#8217;, `qt&#8217;, `mozilla&#8217;, &#8230; <a href="http://www.jepstone.net/blog/2004/05/20/food-for-thought-on-mono-and-patents/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://primates.ximian.com/~miguel/all.html#5/20/2004%201:55:00%20PM">Miguel de Icaza</a>: &#8220;&#8230;take a  step back, and for every instance of the word `Mono&#8217; replace  it with every major open source project today `gnu libc&#8217;,  `linux kernel&#8217;, `Open Office&#8217;, `samba&#8217;, `x11&#8242;, `cairo&#8217;,  `gtk+&#8217;, `qt&#8217;, `binutils&#8217;, `gcc&#8217;, gnome&#8217;, `qt&#8217;, `mozilla&#8217;, `my  favorite file system&#8217;, use your imagination.</p>
<p>Does your foe have a patent to it? Or someone that can be  acquired by your foe?&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2004/05/20/food-for-thought-on-mono-and-patents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MonoDevelop on Mac OS X</title>
		<link>http://www.jepstone.net/blog/2004/05/20/monodevelop-on-mac-os-x/</link>
		<comments>http://www.jepstone.net/blog/2004/05/20/monodevelop-on-mac-os-x/#comments</comments>
		<pubDate>Thu, 20 May 2004 10:31:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=210</guid>
		<description><![CDATA[These are rough notes, and due to the the moving target nature of everything, very likely to stop working at some point in the future. Install Fink. Configure Fink to use the unstable repository. Install mono, gtk-sharp, gecko-sharp, gtksourceview-sharp, and &#8230; <a href="http://www.jepstone.net/blog/2004/05/20/monodevelop-on-mac-os-x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img align="right" src="http://www.jepstone.net/images/monodevelop_cc.png" /></p>
<p>These are rough notes, and due to the the moving target nature of everything, very likely to stop working at some point in the future.</p>
<ul>
<li>Install <a href="http://fink.sourceforge.net">Fink</a>.</li>
<li><a href="http://fink.sourceforge.net/faq/usage-fink.php?phpLang=en#unstable">Configure</a> Fink to use the unstable repository.</li>
<li>Install mono, gtk-sharp, gecko-sharp, gtksourceview-sharp, and probably a bunch of other stuff (monodevelop will let you know what&#8217;s needed when you run ./configure) using &#8220;fink install&#8221;. When you come to gtk-sharp, you might have a problem with a gtk+2 dependency, so if this happens, edit<br />
<code>/sw/fink/10.3/unstable/main/finkinfo/graphics/gtk-sharp.info</code><br />
and change all occurrences of &#8220;gtk+2 (>= 2.2.4-3)&#8221; to &#8220;gtk+2 (>=2.2.4-2)&#8221;</li>
<li>Install mozilla with fink. This will take a veeeery long time if you do it from source, so if you don&#8217;t mind mixing source/binary<br />
installations, just do &#8220;sudo apt-get install mozilla&#8221;. If you don&#8217;t have mozilla installed, the monodevelop script will appear to hang (&#8220;cat `which mozilla`&#8221; turns into &#8220;cat&#8221;) when you launch it.</li>
<li>Download <a href="http://www.monodevelop.com">MonoDevelop</a> 0.3, extract it, set <code>CPPFLAGS=-I/sw/include</code>, <code>CFLAGS=-I/sw/include</code>, and <code>LDFLAGS=-L/sw/lib</code>, and then run ./configure in the top-level directory.</li>
<li>Edit Main/Base/Makefile and change <code>CSC = mcs /debug</code> to <code>CSC = mcs</code>. This prevented a NullReferenceException while compiling that part of the code.</li>
<li><code>make</code> and then <code>sudo make install</code></li>
<li>Mono seems to be a little confused about how to handle DllImport on Mac OS X, so we need to help it.  You&#8217;ll need to make the following<br />
symlinks:</p>
<pre>$ cd /sw/lib
$ sudo ln -s libgtk-x11-2.0.dylib libgtk-x11-2.0.so.0
$ sudo ln -s libgnomevfs-2.dylib libgnomevfs-2.so
$ sudo ln -s libgtksourceview-1.0.dylib libgtksourceview-1.0.so
$ sudo ln -s libglib-2.0.dylib libglib-2.0.so
# Update 5/18/2004:
$ sudo ln -s libglib-2.0.dylib libglib-2.0.so.0

$ cd /usr/local/lib/monodevelop/bin/
$ sudo ln -s libgdldock.dylib libgdldock.so
$ sudo ln -s libmonodevelop.dylib libmonodevelop.so</pre>
</li>
<li>Open up X11, start an xterm, and run /usr/local/bin/monodevelop.</li>
</ul>
<p>I can&#8217;t make any promises that this will work, but it created the code completion database successfully, and so far, it&#8217;s working well for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2004/05/20/monodevelop-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SafariBox</title>
		<link>http://www.jepstone.net/blog/2004/04/20/safaribox/</link>
		<comments>http://www.jepstone.net/blog/2004/04/20/safaribox/#comments</comments>
		<pubDate>Tue, 20 Apr 2004 11:21:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=218</guid>
		<description><![CDATA[Jon Udell shows how to embed Safari search results in a web page.]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblog.infoworld.com/udell/2004/04/15.html#a974">Jon<br />
Udell shows</a> how to embed Safari search results in a web page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2004/04/20/safaribox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best of Both Worlds</title>
		<link>http://www.jepstone.net/blog/2004/04/03/best-of-both-worlds/</link>
		<comments>http://www.jepstone.net/blog/2004/04/03/best-of-both-worlds/#comments</comments>
		<pubDate>Sat, 03 Apr 2004 10:31:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=226</guid>
		<description><![CDATA[Ted Neward: &#8220;it&#8217;s dual citizenship!&#8221;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.neward.net/ted/weblog/index.jsp?date=20040402#1080935365345">Ted<br />
Neward</a>: &#8220;it&#8217;s dual citizenship!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2004/04/03/best-of-both-worlds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changes at Sun</title>
		<link>http://www.jepstone.net/blog/2004/04/02/changes-at-sun/</link>
		<comments>http://www.jepstone.net/blog/2004/04/02/changes-at-sun/#comments</comments>
		<pubDate>Fri, 02 Apr 2004 12:55:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=227</guid>
		<description><![CDATA[Daniel Steinberg: &#8220;This could be a huge moment for Sun.&#8221;]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblogs.java.net/pub/wlg/1175">Daniel Steinberg</a>:<br />
&#8220;This could be a huge moment for Sun.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2004/04/02/changes-at-sun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla as Killer Cross-Platform Component Platform</title>
		<link>http://www.jepstone.net/blog/2004/03/24/mozilla-as-killer-cross-platform-component-platform/</link>
		<comments>http://www.jepstone.net/blog/2004/03/24/mozilla-as-killer-cross-platform-component-platform/#comments</comments>
		<pubDate>Wed, 24 Mar 2004 14:59:00 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=230</guid>
		<description><![CDATA[Jon Udell: &#8220;Could InfoPath have been built on a Mozilla foundation instead? You bet. And the result wouldn&#8217;t just be a great Windows application. It would be a great application, period.&#8221; See also The Firefox Opportunity.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.infoworld.com/article/04/03/19/12OPstrategic_1.html">Jon<br />
Udell</a>: &#8220;Could InfoPath have been built on a Mozilla foundation<br />
instead? You bet. And the result wouldn&#8217;t just be a great Windows<br />
application. It would be a great application, period.&#8221; See also <a href="http://weblog.infoworld.com/udell/2004/03/24.html#a953">The<br />
Firefox Opportunity</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2004/03/24/mozilla-as-killer-cross-platform-component-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

