Skip to content


iPad the larger iPod for who?

Ok, so Apple is about to ship their iPad. Aside from the rather unfortunate name in so many ways, what do people get? An iPod with a larger screen and wifi connection for sure, if you pay $130 also 3G connectivity, for data only though. So it’s not an iPhone. It’s not a netbook, it’s not even a real tablet. You can’t phone with it, you can’t take pictures, you have no keyboard, you have no removable battery (again). The main thing here though is that it will just barely survive a day in use (nothing new there either) before it needs a recharge.

Will Apple sell them? Yes for certain. Will they be the next big thing? No.

While the phone part was rather restricted, in this niche they are aiming at here, there already is a large selection of many different things going on. The most prominent spearhead there would be the Amazon Kindle. It’s about half the price of the lowest version of the iPad, holds out on it’s charge for an eternity (thanks to the display) and already has a massive backing of books and papers. It has it’s own shortcomings, but for that price and that niche, it does just brilliantly.

Others aren’t sleeping either. MSI is preparing one, HP said it’s gonna do one, Dell is on it too and so is ASUS.

Especially the ASUS DR-950 has a lot of potential, coming with a lot more punch to the game, while being also a lot more open.

The question is for whom is this iPad exactly? It’s not useful as a phone. Anyone needing something more, usually goes for the macbook (if you want that apple logo on your gear). So unless you just want another toy, who is going to use it? The only real use seems to be books and news papers, but for that it’s not really very well equipped either. It can’t play flash, so you couldn’t even see anything from any video streaming site. Using it as an iPod will suck the battery dry even faster.

I keep using my Palm TX for now and wait what happens with these devices.

Posted in General. Tagged with , .

Writing is the smallest part in writing

The second writing is the overall activity, the overall process and actions leading to the end product. The first writing in this title is the actual manual physical process of writing.

To give you a small sample, I’ve taken some numbers from Brandon Sanderson. His book Elantris has 202,765 words. The first book of the Wheel of Time series, called The Eye of the World has 305,902 words. Why Wheel of Time? Brandon Sanderson now is finishing the series, with three more books after the death of Robert Jordan. The first of those, will be Towers of Midnight and is also supposed to be clocking in at about 300,000 words. Besides me loving these books (and waiting for this next one) consider the size in comparison to this post. At the moment, this post is only 134 words long.

So to get into the range of these large books, this post would have to be 3000 times longer. Just typing this took me not long, but searching those numbers did. And that was very simple research.
Continued…

Posted in Writing. Tagged with , .

Writing in a sequential pattern

My main tool of the writing trade is Notepad++ which is the standard windows editor in steorids, without the bulk of most replacements. Although it has a word count function and you can also make a shortcut for it (but not combined with select all and count, which you need to do first) it does not offer a word count display while typing, nor have I found a plugin for that yet. Maybe something I have to do myself.

In the failed quest for said plugin I came across multiple solutions for writers. Many of them even opensource. I came across one I would like to link but have lost the url for. The gist of this free tool is that you write scenes, not pages or chapters. Then you group scenes into chapters. Now moving scenes or chapters around is rather simple. Myself for example, I currently have each chapter in it’s own text file. Now moving a chapter is rather ugly, as I have to rename everything to match the correct numbers. So that scene approach sounds like a good plan, even though I don’t think I’ll do it that way.

See, the biggest problem here is the style of writing. If you write a book, your goal is to produce this large block, that you release as one solid thing. The book consists of tons of scenes, chapters, maybe even multiple parts. But as long as you have not released the book, you can move around pretty much anything as you like, write and rewrite things as you damn well please.

With a series of books you get into a problem though. Once book 1 is out, you have laid certain things “in stone”. You can change anything you want in book 2, but everything you have laid out in book 1, you better stick to it or some clever reader will find it and rub your nose in it (and everyone elses too). Unless you write a south park episode, nobody cares how many times you kill Kenny then. So although you have a monolithic (and often chaotic) writing inside the one book, the second book has to follow sequential rules.

Now Toreas is an even bigger problem in that regard, as it’s sequences are chapters. So once I have released something in a chapter, I might be able to get away with correcting some spelling and grammar, but I can’t save a character or kill one, just because it would benefit my writings later on. This is very sequential work and makes editing a nightmare.

