Les cituats més econòmiques per viure

March 25th, 2008

Article sobre les ciutats més econòmiques per viure


Article interessant sobre la crisis

March 25th, 2008

Article interessant sobre la crisis


La poltrona esquerdada

March 11th, 2008

Sembla ser que aquestes últimes eleccions han mostrat el que tothom ja sabia… que ERC estava perdent més vots que espectadors perdia TV3.

Bé, doncs no és una gran sopresa. El que si que és tota una sorpresa és la sortida del govern d’en Puigercós, per “liderar el partit” diu, més aviat jo diria per controlar-lo amb mà de ferro.

Pel que he llegit a la premsa es veu que ha començat una guerra oberta entre en Puigercós i en Carod, no obstant la meva sorpresa ha estat certes declaracions d’en Carod a l’entrevista d’aquest matí amb en Cuní (tal i com ho diu la Vanguardia):

Carod ha repetido con insistencia que es necesario implantar un nuevo modelo de partido que deje atrás “el estado de adolescencia política permanente”. Entiende que “no se puede estar en el Gobierno y en la oposición a la vez”.

Això que vol dir? Vol en Carod que el Puigercóós vagi a “liderar el partit” per a eliminar l’assemblearisme i fer més grossa i més poderosa la cúpula…

Bé, ambdos són igual.

A veure si aviat s’acaba aquest calvari d’Esquerra.


New Internet Experiencies

June 13th, 2007


The last
months have been a bloom of new Internet applications, the seed was planted
long time ago but the fruits begin to shine now.

 

The first
step in this way was the discovery of the P2P technology (Peer to Peer) created
by Hotline Connect in 1996 for the Mac OS. During three years it was the last
thing where P2P technology used to, but in 1999 this technology became to get
popularity with the application Napster (a software development which allow
send and receive files from Internet between two hosts). However this software wasn’t
a pure P2P due to it need a central server to found and connect two users,
also, for this reason in 2001-2002 Napster was closed to allow the music and movie
exchange (it wasn’t illegal but the RIAA and other artists groups rights get it
was closed)

 

The next
generation of P2P application was created without a central server to reroute a
user to another user to exchange a file otherwise these new applications decentralized
the searches using the users as a net which exchange information and files. The
most popular applications were Kazaa and eDonkey. Kazaa is still used but now have
changed a lot and offers music to buy and a little free music. For the other hand,
eDonkey was closed in 2006 but there are some applications which use his technology,
such as eMule which weren’t closed because they aren’t a company otherwise open
source without a person who was responsible of this software. The closing or the
new business way was because the RIAA persecuted and pressed them to close the applications.

 

As a
result of the growing of this technology appears, by the hand of the creators
of Kazaa (Niklas Zennström and Janus Friis) in 2003, new software called Skype
which allowed to phone through Internet and use the videoconference. The new
feature of Skype in comparison of other applications which already offered this
possibility was Skype used P2P technology and then the image and sound quality
was better than other similar applications.

 

But now, new
P2P software applications are appearing and they offers lots of possibilities
to do more things and intercommunicate very much more. This new applications
are orientated to play large video contents as a television (unlike YouTube or similar
which use the streaming to play the videos, and these are short and chose every
one for the user). The star application is Joost which has a lot of channels
where you can see many different contents and choose which content of that
channel you want to watch. The high-quality of video is due to the improvement
of the P2P protocol and the compression information, thanks this it could get a
DVD quality whit a rate bandwidth of 400 Kb/s.


Teresa Florenza

August 4th, 2006

asdfasdf


Llistat de comandes en Linux

March 24th, 2006

Ací teniu un bon llistat de les comandes més importants de Linux


Instal·lació Opera en Ubuntu

March 20th, 2006

Ja fa tants cops que ho he fet que ja m’ho sé de memòria. Aquesta última vegada ho he hagut de tornar a fer perquè jugant jugant un amic va i em peta mig servidor, quina gràcia…

La instal·lació d’Opera en Ubuntu no és de la forma típic apt-get install opera i au! avall, té una mica més de complicació, tot i així si busqueu podreu trobar fonts les quals tinguin l’opera, però les que té Ubuntu per defecte no hi és.

Bé, primerament cal anar a la web d’Opera i baixar-se la última versió, escollint evidentment que el volem per Ubuntu. Una vegada el tenim baixat hem de fer el següent:

  • Posar-nos com a root primer
  • Al directori on tenim el paquet escribim:

dpkg -i opera

>> S’ha d’apretar la tecla Tab perque se’ns autocompleti el nom (que serà un nom molt llarg acabat amb l’extensió .deb, si no apareix el .deb és que no hem baixat la versió correcta).

  • S’instal·larà opera, però donar� un problema de dependències. Per arreglar aquest problema hem d’escriure:

apt-get -f install

Això ens arreglarà els problemes de dependències que hi hagi al nostre ordinador.

