<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>Mental Position Techlog</title>
        <link>http://mentalposition.com/blogtech/</link>
        <description>Internet, Web Dev, UNIX</description>
        <language>en</language>
        <copyright>Copyright 2012</copyright>
        <lastBuildDate>Tue, 22 Nov 2011 21:54:53 +0900</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>Malware for WordPress, nl.ai hack</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/nl.ai.malware.jpg"><img alt="nl.ai.malware.jpg" src="http://mentalposition.com/blogtech/assets_c/2012/01/nl.ai.malware-thumb-200x110-1817.jpg" width="200" height="110" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

Pages of my friend's web sites were overwritten and inserted malicious javascript code. Google's alert message appeared on one of those sites, so I just thought someone reported the site as infectious by ill will.

I looked for tips to ged rid of it, and investigated suspicious files on the server. Then I found "log.php" which includes web shell function (and all crack tools) based on php. The script can hack files and database, and even brute force codes are inside it.

I guess it was infected via theme file of WordPress. A part of library files in the theme "arras", "timthumb.php" has vulnerability. They attacked it and inserted the code.

See also the site "<a href="http://redleg-redleg.blogspot.com/2011/11/malicious-software-hosted-on-nlai.html#more" target="_blank">Tips for removing website malware -- Redleg</a>".

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2011/11/malware-for-wordpress-nlai-hac.html</link>
            <guid>http://mentalposition.com/blogtech/2011/11/malware-for-wordpress-nlai-hac.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Malware</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web Dev</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">nl.ai.malware</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">WordPress</category>
            
            <pubDate>Tue, 22 Nov 2011 21:54:53 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: error &quot;/usr/local/build-1/libtool: not found&quot; on making Apache 2.2.21 ports</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/fbsdports.jpg"><img alt="fbsdports.jpg" src="http://mentalposition.com/blogtech/assets_c/2012/01/fbsdports-thumb-200x124-1815.jpg" width="200" height="124" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

While installing Apache 2.2.21 in /usr/local/www/apache22, an error "/usr/local/build-1/libtool: not found" occurred.

You just need deinstall apr1, and reinstall apache22 again.

#pkgdb -F; portsclean -CDD; portsnap fetch update

# cd /usr/ports/devel/apr1
# make deinstall clean

# cd /usr/ports/www/apache22
# make install clean

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2011/10/note-error-usrlocalbuild-1libt.html</link>
            <guid>http://mentalposition.com/blogtech/2011/10/note-error-usrlocalbuild-1libt.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">FreeBSD</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">FreBSD</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Ports</category>
            
            <pubDate>Fri, 14 Oct 2011 21:53:40 +0900</pubDate>
        </item>
        
        <item>
            <title>MacOSX 10.7.1 (Lion) Kernel Panic frequently occurs on MacBookPro6,2 (Core i7/NVIDIA GeForce GT330M).</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/mbp6%2C2.jpg"><img alt="mbp6,2.jpg" src="http://mentalposition.com/blogtech/assets_c/2012/01/mbp6%2C2-thumb-200x127-1813.jpg" width="200" height="127" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

After updated to OSX 10.7.1 (Lion), My MacBookPro6,2 suddenly blackouts and crashes randomly, so much frequently. Console logs just tell some memory error and kind of NVRAM error like "BSD process name corresponding to current thread: kernel_task" or "BSD process name corresponding to current thread: Window Server".

I dug information about same problem, then I found someone resolved it by a temporary way. He used an app "gfxCardStatus" which can switch integrated graphic and discrete graphic manually. He stopped this panic by using only integrated graphic (Intel HD Graphics). Also in my environment, this problem was resolved by manually switching to integrated graphic, it disabled dual display though.

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2011/09/macosx-1071-lion-kernel-panic-.html</link>
            <guid>http://mentalposition.com/blogtech/2011/09/macosx-1071-lion-kernel-panic-.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">KernelPanick</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Lion</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Nvidia</category>
            
            <pubDate>Wed, 28 Sep 2011 21:51:24 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: MacOSX Lion doesn&apos;t support old version of netatalk, and CNID DB error.</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/netatalk.png"><img alt="netatalk.png" src="http://mentalposition.com/blogtech/assets_c/2012/01/netatalk-thumb-200x140-1810.png" width="200" height="140" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

