gnapse corner

web for everyone

Subscribe to RSS feed

Cómo instalar el Google Chrome desde Cuba

, , ,

Update: Encontré unas instrucciones (gracias a un [ULR=http://my.opera.com/gnapse/blog/show.dml/2531579#comment6018669]comentario[/URL] en mi post anterior) para instalar Chrome en Linux. Lo otro interesante que saqué de estas instrucciones es que ahí dan un link directo al instalador chrome_installer.exe de 7 megas. Así que pueden usar Tor para bajarlo directamente, o darles a un amigo en el extranjero el URL para que lo bajen y se los manden por email.

Algo inusual en este blog, un post en español. Pero es que me decidí a escribir un how-to de cómo descargar e instalar el Google Chrome desde Cuba, y como lógicamente los que necesiten esta guía serán Cubanos en Cuba, no tiene sentido ir en inglés.

Una nota antes de comenzar: El instalador del chrome como tal, de alrededor de 7 mega-bytes, yo lo tengo en mi poder, y si pudiera hacérselo llegar a la gente, o que se pudiera poner en algún sitio en Cuba, en Infomed digamos, desde donde se pudiera bajar, sería buenísimo, pues así no habría necesidad de seguir estas instrucciones, que para alguien no muy ducho en las computadoras pudiera resultar algo complicado. Si alguien tiene idea de qué se puede hacer en este sentido, por favor escríbanme a g_n_a_p_s_e [arroba] g-m-a-i-l [punto] c-o-m
(espero que todos entiendan lo que hay que quitar de aquí para conformar mi dirección de correo)

Y una notica antes de comenzar, es muy importante leer este post completo antes de proceder a seguir las instrucciones. En particular deben leer los últimos párrafos de este post, sobre todo las partes resaltadas en MAYUSCULAS y en negritas.

El problema


El problema fundamental de instalar el Chrome desde Cuba es que el download inicial que nos ofrece Google desde su sitio no es el instalador, sino un pequeño programita (~485k) que lo que hace es bajar de Internet el instalador real del Google Chrome, el fichero de alrededor de 7 megas que mencioné más arriba.

Así que aunque logremos burlar este primer control (creanme, es muy fácil burlarlo, digamos pidiéndole a algún amigo afuera que lo baje y nos lo mande por email, y quién no tiene amigos cubanos en el extranjero?) una vez que tenemos el ficherito en nuestro poder cuando lo ejecuten no tardará en darles un error, algo como que el programa está "unavailable" o algo así (lamentablemente no tengo screenshot). En otras palabras, este programita tambien chequea que estamos en Cuba, lugar maldito, y por ende no nos deja bendecirnos con el navegador cromado (me cago en ende).

La solución


La esencia del truco para bajar el Chorme es que hay que usar Tor. La explicación corta es que Tor permite a sus usuarios comunicarse en Internet de manera anónima. La explicación larga, para los que les interese el lado técnico de Tor, está aquí (inglés) y aquí (español), o también en Wikipedia aquí (inglés) y aquí.

Paso #1: Bajar Tor aquí (inglés) o aquí (español)
Importante: Se debe bajar el primero de la lista, la versión estable.

Paso #2: Instalar Tor. Si estás conectado a Internet directo sin proxy ya Tor debe estar conectado. Si estás conectado a través de un proxy el panel de control de Tor tiene opciones para configurarle a Tor el proxy de tu red local. Me temo que si tu proxy requiere autenticación, va a ser dificil la cosa. Para más información sobre el uso de Tor detrás de Firewalls/Cortafuegos/Proxies/etc haga clic aquí.

Paso #3: Configurar el Internet Explorer con los settings del proxy local que Tor instaló. Tor funciona precisamente habilitando un proxy local en tu máquina. Hay que configurar el Internet Explorer para que utilice este proxy. La configuracion está en el menú Herramientas | Opciones de Internet y deben fijarse en la siguiente imagen para que vean como deben dejar configurado el proxy en el Internet Explorer. Fíjense bien en el orden de los pasos 1, 2, 3, ...

Nota importante: Fíjense que son dos cosas distintas el proxy de su red (si es que hay alguno) y el proxy de Tor, que es el que estamos configurando aquí.

Paso #4: Una vez configurado todo, si lo han hecho todo bien, pueden ir a http://www.google.com/chrome y ya no estará bloqueada la página. Es bueno que sepan que la navegación en Internet a través de Tor es más lenta de lo normal. Si bien ya en Cuba es lenta la cosa, a través de Tor es más lenta aún.

Paso #5: Bajar el ChromeSetup.exe (485k) y ejecutarlo. Este a su vez bajará el verdadero instalador de 7 megas (chrome_setup.exe) y lo ejecutará automaticamente.

Paso #6 (opcional): Si quieren quedarse con el instalador chrome_setup.exe además de tenerlo instalado localmente, en el momento en que les aparece la ventana de opciones de instalación (lamentablemente no tengo screenshot de esto) sin aún aceptar la instalación, lo buscan en algún lugar que ya no recuerdo dentro de c:\Document and settings\username\Configuración Local o en Local Settings si el Windows es en inglés.

Finalizando...


Perdonen la imprecisiones, pero ya hice este procedimiento una vez y no pienso volver a hacerlo. Si alguien tiene éxito con estas instrucciones por favor fíjese bien en estos detalles que me faltan y me lo mandan a decir a mi dirección de email (que les puse más arriba) o publican su propia guía de instalación en su blog, pero por favor, me lo hacen saber, y si me dan algo de crédito no me pongo bravo.

Y recuerden que si alguien conoce cómo y dónde se puede hostear el verdadero instalador del Chrome, el de 7 megas, para que así la gente no tenga que seguir estas instrucciones tan engorrosas.

NOTA IMPORTANTE


Por último, si se percatan, Tor sirve para muchas otras cosas (algunas de ellas bien ocultas y al margen de la ley de algunos lugares). Pero NO ES DE ESO DE LO QUE TRATA ESTE POST. Este post es sencillamente de como jugarle cabeza a una parte incómoda del llamado bloqueo de EE.UU. a Cuba.

EL AUTOR NO SE RESPONSABILIZA DEL USO O MAL-USO QUE LOS LECTORES LE PUEDAN DAR A TOR, COMO TAMBIEN DESCONOCE LAS IMPLICACIONES LEGALES DE USAR EL SOFTWARE TOR DENTRO O FUERA DE CUBA. TODO EL QUE SIGA ESTAS INSTRUCCIONES, O QUE A PARTIR DE ELLAS IMPROVISE PARA ESTE U OTROS USOS, LO HACE BAJO SU PROPIA RESPONSABILIDAD.

Perdonen la muelita bizca y legal, pero hay que seguir el ejemplo de Poncio el Piloto.

Chrome (aka Cuba blocked by Google)

, ,

I was very excited on Monday when I learned that Google was about to release a new web browser of their own, dubbed Google Chrome. It was about time!

But soon after the initial excitement that the announcement comic made me feel, I remembered that for a long time now Google has been blocking all their downloads from Cuba. This includes all their applications (Google Talk, Google Earth, Google Desktop, Picasa, Google Pack, etc.) and every single piece of code available via the Google Code portal. And I did not hesitate a moment before I knew that Chrome was not going to be an exception, not even for the fact that, unlike all other Google applications, Chrome is an open source project. It seems that for Google free software is only for those who are considered to be free by the US state department.

And I wonder how much is Google obliged to treat Cubans this way, when many other companies just as prominent, visible and American as Google is (for instance Yahoo! and Microsoft) are not blocking any of their freeware downloads from this island. And I hope this observations would not lead them to copy Google's policy, but the other way around.

But anyway, I managed to grab a copy of Chrome using unspeakable methods. The simple approach of having someone abroad download it and send it to me via email or something, it won't work. The direct download is just a small program that does the rest of the download itself. And guess what, this program also checks where I am connected from.

But thanks to some hacking (hint: operator) I was able to have it, and test it, and taste it. And as almost anything Google-made (except of course their downloads policy) is delicious. Here are my impressions, trying to focus on the things that have been less visible in most reviews.

An Opera clone?


According to its visual features, yes. Tabs as first-class independent citizens, speeddial-like initial page, UI responsiveness, particularly when switching tabs, are the most prominent features that remind us of Opera. But as Opera's CEO put it, this is flattering for Opera. And it's good indirect publicity too.

But as true as it is that Opera excels Chrome in UI configurability and dinamicity, Chrome has some very good innovations in its inner workings, like separate processes for each tab, javascript-to-native-code, and sandboxing. From a software programmer's perspective I can see that these things are here to stay and even to get into other browsers' design choices in the near future. What's good is good. And maybe someone else (hopefully Opera) can innovate further on these.

Speed-dial, History and Downloads tabs


While not exactly brand new features in the browsers' world, Chrome's implementation of these have the taste of innovation too. Speed-dial incorporates a couple of dynamic components (search boxes and recently closed tabs) and it also has a look that mimics Google websites and pages, making it look like you're already in a website that serves as a gate for other sites. Making it look like you're at Google already.

Similar things can be said of the history and downloads tabs, both having a search box at the top, which mimics those of Google's own web sites. As trivial and simple as this might seem, I find it very important for the overall feeling and taste that this new browser leaves on us.


Minor goodies


I felt amused by the omnibar's highlighting of the domain, leaving the rest of the URL dimmed in a lighter color. For people like me that appreciate knowing in a glimpse where I am standing when watching a page, this is very helpful. I was also worried about the lack of status bar, which lets me know where a link points to before I actually click on it. It turns out that Chrome has a small "status bar" that appears on demand to give us this kind of information, but that silently goes away after a few seconds.

The search feature, the one that lets us search within the text of a loaded page, also works similarly to that of Firefox (but in the top right instead of the bottom). The search box appears when we ask for it (with Ctrl+F) and then it goes away when we're finished. This kind of unobtrusive goodies are some of the things that Opera still lacks.

And I also noticed something that nobody else told me about Chrome in my extensive reviews and reading prior to my own use of it: it has a spell checker! This very post is being spell-checked by it as I write, much in the vein of Firefox's spell checker. Although to be honest, it is still slow, freezing my cursor a fraction of a second just after I finish writing a misspelled word. Sure there's home for improvement here, also allowing bilingual users like me to have more than one dictionary available.

Do's and Dont's


One thing I'd like is something I've been talking about for a long time, and that Opera finally made it real: synchronizing my settings (bookmarks, etc.) with a central store, so that I have my stuff wherever I may use Chrome. This could even be incorporated to Firefox via an extension, so that transition between Chrome and Firefox would be much easier. It would be much better if all major browsers would agree on this, develop a standard for this, and everybody wins (except Microsoft, of course)

On the other hand, among the things I would not like, I would specially hate if they make an extension architecture like Firefox's XUL. It just bloat the whole thing. Remember the KISS principle: Keep It Simple, Stupid!

My overall feeling about it


As a user and crawler of the web myself (albeit a technically inclined one), Chrome is as good as I can expect from a first release, and it already makes me expect new things from other browsers more established in my day-to-day pack of tools. Sure it has some road ahead (which project does not, particularly when it's new) but in the most basic features it is indeed a great new kid on the block.

As a web developer, it's good to have something handy to test my stuff with webkit, since I do not own a Mac but although Chrome has some basic developer tools, it is still light-years behind Firebug. Even Dragonfly is behind Firebug.

Overall, I am happy to have a new contender that re-ignites an already active browsers war. Competition and innovation in the end are good for us internet users. Let them compete to gain our preference. Sit back and watch the fight!

Playing RMVB files in Ubuntu Hardy

, , ,

I copied today some videos from a friend and they were in the RMVB video format. RMVB is a RealVideo related format of which is relatively hard to find a player to reproduce it, AFAIK.

Luckily MPlayer comes to our help. But wait a second, the normal MPlayer installation from the repositories does not include codecs for RMVB so if you already have MPlayer installed you probably would still be unable to play these files.

So I went to Google to find out any information about RMVB on linux and I found this post which pointed me to the download page for the extra binary codecs for mplayer, and listed other necessary instructions. Once I downloaded it and put it in the location specified in this post MPlayer was still unable to properly play my videos sad

So I suspected that maybe the /usr/lib/win32 folder might not be the expected location anymore, as the mentioned post is about a year old already and Ubuntu and MPlayer have changed. Then I realized, hey, all serious stuff should have a README file, so these codecs package should have a README file too. As I suspected, I typed in my terminal

$ less /usr/lib/win32/README

And this file explains quite clearly that the codecs should be located in the folder /usr/lib/codecs for mplayer to find them. It even mentions /usr/lib/win32 as the previous location which is no longer in use by mplayer, although some other players still use it.

So I decided to keep these codecs at both locations so instead of renaming the win32 folder to codecs, I made a soft link:

$ sudo ln -s /usr/lib/win32 /usr/lib/codecs

And that's it! Now mplayer works just fine with RMVB.

UPDATE: If at this point there's some .rmvb still resisting, install the libstdc++5 package:

sudo apt-get install libstdc++5

Gmail 2 now works in Opera!

,

Yes my friend the most recent facelift that Gmail had as a web application was a very good one, but it only worked in recent versions of Firefox and Internet Explorer, and not in Opera (I don't know anything about Safari, sorry).

But today it works in Opera at last! I really don't know since when exactly, but it shouldn't be much time because I use Gmail from Opera almost every day.

Among the new goodies of this new interface that I already knew but didn't work in my favorite browser, the two that I missed the most are colored tags, which are easier for the eyes, and the improved contacts management interface.

Oops!

You made a mistake? No problem, with Git you can rewrite history!

I made a mistake in my last commit and I figured that out too late. Well, not late enough, because thanks to git I was able to amend my last commit with whatever new changes I wanted and git's commit history appeared as if the mistake was never there.

Here is how it works.

You commit and then you figure out you made a mistake, maybe a mispelled word in your commit message or even a programming error, whatever. So you change whatever you want, add the relevant stuff to your index with "git add" and then

$ git commit --amend

which opens your editor with the message of your last commit pre-loaded, which you can edit if you need and then save it. That's it. Your new changes will appear as if they were always there on that last commit, no new commits in your history with the fixes of your mistakes.

I LOVE GIT!!!

Resuming my tech (b)log

, , , ...

I don't know really how to start this as I've been absent for so long, but I guess I don't need to get a lot into it. I'm back and that's it. The main problem for me is time, but I've been missing writing here a lot. Mostly because a blog like this is more for me than for the casual reader that might stop back. I am venturing myself in lots of new projects and experiences and I am constantly doing research and documenting my progress and stuff in a place like this serves me as a back reference in the future, but it might also be of some use to someone stopping by.

After all this time my interests haven't changed a lot. I'm now working mostly on Ubuntu Linux developing Ruby on Rails applications using also Git as my source-code management system. So that's what I'll be talking about here mostly on the technical side, which does not preclude getting away from these subjects every once in a while.

Regarding Opera, I must say that it gained me back after flirting with Firefox for some time. But finally the speed made me turn back. Firefox is so damn slooooooooooow I cannot even imagine how people use it anymore. It has become slower and using more memory than ever before. Opening a new tab freezes it for a few seconds, which is not tolerable. Coincidentally today they release the version 3, which I've been testing for a while in its beta and RC forms but it is still the same. The only thing that keeps me using Firefox is for web development, because Opera really lacks a Firebug killer (don't tell me it's dragonfly because it isn't, although it can be in the future).

And back to Opera, kudos for Opera 9.5!!! Firebug appart, Opera is still the great choice! Damn Google for not giving first class support for its fantastic web applications on Opera (read Google Docs and Spreadsheets, Gmail, Google Reader, etc.) but they are mostly usable anyway, and the advantages of using Opera really outweight the need to use Google Apps. I hope they are listening.

Well, that's it for the moment. I hope not to let this blog down this time, at least for a while.

Ubuntu is definitely feisty

Not being a native English speaker myself I decided to go to my favorite dictionary to see what Feisty Fawn means. It turned to be a tenacious and energetic young deer, prepared to stand and fight, often despite small stature or lack of strength. Well, I decided then to move beyond the stable Dapper (I never really tried Edgy) and I downloaded and installed the official Ubuntu 7.04 code-named Feisty Fawn.

It may have small stature but it surely has no lack of strength. In fact, it is strength what you sense the most when you try it. Linux distributions have traditionally tried to offer a one-size-fits-all solutions, but Ubuntu has changed that. The default 1-CD installation has a predefined set of packages very well suited for the average Joe. No time is wasted selecting within thousands of packages and yet you get an environment much more functional than a default Windows XP installation, the most prominent difference being that you have an office suite working just out of the box.

But just as there are prominent features present in this wonderful new version of the popular Linux distribution, there are prominent absents too, like the ability to play non-free multimedia formats. Yes, I know is not Ubuntu's fault, but it is annoying for the end-user. But it is not like they are giving up on this anyway. Installing these and other non-free features like Flash and Java is just a few keystrokes away.

sudo apt-get install ubuntu-restricted-extras

I won't go here over anymore features of Feisty. I just wanted to say that I switched and I am happy with it, even when Dapper was good enough. I won't try to convince you or change the world. If you are into the Linux thing and not on Ubuntu I think it is worth trying. If you are on Ubuntu already it is likely that you switched even before me, or that you are already on Edgy. And if you're not in the Linux thing or you do not even have a clue of what Linux is, then you should definitely at least get informed. Linux is no longer more what it used to be, and it is now ready for everybody, not just for me.

Back to the neighborhood

, , , ...

I know, I know, I've been lost for a looooooooooooong while now, yes. It's a little bit more than seven months since my last post. What prompted me to write here again? Mainly I re-visited the whole site after the new version came out, just a couple of days ago. (And now that we're at it, I still do not know what the new features are).

It's not that I've been so busy that I was unable to post. I did have some time to post every now and then, although I've been busy. I've been working on interesing personal development projects, full of bleeding-edge technologies like AJAX. I've also been enjoying my new computing environment sooooo much you just can't imagine.

I am still on Ubuntu Linux Dapper 6.06 full-time, and I can't feel better at it. It is stable, friendly and enjoyable to the point that I have a hard time whenever I have to use that other OS that almost everybody use. I am developing web applications on Linux using jEdit as my main IDE. Aptana, of which I talked about in my last post coincidentally, turned out to be too resource-hungry, even though I have a modern PC with 512Mb RAM and 3.0GHz CPU speed. I've been using Firefox as my testing and debugging platform (Sorry Opera, but Firebug has no equal when it comes to test and debug a web application using JavaScript and AJAX heavily).

Thunderbird is still also my choice when it comes to email. Opera still does not have WYSIWYG email editor and other minor but handy features that I need. Opera continues to be my day-to-day browser for my web surfing needs, and OpenOffice, Gimp, ImageMagick, Beagle, Liferea, Gaim, Gnome, Vim/Cream, MPlayer and MPD do the rest. I've been also using Ruby's and Python's scripting power to automate some tasks in my working environment.

I've also been vey busy following the socio-political events that have happened in Cuba, my country, in the recent months, almost all related in some way to the illness of the president Fidel Castro and the temporary transfer of power, and how this has impacted our society. I know some people get more interested in this blog because of my nationality than for my interests and the topics I write about. Feel free to ask.

Anyway, I'll see if I can make the time to talk here again every now and then, mainly about the technologies I am using and how they make my life easier.

Truly platform-independent Web Development Environment that really rocks

, , , ...

Yes my friends. Dreamweaver is over now. At least for me.

Have you heard of Aptana, the Web IDE? It is based on the Eclipse platform, which I have been already using for Web development since I dumped Windows for good a few months ago.

And I really have to say that I've been missing Dreamweaver during all this time, honestly. I even have to confess that I cheated for a few days and I used it while on a friend's machine, and I felt delighted. Why is it that Macromedia then (and Adobe now) don't do it for Linux? People would really pay for it.

But Aptana is platform-agnostic and it's free (as in speech and as in beer), just like Eclipse. It is available as a standalone download (with or without the bundled JRE in some cases) and it is also available as a plugin for an existing Eclipse installation. It features code completion in all of the Web trio: HTML, CSS and JavaScript. It is Ajax-oriented and is also aware of several popular JavaScript toolkits and libraries, such as MochiKit, Dojo, AFLAX and my personal choice, Yahoo! UI.

Code-completion pop-up list-boxes show the available tags/attributes/functions/css (depending on the context) along with browser-compatibility icons on the right, so that you can readily see if you are about to use an IE-only or a Gecko-only feature. If you are a Web-standards kind of guy like me, then you'll love it. Here's a screenshot for those who didn't understand this bleeding-edge feature.

And a small note before finishing. Eclipse has another web development toolkit available for everyone: The Web Tools Platform, which is an alternative and a choice. I discovered both recently and I personally prefer Aptana, but having a choice is nice. Feel free to try both, no matter if you're Windows, Linux or Mac. The Open-Source Web Development Environment is here.

Home page
...and common download options.

Blog

Stay up-to-date about Aptana.

Downloads
Detailed download page with additional options.

Screenshots
A good place to have a quick glance ot the main features.

Screencasts
Here you can get a more detailed view at it before downloading. Watch videos to see what it's like to use it.

And that's all. Enjoy it!

Evolution for Windows

, , , ...

Well, the title makes it look like if the Windows operating system is evolving, and this is sort of it in a way. Windows has evolved a little bit now with Gnome's leading e-mail client Evolution being ported to this closed platform.

Yes, you heard it right. Evolution is now available on Windows thanks to somebody named Tor Lillqvist. So go and enjoy it. I believe Thunderbird will have to keep up, and Outlook (Express) too, of course. Do you think Evolution will be to the latter like Firefox has been to Internet Explorer? Only time can tell.
May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31