European Software

February 15th, 2011 by konrad No comments »

Rea­ding that the Ger­man For­eign Minis­try is about to change their com­pu­ting desk­tops back from a GNU/Linux-based sys­tem to Micro­soft Win­dows and their Office offe­rings, a thing that has been on my mind for a while comes back again.
I think it would be very worthwhile to start an initia­tive to fos­ter euro­pean soft­ware; I think that whe­re­ver soft­ware pro­du­ced in europe is avail­able, it should be favored over other pro­ducts. There are euro­pean ope­ra­ting sys­tem ven­dors – espe­cially in the GNU/Linux arena. Why are they not get­ting the money, but rather the big ven­dor from Red­mont?
There also is the point that I think par­ti­cu­larly for sen­si­tive infor­ma­tion, an ope­ra­ting sys­tem where the code can be audi­ted and tra­ced is a good idea. I am not sure that you should be trus­ting the ope­ra­ti­ons of a highly sen­si­tive net­work to a com­pany that is not all trans­pa­rent about it moti­ves, or its poten­tial con­nec­tions to the intel­li­gence com­mu­nity in its home coun­try.
I think that stra­te­gic invest­ments would also do won­ders to sti­mu­late activity in the soft­ware mar­ket. Working towards the goal of ero­ding Microsoft’s domi­nance would be a good thing in my book. Con­side­ring that there have been many pus­hes towards fos­te­ring some­thing like a euro­pean (or ger­man, or bri­tish or …) Sili­con Val­ley, this could just be the way to get the euro­pean soft­ware indus­try to focus on pro­vi­ding com­pe­ti­tive offe­rings for basic func­tio­na­lity like office and desk­top ope­ra­ting systems.

Nokia/Microsoft vs. …

February 11th, 2011 by konrad No comments »

I get the very dis­tinct impres­sion that Micro­No­kia are not set­ting them­sel­ves up to com­pete against Apple, but much rather pri­ma­rily against Google’s Android. Lar­gely, this is because again we’re see­ing a split bet­ween hard­ware and soft­ware com­pa­nies. In split­ting apart those kinds of deve­lop­ment, they are at a disad­van­tage to bring about the same qua­lity of user expe­ri­ence as Apple shows the world as attainable. That’s also why the Play­Book and the new HP Touch­Pad are, to me, more likely to work well – because they are enab­ling them­sel­ves to just focus on what the ent­ire package deli­vers to the user and do not have to com­pro­mise for their tech­no­logy part­ner that they have deci­ded their fate to be lin­ked with.

And, whilst we are at it, I’m idly curious as to whe­ther the fol­ding of the talks bet­ween Google and Nokia was in any way rele­vant to Eric Schmidt giving up the CEO role at Google. Of course, one can envi­sion that the talks bet­ween Google and Nokia were much more one-sided: Google can nego­tiate from a posi­tion of strength in the smart­phone mar­ket; they see no neces­sity to bring on board a ven­dor who has good device know­ledge. After being publi­cly ridi­cu­led for the Kin and never really being suc­cess­ful in the smart­phone mar­ket, was pro­bably more ega­li­ta­rian in the rela­ti­onship. Much as I can under­stand that posi­tion, it also shows the fate the two com­pa­nies do share in the smart­phone arena and it holds little pro­mise to how they might move for­ward toge­ther. That Elop was a Micro­sof­tie and knows the cul­ture of the com­pany well is also some­thing not to be for­got­ten. And I think that after the lack of suc­cess in deli­ve­r­ing a Linux deli­ver­a­ble even though they had been at it for a while (any­body remem­ber the Nokia N700?) might also have been a fac­tor. If you can’t trust your inhouse Linux people to get some­thing relia­ble out the door, why should they be able to do based on some­body else’s Linux-based smart­phone stack?