MacOSX 10.7 Lion doesn't support old version of netatalk (2.0.x?). Lion won't mount older version of netatalk volume and an error occurred.

It needs to be updated to the latest version.
After the update, if CNID DB error occurred, ' cnid_metad_enable="YES" ' must be set in /etc/rc.conf, then restarting netatalk fixes this problem.

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2011/07/note-macosx-lion-doesnt-suppor.html</link>
            <guid>http://mentalposition.com/blogtech/2011/07/note-macosx-lion-doesnt-suppor.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">FreeBSD</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">UNIX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Lion</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Netatalk</category>
            
            <pubDate>Fri, 22 Jul 2011 21:49:28 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: Add Like Button of Facebook on each entry of Tumblr.</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/mpptumbr.jpg"><img alt="mpptumbr.jpg" src="http://mentalposition.com/blogtech/assets_c/2012/01/mpptumbr-thumb-200x133-1808.jpg" width="200" height="133" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

I have left my tumblr interface almost default for a long time because I did not have much interest and fun on Tumblr. For my business demands, I changed the design of my tumblr blog page and added Like Button of Facebook in it.

For adding Like Button to each entry of Tumblr, "url" of og tag has not be set in head tag. It disturbs Like action for each entry. And "Send" fanction does not work correctly in each entry (I guess it is because of XFBML).

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2011/05/note-add-like-button-of-facebo.html</link>
            <guid>http://mentalposition.com/blogtech/2011/05/note-add-like-button-of-facebo.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">HTML,CSS</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web Dev</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">tumblr</category>
            
            <pubDate>Sun, 15 May 2011 21:47:27 +0900</pubDate>
        </item>
        
        <item>
            <title>Mobile Safari resizes background-image at 900 x 2200 pixel.</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2010/11/mobilesafari-bgimage-size-1731.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2010/11/mobilesafari-bgimage-size-1731.html','popup','width=341,height=242,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2010/11/mobilesafari-bgimage-size-thumb-200x141-1731.png" width="200" height="141" alt="mobilesafari-bgimage-size.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

On iOS, Safari automatically resizes image size defined by CSS (background-image) to viewport size at the size of 900 pixel width x 2200 pixel height (and vice versa).

You need separate block elements which defined background image with CSS.

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2010/11/mobile-safari-resizes-backgrou.html</link>
            <guid>http://mentalposition.com/blogtech/2010/11/mobile-safari-resizes-backgrou.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">HTML,CSS</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web Dev</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">iOS</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">mobile</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">background-image</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">css</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iOS</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPad</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">iPhone</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">resize</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Safari</category>
            
            <pubDate>Sat, 20 Nov 2010 22:04:12 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: IE7 Standalone with IE8</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2010/09/IE7S-1674.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2010/09/IE7S-1674.html','popup','width=307,height=211,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2010/09/IE7S-thumb-200x137-1674.png" width="200" height="137" alt="IE7S.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

There are lots of topics and tips for IE7 standalone, but just write it down to memorize for my trifle work.

Download IE7 installer from <a href="http://www.microsoft.com/japan/windows/downloads/ie/getitnow.mspx" target="_blank">Microsoft site</a>, and IE7 standalone program from <a href="http://tredosoft.com/IE7_standalone" target="_blank">Tredo soft</a>. Unstuff IE7 install exe by any archive app which can open rar file, and run xmllitesetup.exe. This setup program update system.
Put IE7S.exe into decompressed IE7 installer folder. Then you can run IE7 by using IE7S.exe.