Ara ja tenim Opera instal·lat, si es vol, nomes escribint a la consola opera ja se’ns executarà el navegador. Per a més comoditat posarem un enllaç als menús gràfics per accedir-hi. Per a afegir un enllaç escriurem:

pico /usr/share/applications/opera.desktop

Dins del document escriurem:

[Desktop Entry]
Encoding=UTF-8
Name=Opera Web Browser
GenericName=Web Browser
Comment=Simply the Best Internet Experience
Exec=opera %u
Terminal=false
MultipleArgs=true
Type=Application
Icon=/usr/X11R6/include/X11/bitmaps/opera.xpm
Categories=Application;Network
MimeType=text/html;image/gif;image/jpeg;image/png

Una vegada fet això apretem Ctrl^O (guardar) i després Ctrl^X (sortir).

Després de fer això trobarem l’enllaç d’Opera a Aplicacions –> Internet –> Opera.

Farem una cosa semblant amb un altre arxiu, escriurem:

mkdir ~/.opera
pico ~/.opera/filehandler.ini

i engaxarem el següent:

Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Settings]
Default File Handler=gnome-open ,1
Default Directory Handler=gnome-open ,1

Apretem Ctrl^O i Ctrl^X i ja està . Bé sicament això és perquè certs caràcters d’algunes webs s’ens vegin bé.

I ja tenim instal·lat Opera.

Per a una instal·lació més completa, la qual també resol problemes que no afecten a la navegació podeu consultar aqueta wiki d’Ubuntu.


Problemes amb Joomla…

March 17th, 2006

Seguint amb el post anterior, sobre els problemes del servidor amb certs programes, també em vaig trobar problemes amb el programa Joomla, el qual em feia el mateix que el Wordpress, per a solucionar-ho he modificat l’arxiu configuration.php de Joomla, canviant la següent línia:

$mosConfig_live_site = 'localhost';

per aquesta altra (és el mateix d’abans):

$ip = $_SERVER[’REMOTE_ADDR’];
if (’127.0.0.1′ == $ip){
$value = ‘http://localhost’;
}
else {
if (’192.168.2.3′ == $ip) {
$value = ‘http://192.168.2.10′;
}
else $value = ‘http://prosicontres.blogdns.com’;
}

$mosConfig_live_site = $value;

Bé, vigileu amb els apòstrof com dic en el post anterior.


Problemes amb Wordpress…

March 15th, 2006

Aquests dies he estat instal·lant el wordpress i he tingut realment problemes. La cosa més rara que em feia era que al carregar la pà gina no em carregava el css, mirant-m’ho més atentament vaig veure que eren absolutament tots els links que no es carregaven bé. Des de qualsevol ordiandor que em connectes em mostrava la pà gina sense format (sense carregar el css) i amb links interns de la pà gina direccionats amb localhost, això no passava al propi servidor on funcionava bé. Buscant en forums i altres poca literatura vaig trobar tot i que em van acostar a la solució, i a més, no són poques les persones que els hi passa això.

Bé per a solucionar-ho he canviat això que es troba a la funcio get_settings($setting) del fixter functions.php:

if ( ’siteurl’ == $setting || ‘home’ == $setting || ‘category_base’ == $setting )
$value = preg_replace(’|/+$|’, ‘’, $value);

Per això altre:

if ( ‘home’ == $setting && ‘’ == $value )
return get_settings(’siteurl’);

if ( ’siteurl’ == $setting || ‘home’ == $setting || ‘category_base’ == $setting ){
$value = preg_replace(’|/+$|’, ‘’, $value);
$ip = $_SERVER[’REMOTE_ADDR’];
if (’127.0.0.1′ == $ip){
$value = ‘http://localhost/wordpress’;
}
else {
if (’192.168.2.3′ == $ip) {
$value = ‘http://192.168.2.10/wordpress’;
}
else $value = ‘http://prosicontres.blogdns.com/wordpress’;
}
}

Bà sicament és llistar el teu localhost, adreces de l’exterior i els altres hosts de la teva LAN (sempre i quan tinguis el router en multipuesto) i col·locar a cada ip la seva corresponent direcció.

Realment desconnec si el problema es troba en que el router està en multipuesto o que tinc mal col·locat el nom del host (què el tinc posat com un altre nom), no obstant, aquesta solució m’interessa més perquè així també puc treballar des de l’altre ordinador i veure la pà gina (els hosts interns d’una LAN d’un router multipuesto no poden llegir la seva propia pà gina amb la direcció externa que està dins de la seva LAN -també desconnec perquè és però sé que passa-).

Actualització: He vist que al copiar el codi les cometes que porten les variables varien i si es fa un copy & paste s’enganxen com a accents i no pas com apòstrof. Per tant, vigileu al fer copy & paste.


John West - Red Salmon

January 10th, 2006

Estava matant el temps mirant algun video de YouTube quan he trobat aquest anunci, heheh realment està bé, m’ha fet molta grà cia:


també us poso el mític video del Senyor dels Anells de l’MTV: