<?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"
	>

<channel>
	<title>blog.s11n.net</title>
	<atom:link href="http://blog.s11n.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.s11n.net</link>
	<description>blog for s11n.net</description>
	<pubDate>Thu, 23 Aug 2012 15:51:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Forewarning: s11n.net is going offline</title>
		<link>http://blog.s11n.net/?p=106</link>
		<comments>http://blog.s11n.net/?p=106#comments</comments>
		<pubDate>Thu, 23 Aug 2012 15:51:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[goodbye]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=106</guid>
		<description><![CDATA[Hi, all!
After having been online for about 9 years now, i am being forced to take s11n.net offline. I.T. salaries in Europe have stayed flat since over 10 years while the cost of living increases practically weekly, and i can no longer afford to shell out some 300 Euros/year for hosting (my effective salary is probably [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, all!</p>
<p>After having been online for about 9 years now, i am being forced to take s11n.net offline. I.T. salaries in Europe have stayed flat since over 10 years while the cost of living increases practically weekly, and i can no longer afford to shell out some 300 Euros/year for hosting (my effective salary is probably half of what i made 10 years ago, despite having increased my skills/effectiveness by over 10x). i will TRY to get the blog ported over the wanderinghorse.net (my (MUCH cheaper) primary hoster) but i seem to have been shut out of shell access at this account and am too old and tired to deal with it, so it might just get deleted.</p>
<p>i cannot yet say WHEN it will go offline. i will cancel the contract in the next week or two but things like this take time in Germany, and it might take anywhere from 2 weeks to 3 months or more before it goes dark.</p>
<p>It&#8217;s been fun, but it has gotten too expensive to justify. If you do in fact follow this blog or my other works, please continue to do so over on <a title="android.wanderinghorse.net" href="http://android.wanderinghorse.net" target="_blank">android.wanderinghorse.net</a>, which is my current blog. The other <a href="http://wanderinghorse.net" target="_blank">wanderinghorse.net</a> domains still house my various projects, and s11n will eventually move over there (where hosting costs less than 1/6th of what i pay at 1&amp;1), but the domain itself will probably not (because 1&amp;1 intentionally makes it really painful to get out from under their thumb).</p>
<p><strong><em>Happy Hacking!</em></strong></p>
<p>&#8212;&#8211; stephan beal</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=106</wfw:commentRss>
		</item>
		<item>
		<title>New, Android-centric Blog</title>
		<link>http://blog.s11n.net/?p=105</link>
		<comments>http://blog.s11n.net/?p=105#comments</comments>
		<pubDate>Sun, 17 Jun 2012 14:21:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=105</guid>
		<description><![CDATA[Hi, all!
As i begin my semi-official migration away from abusing the s11n.net domain for anything and everything, i have started another blog centered around software development on the Android platform: http://android.wanderinghorse.net
Unlike blog.s11n.net, the new one uses a modern WordPress which allows people to log in via social networks and has other cool features. (i have [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, all!</p>
<p>As i begin my semi-official migration away from abusing the s11n.net domain for anything and everything, i have started another blog centered around software development on the Android platform: <a href="http://android.wanderinghorse.net" target="_self">http://android.wanderinghorse.net</a></p>
<p>Unlike blog.s11n.net, the new one uses a modern WordPress which allows people to log in via social networks and has other cool features. (i have not upgraded this site because of the risks of losing 7 years of posts.)</p>
<p>If you are at all interested in Android development, <a title="android.wanderinghorse.net" href="http://android.wanderinghorse.net">stop on by</a>.</p>
<p>In related news: sometime around September i will be moving s11n.net to a new hoster. The domain will be kept (because i can do so cheaply), but there might be some down-time while i port. (And i hope to Gawd that i don&#8217;t lose all the old posts when porting the blog&#8230;)</p>
<p><strong><em>Happy Hacking!</em></strong></p>
<p>&#8212;&#8211; stephan beal</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=105</wfw:commentRss>
		</item>
		<item>
		<title>My first Android app&#8230;</title>
		<link>http://blog.s11n.net/?p=104</link>
		<comments>http://blog.s11n.net/?p=104#comments</comments>
		<pubDate>Wed, 13 Jun 2012 23:15:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[gaming]]></category>

		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=104</guid>
		<description><![CDATA[Hi, all!
My first Android app is now in the [niche] Market (free):
https://play.google.com/store/apps/details?id=net.wanderinghorse.android.hexish
It&#8217;s a utility for gamers which generates hex grids using a variety of configuration options. Very niche-market stuff :).
It &#8220;should&#8221; work on just about any Droid with Android 2.1 or higher (API level 7). (Well, it will once v20120614 is propagated&#8230; takes a few [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, all!</p>
<p>My first Android app is now in the [niche] Market (free):</p>
<p><a href="https://play.google.com/store/apps/details?id=net.wanderinghorse.android.hexish">https://play.google.com/store/apps/details?id=net.wanderinghorse.android.hexish</a></p>
<p>It&#8217;s a utility for gamers which generates hex grids using a variety of configuration options. Very niche-market stuff :).</p>
<p>It &#8220;should&#8221; work on just about any Droid with Android 2.1 or higher (API level 7). (Well, it will once v20120614 is propagated&#8230; takes a few hours&#8230;)</p>
<p><strong><em>Happy Hacking!</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=104</wfw:commentRss>
		</item>
		<item>
		<title>JSON API in the Fossil SCM</title>
		<link>http://blog.s11n.net/?p=103</link>
		<comments>http://blog.s11n.net/?p=103#comments</comments>
		<pubDate>Fri, 04 Nov 2011 21:31:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[StrangerThanFiction]]></category>

		<category><![CDATA[software-dev]]></category>

		<category><![CDATA[fossil]]></category>

		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=103</guid>
		<description><![CDATA[

Hi, all!
Since mid September i&#8217;ve been working on adding a JSON API to the Fossil SCM. As of just a short while ago, D. Richard Hipp, legendary author of sqlite3 and Fossil, merged that API into the Fossil trunk. :-D
The pseudo-historic commit is here:
http://www.fossil-scm.org/fossil/info/796dcfe072
With these features it becomes possible to write custom applications on top of [...]]]></description>
			<content:encoded><![CDATA[<p><span></p>
<div>
<p>Hi, all!</p>
<p>Since mid September i&#8217;ve been working on adding a JSON API to the <a title="Fossil SCM" href="http://www.fossil-scm.org/" target="_blank">Fossil SCM</a>. As of just a short while ago, D. Richard Hipp, legendary author of sqlite3 and Fossil, merged that API into the Fossil trunk. :-D</p>
<p>The pseudo-historic commit is here:</p>
<p><a href="http://www.fossil-scm.org/fossil/info/796dcfe072">http://www.fossil-scm.org/fossil/info/796dcfe072</a></p>
<p>With these features it becomes possible to write custom applications on top of fossil, communicating with it via JSON (either over HTTP or stdin/file-based JSON). There&#8217;s still lots of work to make the JSON API widely usable, but this merge widens exposure to the new features, and exposure is the best way for us to evolve the feature sets the API needs.</p>
<p><strong><em><strong><em>Happy Hacking!</em></strong></em></strong></p>
<p>&#8212;&#8211; stephan beal</p>
</div>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=103</wfw:commentRss>
		</item>
		<item>
		<title>Goodbye, Ubuntu!</title>
		<link>http://blog.s11n.net/?p=101</link>
		<comments>http://blog.s11n.net/?p=101#comments</comments>
		<pubDate>Tue, 18 Oct 2011 18:16:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=101</guid>
		<description><![CDATA[Achtung: this is one of those bad-mood posts i prefer to avoid writing, but the Ubuntu project needs a bit of a verbal thrashing&#8230;
i&#8217;ve been a happy, dedicated Ubuntu user since i left Kubuntu when they switched from KDE 3 to KDE 4 (which was, and still is, utterly useless as a work environment). i [...]]]></description>
			<content:encoded><![CDATA[<p>Achtung: this is one of those bad-mood posts i prefer to avoid writing, but the Ubuntu project needs a bit of a verbal thrashing&#8230;</p>
<p>i&#8217;ve been a happy, dedicated Ubuntu user since i left Kubuntu when they switched from KDE 3 to KDE 4 (which was, and still is, utterly useless as a work environment). i had been a happy, dedicated Kubuntu user since switching from Suse. i had been a happy, dedicated Suse user since the summer of 1998, shortly after i moved to Germany, and only left them because their package management tools simply got atrociously bad (i&#8217;m sure they have since gotten better, but once you&#8217;ve used apt-get and friends you can&#8217;t ever go back to an RPM-based system). Before Suse i would use various distros and had no real favourite (i started using Linux in 1994). i think i was using Slackware most of the time back then.</p>
<p>When Ubuntu 11.04 came out i diligently upgraded. &#8220;Upgrade,&#8221; he says! Upgrade!!! Right! <em><strong>It was supposed to be an upgrade!</strong></em> But the Ubuntu project went with some eye-candy desktop environment with the same core properties as KDE4: it looks beautiful but is absolutely useless as a work environment. i need a WORKstation, not a PLAYstation (that&#8217;s what my GameBoy is for). So i back-revved (upgraded!) 11.04 to 10.10 and was once a happy, dedicated Ubuntu user.</p>
<p>And then came 11.10, and i felt compelled to try it out. BAD IDEA! Not only does it have that same goddamned Mac-like user interface, they&#8217;ve moved the app menu to the top of the screen. <em><strong>Steve Jobs isn&#8217;t dead - he went to work for Ubuntu.</strong></em></p>
<p><em><strong>I HATE HAVING THE MENU ON THE TOP OF MY SCREEN.</strong></em> After reading several blog posts about how to remove it, nothing worked. So i installed the LXDE desktop on it, which is actually quite nice but has the fatal flaw that it cannot properly do multi-head (or it has no tool for setting it up like Ubuntu and friends have). My netbook (my only PC) gets continually moved between two different external monitors and i need a work environment which can do that. Ubuntu handled that beautifully, without any restarting or other Windows/Firefox-like behaviour. So LXDE is ruled out.</p>
<p>At this very moment i&#8217;m running the LiveCD version of Mint Linux, and it&#8217;s installing as i&#8217;m writing this (try doing that in Windows or Mac!).</p>
<p><em><strong>GOODBYE, UBUNTU!</strong></em> i once loved you, but this betrayal is too much. i cannot live with a menu stuck at the top of my screen and a desktop with which i cannot work. Even in &#8220;Gnome Classic&#8221; mode that goddamned menu sits at the top of my screen, continually taunting me. i can&#8217;t have my PC taunting me, so off you go, back to the toybox where your Unity desktop belongs.</p>
<p>The installer is finished now, so it&#8217;s now time to go get all my packages installed and whatnot. What a waste of time. This type of thing was fun 10 or 12 years ago, but i&#8217;m too old for that - i want a system which just works and keeps working. Kinda like Ubuntu did up until version 11.04.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=101</wfw:commentRss>
		</item>
		<item>
		<title>15 Billion? Apple is lying out its applehole&#8230;</title>
		<link>http://blog.s11n.net/?p=100</link>
		<comments>http://blog.s11n.net/?p=100#comments</comments>
		<pubDate>Fri, 08 Jul 2011 13:31:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PureEvil]]></category>

		<category><![CDATA[evil]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=100</guid>
		<description><![CDATA[Hello, all!
Some of you might know that i absolutely despise Apple (the company). i&#8217;ve boycotted them actively since around 1994 and i will continue to do so until (at the very least) other companies are allowed to build Apple hardware clones (without paying exuberant licensing fees to Apple, that is).
i don&#8217;t allow Apple products in my flat [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, all!</p>
<p>Some of you might know that i <strong><span style="text-decoration: underline;"><em>absolutely despise</em></span></strong> Apple (the company). i&#8217;ve boycotted them actively since around 1994 and i will continue to do so until (at the very least) other companies are allowed to build Apple hardware clones (without paying exuberant licensing fees to Apple, that is).</p>
<p>i don&#8217;t allow Apple products in my flat (leave them at the door or don&#8217;t come in!) and i refuse to lay my hands on them (except once, i must ashamedly admit, to compare an iPhone&#8217;s weight against my mobile phone&#8217;s). i am so strongly against Apple that i would not hesitate to quit my job if i was told that i had to work on an Apple-based project.</p>
<p>The list of reasons i boycott Apple is about as long as my hair (i.e. it stretches from my head to below my belt), but i&#8217;m not here today to talk about that list. Today i&#8217;m here to show that Apple believes that it can magically pull impossible numbers from its butt and get away with marketing them as truths.</p>
<p>Let&#8217;s have a little lesson in math&#8230;</p>
<p>According to this post (and others like it):</p>
<p><a href="http://www.businessweek.com/ap/financialnews/D9OB0A280.htm">http://www.businessweek.com/ap/financialnews/D9OB0A280.htm</a></p>
<p>Apple&#8217;s App Store has reported 15 <em>billion</em> sales/downloads. Apple has sold, according to that same article, some 200 million devices worldwide which <em>could</em> be used for such sales.</p>
<p>Now do the math: 15b/200m = 75 apps per device on average. And its an average of roughly 2 apps per person <em>on the planet</em>, despite the fact that only a very small percentage of human beings own an Apple iProduct (approximately 1 in 3500 people worldwide, if we can believe the 200m number from Apple and a current worldwide population of 7b).</p>
<p>While there might be a small handful of people who actually buy that many apps for their iDevice (e.g. for product reviews and whatnot), there is <span style="text-decoration: underline;"><em><strong>no way in hell</strong></em></span> which Apple can convince me that the average Apple user is buying 75 applications from the App Store. (But the Apple zombies will certainly find a way to justify it, as that&#8217;s what they instinctively do every time they swallow what Apple places in front of them.)</p>
<p>The only ways, in my opinion, which these numbers could be explained are:</p>
<ol>
<li>They&#8217;re fictional. Some finance guy/gal simply punched in the number in a spreadsheet program (or otherwise made it up).</li>
<li>Apple (or one of its 200m zombies) uses bots whose sole purpose is to just keep downloading apps over and over again to increase the official download counts. (Hell, there might be such bots built in to every iProduct, for all we know.)</li>
<li>There was an integer underflow in their download counter.</li>
</ol>
<p>:-P</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=100</wfw:commentRss>
		</item>
		<item>
		<title>whiki: a &#8220;different sort&#8221; of Wiki back-end</title>
		<link>http://blog.s11n.net/?p=99</link>
		<comments>http://blog.s11n.net/?p=99#comments</comments>
		<pubDate>Tue, 17 May 2011 20:26:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[c]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=99</guid>
		<description><![CDATA[Hi, all!
Despite the fact that the world has tons of wiki managers/back-ends, i felt compelled hack one of my own together. The initial inspiration for this came from the Fossil, an SCM which integrates source control, a wiki, and bug-tracking into a single application binary which can be used from the command line, a standalone web [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, all!</p>
<p>Despite the fact that the world has tons of wiki managers/back-ends, i felt compelled hack one of my own together. The initial inspiration for this came from the <a href="http://www.fossil-scm.org" target="_blank">Fossil</a>, an SCM which integrates source control, a wiki, and bug-tracking into a single application binary which can be used from the command line, a standalone web server, or as a CGI on an arbitrary web hoster. (i host many of my own projects using Fossil CGI over on <a href="http://fossil.wanderinghorse.net" target="_blank">fossil.wanderinghorse.net</a>.) Through my use of fossil, i&#8217;ve come accustomed to maintaining non-API project documentation in a wiki, and love the ease-of-documentation this gives me (i&#8217;m a documentation maniac). Despite my love for fossil, however, i always felt that i was betraying the only wiki syntax i really like - the one used by <a href="http://code.google.com" target="_blank">Google Code</a>. Since fossil doesn&#8217;t provide the features i need to replace its wiki handler with one of my own&#8230; you guessed it (or read it in the first line of this post)&#8230; i wrote a new wiki back-end.</p>
<p>In April i started work on <a href="http://fossil.wanderinghorse.net/repos/whiki/" target="_blank">whiki</a> (the <a href="http://www.wanderinghorse.net" target="_blank">WanderingHorse.net</a> Wiki), a &#8220;different sort&#8221; of wiki back-end, and it is now in a functional state (hosting three live wikis as of 17 May 2011). Like most wiki back-ends, it uses a database (sqlite3 or MySQLv5) to store its pages. What differentiates whiki from other wiki back-ends is:</p>
<ul>
<li>It is implemented in C and runs as a CGI application (or, to some degree, from the command line). i&#8217;m not personally aware of any other wiki manager/back-end implemented in C.</li>
<li>It consumes and produces <em>only</em> JSON data. Requests are sent in the form of simple HTTP GET or (for more complex requests) POST requests (with JSON payload data) and responses are in the form of a JSON object tree.</li>
<li>It has no &#8220;native&#8221; wiki format. Instead it tags each wiki page with a &#8220;content type&#8221; label (e.g. &#8220;text/plain&#8221; or &#8220;wiki/googlecode&#8221;), and applications can use that hint to determine how they should render a given page. Client applications can, with little effort, support multiple content types in the same logical wiki (e.g. plain text, source code (to be syntax-highlighted by the renderer), HTML, or even multiple wiki formats).</li>
<li>It has no &#8220;native&#8221; user interface. UIs can be written using client-side languages like JavaScript, Java, or PHP, which interact with the whiki back-end via JSON messages. The <a href="http://fossil.wanderinghorse.net/repos/whiki/" target="_blank">main whiki website</a> is implemented entirely in JavaScript, CSS, and HTML, and primarily uses the <a href="http://code.google.com/p/wikiwym/" target="_blank">wikiwym GoogleCode-syntax wiki parser</a> for rendering its pages (but it also supports several other content types).</li>
<li>It allows clients to attach arbitrary JSON data to each page. This can be used for any number of things, e.g. implementing &#8220;tags&#8221;, marking certain pages as &#8220;featured&#8221; or &#8220;important&#8221;, defining intra-page relationships (e.g. for rendering a hierarchical menu), or flagging a certain page as the &#8220;home page.&#8221;</li>
</ul>
<p>whiki is not, and will never, be an industrial-strength back-end like the one used to power Wikipedia (or any number of other large wikis). It is intended to supplant my fossil-based wikis (meaning anywhere from 5 to 20 pages or so). It is also missing some features which would certainly be of critical importance to many potential users. e.g. it has no search functionality, only two access levels (all or nothing), and has no support for storing historical versions of each page. (With another contributor or three we could fix those shortcomings, but i personally have relatively little need of them.)</p>
<p>If the following applies to you:</p>
<ul>
<li>You&#8217;re an eccentric C hacker who wants to host his own small wiki but doesn&#8217;t want to use PHP or&#8230;</li>
<li>You&#8217;re a lone hacker who wants to an easy way to host wiki-style documentation for one of his pet projects or&#8230;</li>
<li>You currently use Fossil but aren&#8217;t quite satisfied with its wiki</li>
</ul>
<p>&#8230; and you have the ability to compile and run C applications on your web hoster&#8230;</p>
<p><em>Then</em> whiki just <em>might</em> be slightly interesting for you:</p>
<p style="text-align: center;"><a href="http://whiki.wanderinghorse.net">http://whiki.wanderinghorse.net</a></p>
<p><strong><em>Happy Hacking!</em></strong></p>
<p>&#8212;&#8211; stephan beal</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=99</wfw:commentRss>
		</item>
		<item>
		<title>Generating JSON output from Databases on the Command Line</title>
		<link>http://blog.s11n.net/?p=98</link>
		<comments>http://blog.s11n.net/?p=98#comments</comments>
		<pubDate>Sun, 17 Apr 2011 11:00:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[software-dev]]></category>

		<category><![CDATA[c]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[json]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=98</guid>
		<description><![CDATA[Hello, JSON fans,
This morning i wrote a small C application which can be used to fetch data from sqlite3 and MySQLv5 databases and convert it to JSON. While it was originally written as a test app for my C JSON library, it certainly has other uses.
It can be found here:
http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/select-to-json
It &#8220;should&#8221; compile fine out of [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, JSON fans,</p>
<p>This morning i wrote a small C application which can be used to fetch data from sqlite3 and MySQLv5 databases and convert it to JSON. While it was originally written as a test app for <a href="http://fossil.wanderinghorse.net/repos/cson/">my C JSON library</a>, it certainly has other uses.</p>
<p>It can be found here:</p>
<p><a href="http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/select-to-json">http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/select-to-json</a></p>
<p>It &#8220;should&#8221; compile fine out of the box on any Linux-like system with gcc, bash, and GNU Make. Building on other platforms requires either converting the included Makefile logic to the platform&#8217;s build tool, or linking it against <a href="http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/AmalgamationBuild">the &#8220;amalgamation build&#8221;</a> of the underlying JSON library. The code is portable ANSI C-89 and should not require any platform-specific fixes.</p>
<p><strong><em>Happy Hacking!</em></strong></p>
<p>&#8212;&#8211; stephan beal</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=98</wfw:commentRss>
		</item>
		<item>
		<title>JSON-centric CGI Applications in C</title>
		<link>http://blog.s11n.net/?p=97</link>
		<comments>http://blog.s11n.net/?p=97#comments</comments>
		<pubDate>Mon, 11 Apr 2011 21:38:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[software-dev]]></category>

		<category><![CDATA[c]]></category>

		<category><![CDATA[CGI]]></category>

		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=97</guid>
		<description><![CDATA[Hello, fellow C hackers, (everyone else can stop reading now)
A few months ago i started writing cson (pronounced &#8220;season&#8221;), a C library for generating and consuming JSON data using an OO interface (as opposed to a printf()-like API). The past few days i&#8217;ve extended it to support a mini-framework for writing JSON-only CGI applications. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, fellow C hackers, (everyone else can stop reading now)</p>
<p>A few months ago i started writing <a href="http://fossil.wanderinghorse.net/repos/cson/">cson</a> (pronounced &#8220;season&#8221;), a C library for generating and consuming <a href="http://www.json.org">JSON</a> data using an OO interface (as opposed to a printf()-like API). The past few days i&#8217;ve extended it to support a mini-framework for writing JSON-only CGI applications. It&#8217;s biggest claim to fame is that it can use HTTP cookies (or a client-provided session ID) to manage persistent application sessions, which are stored (of course) as JSON. It currently supports using files, sqlite3, or mysql5 for session storage, and can easily be extended to support new back-ends. (So far i have been unable to find any other C/C++ CGI libraries which support persistent sessions.)</p>
<p>If you just happen to be one of the 3 or 4 remaining C hackers who like to write CGI apps, and you are also a big fan of JSON, the code might be of interest to you:</p>
<p><a href="http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/cson_cgi">http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/cson_cgi</a></p>
<p>The JSON-based session support is actually independent of the CGI bits, and can be used without HTTP/CGI:</p>
<p><a href="http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/cson_session"> http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki/cson_session</a></p>
<p>Here&#8217;s a demo:</p>
<p><a href="http://fossil.wanderinghorse.net/demos/cson/">http://fossil.wanderinghorse.net/demos/cson/</a></p>
<p><em><strong><em>Happy Hacking!</em></strong></em></p>
<p>&#8212;&#8211; stephan beal</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=97</wfw:commentRss>
		</item>
		<item>
		<title>Wanted: Late-night Hacker seeks SSH Access&#8230;</title>
		<link>http://blog.s11n.net/?p=96</link>
		<comments>http://blog.s11n.net/?p=96#comments</comments>
		<pubDate>Wed, 02 Feb 2011 05:54:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[StrangerThanFiction]]></category>

		<category><![CDATA[software-dev]]></category>

		<category><![CDATA[begging]]></category>

		<category><![CDATA[c]]></category>

		<category><![CDATA[oracle]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.s11n.net/?p=96</guid>
		<description><![CDATA[Hello, fellow hackers!
i just have to ask&#8230;
As part of the cpdo project i would really like to start work on a database driver for Oracle (based on ocilib, which i quite like and is well documented). My main limiting factor here is access to a Unix/Unix-ish machine with the necessary Oracle bits.
If there is anyone [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, fellow hackers!</p>
<p>i just <em>have</em> to ask&#8230;</p>
<p>As part of the <a href="http://fossil.wanderinghorse.net/repos/cpdo/">cpdo project</a> i would really like to start work on a database driver for Oracle (based on <a href="http://orclib.sourceforge.net">ocilib</a>, which i quite like and is well documented). My main limiting factor here is access to a Unix/Unix-ish machine with the necessary Oracle bits.</p>
<p>If there is <em>anyone</em> out there who could give me (<em>unprivileged!</em>) SSH access to such a machine, you would be doing me a great service. My requirements would be:</p>
<ul>
<li>Some form of Linux, BSD, Solaris, etc.</li>
<li>A decent C compiler and related build tools.</li>
<li>Access to link to libclntsh.so (some admins lock that away in a dir only readable by the oracle user and/or dba group).</li>
<li>A decent editor: xemacs (preferred) or emacs. (Note that xemacs works fine <em>without</em> X11, and i would <em>not</em> need to tunnel X11 over ssh.)</li>
<li>Access to a single Oracle database with minimal space requirements (maybe a meg or two, at the very most).</li>
<li>i <em>think</em> that i need Oracle v10 or higher, but to be honest i&#8217;m not certain.</li>
<li>Far under 1% (amortized) of your total CPU capacity, with most of that coming from the C compiler and the linker.</li>
<li>Initially i would need a total of probably 36-48 hours of login time, and would of course like to have further access to improve upon the driver over time (but i would settle for the initial block if that&#8217;s all i can get).</li>
</ul>
<p>i would of course <em>Do No Evil</em> (or even <em>Mischief</em>) on your machine - my sole purpose would be to develop and test this driver. i would of course also sign any disclaimers, waivers, etc. which you would require, as long as copyrights to the source code developed there are not transfered from me (the code will remain free and open source, like the should be).</p>
<p>Is there someone out there who could help a brother out? If so, please get in touch (contact info is at <a href="http://wanderinghorse.net/home/stephan/">http://wanderinghorse.net/home/stephan/</a>).</p>
<p>i actually have tried to get Oracle running, but after spending a whole day trying, and never getting past the installer, i gave up. (Oracle for Linux requires truly ancient system libraries which have not been seen on my PCs since about the time of Bill Clinton&#8217;s presidency.)</p>
<p>Thanks once again for reading, and <strong><em>Happy Hacking!</em></strong></p>
<p>&#8212;&#8211; stephan beal</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.s11n.net/?feed=rss2&amp;p=96</wfw:commentRss>
		</item>
	</channel>
</rss>
