Author Archives: Gede

Worlds Most Infinite panorama, the longer you use it, the more gigapixels it uses

Yes, the universe is a vast place. We can can only guess the end is about 16 billion light years away, and boy, its expanding, finally ripping itself to pieces.
Anyways, before that, there is some bragging to do. Here below is an infinite panorama. Find the little white planet, and click and you will be beamed to another part of the galaxy. As long as you click the white planets, you will keep on an infinite tour along your creators, the stars. The light you see is not the 8 minute old sunlight every day panoramas are made with, but light created long before the earth or sun existed, some of it still glowing from just after the big bang.

Keep on clicking, and you will create you own terapixel record. and you will create your own record of having watched zillions of AU  space in a a infinite panorama. Be part of history, and just take the time to set a record.

Click on a star to begin:……. (excuse me for the gravitational lensing here and there)


(this an attempt to satire)

OCZ Vertex 4 512 GB Benchmark on Fujitsu LH772

So, I took the plunge and bought myself an SSD for my laptop. In my neck of the woods the OCZ Vertex 4 512GB was relatively easy to get, and reasonably priced. My Fujitsu LH772 laptop has a Intel Core i7-3612QM at 2.1 ghz (ahh, sometimes a bit higher too) and 16GB of Corsair RAM.

The scores of the benchmark programs vary a bit, here are some samples (Windows 8):

Here are the scores for the Vertex 4 512GB with CrystalDiskMark


And here are the scores of AS SSD Benchmark for the Vertex 4:


Dunno if tweaking could help more, but its fast enough for me….

“The Disk Defragmenter is not installed on your computer” Windows 8, 64bits

So, you played around with your new SSD drive, looked for settings, used smart defragmentation programs, only to find out the the build-in defragmenter of Windows 8 just works fine, and sends nice trim commands to your SSD….

But, all this playing around leaves your default defragger greyed out…. because those programs deinstalled your default windows defragger….

Even if you add %systemroot%\system32\dfrgui.exe to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath you still get:

The Disk Defragmenter is not installed on your computer bla bla

Plenty of solutions online, but none work for Windows 8 64 bits, afaik…

In Windows 8 64 bits you also need to add %systemroot%\system32\dfrgui.exe to



The registry settings in this zip: defrag1 should restore your default Windows 8 defragger on Windows 8 64bits.

Happy SSD’ing


PTGui and Panorama Embed for WordPress

This is just a sample of how Panorama Embed works with the default output of “Publish to Website” of PTGui. I just uploaded that output to a directory on my site, renamed the html file to index.html and used the short codes to embed to panorama in this post. Simple. Of course you can edit the html file created by PTGui a bit, to fit your style….
Toko Panorama

You can download the WordPress Plugin form WordPress:

Portable Apache Web Server

When you are developing php applications for the web, you need to have a development server. Normally I install one on my local harddrive.  There are many Apache server downloads for Windows (wamp: Windows, Apache, MySql, PHP) ; xampp, wampserver etc. When I changed computers, I sometimes installed a wamp server, or put my own server together. Struggling to get ssl working was one of my favorites 🙂

When my current laptop was ready to be replaced, (dropped it too many times, crashed when stressed etc) The Apache server (with all its data) had to moved of course  I don’t like it.

So, bright idea, lets find a solution so I never have to move a server again. Search for Portable Apache web server on the net.

Ah, many…A pretty heavy (or less heavy) loaded portable version of rank high in Goolge, but I also found this one . Installed it and it works nicely, it has all I need actually, without any bells and whistles….

What I do need however are Virtual Hosts, because I have many local “domains” running, and sometimes let the “real domain” run on my local Apache server for testing purposes.

The USB web server does not have any configuration ready for that, so I needed to add a Virtual Hosts configuration to it.

First, how can the USB webserver work from any installed path?. The USB webserver does the following; before it starts the server, it opens a httpd.conf located in its settinsg directory and replaces {path} with the actual path of the server. (and {port} with the port Apache is listening to) and copies it to the Apache2 configuration.

Easy, just add the Virtual hosts configuration to the httpd.conf file….

NameVirtualHost *:{port}
<VirtualHost *:{port}>
 DocumentRoot "{path}/root"
 ServerName localhost
<VirtualHost *:{port}>
 ServerAdmin webmaster@www.spice.dom
 DocumentRoot "{path}/root/www/www.spice.dom"
 ServerName www.spice.dom
 ErrorLog "logs/www.spice.dom-error.log"
 CustomLog "logs/www.spice.dom-access.log" common

And add more virtual hosts after that….

And of course, enable the virtual hosts module:

LoadModule vhost_alias_module modules/ (remove the # in front)

Now just create the directory in the “root” directory of the USB webserver, and add the “domain” to your hosts file C:\Windows\System32\Drivers\etc\hosts like: www.spice.dom

Restart the USB webserver, and you have your own “domain” running….

I have changed php versions, Apache Versions with the USB web server, and except for some funny errors in loading some modules, thing work nicely.

At first I used the USB web server on a kingston usb stick, fast enough. But alter misplacing it one time (they are small 🙁 ) I now use the server on a 1tb USB 3.0 WD Passport drive. Also small, but not so easy to loose….



Galaxy Note 2 extended battery FAIL

Galaxy Note 2 Extended Battery

So here it is,  a cheap extended battery for the Galaxy Note 2, costed about 10 USD on eBay. First I noticed it didn’t really extend the battery life, tried some calibration stuff, but no. Not really extended. But I left it on the Galaxy Note 2, thought it would settle or something.

But a few days ago, the battery started to behave badly, discharged quickly. After about a month of use, it went from not really extending battery life, to reducing battery life… 🙁

Its time for a real extended battery, like the Mugen, I had that on my Galaxy Note 1, and although the case was bad, the battery was great.

Cheap batteries from eBay. Never again.


Full Posts or Excepts on WordPress Home page?

Over the years I have set just a few WordPress blogs, but every time I look how i can change the blog so I don’t get the full posts on the home page, and other pages like categories, archives and tag pages.

I am not really sure, but I don’t think its good from an SEO perspective to have the full posts on many pages. (however, those excerpts everyewhere, don’t now if that’s any good too)

So, I did a quick and dirty change. In the content.php file of the default twentytwelve template. On line 33 of content.php it reads:

<?php if ( is_search() ) : // Only display Excerpts for Search ?>
 <div class="entry-summary">
 <?php the_excerpt(); ?>
 </div><!-- .entry-summary -->

I want excepts everywhere, so I changed it to:

<?php if ( is_search() OR is_home() OR is_category() OR is_tag() ) : // Only display Excerpts for Search home cat tag ?>
 <div class="entry-summary">
 <?php the_excerpt(); ?>
 <b>Read all of this entry:</b> <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'twentytwelve' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a>
 </div><!-- .entry-summary -->

That makes that the only place where the full content of the post, is only shown of the actual page of the post!


Yoast SEO and Facebook Plugin

Hmm, setting up a wordpress blog and looking at various plugins before messing up code myself….

The Yoast SEO plugin seems pretty popular, and it also has some useful Facebook functions; adding open graphics meta tags…

The (offical) Facebook wordpress plugin has, well the official stuff. You can add an app id, and it lets you add all the various social plugins, attached to your app.

Activating both Yoast SEO and the Facebook plugin causes a problem however. The Facebook wordpress plugin removes the Yoast SEO open graphics meta tags. On itself not such a problem, but the Yoast SEO plugin has a nice function of adding pictures of a post  to the open graphics meta tags…..

Needs further reseach….