# Limitation: it can not access SSL page.

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2010/09/note-ie7-standalone-with-ie8.html</link>
            <guid>http://mentalposition.com/blogtech/2010/09/note-ie7-standalone-with-ie8.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Software</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Windows</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">InternetExplorer7</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Standalone</category>
            
            <pubDate>Thu, 23 Sep 2010 17:43:46 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: Sending through internal FAX modem is disabled on MacOSX 10.5/10.6</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2010/07/faxmodemproblem_on_osx-1650.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2010/07/faxmodemproblem_on_osx-1650.html','popup','width=366,height=182,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2010/07/faxmodemproblem_on_osx-thumb-200x99-1650.png" width="200" height="99" alt="faxmodemproblem_on_osx.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

I still use internal FAX modem of MacOSX, but I sometimes faced a sending problem after Leopard.<a href="http://support.apple.com/kb/TS2738?viewlocale=ja_JP"> Apple reported this problem.</a> It says turn off receive option in System Preferences, or reboot system after turning off receive option.

This is not so useful solution, they should fix it even if it is for minor users like me.]]></description>
            <link>http://mentalposition.com/blogtech/2010/07/note-sending-through-internal.html</link>
            <guid>http://mentalposition.com/blogtech/2010/07/note-sending-through-internal.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">FAX Modem</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">MacOSX</category>
            
            <pubDate>Thu, 29 Jul 2010 00:08:26 +0900</pubDate>
        </item>
        
        <item>
            <title>Transmit4 + MacFuse</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2010/06/transmit4+macfuse-1641.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2010/06/transmit4+macfuse-1641.html','popup','width=736,height=286,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2010/06/transmit4+macfuse-thumb-200x77-1641.png" width="200" height="77" alt="transmit4+macfuse.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

Tranmit4 integrated with MacFuse.

This integrateion let you feel smooth on seemlessly mounting FTP server in your Finder.
I like also the icon of mounted volume. genarated by Transmit4, but do not like the menu icon on the right side of menu bar.]]></description>
            <link>http://mentalposition.com/blogtech/2010/06/transmit4-macfuse.html</link>
            <guid>http://mentalposition.com/blogtech/2010/06/transmit4-macfuse.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Software</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">FTP</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">MacFuse</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Transmit4</category>
            
            <pubDate>Sat, 05 Jun 2010 12:11:12 +0900</pubDate>
        </item>
        
        <item>
            <title>Add Cut &amp; Paste to MacOSX Finder</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2010/04/finder-1597.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2010/04/finder-1597.html','popup','width=332,height=164,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2010/04/finder-thumb-200x98-1597.png" width="200" height="98" alt="finder.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

I have used Path Finder almost for Cut & Paste in file browsing, but I found defaults command for adding cut & paste to MacOSX Finder.

$ defaults write com.apple.finder AllowCutForItems -bool yes
<s>$ defaults write com.apple.finder AllowPasteForItems -bool yes</s>
$ killall Finder

I like several convenient functions of Path Finder which are hidden or Finder.app doesn't have. Path Finder is sometimes unstable and I have to refresh its file browser after files are created of edited. This malfunction were irritating me so often.

This commands are so useful for me to discard Path Finder and switch back to default Finder.app.

I misunderstood this. It only moves a file into .Trash. And Paste doesn't work.

