Tuesday 11 August 2009

Instalando el TPTP en Ubuntu 8.04

Necesito hacer un profile de mi aplicación en Java, así que me he decidido a poner en marcha el TPTP para eclipse. El tema es que no va ... y es por una de esas chorradas que te pasas 2h mirando.

Tu lo instalas normalmente, pero luego da errores, no rellena la nueva pestaña de monitors, etc. Es, símplemente, pq le falta un paquete a tu sistema ...

http://packages.ubuntu.com/dapper/i386/libstdc++2.10-glibc2.2/download

La información original útil después de tanto marear la perdiz la he obtenido de:
http://weblogs.java.net/blog/felipeal/archive/2008/06/configuring_ecl.html
y el link al paquete que no está en los repositorios, de:
http://ubuntuforums.org/archive/index.php/t-104778.html

Espero que mejoren el tema pq ... tiene guasa tener que perder tanto tiempo ... en fin, al menos ha valido la pena pq me está dando información muy valiosa.

Un saludo!

Saturday 8 August 2009

Pelea con un Huawei E156G en UK ... VICTORIA!

A las buenas. Hoy me he tenido que pegar con un modem 3G Huawei E156G, que como dice la propaganda, funciona sólo con conectarlo ... sí, claro, si usas windoze o mac ... pero para linux q t den dos duros!

Total que al final, y con la ayuda de un tlf con inet, he conseguido hacerlo así de simple:

Configuración "inteligente" del modem ... luego la modificaremos ...
#>sudo wvdialconf

Modificación de la inteligencia ... ;)
#>sudo joe /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyUSB1

[Dialer three]
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
; Phone =
Phone = *99\#
ISDN = 0
username = username
password = password
Dial Command = ATDT
; Password =
;New PPPD = yes
; Username =
Modem = /dev/ttyUSB0
Baud = 466600
Init4 = AT+CGDCONT=1,"IP","three.co.uk"

Llamada
#>sudo wvdial three

Ojo que Firefox inicia en "offline" si no tiene algún eth del NetworkManager en marcha ... ;)

Basado en:
TODO: PONER LINK!

Ale, a disfrutar!

Monday 20 July 2009

Para esos que tienen que mantener mil y un Ubuntus ...

Cuando tu Ubuntu llega al fin de sus días ...

Sí, esto pasa, y más de lo que nos gustaría ... En https://wiki.ubuntu.com/Releases podemos ver cuándo ... es como la crónica de una muerte anunciada ... snif snif ...
Cuando llegue el día nuestra distro desaparecerá de su habitual lugar en http://archive.ubuntu.com/ubuntu/dists/ para dejar lugar a las nuevas generaciones ... es triste ... pero es ley de vida ... y de los de Ubuntu tmb vaya!

Cuando llega ese día ... o bien te pones triste, te rearmas de valor, y actualizas con uno de los 30mil posts que hay por internet explicando el proceso, o bien ... te resignas y no instalas nada más ... o ... habrá otra solución?

Pues sí, señoras, señores, perros, gatos, y demás usuarios de Ubuntu, símplemente cambiando nuestro maravilloso /etc/apt/sources.list y sustituyendo todas las ocurrencias de es.archive, o fr.archive, o us.archive, o símplemente archive en las URLs de los repositorios por old-releases (incluyendo las URLs de security ... que tmb caducan ... manda webs) conseguimos que nuestro flamante sistema vuelva a la vida ... un poco carrasposete y tosiendo de "vellet" pero weno ... funcionando ... que no es poco ...

Así que a rezarle a san http://old-releases.ubuntu.com/ubuntu/dists/ que con tanto cariño nos proporciona versiones retrasadas (en el tiempo, que no subnormales) de Ubuntu.

Weeeeee, un poblema menoz!
Salutem!

Sunday 29 March 2009

imagine...

Just imagine, it is early in the morning....
It is 6 O'clock, half an hour before you normally get up. The thermostat in the bedroom already informs the boiler to adjust the temperature of the bedroom and bathroom to a pleasant 21°C. At twenty past six the coffee machine turns itself on, while the towel and floor in the bathroom are warmed.
At six thirty your favourite morning radio programme can be heard through the loudspeakers in your bedroom. Simultaneously the bedroom lamp turns on at 5% capacity. Within 5 minutes the light has become progressively brighter, like during sunrise. As soon as your feet touch the ground beside your bed, lamps leading you to the bathroom and kitchen automatically switch on. You proceed to the bathroom, where the shower automatically starts to spray water at your desired temperature.

On the way to the kitchen you pass sensors that turn on the kitchen lights automatically. You push a button, resulting in news headlines appearing on a screen. During breakfast you read the news that has been selected according to your interests.

On the way to the front door you push a button that informs your home that you are leaving: all the lighting is switched off, curtains automatically open, the coffee machine turns off, the heating lowers a few degrees in temperature and the security alarm automatically switches on.

Just imagine, in the evening....
At sunset the lighting system gradually introduces a warm and safe atmosphere to the various rooms of your home. Just before you drive into your garage, a sensor has recognised your car and has automatically opened the garage, turned on the lights and started to increase the temperature in your home by a few degrees. Of course you can also inform your home from work that you are about to leave work, so that it is already warm by the time you arrive home.

It has been a long day and you would like to relax awhile. You sit yourself in front of the "home theatre" with a pizza you picked up on the way. You touch a touch screen and the audio-video system turns on, the lights dim and the video screen automatically appears. You decide to watch your favourite programme that commenced screening live half an hour ago. However, you are able to watch the programme "live" from the very beginning, because the server was familiar with your favourite programmes and had already started recording it. The programme is therefore being displayed while simultaneously being recorded.
After dinner and a spot of relaxation, it is time to do a bit of work. Using a terminal and high-speed connection you are in direct contact with the computer at your work.

It is time for bed. All you need to do is push the "goodnight button". Your home enters the night setting: all lights are turned off, the heating is lowered by a few degrees, curtains and/or blinds are closed and the alarm is automatically set.