<?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/"
	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>journal extended</title>
	<atom:link href="http://nekonojournal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nekonojournal.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 21 Aug 2011 02:13:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nekonojournal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>journal extended</title>
		<link>http://nekonojournal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nekonojournal.wordpress.com/osd.xml" title="journal extended" />
	<atom:link rel='hub' href='http://nekonojournal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Synchro Test Suite</title>
		<link>http://nekonojournal.wordpress.com/2011/08/20/synchro-test-suite/</link>
		<comments>http://nekonojournal.wordpress.com/2011/08/20/synchro-test-suite/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 20:09:35 +0000</pubDate>
		<dc:creator>fudanchii</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[lychrel number]]></category>
		<category><![CDATA[unit test]]></category>

		<guid isPermaLink="false">http://nekonojournal.wordpress.com/?p=45</guid>
		<description><![CDATA[I use this mainly for unit testing my C programs. Since most of the programs were targetted for embedded device, it&#8217;s a bit tricky to test, but at least this small suite forced me to separate the modules and make sure they&#8217;re all decoupled. Most of the main features were actually macros. Stored at test_fwx.h, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=45&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="https://github.com/fudanchii/synchro">I use this mainly for unit testing my C programs</a>. Since most of the programs were targetted for embedded device, it&#8217;s a bit tricky to test, but at least this small suite forced me to separate the modules and make sure they&#8217;re all decoupled.<br />
Most of the main features were actually macros. Stored at <code>test_fwx.h</code>, the source is self-documented, just take a read to figure out how to use the assertions.<br />
And then I was inspired by Python doctest, a tool to execute unit test written at docstring in the source code. It was actually came from <a href="http://norvig.com/docex.html">Peter Norvig&#8217;s docex.py</a>. So I decide to create similar tool, written in C, I used bison and flex to generate the parser, which I call chouchou.<br />
Here be example on how to use chouchou:</p>
<p>First, make sure you already have bison and flex installed, then compile chouchou with gcc, just type <code>make</code> and you&#8217;ll set.</p>
<p>I&#8217;ll start with this C source file</p>
<pre class="brush: cpp;">
//this file will be named lychrel.c
//It's not actually finding lychrel number
//but you've got the idea.
//http://en.wikipedia.org/wiki/Lychrel_number
#include &lt;stdio.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;string.h&gt;
#include &quot;lychrel.h&quot;

int do_reverse(int number) {
    char m[11];
    int len, i, j;
    if (!sprintf(m, &quot;%d&quot;, number))
        return 0;
    len = strlen(m);
    for(i = 0, j = len - 1; i &lt; j; i++, j--) {
        char c = m[i];
        m[i] = m[j];
        m[j] = c;
    }
    return atoi(m);
}

int is_palindrom(int num) {
    int test = do_reverse(num);
    if (test == num)
        return 1;
    return 0;
}

long do_addition(int num) {
    return num + do_reverse(num);
}
</pre>
<p>Then I will use this header file</p>
<p><span id="more-45"></span></p>
<pre class="brush: cpp;">
#ifndef _H_LYCHREL
#define _H_LYCHREL

#include &quot;test_fwx.h&quot;

/*
 * Reverse the number
 * #! do_reverse(12345) .== 54321
 */
int do_reverse(int number);

/*
 * Check whether input is palindrom
 * #! is_palindrom(12345) .== 0
 * #! is_palindrom(43034) .== 1
 */
int is_palindrom(int number);

/*
 * Perform addition between current input
 * and its reverse
 * #= fprintf(stderr, &quot;do_addition(12345) = &quot;);
 * #= fprintf(stderr, &quot;12345 + 54321 = &quot;);
 * #= fprintf(stderr, &quot;%ld\n&quot;, do_addition(12345));
 */
long do_addition(int number);

#endif
</pre>
<p>From the sources above, I can generate test case by calling chouchou like this<br />
<code><br />
// I'll presume chouchou's location was at the same directory with the rest source codes<br />
$ ./chouchou lychrel.h &gt; lychrel_test.c<br />
// then compile the test file<br />
$ gcc -o lychrel_test lychrel.c lychrel_test.c<br />
// and run it<br />
$ ./lychrel_test<br />
TEST0001 : do_reverse(12345) == 54321 : ...PASSED<br />
TEST0002 : is_palindrom(12345) == 0 : ...PASSED<br />
TEST0003 : is_palindrom(43034) == 1 : ...PASSED<br />
do_addition(12345) = 12345 + 54321 = 66666<br />
3 Tests, 3 success, 0 failed.<br />
</code></p>
<p>While I don&#8217;t think it will useful for typical small one file application, I&#8217;m pretty sure this will help in prototyping bigger application. And better, the source code will be much more understandable, and easier to maintain.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nekonojournal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nekonojournal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nekonojournal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nekonojournal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nekonojournal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nekonojournal.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nekonojournal.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nekonojournal.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=45&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://nekonojournal.wordpress.com/2011/08/20/synchro-test-suite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc3661971714a03d18eb342759829deb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fudanchii</media:title>
		</media:content>
	</item>
		<item>
		<title>now powered with fixed line</title>
		<link>http://nekonojournal.wordpress.com/2011/08/19/now-powered-with-fixed-line/</link>
		<comments>http://nekonojournal.wordpress.com/2011/08/19/now-powered-with-fixed-line/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 07:48:15 +0000</pubDate>
		<dc:creator>fudanchii</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nekonojournal.wordpress.com/?p=41</guid>
		<description><![CDATA[Yes, It was installed last Monday. After years, I finally subscribes to this fixed line telephone plus adsl service. Well I hope I can update these blogs of mine more frequently. or not. Umm, for the sake of consistency, I should write something techie related. Or whatever, I guess. I&#8217;m still using Presario CQ42, it&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=41&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, It was installed last Monday.<br />
After years, I finally subscribes to this fixed line telephone plus adsl service.<br />
Well I hope I can update these blogs of mine more frequently.<br />
or not.</p>
<p>Umm, for the sake of consistency, I should write something techie related. Or whatever, I guess.<br />
I&#8217;m still using Presario CQ42, it&#8217;s been 8 months I think, since my office swapped the previous Axioo Neon with this.<br />
It was geared with SuSE Linux Enterprise Desktop 11, which is old, and sucks. The kernel takes ~20% of cpu time while it&#8217;s actually idle.</br><br />
Now I&#8217;m using Mint flavoured Debian. And still comfortable with it, despites on edge and unstable proclaim for its rolling based updates.</br></p>
<p>Well, that&#8217;s it for now.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nekonojournal.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nekonojournal.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nekonojournal.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nekonojournal.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nekonojournal.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nekonojournal.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nekonojournal.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nekonojournal.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=41&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://nekonojournal.wordpress.com/2011/08/19/now-powered-with-fixed-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc3661971714a03d18eb342759829deb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fudanchii</media:title>
		</media:content>
	</item>
		<item>
		<title>gnome background changer</title>
		<link>http://nekonojournal.wordpress.com/2010/05/16/gnome-background-changer/</link>
		<comments>http://nekonojournal.wordpress.com/2010/05/16/gnome-background-changer/#comments</comments>
		<pubDate>Sun, 16 May 2010 17:26:34 +0000</pubDate>
		<dc:creator>fudanchii</dc:creator>
				<category><![CDATA[script]]></category>
		<category><![CDATA[gconf]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://nekonojournal.wordpress.com/?p=21</guid>
		<description><![CDATA[I got myself playing with a lot of scripting language lately&#8230; so, this is a python script that change your gnome wallpaper based on given directory. Its default setting is to change the wallpaper every 1 minute, the setting is stored in gconf and you can change it from gconf-editor-&#62; /desktop/gnome/background the script will create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=21&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img src="http://nekonojournal.files.wordpress.com/2010/05/screenshot-1.png?w=700" alt="see that notification" /><br />
I got myself playing with a lot of scripting language lately&#8230;<br />
so, this is a python script that change your gnome wallpaper based on given directory.<br />
Its default setting is to change the wallpaper every 1 minute, the setting is stored in gconf<br />
and you can change it from gconf-editor-&gt; /desktop/gnome/background<br />
the script will create two keys &#8220;picture_folder&#8221; and &#8220;timeout&#8221;<br />
okay, this is it&#8230;</p>
<p><span id="more-21"></span></p>
<pre class="brush: python;">
#!/usr/bin/env python

import gconf, os, time, pynotify
from PIL import Image

pynotify.init(&quot;BgChanger&quot;)

DEFAULTWPDIR = &quot;/usr/share/backgrounds&quot;
NTITLE = &quot;Up Next...&quot;

class BgChanger:
&quot;&quot;&quot;Background changer for Gnome Desktop,
scan image in specified directory and applied those images
as wallpaper via gconf.&quot;&quot;&quot;
def __init__(self):
&quot;init bgchanger set base directory&quot;
    self.gcHnd = gconf.client_get_default()
    self.baseDir = DEFAULTWPDIR
    self.timeout = 1
    self.cursor = 0;
    self.res_default = [1280,1280]
    self.cacheDir = os.path.expanduser(&quot;~/.cache&quot;)
    self.notif = None
    self.startup = True
    self.images = None

def __resize(self, filename, create_thumb = False):
&quot;image resizer, final image stored in .cache folder&quot;
    original = filename
    img = Image.open(filename)
    if create_thumb:
        x, y = [100, 100]
    else:
        x, y = self.res_default
    x0, y0 = img.size
    if x0 &amp;gt; x: y0 = max(x * y0 / x0, 1); x0 = x
    if y0 &amp;gt; y: x0 = max(y * x0 / y0, 1); y0 = y
    if (x0,y0) == img.size: return filename
    im = img.resize([x0,y0],Image.ANTIALIAS)
    if create_thumb:
        filename = os.path.join(self.cacheDir,&quot;thumb.png&quot;)
    else:
        filename = os.path.join(self.cacheDir, &quot;walpaper.png&quot;)
    try:
        im.save(filename)
    except:
        filename = original
    return filename

def __scanImage(self, ext = [&quot;.jpg&quot;, &quot;.png&quot;]):
&quot;directory scanner, create images list from specified directory&quot;
    temp = [os.path.normcase(f) for f in os.listdir(self.baseDir)]
    return [os.path.join(self.baseDir, f) for f in temp
    if os.path.splitext(f)[1] in ext]

##TODO:GUI to queue image and set timer

def __queueImage(self, image):
&quot;queue image file&quot;
    self.images.append(image)

def __setTimer(self, timeout = 10):
    &quot;set timeout for each background to change, timeout in minute&quot;
    self.timeout = timeout

def __setWallpaper(self):
&quot;change the wallpaper&quot;
    picture_folder = self.gcHnd.get_string(&quot;/desktop/gnome/background/picture_folder&quot;)
    if picture_folder != self.baseDir:
        if picture_folder == None:
            self.gcHnd.set_string(&quot;/desktop/gnome/background/picture_folder&quot;, DEFAULTWPDIR)
            self.baseDir = DEFAULTWPDIR
        else:
            self.baseDir = picture_folder
            self.images = self.__scanImage()
        self.cursor = 0
    self.timeout = self.gcHnd.get_int(&quot;/desktop/gnome/background/timeout&quot;)
    if self.timeout == 0:
        self.gcHnd.set_int(&quot;/desktop/gnome/background/timeout&quot;, 1)
        self.timeout = 1
    if self.images == None:
        self.images = self.__scanImage()
        current = self.gcHnd.get_string(&quot;/desktop/gnome/background/picture_filename&quot;)
    if (current in self.images) and self.startup:
        self.cursor = self.images.index(current)
        self.startup = False
    else:
        self.gcHnd.set_string(&quot;/desktop/gnome/background/picture_filename&quot;, self.__resize(self.images[self.cursor]))
    self.cursor = self.cursor + 1
    if self.cursor == len(self.images): self.cursor = 0
    self.__notifyNext()

def __notifyNext(self):
&quot;use pynotify to tell user which wallpaper will be used next&quot;
    BODY = &quot;%s\n%s&quot; % (self.images[self.cursor], &quot;in %d minute(s)&quot; % self.timeout)
    if self.notif == None:
        self.notif = pynotify.Notification(NTITLE, BODY, self.__resize(self.images[self.cursor], True))
    else:
        self.notif.update(NTITLE, BODY, self.__resize(self.images[self.cursor], True))
    self.notif.show()

def run(self):
&quot;setup and run the daemon&quot;
    while 1:
    self.__setWallpaper()
    time.sleep(self.timeout * 60)

if __name__ == &quot;__main__&quot;:
    gen = BgChanger()
    gen.run()
</pre>
<p>or fork it from the gist here:<br />
<a href="http://gist.github.com/403027">http://gist.github.com/403027</a></p>
<p>in other note&#8230;<br />
midori is slightly faster than firefox&#8230; but its lack of handling iframe is disturbing</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nekonojournal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nekonojournal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nekonojournal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nekonojournal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nekonojournal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nekonojournal.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nekonojournal.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nekonojournal.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=21&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://nekonojournal.wordpress.com/2010/05/16/gnome-background-changer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc3661971714a03d18eb342759829deb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fudanchii</media:title>
		</media:content>

		<media:content url="http://nekonojournal.files.wordpress.com/2010/05/screenshot-1.png" medium="image">
			<media:title type="html">see that notification</media:title>
		</media:content>
	</item>
		<item>
		<title>on snv_b132</title>
		<link>http://nekonojournal.wordpress.com/2010/02/07/on-snv_b132/</link>
		<comments>http://nekonojournal.wordpress.com/2010/02/07/on-snv_b132/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 06:40:47 +0000</pubDate>
		<dc:creator>fudanchii</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nekonojournal.wordpress.com/?p=10</guid>
		<description><![CDATA[Apparently this site was long abandoned, since I&#8217;m only using this as progress report on my java payroll project over two years ago&#8230; The project is not going too smooth,with the lack of design ability, J2EE skill, and of course dedicated time, for one must not design and develop enterprise scale application from scratch in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=10&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Apparently this site was long abandoned, since I&#8217;m only using this as progress report on my java payroll project over two years ago&#8230; The project is not going too smooth,with the lack of design ability, J2EE skill, and of course dedicated time, for one must not design and develop enterprise scale application from scratch in one month, alone!</p>
<p>But indeed that was good experience I guess&#8230;<br />
Moving along, I decide to revive this log and fill it up with some techie administering, and programming stuff. until now I write all of these thing in random places like <a href="http://shinushite.wordpress.com">here</a> or <a href="http://annotate.wordpress.com">here</a>.</p>
<p>I&#8217;m using Open Solaris for a while now and found it worthy enough to stay in my laptop. I can&#8217;t make the broadcom 4311 working of course, but I can hang on with it for some reasons. Open Solaris seems perfect for server but not so for desktop. I hate to recommends anyone for using UNIX variant OS, since it&#8217;s useless&#8230; I mean the recommendation. If one use linux, bsd, or solaris on they computer, then it means they&#8217;ll use it. for whatever reason&#8230; It&#8217;s an option.</p>
<p>As for know the build is come to 132, Open Solaris keep growing up, I&#8217;m taking a bet and try to upgrade my b131, with this command<br />
<code>$ pfexec pkg update-image --be-name snv_b312</code><br />
<code>--be-name</code> is refer to new boot environment name where the update image will be installed.<br />
I&#8217;m playing with <a href="http://yaws.hyber.org/">YAWS</a> and erlang while waiting the updates. The update going smoothly, and after restart there&#8217;s a brand new GDM screen, my opinion? not bad. And then I found that firefox 3.6 isn&#8217;t working anymore. Segmentation fault, for it&#8217;s look like the build is not compatible with the current kernel or user land. So I&#8217;m take a check on the services with <code>svcs</code> command. <a href="http://mpd.wikia.org">MPD</a>, and YAWS run fine. another error is PHP. For unknown reason YAWS keep reports CGI failure when I&#8217;m trying to access php file. And for overall performance, I&#8217;m not really notice about that, but I think there&#8217;s a little improvement, since GDM screen -&gt; wallpaper blend is going smoother.</p>
<p>I&#8217;m too lazy to compile php, so I think I&#8217;ll going with the old BE instead, at least until I finished downloading the usb image. Then I can install it again from scratch&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nekonojournal.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nekonojournal.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nekonojournal.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nekonojournal.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nekonojournal.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nekonojournal.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nekonojournal.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nekonojournal.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=10&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://nekonojournal.wordpress.com/2010/02/07/on-snv_b132/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc3661971714a03d18eb342759829deb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fudanchii</media:title>
		</media:content>
	</item>
		<item>
		<title>Jum&#8217;at 4 Juli</title>
		<link>http://nekonojournal.wordpress.com/2008/07/04/jumat-4-juli/</link>
		<comments>http://nekonojournal.wordpress.com/2008/07/04/jumat-4-juli/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 13:25:58 +0000</pubDate>
		<dc:creator>fudanchii</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nekonojournal.wordpress.com/?p=8</guid>
		<description><![CDATA[####Activity#### masih mengutak-atik Formula.java dari hari Selasa. struktur class banyak yang diubah masih mengusahakan parsing conditional if ####Achievement#### none Formula.java ####Problem#### expression parsing&#8230; T_T #################### Sejak hari Selasa tidak sempat keluar rumah untuk update report&#8230;. (Formula.java belum selesai&#8230;..) mohon maaf  <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=8&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><span style="font-size:x-small;">####Activity####</span></div>
<p><span style="font-size:x-small;">masih mengutak-atik Formula.java</p>
<p>dari hari Selasa.</p>
<p>struktur class banyak yang diubah</p>
<p>masih mengusahakan parsing conditional if</p>
<p>####Achievement####</p>
<p>none</p>
<p>Formula.java</p>
<p>####Problem####</p>
<p>expression parsing&#8230;</p>
<p>T_T</p>
<p>####################</p>
<p>Sejak hari Selasa tidak sempat keluar rumah</p>
<p>untuk update report&#8230;.</p>
<p>(Formula.java belum selesai&#8230;..)</p>
<p>mohon maaf</p>
<p> </p>
<p></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nekonojournal.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nekonojournal.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nekonojournal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nekonojournal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nekonojournal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nekonojournal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nekonojournal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nekonojournal.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nekonojournal.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nekonojournal.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=8&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://nekonojournal.wordpress.com/2008/07/04/jumat-4-juli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc3661971714a03d18eb342759829deb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fudanchii</media:title>
		</media:content>
	</item>
		<item>
		<title>Senin, 30 Juni 2008</title>
		<link>http://nekonojournal.wordpress.com/2008/06/30/senin-30-juni-2008/</link>
		<comments>http://nekonojournal.wordpress.com/2008/06/30/senin-30-juni-2008/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 12:06:31 +0000</pubDate>
		<dc:creator>fudanchii</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nekonojournal.wordpress.com/?p=3</guid>
		<description><![CDATA[Hari pertama&#8230;. ####Aktivitas#### (10.30) Sampai di Kantor mulai mendesain sistem payroll, fokus pada class Formula (12.45) Istirahat (13.30) Menyusun properties untuk class Formula preview class formula: public class Formula { //variable id akan otomatis di generate di constructor private String id; private String Name; private String expression; private boolean varError; private ArrayList variables; private ArrayList [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=3&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>Hari pertama&#8230;.</b></p>
<p>####Aktivitas####<br />
(10.30) Sampai di Kantor<br />
mulai mendesain sistem payroll, fokus pada class Formula<br />
(12.45) Istirahat<br />
(13.30) Menyusun properties untuk class Formula<br />
preview class formula:</p>
<blockquote><p>
public class Formula {<br />
    //variable id akan otomatis di generate di constructor<br />
    private String id;<br />
    private String Name;<br />
    private String expression;<br />
    private boolean varError;<br />
    private ArrayList variables;<br />
    private ArrayList operators;</p>
<p>    Formula(String Name, String expression) {</p>
<p>    }</p>
<p>    Formula(String expression) {</p>
<p>    }</p>
<p>    public double doCalculation (String expression, ArrayList param) {<br />
    double result = 0;</p>
<p>    return result;<br />
    }</p>
<p>    private double calcMonomial(String expression, char operator) {<br />
        double result = 0;</p>
<p>        return result;<br />
    }</p>
<p>    private String extractIFState(String expression) {<br />
        String expr = &#8220;&#8221;;</p>
<p>        return expr;<br />
    }</p>
<p>    private String cutBracket(String expr) {<br />
        String result = &#8220;&#8221;;</p>
<p>        return result;<br />
    }</p>
<p>    boolean isError() {<br />
        return this.varError;<br />
    }</p>
<p>    String getName() {<br />
        return this.Name;<br />
    }</p>
<p>    String getExpression() {<br />
        return this.expression;<br />
    }<br />
}
</p></blockquote>
<p>#####Achievement#####<br />
PayRoll web project<br />
package :<br />
#webPayRoll.helper<br />
-&gt;Employee.java<br />
-&gt;Formula.java<br />
-&gt;Income.java<br />
-&gt;Tax.java<br />
-&gt;Variable.java<br />
#webPayRoll.servlet<br />
-&gt;TransactionProcessServlet.java</p>
<p>#####kendala#####<br />
~none in particular~</p>
<p><a href="http://nekonojournal.files.wordpress.com/2008/06/timeline.jpg"><img src="http://nekonojournal.files.wordpress.com/2008/06/timeline.jpg?w=300&#038;h=110" alt="" width="300" height="110" class="alignnone size-medium wp-image-4" /></a></p>
<p>next work Day Kamis, 3 Juli 2008</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nekonojournal.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nekonojournal.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nekonojournal.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nekonojournal.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nekonojournal.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nekonojournal.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nekonojournal.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nekonojournal.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nekonojournal.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nekonojournal.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nekonojournal.wordpress.com&amp;blog=4105972&amp;post=3&amp;subd=nekonojournal&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://nekonojournal.wordpress.com/2008/06/30/senin-30-juni-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc3661971714a03d18eb342759829deb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fudanchii</media:title>
		</media:content>

		<media:content url="http://nekonojournal.files.wordpress.com/2008/06/timeline.jpg?w=300" medium="image" />
	</item>
	</channel>
</rss>