What I am curious about, now, will be the third-party deve­l­oper stra­tegy – and that’s the very point where the inte­rests of the two tech­no­logy part­ners are not well-aligned. Nokia will want the deve­l­o­pers to have their pro­ducts run exclu­si­vely on Nokia devices, and will pro­bably work hard to have a com­pe­ti­tive advan­tage over other WP7 pro­ducts in User Inter­face and pro­bably other APIs. (They need to – they’ve alre­ady sold out Search, Maps and other key com­ponents to be the same as with the other WP7 ven­dors.) Micro­soft, on the other hand, should have in mind to not let the plat­form frag­ment too much, or else they will also draw bad blood from their deve­lop­ment base. The people who have stuff in the Ovi store these days are burnt any­way, because they need to com­ple­tely write off those invest­ments and, in the worst case, get their eyes set on an ent­i­rely new eco­sys­tem. (Of course, Nokia could be pro­vi­ding tran­si­tio­ning tools, or a HAL that allows for Sym­bian apps to run on WP7, but I’m not sure that the pho­nes will be up to that kind of tasks.) And as Sun lear­ned in the tran­si­tion from SunOS 4 to Sola­ris: Deve­l­o­pers having their apps bro­ken do not respond kindly.

So these will be inte­res­ting times ahead indeed. But I’m scep­tic that the new Nokia Win­dows pho­nes will really get that kind of mar­ket trac­tion that other plat­forms enjoy.

Why IMAP is a good model for cloud services

February 10th, 2011 by konrad No comments »

I do admit it: I like the IMAP pro­to­col. I regu­larly use mul­ti­ple com­pu­ters and my iPhone, and I read and write email on all of them. IMAP makes that con­ve­ni­ent: I have the same view of my fol­ders and my inbox on every com­pu­ter. We also use a Web­mail cli­ent that uses IMAP as its under­ly­ing tech­no­logy, so even via web­mail, ever­y­thing looks the same. And apart from the fact that I quite enjoy the way that I can look for all stuff that was sent my way, I much more like the fact that I have just one fol­der of email that I sent out. It doesn’t mat­ter where I am when I send some­thing off: it all ends up in my sent box on our mail server.

IMAP is a well-specified pro­to­col. One can argue whe­ther it’s a well-desgined pro­to­col, or whe­ther parts of it are a total night­mare to under­stand and imple­ment. But is is that, well-documented. Given enough pro­gramming talent, you can sit down and write eit­her a cli­ent or a ser­ver for it. (And given the track record of various IMAP cli­ents in the wild, it does take a cer­tain kind of dedi­ca­tion and a good load of skill to really get it right.) But it’s not a tech­no­logy that lets you guess what a cer­tain field on all requests might mean or why the ans­wers look so dif­fe­rent on every second fri­day of a month star­ting with J.

The fact that it’s docu­men­ted means mul­ti­ple imple­men­ta­ti­ons exist. That means if you want, you can set up an IMAP ser­ver and just use that; or pay some­body to do just that. Per­so­nally, I’m not so fond of the idea of giving all of my email away to some­body who I don’t really know all so well, so my IMAP store is on a ser­ver that we run our­sel­ves. But if your pre­fe­ren­ces are dif­fe­rent, there are ple­nty of ser­vices that allow you to use their IMAP ser­ver, and be happy with that.

This is where I believe cloud ser­vices should be hea­ding. Like so many, I’m a fan of Ever­note (I’ve writ­ten about that). I’m impres­sed by what Google Docu­ments can do inside the brow­ser. But for eit­her com­pany: do I know who else has access to my data? What laws are even app­lica­ble for stuff that I put up? I’m sure that both Google and Ever­note are sub­ject to US sub­po­e­nas, but what about ger­man legal demands to hand over data? Or, say, those ori­gi­na­ting in India? What hap­pens to all the data should Ever­note or Google fold? I’d love Ever­note even more if there were a way to run a ser­ver of my own – because then I know for sure who has access to my data. Or the pro­to­col they use were well-specified so that others could also con­tri­bute to a public ser­ver my Ever­note cli­ent con­nects to.

Ah, if it only were so easy as with IMAP.

Kaffeepadleserei.

February 9th, 2011 by konrad 3 comments »