Then, later, I found another little utility "<a href="http://www.bergenstreetsoftware.com/" target="_blank">pathsnagger</a>" for alternate fuction of Path Finder.
It enables copying file path in context menu.]]></description>
            <link>http://mentalposition.com/blogtech/2010/04/add-cut-paste-to-macosx-finder.html</link>
            <guid>http://mentalposition.com/blogtech/2010/04/add-cut-paste-to-macosx-finder.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Finder</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">MacOSX</category>
            
            <pubDate>Mon, 26 Apr 2010 23:00:30 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: No transparent image in transparent box element for IE6,7,8 FF3, Safari4</title>
            <description><![CDATA[Here is a note for no transparent image in transparent box element.


&lt;style type="text/css"&gt;
&lt;!--
#imageFrame { background-color: rgba(255,255,255,0.7); filter: alpha(opacity=70); }
#imageFrame img { position: relative; }
--&gt;
&lt;/div&gt;

&lt;div id="imageFrame"&gt;
&lt;img src="example.jpg" /&gt;
&lt;/div&gt;


"background-color: rgba(255,255,255,0.7);" is for FF3.x, Safari3.x, 4.x.

"filter: alpha(opacity=70)" and "position: relative" of img tag are for IE8.

And only IE6 and IE7 need "background-color: #FFF;" after "background-color: rgba(255,255,255,0.7);", so you have to detect useragent and write css by javascript.


function uacsssw() {
&nbsp;if(navigator.userAgent.match(/MSIE 6/) || navigator.userAgent.match(/MSIE 7/)){
&nbsp;&nbsp;document.write(
&nbsp;&nbsp;&nbsp;'&lt;style type="text/css"&gt;'+
&nbsp;&nbsp;&nbsp;'&lt;!--'+
&nbsp;&nbsp;&nbsp;'#imageFrame { background-color: #FFF; }'+
&nbsp;&nbsp;&nbsp;'--&gt;'+
&nbsp;&nbsp;&nbsp;'&lt;/style&gt;'
&nbsp;&nbsp;)
&nbsp;}
&nbsp;if(navigator.userAgent.match(/Firefox\/2/)){
&nbsp;&nbsp;document.write(
&nbsp;&nbsp;&nbsp;'&lt;style type="text/css"&gt;'+
&nbsp;&nbsp;&nbsp;'&lt;!--'+
&nbsp;&nbsp;&nbsp;'#imageFrame { background-color: #FFF; }'+
&nbsp;&nbsp;&nbsp;'--&gt;'+
&nbsp;&nbsp;&nbsp;'&lt;/style&gt;'
&nbsp;&nbsp;)
&nbsp;}
}


You have to insert this function after style definition.

Because FireFox2 can not overwrite transparent tag of outside box element on image object, I gave it up... Please let me know if you know any trick for FF2.

<a href="http://mentalposition.com/blogtech/assets_c/2010/03/notransparentimg-in-transparentbox-1591.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2010/03/notransparentimg-in-transparentbox-1591.html','popup','width=271,height=186,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2010/03/notransparentimg-in-transparentbox-thumb-200x137-1591.png" width="200" height="137" alt="notransparentimg-in-transparentbox.png" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>]]></description>
            <link>http://mentalposition.com/blogtech/2010/03/note-no-transparent-image-in-t.html</link>
            <guid>http://mentalposition.com/blogtech/2010/03/note-no-transparent-image-in-t.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">HTML,CSS</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web Dev</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">javascript</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">css</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">javascript</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">transparent</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">useragent</category>
            
            <pubDate>Wed, 17 Mar 2010 00:27:11 +0900</pubDate>
        </item>
        
        <item>
            <title>VMware Fusion error &quot;lnc0: Missed packet -- no receive buffer&apos;</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2009/11/vmwarefusion-lnc0error-1504.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2009/11/vmwarefusion-lnc0error-1504.html','popup','width=450,height=400,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2009/11/vmwarefusion-lnc0error-thumb-200x177-1504.jpg" width="200" height="177" alt="vmwarefusion-lnc0error.jpg" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

An error of FreeBSD on VMware Fusion "lnc0: Missed packet -- no receive buffer" was sometimes annoying me.

When bunch of this error stacks, virtual machine stacks too.After upgrading Fusion 3, it seems to run more stable, but this error still occurs.

I had been looking for solution to resolve this problem for several months and I found two solutions. The one is installing VMware tools and using vmxnet for Network interface, and another is editing .vmx file and add alternate NIC statement (e1000) in it.

VMware tools for fusion supports ony FreeBSD 6.3 and 7.0. Unfortunatelly I am using 6.2, so my environment was rejected by its installer.

