Ninite 64-bit trick

Here’s an undocumented tip on how to force Ninite to install the 64-bit version of a package, when autodetection erroneously installs the 32-bit version.

Continue reading Ninite 64-bit trick

How to subscribe a company for iOS development.

My company is about to release a smartphone app (iPhone and Android) on behalf of several customers. Even though I am a developer (not on the Apple platform though), I got the task of registering the customers on the relevant app markets. Android Market was easy and fast. But to release an app in Apple App Store, we had to get an iOS Developer Program for each customer, and that was such a nightmare full of doubt and surprices. I wrote down the process to help myself (or hopefully a colleague) in case we need to add another customer, and decided to publish it here to help others in similar situation.

This is how I subscribed several customers for iOS development. If you have anything to add, please add a comment or send an email.

Continue reading How to subscribe a company for iOS development.

Apple hates developers

My employer will soon release a smartphone app (iPhone and Android), for the first time.  Actually we will release several apps for several customers.  These customers pay my employer to take care of all the technical stuff, so we release the apps in their names. And I got the task of registering developer accounts for each customer. In stead of explaining how much work in is and how frustating that work is, I will give you an example of how Apple works.

Continue reading Apple hates developers

Ubuntu Linux on ASRock Core 100HT

I installed Ubuntu 10.10 (Maverick Meerkat) 32 bit on my ASRock Core 100HT, which I use as an “HTPC” (Home Theater PC) or “mediacenter”. For now I also use it as a NAS and a few other odd jobs. Everything I’ve tried so far worked out of the box, except infrared. I had to install the infrared driver in an inconvenient way, but it works too. This blog-post will mostly be about the remote.

Continue reading Ubuntu Linux on ASRock Core 100HT

Kontrolcifre

Så er der igen opmærksomhed på forkerte kontonumre ved pengeoverførsler. Jeg fik lyst til at fortælle lidt om check-cifret, som (normalt) gør at fejlindtastninger fanges.

Kontrolcifre bruges mange steder. Kontonummer, kortnummer, CPR-nummer, girokort… Kontrolcifret er det sidste tal i rækken, og det beregnes ud fra de øvrige cifre med en formel. Når man fx. opretter et nyt CPR-nummer, så er de første 6 cifre datoen, de næste tre fastsættes ud fra en masse regler, og det sidste ciffer beregnes med en modulus 11-formel. Når man så indtaster et CPR-nummer på en computer, så kan den med en simpel formel se om det sidste ciffer passer. Og det gør det (næsten) aldrig, hvis man skriver forkert.
Continue reading Kontrolcifre

Layers pattern for security

Pay attention, web developers! This is where too many of you screw up. Way too often a few characters behave strange and a quick fix is made, in stead of taking a step back to look at the real problem.

This is fine for the beginning amateur, but professionals should always get this right.

What happens when you don’t do this

If you are very lucky, you will have a lot of extra work and more complicated code. If you are less lucky strange things will happen on your website. Maybe “2<3″ is displayed as “23″ or “don’t” is displayed as “don\’t”. Maybe it’s even saved like that in the database, which just makes it much harder to fix.

But worst case is a gaping security hole. Do one little thing wrong, and you can get serious security vulnerabilities like XSS and SQL injection.
Continue reading Layers pattern for security

.dk-domæner kan tages fra dig!

Den korte udgave

Peter Veileborg har haft domænet orango.dk i 9 år, og bruger det som sin online identitet, da han er kendt under navnet “Orango”. Det domæne bliver nu taget fra ham af domæneklagenævnet, fordi firmaet Orango ApS (stiftet i januar i år) bedre kan lide det, end deres nuværende orango.nu. Hvordan pokker kan de få lov til det? Hvad skal vi andre gøre for ikke at blive udsat for det samme?

Continue reading .dk-domæner kan tages fra dig!

GratisDNS tip

En ting jeg godt kan lide ved GratisDNS er, at det er så nemt at scripte de fleste handlinger. Fx. at tilføje diverse records.
Continue reading GratisDNS tip

Spiders on caffeine

You may have seen these images before, but I think they are much more interesting with a bit of explanation of the drugs.

Normal

Normal

This is a typical spider web. This is the goal, what you should compare the other images with.

Marijuana

Marijuana

This spider was given marijuana (or “hash”) before making the web. Marijuana makes you slow and makes it hard to concentrate. The spider started just fine, but then it got lazy.

Continue reading Spiders on caffeine

Livet som ikke-pirat

Min kæreste hørte et par sjove toner i TV, og ville gerne have MP3′en. Jeg fandt hurtigt ud af at det var “The Cure – Close To Me”. Så den ville jeg da købe til hende.
Continue reading Livet som ikke-pirat