Random google

In a random hunt across google i thought i would make a list of "ines". You know, like canine, feline, etc. I thought there might be more but i had no idea…

equine   horse
canine   dog
feline   cat
bovine   cow
porcine  pig
Musteline badger
ovine   sheep
murine  mouse
caprine  goat
anserine  goose
aquiline  eagle
cancrine  crab
cervine  deer
corvine  crow
elapine  snake
elaphine  stag
leporine  rabbit
lupine   wolf
pavonine  peacock
piscine  fish
serpentine  snake
ursine  bear
vulpine  fox
larine   seagull
volucrine  birds
oscine   song bird
strigine owl
pardine  leopard
ranine [...]

1 is the loneliest number

Katja has left….
My northern flower.
She has gone back to Sweden to work on her education and career. She is going to study chemistry, which is pretty neat.

But still, it leaves me here cold and alone and hurting inside.
I still have Blaze who is soft and fluffy but of little comfort in this situation.

Even 1 + [...]

Site updates

Made some updates to thomassmart.com. Not completely satisfied though

info page is just not doing it, aplis is ok, sandbox is ok, portfolio is a bit small, cant read the wow banners in games, contact is perfect.  music still needs some audio/video material. i dunno. i realy want to keep the video background and [...]

Pet peeve

[ start rant ]
Well I say pet peeve but its actually something that really pisses me off. The a$$holes on the net, these web developers with the helpful attitude. They go around spouting out their blogs with a whole image of helpfulness. Sure they have good articles but my point is its all PR, its all [...]

Zen quote for today

There is no such thing as difficult,
only easier or harder challenges.

OMG!

so… the unthinkable has happened… i have joined a profile site… omg???? what???

yes you hear truly, i have joined an actual profile site… one i mentioned before as the only one that had the slightest chance in hell i would join: linkedIn.  I thought i would give it a try, see what the reactions are. [...]

Mobile Dev compy

I'm working on a plan for a mobile developer laptop. Key features will be good battery life and smal/lightweight. Powerful is of course also important but the mobile factor still comes first. I'm looking for something i can program on when traveling/holidays etc.

Had a look at several brands but kept coming back to the ASUS [...]

Font colour based on background colour

Very simple little php function that returns a black or white colour depending on the darkness of the given html colour.

function fontColour($colour){
$r = hexdec($colour[0].$colour[1]);
$g = hexdec($colour[2].$colour[3]);
$b = hexdec($colour[4].$colour[5]);
$sum = $r+$g+$b;
if($sum>390){ return '000000'; }else{ return 'FFFFFF'; }
}

as i said, simple
enter a 6 char html background colour and it returns 000000 or FFFFFF for your [...]

Another experiment for Agenda Apli

This one was much easier than i thought it was going to be. The aim: use the mouse wheel scroller for something other than scrollbars. This could be used to scroll through different years or months in the agenda calendar.

http://www.thomassmart.com/Experiments/scroll/
code is in the source of the file

Experiments for agenda apli

Was working on some scripts today for the upcoming agenda application.
I needed to get a few things working: drag-drop over different hours and days and resize appointment box.
Got those all working now, note its a sandbox script so far from foolproof its just needed to work complicated things out before i start on the actual [...]