I decieded to change NIC to e1000, and as a result it runs without problems.]]></description>
            <link>http://mentalposition.com/blogtech/2009/11/vmware-fusion-error-lnc0-misse.html</link>
            <guid>http://mentalposition.com/blogtech/2009/11/vmware-fusion-error-lnc0-misse.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">FreeBSD</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">UNIX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">e1000</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">em0</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">ethernet0.virtualDev</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">lnc0: Missed packet -- no receive buffer</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">VMware Fusion</category>
            
            <pubDate>Thu, 05 Nov 2009 02:29:58 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: Use Lightbox2 on area tag</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2009/09/lightbox2onareatag-1456.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2009/09/lightbox2onareatag-1456.html','popup','width=450,height=313,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2009/09/lightbox2onareatag-thumb-200x139-1456.jpg" width="200" height="139" alt="lightbox2onareatag.jpg" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

Lightobox2 can't work on area tag as default.

To solve this problem, it needs replace imageLink.rel with Element.readAttribute($(imageLink),"rel") in prototype.js.

Detail:
insert the line below in line 194.

if (!target.rel) target.rel=Element.readAttribute($(target), "rel");

Quote from discussion in <a href="http://www.patworx.de/blog/?p=20" target="_blank">Pat &Alex Blogging</a>.

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2009/09/note-use-lightbox2-on-area-tag.html</link>
            <guid>http://mentalposition.com/blogtech/2009/09/note-use-lightbox2-on-area-tag.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Web Dev</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">javascript</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">Lightbox2</category>
            
            <pubDate>Tue, 08 Sep 2009 23:10:18 +0900</pubDate>
        </item>
        
        <item>
            <title>Snow Leopard report</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2009/08/snowleopard1-1408.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2009/08/snowleopard1-1408.html','popup','width=526,height=444,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2009/08/snowleopard1-thumb-200x168-1408.jpg" width="200" height="168" alt="snowleopard1.jpg" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

Apple released MacOSX new version 10.6, code name "<a href="http://www.apple.com/macosx/" target="_blank">Snow Leopard</a>".

Refined 64bit support and Grand Central Dispatch apparently make user experience faster than ever.

It is worth to upgrade if you use 64bit cpu. Even if your CPU is core solo or core duo, it is better to install Snow Leopard.]]></description>
            <link>http://mentalposition.com/blogtech/2009/08/snow-leopard-report.html</link>
            <guid>http://mentalposition.com/blogtech/2009/08/snow-leopard-report.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">MacOSX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">MacOSX</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">Snow Leopard</category>
            
            <pubDate>Fri, 28 Aug 2009 22:35:14 +0900</pubDate>
        </item>
        
        <item>
            <title>Note: rsync --delete deletes all data when it builds first index.</title>
            <description><![CDATA[<a href="http://mentalposition.com/blogtech/assets_c/2009/08/rsync-deletes-1396.html" onclick="window.open('http://mentalposition.com/blogtech/assets_c/2009/08/rsync-deletes-1396.html','popup','width=450,height=371,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://mentalposition.com/blogtech/assets_c/2009/08/rsync-deletes-thumb-200x164-1396.jpg" width="200" height="164" alt="rsync-deletes.jpg" class="mt-image-left" style="float: left; margin: 0 20px 20px 0;" /></a>

I did forget that rsync with --delete option deleted data in the backup directory while rsync is building first index.

After I reconstructed my backup RAID on the server in my local network, I executed rsync --delete then it deleted all backup data. It was too late when I was aware of it.

It is better to do it with --dry-run when you rsync at first time.

<div style="clear: both;"></div>]]></description>
            <link>http://mentalposition.com/blogtech/2009/08/note-rsync---delete-deletes-al.html</link>
            <guid>http://mentalposition.com/blogtech/2009/08/note-rsync---delete-deletes-al.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">UNIX</category>
            
            
                <category domain="http://www.sixapart.com/ns/types#tag">RAID</category>
            
                <category domain="http://www.sixapart.com/ns/types#tag">rsync</category>
            
            <pubDate>Fri, 21 Aug 2009 19:46:53 +0900</pubDate>
        </item>
        
    </channel>
</rss>

