I was having some fun with JS-Objects, and ended up with a random password generator!

check it in action here: http://password.sandshark.be/

Cool html5 demo’s

Author: sandshark

Here are some cool html5 sites worth checking out if you havent allready,
best in google chrome, but most of m will work on firefox too.

ballpool experimenral

Polariods photo presentation

Darkroom html5 photoshop (light)?

Chain reaction Ooh to bad theres no highscores

Off to play some more chain reaction :)

EVE-Online on Ubuntu

Author: sandshark

This might not be news for people that belong to the small intersection of persons that are linux geeks and hardcore EVE fans,
but i guess this is more aimed at the gamers that are running ubuntu and switch to winhoze to check some market orders or change some skills.

Allright, pew pew!

Unfortunately no, I’m limiting my actions to changing skills, market, mail transporting stuff in highsec and the likes,
just because i don’t feel that in PVP combat running EVE-Online on linux will do you much good.
(In case someone has ubuntu+linux+pvp experiences please drop a line,
or perhaps I shall test on SISI later ;) )
But for all relatively secure things you can do it is not a problem.

Installing Wine and EVE-Online

First and for all you will need to install wine, witch is easy enough to find in the ubuntu software center and should require no further configuration at all.

Once this is done you can download the, preferably offline version, of the EVE installer from the official website.
When the download is complete, go to the folder you saved the installer in and right click it,
now click op open with wine windows program loader to start installing, click trought the install and wait until it’s complete.

That was easy!

It was, wasn’t it, a real walk in the park, now lets start up the client and start gaming!

Oh wait, what is this, an empty EULA window to accept, and can’t scroll to the bottom of.
Damn it, our plans are foiled. But not to worry, this is caused because the font eve uses isn’t by default installed on ubuntu.

To install this font, install the arial font installer (trough wine) that you can download here.
Now launch the client again, and if all goes well you should now have text!

Accept the EULA and log in, you are set!

What about updates?

Every update seems to fail, fortunaly CCP has provided with a handy repair tool that launches automaticly.
Oh no! now that failes too!

Somehow by clicking back/cancel and retying  the repair tool it works, and the update can complete.

Thats all i have for now, and it is still running! (crosses fingers)

I recently found this video on youtube about using netbeans for PHP with xdebug.
Also kCacheGrind is extensively demonstrated in this video.
(They analyse a wordpress blog, aka what you are looking at)

The interesting part of course is to see what takes how many resources and or time in your functions.
I’m really considering going over all my home projects when they are done to see what can be improved.
Not only can you improve the execution time of your already existing code, this also shows witch methods or structures are better then others for certain situations.

To watch all parts in a playlist, click here.

Anonymous functions in PHP

Author: sandshark

I recently discovered that since PHP 5.3.0 there are anonymous functions, also called lambda functions available.
This is a very nice feature especially for registering a simple callback.

An example:

 <?php
$func = function($value) {
 return $value * 2;
};

print_r(array_map($func, range(1, 5)));
?> 

More information in the PHP Documentation can be found here.

Also, im am trying to post more frequently, and soon reports of my trip to the states will come up here too.

Chillax

Author: sandshark

I would like to announce my first “chillax” tip ever.

Especially for non-Belgian people who might of never heard of him.

I am ofcourse talking about Buscemi and hes latest album “in situ”, including couleurs and dipso calypso, is a very summery vibe in the middle of a currlenty very gray season.

Just close your eyes and imagine a sunny place and you’re halfway there… (sort of speak)

Enjoy, best served with a cocktail!

iPad & fosdem

Author: sandshark

“Interestingly, at the close of today’s trading day, Amazon’s stock was up marginally, and Apple’s was down – also marginally. ®” The register

What a dissapointment that is, basicly an oversized iPhone without the phone function.

On an other matter:

I'm going to FOSDEM, the Free and Open Source Software Developers' European Meeting

Very interesting topics, but i’m mainly going for DB speaks this time.

Perhaps i’ll see you there.

first post from my mobile

Author: sandshark

just testing this wp mobile plugin so I can possibly blog on the move.one thing is for sure, mobile post will be short! (tiny keyboards ftl)

Wow i was very impressed by a recent commercial for deodorant.

It claimed “to be proven effective at the hottest temperature ever measured on earth”

Well the thing im impressed about is this:

Scientists Generate Highest Temperature Ever Recorded on Earth, 3.6 Billion Degrees!

(full article)

Okay granted its fahrenheit, wich still is roughly 2 billion degrees Celsius.

But still you won’t break a sweat ;)

Impressive don’t you think?

24hr Zolder

Author: sandshark

Ahh a nice place to test the camera of my brand new HTC Touch Diamond 2

And these are the results, which i may say are better then i at first expected.

racing

pitstop

And some bikini carwash babes…

Bikini Carwash

A video of a Lambo team pitstop.