Aus­ge­hend von einer Twitter-Konversation, an der auch ich mich betei­ligt habe, ist bei Maxxo­lu­tion ein Blog-Artikel ent­stan­den: die Kaffee-Frage, Mei­nung erwünscht. Auch AIX­hi­bit betei­ligt sich auf deren Blog: Kaf­fee Frage. Aus­ge­gan­gen war die Dis­kus­sion ja davon, dass ich kein gros­ser Freund von Nes­presso bin; nicht zuletzt, weil das Kaf­fee­pul­ver pro Tasse in einem der ener­gie­in­ten­sivs­ten Ver­pa­ckungs­ma­te­ria­lien über­haupt gelie­fert wird – und zwar egal, ob die Home oder Professional-Serie.

Auch die Ver­pa­ckung von Pads ist ja, wenn man es genau betrach­tet, nicht so das Gelbe vom Ei, wenn es um die öko­lo­gi­sche Ver­ant­wor­tung geht: Papier­er­zeu­gung ist jetzt auch nicht gerade resour­cen­scho­nend. Das gilt für Fil­ter­pa­pier genauso wie für Schreib­pa­pier. (Warum muss das Papier für Pads eigent­lich Hoch­weiss sein? Warum tut es nicht ein Öko-Braun, das weni­ger Blei­chen bedeutet.)

Bei uns in der Firma gibt es den klas­si­schen Voll­au­to­ma­ten: Boh­nen in einem Con­tai­ner, es wird tas­sen­weise gemah­len und dann weg­ge­wor­fen. Das Pul­ver kann pro­blem­los in die braune Tonne. Man kann dann den Kun­den zwar nicht aus einer Viel­falt von unter­schied­li­chen Sor­ten wäh­len las­sen, aber genau genom­men fragt da ja auch kei­ner danach.

Tee machen wir tas­sen­weise mit Beu­teln. Und andere Getränke (wie z.B. Spru­del) gibt es bei uns aus grös­se­ren Fla­schen. Alleine schon, weil ich nicht die klei­nen Fläsch­chen trans­por­tie­ren möchte. Aber oft ist es bei unse­ren Besu­chern so, dass die ent­we­der Kaf­fee oder Was­ser trin­ken – andere Sachen sind nur sel­ten rele­vant, auch wenn wir sie anbieten.

Steve Jobs for President (or: Apple Engineering for politics)

December 29th, 2010 by konrad 1 comment »

I admit it: I’ve star­ted rea­ding A Regu­lar Guy by Mona Sim­pson which starts out by the main cha­rac­ter deci­ding he would like to run for office. I am not enter­tai­ning any pet theo­ries on the likeliness of Steve Jobs ente­ring public poli­tics or run­ning for an office (or his par­ti­cu­lar talents making him a good choice).
How would poli­tics be re-engineered by the thought pro­cess that work on pro­ducts wit­hin Apple? What would be the things, the objec­tives the very, very per­fec­tio­nist mind of Steve Jobs would focus on? What could a radi­cal mind like his actually accomplish?

Data Roaming?

September 17th, 2010 by konrad 1 comment »

Com­ing home from two weeks abroad and some idle time to think, I have a few more topics to blog about.
One of them is one of the things I con­sider one of the most obs­cene forms of ripoff the mobile phone car­ri­ers do is „data roa­ming.“ If you want to bring your smart­phone online, what they do is they do not let you easily use their own data net­work, but rather insist on trans­porting your IP traf­fic over their own net­works to your home pro­vi­der where it then is allo­wed to hit the public inter­net.
What is this?
Let me just use the local net­work, I don’t care where the tran­sit into IP world hap­pens. This would be so much chea­per, and any decent phone can handle the con­fi­gu­ra­tion. Heck, I did this years ago with my Treo!

Be afraid. Be very afraid.

September 16th, 2010 by konrad No comments »

