27/09/2011

How to contact Facebook or delete your account

Contacting Facebook can really be a pain, but definitely deleting your account is even harder. Since they rely on your data to survive, they will hang on to it as long as possible.

Luckily, Mary Smith gathered all possible ways to contact Facebook and receive support. Feature requests, suggestions, bug reports and account deletion can all be found there.

You can even request Facebook to send you a CD copy of all the data they have about you accordingly with your country's privacy laws.

By the way, good luck at getting Facebook to reply to you, especially with the data request. If they don't answer, insist since they MUST satisfy your request within a limited time.

UPDATE: An anonymous user pointed out that more information about that is available at  webmarketing-conseil.

13/09/2011

Legend of Dragoon fix disc 2 freeze after Lenus & Regole battle

ENGLISH: please refer to supercheats, quick summary: beat the battle without ever going Dragoon

ITALIANO:
The Legend of Dragoon é uno di quei giochi che non risentono dell’etá. Purtroppo, se si prova a giocarlo su una qualsiasi console che non sia la ormai rara PlayStation 1 (PS2, PS3, PSP o usando  l’emulatore PSX), per qualche motivo dopo la battaglia contro Lenus e Regole verso la fine del disco 2, lo schermo diventa nero ed il gioco va in freeze senza possibilitá di recupero.


31/07/2011

GNOME 3 add applications taskbar/panel

GNOME 3 does not have, like GNOME 2, two taskbars: one for the applications and one for the system tray. It is possible to add the application taskbar (which includes a system tray panel too) manually with the project tint2. All instructions for installing under different distros are available directly on the developers website.

ITALIANO:


GNOME 3 enable right click on desktop and show icons

GNOME 3 by default doen’t show any icon on the desktop and does not allow right-clicking it. You could change this behaviour manually:
  • run yum install dconf-editor as root or install it via add/remove software and launch it when it’s ready
  • navigate the menus through org –> GNOME –> Desktop –> Background
  • search for the show-desktop-icons entry and chek its checkbox
ITALIANO:

GNOME 3 add minimize and restore buttons to windows

GNOME 3 by default shows only the “close” button on windows. You could add the other two (minimize and restore/maximize) manually:
  • run yum install gconf-editor as root or install it via add/remove software and launch it when it’s ready
  • navigate the menus through Desktop –> GNOME –> Shell –> Windows
  • search for the button_layout entry and edit its value to :minimize,maximize,close (colon included!)
  • restart nautilus or log out and in again to see the changes take effect

ITALIANO:

Realtek wireless on Fedora

This article applies to the 819x Realtek wireless cards series like models 8191SEvB, 8191SEvA2, 8192SE, …

Main reference site is Stanislaw Gruszka’s compact wireless website.

You can either try the -stable version or the –next. Both have different kernel requirements, the –next version, though more unstable, is compiled against the latest kernel version so you should run yum update kernel as root before installing the appropriate package for your system.

After installation you will have to reboot the system before being able to use and control your wireless card through NetworkManager.

 

ITALIANO:

 

Questo articolo si applica ai modelli di schede wireless Realtek serie 819x quali 8191SEvB, 8191SEvA2, 8192SE, …

Il sito di riferimento é compact wireless di Stanislaw Gruszka.

Potete provare sia la versione -stable che la –next. Entrambe hanno differenti requisiti di kernel, la versione –next, sebbene piú instabile, é compilata per l’ultima versione del kernel supportata dal sistema per cui é sufficiente lanciare yum update kernel da root prima di installare il pacchetto corretto per il proprio sistema.

Al termine dell’installazione sará necessario riavviare il sistema prima di poter usare e controllare la propria scheda wireless attraverso il NetworkManager.

20/07/2011

[MatLab] EM – Expectation Maximization reconstruction technique implementation

EM – Expectation Maximization is an iterative algorithm used in tomographic images (as in CT) reconstruction, very useful when the FBP – Filtered Back Projection technique is not applicable.

Basic formula is:

f_k+1 = (f_k / alpha) (At (g / (A f_k)))

where:

  • f_k is solution (the resulting reconstructed image) at k-th iteration, at first iteration it is our guess
  • g is image sinogram (what we get from the scanning)
  • A f_k is Radon transform of f_k
  • At is inverse Radon
  • alpha is inverse Radon of a sinogram with all values 1 which represents our scanning machine

%EM - Expectation Maximization
%Formula is:
%f_k+1 = (f_k / alpha) (At (g / (A f_k)))
%f_k is solution at k-th iteration, at first iteration it is our guess
%g is image sinogram
%A f_k is Radon transform of f_k
%At is inverse Radon of its argument
%alpha is inverse Radon of a sinogram with all values 1 which represents our scanning machine

%clear matlab environment
clear all;
close all;
theta=[0:89]; %limited projection angle 90 degrees instead of 180
F=phantom(64); %create test phantom 64x64 pixels aka alien
figure, imshow(F,[]),title('Alien vs Predator'); %show alien
S1 = sum(sum(F));%calculate pixels sum on F
R = radon(F,theta); %apply Radon aka scan the alien to create a sinogram
figure, imshow(R,[]),title('Sinoalien');%show sinogram
%set all values <0 to 0
index=R<0;
R(index)=0;
n = 2000;%iterations
Fk=ones(64);%our initial guess
%create alpha aka pixels sum of the projection matrix (our scanning machine)
sinogramma1=ones(95,90);
alpha=iradon(sinogramma1, theta,'linear', 'none', 1,64);
%calculate relative error
relerrfact=sum(sum(F.^2));
for  k=1:n
     Afk = radon(Fk,theta);%create sinogram from current step solution
     %calculate g / A f_k=Noised./(A f_k+eps); aka initial sinogram / current step sinogram
     %eps is matlab thing to prevent 0 division
     GsuAFK=R./(Afk+eps);
     retro=iradon(GsuAFK, theta, 'linear', 'none', 1,64);%At (g / (A f_k))
     %multiply current step with previous step result and divide for alpha updating f_k
     ratio=Fk./alpha;
     Fk=ratio.*retro;
     %normalize
     St = sum(sum(Fk));
     Fk = (Fk/St)*S1;
	 %calculate step improvement
     Arrerr(k) = sum(sum((F - Fk).^2))/relerrfact;
	 %stop when there is no more improvement
     if((k>2) &&(Arrerr(k)>Arrerr(k-1)))
        break;
     end     
end
figure, imshow(Fk,[]),title('Fk');%show reconstructed alien
figure, plot(Arrerr),title('Arrerr');%show error improvement over all iterations

%compare our result with the one we would have had using the FBP - Filtered Back Projection
easy=iradon(R,theta, 'Shepp-Logan',1,64);
figure, imshow(easy,[]),title('FBP');

%calculate error between EM and FBP - with limited image size and projection degree FBP is bad!
FBPerr=sum(sum((F - easy).^2))/relerrfact;