WebGL Web Graphics Library and Quake

The seems to be awesome! I’m going to include a little description from wikipedia, and a video from youtube. I’ve founded this very interesting, but I’ve some dubts about the performance… We’ll see!

From Wikipedia:

WebGL (Web Graphics Library) is an in-development standard specification defining a JavaScript API for writing web applications utilizing hardware accelerated 3D graphics.[1] It achieves this without the need for browser plug-ins, on any platform that has a compatible browser implementation.

Technical Details:

Technically it is a binding for JavaScript to native OpenGL ES 2.0 implementations, to be built in to browsers. The WebGL specification itself is designed to mirror that of OpenGL ES 2.0. It is an extension of the canvas HTML5 element.

[youtube]http://www.youtube.com/watch?v=fyfu4OwjUEI[/youtube]

Esa CryoSat-2 Earth Explorer

This is a good news for the European Space Agency, it seems that they are doing something useful, I really hope that this Sat will bring some new information about the ice melting, although this is a well described thing caused due to the temperature rise up.
Anyway, I’ve attached in the following Iframe the page of the project.

[iframe http://www.esa.int/esaLP/ESAOMH1VMOC_LPcryosat_0.html 100% 600px]

Bye

DDoS mitigation with iptables

This script that I wrote, should mitigate a little DDoS directed to the server, I made this because on Darksin we receive many attacks, and I tried to mitigate them in order to permit us to log the traffic and find the botnet’s ips.
I reduced the number of syn accepted per second to 100, disabled ICMP and put in DROP every IP of knows attacker.
There also the rules to count the traffic for IspCP, without them it doesn’t work correctly.

Here is the script:
(more…)

Parallelize operations in Perl

The easiest way to parallelize an operations in Perl, is to use Prallel::ForkManager() module. Of course you can do it manually, but this way it’s very very better.

Just an example of use:

use Parallel::ForkManager;

my $MAX_PROCESSES=10;
my $pm = new Parallel::ForkManager($MAX_PROCESSES);

my $pid = $pm->start and next;
    #Operations to do in child processes.
$pm->finish;
$pm->wait_all_children;

Done, in few scripting lines we have a functionally parallel system method that use fork. The good things is that we can decide how many child the script can spawns at the same time, things quite annoying to write manually.

If you want to know how the module works, you can just see the sources, they are very readable.

Byez :)