Writing is for the most part a very creative thing. The time thinking about the story, rereading it and chaning it, outweighs the typing by far. Writers block is all too common and people who paint also know the same feeling under the title artists block. So when the muse strikes, it’s neccessarly at chapter 2, but could be somewhere in chapter 200. Although you want to finish and publish chapter 2, the chapter 200 thing needs to be written down. You feel it’s good and you want to write it, so you do, but again, chapter 2 get’s delayed. Currently I have 5 of the first 9 chapters either done, or near done. I also have 21 more chapters in a raw written form, without any editing done to them yet.

So although the writing process is rather chaotic in nature, the release process is rather sequential. In Toreas to the extreme even. So sometimes, it can take a long time for one chapter to be released, even a short one, but sometimes it could happen that multiple chapters are released together. My goal is not to have a regular update schedule, but rather have a good story out there, at the moment I decide it’s worth to publish it.

I have to keep track when I released which bit, so I can see how my release speed is doing over time. That might be a good section for the statistics about Toreas.

So since this is so sequential, I decided to change the strategy on how to handle the files behind the scenes a little. The chapter that should be released next will have it’s own file, but everything else is in mostly one big file. In that big file, I can write short story bits, then expand upon them. I can move around content, decide where to draw the lines for new chapters and so on. I might keep some blocks of new chapters, like say I wrote a sequence of 5 chapters for the far future, in a separate file though and maybe just write a note in my work file about what happens in that block and how I named it. If this works out, I should be more agile in writing the sequential ways of the story rather than fall back into the chaotic ways of writing a book.

Posted in Toreas, Writing. Tagged with , , , .

Pirateparty Switzerland 6 months old

The Pirateparty Switzerland was founded on the 12th of July 2009. So this means it now has survived for 6 months. Not only does it have now over 650 members, but it also has learned a lot on how to be a party. There is no handbook for this, so much goes by ear and experiences. But it looks like it’s settling in to become better now.

A lot of time has been “wasted” on structure, administrative and other bureaucratic things. I think anyone who was at the last assembly cries a little when they hear the word revision, now. It’s not really wasted, many things are needed even required for simply working as a party. But there also are a few over active people in that regard and sadly, not enough active people in the political aspects. And yes I count myself in the not active enough people for politics, but then I’m currently not really much active at all in the party, past running a local gathering once a month.

With the 6 month mark, the council also sent a newsletter about it. In it, they also mentioned a focus on a few things, which sounds unfortunately not too much like a focus at the moment. But that is something to be seen in the next couple of months. Weirdly I suggested that just before this got mentioned, but I suggested a more precise focus.

It will be interesting to see how the next few weeks pan out.

Posted in Politics. Tagged with .

Toreas a fantasy story and experiment

If you are like me you like fantasy stories. You like reading. You also like it when a story goes on and not just dies off. And you probably are a rather impatient human being as well, who can’t wait for the next book to arrive and rather would read chapter by chapter than wait forever. Or maybe not so much like me.

Fantasy is great, but I always hate it when they come to an early close. There are few short stories I like a lot, and with short I mean maybe one book. Elantris was one such story. But I like stories that give you a lot of time to get to know the characters and experience their journeys a lot more.

And so I have finally decided to release a story I have been carrying around with me for decades. Take a look at it and let me know if you like it.

Best of all, it’s entirely free. You can read all of it for free. And it’s released directly as public domain, so you can take it and do whatever you want with it. So please share it with anyone you think might like it!

Read Toreas

Posted in Toreas, Writing. Tagged with , , , , .

Testing missing translations in Zend Framework

Zend_Translate is a wonderful tool to translate your page. While your backends may vary, you have to ensure you call it everywhere in your code. Unfortunately, there is no easy way to spot any untranslated strings by default. But fear not, you can easy make one yourself.

Translate uses an adapter to actually do the heavy lifting. Translate itself is just a gateway to the adapter classes, so the magic happens there. Now my solution was to just create a new adapter and have it give back a string that’s fixed every single time. So any request to the translate method would return the same string. With this you can just look on your page, see where it doesn’t display your special string and there you have your missing spots. You could set it to be an empty string, but if you use it for links, then you wont see the link anymore.

Well used, you will only see the data strings, like user names, the configured replacement string and of course any string you missed.
Continued…

Posted in Development, PHP, Zend Framework. Tagged with , .

