Posts Tagged ‘address’
Sunday, September 21st, 2008
As I previously announced, I purchased a brand new domain for my stuff.
The blog is changing during the months, becoming more than a blog but less than a site.
That's because I decided to buy the domain BD-things.net, because this site contains all of my things, files, thoughts, projects, publications.
The old address daniel.graziotin.net now redirects permanently here and every link should have been updated/rewritten. Please contact me if you encounter problems.
I also took BD-blog.net which points here, too, but I won't renew it the next year.
Some things are different now, but you won't notice it 
I obviously lost my decent position at Netcraft's Most Visited Web Sites rank list, but I don't care. It will be funny to advance with the new domain and reach a even better position!
I hope there will be a new beginning and a brand new life with BD-things!
Tags: address, bd, BD-blog, BD-thing, BD-things, beginning, Blog, brand, contact, daniel, decent position, domain, graziotin, life, link, list, most visited web sites rank, Netcraft, position, project, projects publications, rank, site, Sites, stuff, Visited, web, year
Posted in Activism?, Blog, My Life | No Comments »
Monday, May 26th, 2008
ENGLISH VERSION
Caro utente della mia lista di MSN Messenger, cambio contatto.
Per ragioni tecniche, politiche e legate al buonsenso, non utilizzerò più Microsoft Windows Live Messenger nè il suo protocollo di rete MSN Messenger. Mi darò al protocollo Jabber/XMPP.
Non volendo però perdere te e gli altri circa 200 contatti di Messenger, (more...)
Tags: account, address, bd, BD-thing, BD-things, change, contattare bodom_lx, contatto, daniel, google, graziotin, jabber, list, messenger, msn, musica, odio messenger, personal, privacy, project, version
Posted in Free*, My Life | 4 Comments »
Monday, May 26th, 2008
VERSIONE IN ITALIANO
Dear Msn buddy, I'm going to change account.
For technical and political reasons I won't continue to either use Microsoft Window Live Messenger or its protocol MSN Messenger.
I'm going to use Jabber/XMPP.
I would like to keep in touch with you and my other 200 contacts, so I decided to (more...)
Tags: account, address, bd, BD-thing, BD-things, change, contact, contatto, daniel, freedom, google, graziotin, hate messenger, italia, italiano, jabber, list, messenger, msn, personal, privacy, project, security, site, version, web
Posted in Free*, My Life | No Comments »
Monday, April 28th, 2008
Time for two new C programs! At the DSA course I learned something about Hash Tables and collision resolutions.
I just implemented insert/search/print operations.
The first source code is an implementation of a Hash Map with open addressing (linear probing) as collision resolution method.
The following are the interesting functions of the program. As always, take a look at the source code for comments:
// hashMapLinear[] is the hash map
void linearProbingInsert
(int value
){
int probe = hash
(value
);
while (hashMapLinear
[probe
]!=
0){
probe = fmod
((probe
+1),SIZE_HASH_MAP
);
}
hashMapLinear
[probe
] = value;
}
int linearProbingSearch(int value){
int probe = hash(value);
int i;
for(i=0;i<size_hash_map ;i++){
if(hashMapLinear[probe]==value)
return TRUE;
probe = fmod((probe+1),SIZE_HASH_MAP);
}
return FALSE;
}
Download: hash-map-linear-probing.c
The second program is an implementation of a Hash Map with chaining as collision resolution method.
Interesting functions:
// t_hashTableNode is a struct that is created as single linked list
void chainedHashInsert
(int value
){
int probe = hash
(value
);
if(hashMapChained
[probe
] ==
NULL){
hashMapChained
[probe
] = malloc
(sizeof(t_hashTableNode
));
hashMapChained
[probe
]->value = value;
hashMapChained
[probe
]->next =
NULL;
}else{
t_hashTableNode *hashTableNode = hashMapChained
[probe
];
while(hashTableNode->next!=
NULL){
hashTableNode = hashTableNode->next;
}
hashTableNode->next = malloc
(sizeof(t_hashTableNode
));
hashTableNode->next->value = value;
hashTableNode->next->next =
NULL;
}
}
int chainedHashSearch(int value){
t_hashTableNode *hashTableNode = hashMapChained[hash(value)];
while(hashTableNode!=NULL){
if(hashTableNode->value==value){
return TRUE;
}
hashTableNode = hashTableNode->next;
}
return FALSE;
}
Download: hash-map-chaining.c
Tags: address, algorithms, bd, BD-thing, BD-things, C language, code, data structures, Download, hash, hash map, hash table, java, javascript, link, list, page, php, source code
Posted in Programming | No Comments »
Tuesday, April 10th, 2007
You can find your favourite linux distribution at linode.com, a great hosting service where I'm transferring my blog and all other services I need. They offer great cheap VPS solutions, and you can choose Archlinux from the available linux distributions.
Archlinux is currently in testing: for example, ssh will not work after a fresh install. Here I'm going to explain how to fix this and how to access your VPS.
After the installation of Archlinux, if you try to connect to ssh, you will receive this error:
ssh yourUsername@yourIP
ssh: connect to host yourIP port 22: Connection refused
That's because Archlinux does not install the openssh server by default. Let's install it!
Linode offers a workaround to connect to your machines, called Lish, the LInode SHell. From this shell, you will be able then to connect to your machines.
ssh yourLinodeUsername@yourLinodeHost.linode.com
Where yourLinodeUsername is the username you chose for Linode registration, and yourLinodeHost is the host address of the machine (you can see it in this page, after a login: https://www.linode.com/members/remote.cfm, it's in the form hostNUMBER).
You will be then prompted to Archlinux console. Use your root access and install ssh:
pacman -Sy
pacman -S openssh
Add sshd to your deamons array in /etc/rc.conf
DAEMONS=(... sshd ...)
If you try to connect to your account via ssh, you will get another error at this time, because you need to allow external internet connections to the ssh daemon.
Your /etc/hosts.allow should look like this:
sshd: ALL
Start opensshd (/etc/rc.d/sshd start) or reboot the machine, you're finished!
Tags: account, address, Blog, distribution, installation, Internet, linux, linux distribution, page, php, shell, url
Posted in Activism? | 1 Comment »
Saturday, June 3rd, 2006
Ho installato da un paio di settimane questa fantastica distro (ancora in fase di test da parte mia), le novità introdotte non sono poche ma assicuro che c'è stato un ulteriore salto di qualità. Mi è però successo, e non solo a me, di effettuare l'update da Ubuntu Breezy, e ritrovarmi con la scheda wireless Intel del mio sistema Centrino riconosciuta ma non operativa. Questo accade se si usa una chiave WEP di tipo aperta sul proprio router. L'utility grafica non riesce a gestire la cosa (al momento), ma se si interviene sul file /etc/network/interfaces, tutto torna a funzionare a dovere.
Assumendo che la vostra scheda di rete wireless sia eth1, procedete in questo modo:
$ cd /etc/network/
$ sudo gedit interfaces
Ed inserite queste righe, cancellando le eventuali precedenti relative alla vostra scheda di rete wireless (occhio a non cancellare le altre)
iface eth1 inet static
name NomeDellaConfigurazione
wireless_channel IlCanaleSceltoPerIlWireless
wireless_mode managed
wireless-essid NomeDelVostroEssid
wireless-key open Inserite la chiave WEP
address IpDelVostroPc
netmask LaVostraNetMask
gateway IpDelRouter
auto eth1
Questa è la mia configurazione, giusto per un esempio:
iface eth1 inet static
name Wireless
wireless_channel 11
wireless_mode managed
wireless-essid Graziotin
wireless-key open xxxxxxxxxxxxxxxxxxxxxxxxxx
address 192.168.0.8
netmask 255.255.255.0
gateway 192.168.0.1
auto eth1
Auguri, e scrivetemi se avete ancora problemi!
Tags: address, configurazione, distro, graziotin, set, ubuntu
Posted in Activism? | 2 Comments »