It is a widely held belief that Steve Jobs is a man to trans­form indus­tries. He’s done it before, and I think he (with his com­pany Apple) has set his eyes to do it yet again. This time, it’s tele­phony. And I can’t blame him, it is a god-awful indus­try we (as a spe­cies, glo­bally) are put­ting up with.
Take the epi­tome of modern phone tech­no­logy: the mobile phone net­work. We’re still using phone num­bers (a tech­no­logy that is a cen­tury old and was opti­mi­zed for the rotary pho­nes and their elec­tro­me­cha­ni­cal coun­ter­parts in the swit­ching sys­tem), we’re basi­cally using a net­work desi­gned to deli­ver billable events and we’re com­mu­ni­ca­ting with voice qua­lity that is actually more than awful.
Enter Face­Time.
Face­Time takes the tele­phone con­ver­sa­tion out of the old phone net­work and puts it onto an IP net­work. It makes com­mu­ni­ca­tion easy and fun. And it’s no lon­ger just tied to the iPhone (which the car­ri­ers pro­bably would have liked), but also going to IP-only devices: iPod touch and all iPads. Apple usually is known for deli­ve­r­ing good user expe­ri­ence, so phone calls are good for the user.
But now, Apple is set­ting out to be not just the media centre of the world (with music and video alre­ady going their way), but the new phone sys­tem, too. Bet­ween the new Apple TV and Face­Time, I do have some ideas why Apple needs a new data cen­ter …
[EDITED] I do not think that the video tele­phony is what makes Face­Time so par­ti­cu­larly import­ant or game-changing. I think it is the seam­less­ness in which the phone and IP net­work inter­act. Ulti­mately, redu­cing the phone car­ri­ers just to ano­ther form of data car­ri­ers. I do know that Skype also works sui­ta­bly well and has a good instal­led base. But what is dif­fe­rent here is that Face­Time is auto­ma­ti­cally instal­led on every iOS device, and inte­gra­ted well with the ent­ire Apple expe­ri­ence (think: Address book, MobileMe, …)

Lessons in customer support

September 11th, 2010 by konrad No comments »

I — pro­bably along with many, many others of the iPhone Twit­ter App — dis­co­vered some­thing that I con­sider a bug. As soon as you rotate the phone, your posi­tion in your time­line is utterly garb­led. Where you are after turning has no resem­blance whatsoever to where you were before. That means: Take the phone, rotate it, rotate it back and you’re at a com­ple­tely dif­fe­rent place than before.