Sphinx 0.9.9-release finally out

What’s that supposed to be, I have been asked a couple of times. Sphinx is the solution to a very ugly and rather common problem.

You want one entry form a database, selected by a unique ID number. In most cases you have an index, probably even a primary index that will find your record in no time. That is the ideal case though. Now you make lists with many entries, where you already have a much larger set of data to wrangle and again indexes can be your friend, but are less well performing as when you could select them by ID. And worst of all is full text searching. You want all entries that contain a text in multiple fields. Maybe even partial matches and so on. Doing this with just a normal query involves things as LIKE and probably under MySQL the % sign. If you don’t have many entries this might even work well enough. Queue up large databases and you are completely out of luck.

Sphinx helps you with these scenarios.
Continued…

Posted in Development, MySQL. Tagged with , .

Minaret controversy and Switzerland

The so called controversy about minarets has come to a close in Switzerland. 53,5% of the Swiss went and voted and of those 57,5% voted to ban new minarets from being built. In other words, less than 31% of all Swiss that could vote, are for the ban.

I’m ashamed to be Swiss right now. This bigotry smacks of something that should not be happening in a modern country, especially one with such a direct democracy that we have here.

What exactly is it about? Freely translated: “It’s forbidden to build new minarets.”

Yes that’s all. There is nothing about Islam, nothing about the sharia, about scarfs, or anything else for that matter. Yet that is what the people who are for the ban made it about. The main concern I got from everyone was “I don’t want some guy screaming down at me from a turret”. Now that is ignorance squared. This practice was created to help people remember their prayers. In the time of digital watches, cell phones (you can get prayer SMS notifications), PDA’s and all that, this practice has outlived it’s purpose in most modern areas and is not practiced in Switzerland, at all.

On the same note, I get rung out of bed every Saturday and Sunday morning by not one but two church towers close by, that chime for minutes on end. And you hear those babies in the whole town for certain.

Either ban all building of new church towers and the use of their bells (or sometimes just speakers these days) or allow the building of minarets. Everything else is narrow minded and plain offensive.

So with that, I vote for an initiative to ban building new church towers and all the chiming of the church bells in all of Switzerland, no exceptions. No matter if it’s a minaret or a catholic church, everyone gets treated the same. Or allow both sides to do as they please.

Why did they win? It’s the oldest trick: fear, uncertainty and doubt, short FUD. Just make them afraid enough and they do whatever you want. And best of all, they think it was their own idea and best for them too. The opposition did do nothing effective to simply negate all those fears with facts. Sure you can die in a plane crash and when one happens it’s terrible, but you are ten times more likely to die in a car accident and 5 times more likely to be killed while being on foot anywhere. Air travel is still, to date, the safest method of traveling. And just because there are extremists doesn’t mean that we should deny a group that is peaceful at it’s core and vast majority their wish to build a symbol of their religion, that is not different from what we already have everywhere, except for it does not look exactly the same.

If we would be judged by the worst people that Switzerland had to offer we would have been nuked off the face of the earth a long time ago and nobody would have shed a tear. Doing the same believers of Islam is bigotry at it’s highest level.

Posted in Politics. Tagged with .

GoDaddy SSL Certificate and Apache

The company I work for ran into a small problem with an SSL certificate from GoDaddy. For some reason it worked flawlessly on most machines but a fresh install of Firefox and most smart phones didn’t like it at all. Asking the GoDaddy support was a rather long waste of time. They actually told me it was installed correctly which sent me off track immediately.
Continued…

Posted in System Administration. Tagged with , , .

wget in php

Ok, this is far from what wget is capable of, but most people do only need one function for wget. Enter url, get content. Especially during the setup phase this is often needed and sometimes wget is not available or libraries are missing. For those that have a working php installation but no working wget, this little script does exactly that, download a file and save it locally. This little helper has done valuable services for me now a few times, so here it is for anyone to use.

<?php
// wget substitute
if ($argc != 2) {
?>
This works a bit like wget. Just run it with the url as argumnet
<?php
    exit;
}

$url = $argv[1];
$filename = basename($url);

file_put_contents($filename,file_get_contents($url));

echo PHP_EOL. 'Written file ' . $filename . PHP_EOL;

Usage is rather simple now:
php wget.php URL

Posted in Development, PHP, System Administration. Tagged with , .