This quite goes against the law of least sur­prise for the user. So I tried to inform Twit­ter of that bug. I sear­ched for a place for such feed­back, did indeed file the report and inclu­ded what I take to be a start on how to resolve the issue. I recei­ved an ans­wer from Twit­ter a few days later, but with some­thing that I con­sider to be com­ple­tely beside the point. The ans­wer, basi­cally was, „If this is a pro­blem for you, you can rotation-lock your phone.“ Come on, Twit­ter. You can do bet­ter than that. If the mail back had at least inclu­ded some­thing like „Thank you for reporting your con­cern, we will look at this inter­nally“ or „Thank you, we will con­sider how to best deal with the issue for a future release,“ all would have been well. But to be told that this is a non-issue is, to be honest, most disap­poin­ting. And yes, I do indeed con­sider this to be a pro­blem. And no, I do not con­sider rotation-lockng the phone an appro­priate solu­tion. (I do tend to type on the land­scape key­board, but read on the por­trait ori­en­ta­tion, so I do in fact quite like to change the direc­tion of the phone.

And it would have been easy to not make me frus­tra­ted about this, too.

Mailman problems

September 1st, 2010 by konrad No comments »

For one of lists, one of the sub­scri­bers had the stran­gest pro­blem. He kept get­ting boun­ces that the list alias does not even exist, whilst at the same time other sub­scri­bers could well write to that list. It turns out that his mail ser­ver was rewri­t­ing the To:-address, resol­ving the CNAME of the host­name that is responsi­ble for run­ning the lists. As we run a virtual-domain based mail ser­ver, this was not a smart choice: Whilst the email address does indeed exist on the CNAME-d host (lists​.xiqit​.de), it does not exist on the fully qua­li­fied name the ser­ver lis­tens to. So we added an MX record for the host­name that also points to the ‚pri­mary‘ name of the ser­ver (the one which the RDNS also resol­ves to), and now all is well. HIs email does reach the list.

Wow. Just wow.

August 27th, 2010 by konrad No comments »

Hard to believe they actually do this!

PowerDNS under MacOS X 10.6.4

August 26th, 2010 by konrad No comments »

Thanks to an entry on LSD::RELOAD I was finally able to get powerdns to run on my MacOS X 10.6.4 system.

Out of per­so­nal pre­fe­rence I wan­ted it to run with post­gresql instead of mysql, so there was a little figu­ring out invol­ved in how to get things going wit­hout the mysql dri­ver — appa­r­ently, the make files only take one data­base backend and do not com­pile mul­ti­ple dri­vers at the same time.

Also, secon­dary soft­ware omes from Mac­Ports, so paths had to be appro­pria­tely matched. And then, there was some hand-tweaking of Make­files because –Bsta­tic, –Bdy­na­mic and –lcrypt war­rant spe­cial handling.

This leads to the fol­lo­wing com­mand line:

CXXFLAGS="-I/opt/local/include -DDARWIN" \
./configure --with-pgsql-lib=/opt/local/lib/postgresql84 \
--with-pgsql-includes=/opt/local/include/postgresql84 \
--prefix=/usr/local --with-modules="gpgsql"

Requiring code in PHP

August 12th, 2010 by konrad No comments »

While wri­t­ing the code to handle a small form in PHP, I just rea­li­zed that I have a very bad habit — and many just do the same.

When I write a new file, I place all the includes at the very top, before anything else hap­pens. But in my cur­rent script, there are many code paths that do not require the major part of all those inclu­des. Only in one spe­ci­fic instance do we require the bulk of the code. Pre­viously, any invo­ca­tion of that script would have got­ten all the code drag­ged in. Now, I’ve moved the include to just where I need the code (basi­cally, going into a spe­ci­fic case of a lar­ger switch state­ment … And the load on the web ser­ver has just been redu­ced, wit­hout any change to the functionality.

So why do we all put the inclu­des on top?

eBooks

August 10th, 2010 by konrad No comments »

So there’s a new Kindle that looks quite attrac­tive. Many things on the Kindle platt­form appear quite nice: You can read the Kindle books on mul­ti­ple devices (the Kindle app for iPhone and iPad just as well as your desk­top and lap­top com­pu­ter) and have your library avail­able on all devices equally. The way I under­stand it, you even see your own notes and pro­gress on your books on all plat­forms; this is how sto­rage should be done (local copies for off­line, but basi­cally be acces­si­ble from any­where).
And yet, as with many other of the new media con­sump­tion gad­gets, you get a big bag of con­cerns that at least still give me second thoughts on all of this.
For one, I don’t want to leave such a well-documented trail of what I read, when and for how long. I know that by shop­ping at Ama­zon, I alre­ady leave quite the trail about my rea­ding hab­its, and buy­ing stuff on the Kindle does not change that all too dras­ti­cally. And still, I feel that the more data Kindle trans­fers to Ama­zon, the less com­for­ta­ble I am with rea­ding stuff on such an elec­tro­nic gad­get.
Also, we’ve seen that Ama­zon is able to change the library on the Kindle wit­hout your appro­val or inter­ac­tion. This gives an ent­i­rely new mea­ning to the con­cept of „purchasing a book.“ It’s actually much more like a public library: You pay for the pri­vi­lege of being allo­wed to read a book, but only little of the expe­ri­ence is under your con­trol.
And that brings us around to the next point: I want to be able to pass on books. Once I’ve read them, I want to have some­body else have them. Or I want to be able to loan them; eit­her just for an after­noon of lei­sure or for others to com­ple­tely read those books. That’s just not pos­si­ble on the Kindle. But then, I also think that it’s not pos­si­ble on iBooks, so that levels the play­ing field.
For the time being, I just might be stuck with paper books.

Software I like: Evernote

August 5th, 2010 by konrad No comments »

I’ve been a user of Ever­note for quite a while now, and I must admit that I’m also one of the lovers of that ser­vice. It does data sto­rage the way I felt it should be done. You can access your notes via local app­li­ca­ti­ons on desk­top and lap­top, and that works well. I per­so­nally use only the Mac­in­tosh ver­sion (but that on mul­ti­ple machi­nes) for work­sta­tion use. But I can also access my data via the iPhone app­li­ca­tion, or with the ever­note web app from just about any­where. There’s also a Win­dows ver­sion avail­able, but I’ve never played around with that.
I jour­nal all the ideas that are on my mind wit­hin Ever­note; that way, I am sure that I have all ideas that might war­rant revi­sit­ing at a later point are caught, because it’s just so easy and quick to write them down and have them stored in a way that I can access from any­where.
I know that there are many more fea­tures (uploading PDFs, cap­tu­ring images and sto­ring them, image reco­gni­tion and many more), but none of those have pro­vi­ded import­ant to me. The fact that I can get to all my notes from any­where, and with soft­ware that makes using the sto­rage easy and fast — it does feel like it’s a local app­li­ca­tion, because it is — that’s what has me con­vin­ced.
And the best thing? It just works.
Highly recommended.

Home media integration and other televisory matters

August 5th, 2010 by konrad No comments »

Fol­lo­wing up on my last pos­ting, there are a few more things that come to mind when thin­king about the future of TV sets. With all those video strea­ming ser­vices that I want, I also would like inte­gra­tion with my lapop (or iPhone or iPad, or wha­te­ver other media con­sump­tion devices there are in the hou­se­hold). If I see a video on one of my devices, I’d like to be able to easily trans­fer that run­ning stream onto my TV set. So, for instance, I am brow­sing TED and find a pre­sen­ta­tion that I’d like to con­ti­nue watching while I do some­thing else on an iPad (which I cur­rently don’t own, but that is ano­ther topic). So then, I’d like to bounce the stream off to the TV set in the room I’m cur­rently in and con­ti­nue to use the iPad for other things.
And on the sub­ject of trans­fers: I more often than not carry my iPhone on me. I can easily have my ear­pho­nes plug­ged in there, and the cable not tangle with anything. So then, my lap­top should link up with the audio out­put of the iPhone and trans­fer it’s sound out via the iPhone. That way, I could walk around and con­ti­nue to lis­ten to what I have on the com­pu­ter — or just not be tied to the com­pu­ter by means of head­phone cable.
I’d like to be able to watch HD con­tent, record and play­back it at my lei­sure. And get HD con­tent in such a way so that I can watch dif­fe­rent HD chan­nels on dif­fe­rent TV sets con­cur­rently, and wit­hout pay­ing a monthly sum for every sin­gle device. We can do that now, with the plain ana­log cable ser­vice that we have. By means of cab­ling, we can dis­tri­bute the signal to mul­ti­ple TV sets. Anything but that would be a step back­ward, to my mind. It would be a great plus if the HD con­tent could also be wat­ched on lap­tops (and we have both Win­dows and Mac­in­tosh devices in the hou­se­hold, of which one Win­dows lap­top regu­larly gets used for watching TV with a USB TV tuner), but that is even a secon­dary goal. I’d be happy if we could just get two TV sets. Of course, if we just had one media sto­rage solu­tion so that recor­dings of TV shows could be shown on any screen around, that would be a plus — but that seems to cur­rently not be easily avail­able.
It seems there’s still a great many chal­len­ges out there to get media stuff working con­ve­ni­ently and easily …

TV sets and online experience

August 3rd, 2010 by konrad No comments »

It seems that TV sets that offer some form of web con­nec­tivity are the latest craze, right next with the 3D stuff that is not yet ready for con­sump­tion, at least to my mind. I say web con­nec­tivity because it’s about the web more than it is about inter­net con­nec­tivity — the TV sets are even a far cry from fully giving you a decent brow­ser expe­ri­ence, let alone thin­king about other pro­to­cols or app­li­ca­ti­ons. Not that this is neces­sa­rily a bad thing — but one still should be honest about what kind of expe­ri­ence a device is deli­ve­r­ing.
What this is about, though, is that youtube is not enough. Of course it’s fun to look at various video clips and that one site is very rich in all the con­tent it offers. Maybe, if the manu­fac­tu­rer is kind, they’ll also include other online video sys­tems (vimeo, ustream​.tv, or seven­load and myvi​deo​.de in Ger­many) But as we all know, the web is fil­led with so many more oppor­tu­nities. Being in the ger­man TV mar­ket, I also want to be able to look at the online video offe­rings of the local TV sta­ti­ons; inci­den­tally that also requi­res a Flash player on the device. I pre­sume that other mar­kets will have other offe­rings that the con­su­mer might be inte­res­ted in — a con­stant, steady battle for the manu­fac­tu­rer if the want to fol­low this all. And then, there’s video pod­casts, there’s strea­ming stuff com­ing up that we don’t yet even dream about. A night­mare to keep cur­rent, even more of a night­mare if you have to keep pus­hing updates to the sets at the con­su­mers con­stantly.
So we have esta­blis­hed that the requi­re­ments for the TV online expe­ri­ence are high: Flash player, a decent full brow­ser to sup­port all the various offe­rings, a good update path to get new ver­si­ons released (just ima­gine if IE6 had been dis­tri­bu­ted with every TV set that a cer­tain manu­fac­tu­rer ship­ped five years ago, with no clear way for the cust­o­mer to update). I think we’re get­ting dan­ge­rously close to having a full ope­ra­ting sys­tem on the TV set. And then we haven’t even tou­ched inte­gra­ting the nor­mal TV ser­vices, video on demand, time-lapse watching, new ideas about pay per view.
Watching a home enter­tain­ment sys­tem for the living room cer­tainly won’t be get­ting easier!

My code sucks.

August 2nd, 2010 by konrad No comments »

Cha­sing a link via Twit­ter, I recently read Your code sucks. Having gone over a lot of other people’s code mys­elf, and wri­t­ing code for long enough to have a good history of my own work to go over, it reso­na­ted with me.

I recently had the mis­plea­sure of debug­ging a piece of code that I wrote almost ten years ago. It was, in many ways, pain­ful to read. Alt­hough I still use the same lan­guage as back then, things have way evol­ved: The lan­guage, for one. Deve­lop­ment tools. (Well, not mine: I still use Emacs.) But most of all: My know­ledge and my men­tal hori­zon in pro­gramming. I’ve looked at various other things to enrich my skill set, brin­ging to my own coding hab­its tools that work well in other lan­gua­ges. I also got to under­stand the tools I use bet­ter (espe­cially data­base tools — those are so rich, and so few tools ever really use them). So, with that expe­ri­ence in mind: My code does suck. But I much pre­fer some­thing that I wrote ten years ago to be pain­ful to read, because it means that I have lear­ned a lot. Even though I feel great satis­fac­tion with the things I write today, I am sure that in ano­ther ten years time, I will look back at todays work and feel a slight sen­sa­tion of being asha­med of what I did.

And this hum­bles me in rea­ding other people’s code. It does not hurt to assume com­pe­tency in others; they may have dif­fe­rent rou­tes they take in sol­ving pro­blems. But if one gets to think like they do, under­stand why they wrote the code the way that they did, that cer­tainly may lead to your taking away some­thing for yourself.

Now, if only ever­yone adhe­red to K&R inden­ta­tion, I could read all the other people’s stuff so much more easily …

More basement finds …

June 15th, 2010 by konrad No comments »

So if you thought that the last post dates me, see here. This is from the mid eigh­ties, magne­tic stri­pes to save stuff on. One stripe held all of 1.2 kb. What fun to remember!

Even more ancient

URL shortening, a new approach

June 14th, 2010 by konrad No comments »

There is an approach in URL shor­teners that I have not yet seen, but think that has some merit: Store all the infor­ma­tion for the URLs in a DNS zone. Store the URLs you point to as TXT records. The zone can then be pul­led and peru­sed at will. That way, data is never stored in just one com­pa­nies data­base, you can just go in an pull those links that inte­rest you. If the shor­te­n­ing engine then allows for user spe­ci­fic zones, you can just get to all the data you are inte­res­ted in.

The pro­to­type should not be so hard to get in shape.

Look what I found!

June 14th, 2010 by konrad No comments »

Clea­ning up the bas­e­ment (because we had some water lea­king in, but that is a dif­fe­rent mat­ter ent­i­rely), I found stuff that prac­tically makes me feel ancient … Licensed Software, ancient