segunda-feira, 8 de maio de 2017

How to access your old gmail sign in (login) page

Source: Bad Mamma Jamma - Gmail Help Forum - 28 de abr 2017

Many people are having trouble accessing the old gmail login page as the new login page just plain SUX...

Here is what I found and how I access the old login page:

I found out how to get the old login page back.

In the url section of the browser type:
about:config

It will warn you this will void your warranty. Just click the blue button to accept.

Then  type, on the search bar:
javascript.enabled

and double click it to turn it from True to False.

Keep that folder and open a new one (because you will need to return here to set it back to True before you login).

So now click the "+" and open a new folder.

Then try to login to gmail (http://gmail.com) you will see the old login page.

Enter your login and then at the password screen (before you type it in and press ENTER), go back to previous folder and return the javascript.enabled to True again (double click). 

If you forget this last step to enable javascript again the next page will say javascript needs to be enabled but you can choose to use the html version which is just as good.

So choose to use Gmail's basic HTML view, which does not require JavaScript or change back the javascript.enabled to True again and choose "try again".

Use that for Google mail login procedure. Just remember to change the about:config parameter back when you need java.

The new gmail login page sucks and yes Google should listen to all of us bickering about it and change it back.

They said they were making it easier for us to sign in. Bullcrap!!!...it made it harder and more annoying.

Change it back or we all might just quit gmail (ie. look what is happening to youtube - when you don't hear your customers!).

This new sign-in is very annoying to us, costing us time and money.  The new page is neither faster or makes it easier or beneficial for the users.

Back when we the user could put the email and password in the same popup container was more user friendly and is more important to keep our privacy.

quinta-feira, 30 de março de 2017

Software-center crash problems on Ubuntu 14.04 Trusty Tahr 32bits

I believe this is the best solution ever (tested on different Ubuntu base systems with the same problem) for software-center crash bug.

The typical crash log (if you start software-center from terminal):
2014-10-01 14:08:35,558 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2014-10-01 14:08:35,681 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 410, '_introspect_error_handler')'
2014-10-01 14:08:35,681 - dbus.proxies - ERROR - Introspect error on com.ubuntu.sso:/com/ubuntu/sso/credentials: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntu-sso-client/ubuntu-sso-login exited with status 1
Traceback (most recent call last):
  File "/usr/bin/software-center", line 130, in <module>
    app = SoftwareCenterAppGtk3(options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 338, in __init__
    self.icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/appmanager.py", line 66, in __init__
    self.oauth_token = helper.find_oauth_token_sync()
  File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 141, in find_oauth_token_sync
    sso.find_credentials()
  File "/usr/share/software-center/softwarecenter/backend/login_impl/login_sso.py", line 74, in find_credentials
    self.proxy.find_credentials(self.appname, self._get_params())
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntu-sso-client/ubuntu-sso-login exited with status 1
The solution that I have found to solve this bug, after many months of research, and many misleading information found on the web/google/blogs/forums is very simple, but difficult to understand for newbies and non-coders.

CAUTION: The Internet is full of 'false solution' (ie. or very case specific situations) to software-center bug affecting ubuntu users, and that lead to make your system even more corrupted and buggier than before, so please do take your time to understand what you are intending to "sudo" with or you will be in trouble.

After reading around quite a bit on several similar and somewhat related bug reports, the following 2 steps solved it for me (or seem to have solved it for all the systems I could identify with same crash log - which is also misleading - caution reading logs!).

Does not need to purge software-center or upgrade distribution or worst: DO NOT REINSTALL YOUR SYSTEM! Does not have to do with dbus or proxy or hardware problems, these are just side effects.

I diagnosed the problem as a 'pip' bug or 'pip configuration' corruption and its consequence on python subsystem.

So I targeted it as the result of a python 'pip' installation bug after a wrong 'pip' installation of a non standard package repository.

The solution is in part found for the 'pip' problem here:

REF: https://github.com/pypa/pip/issues/2686
User: jayachar88 commented on Apr 15, 2015

The solution is very simple at the end, just do this:
$ sudo python -m pip install --upgrade --force setuptools
$ sudo python -m pip install --upgrade --force pip
Not only does this solves python exception error with pip upgrade, but also a greater bug of Ubuntu community, which is the software-center crash bug.

Cheers!

sábado, 18 de fevereiro de 2017

How to save your Battery

How to save your battery.

Charging overnight won't degrade really. But charging while using the phone surely will.

Every rechargeable battery has certain number of charge discharge cycles which is specific to its capacity (current output or voltage).

The Basis for charge discharge cycles is the Reversible reaction occurring in the battery.
  • (Li+ + e- → ← Li-) ( → Charge ; ← Discharge)
Excessive charging will not help, in the other way it corrodes the electrode enhances the degradation rate of the electrolyte.

So, here's my suggestion - Use your phone from 100% to 5% and only then leave it for charging.

Don't take it to 40% and put it on charge and still keep using it. Battery temperatures can reach around 40°C while you're using your phone with the charger plugged in and that's not good for you battery life.

There are two main types: Lithium ion and Lithium polymer, both are having different chemistries and they are not same. Lithium polymer is light weight and can have more Coulombs* ratings, which means capable of giving more current than lithium ion. Lithium polymer is less likely to die quickly than lithium ion by over charging. But still both lithium ion and lithium polymer can be over charged by leaving charger on.
  • 1C = 1A ⋅ 1s
  • * The coulomb (unit symbol: C) is the International System of Units (SI) unit of electric charge. It is the charge (symbol: Q or q) transported by a constant current of one ampere (A) in one second (s):
Also turn brightness down, remove from your device unneeded apps and emails, check which apps consume most battery or are get alerts, and in areas of bad reception do a network reset. A lot of battery life especially on iPhones are due to bad upgrade and apps in the background using your resources.


Therefore:
  1. Don't use your phone while charging.
  2. Leaving it to charge all night is fine, given that you're following the rule above.
  3. Charge phone only when it is under 5% capacity
  4. Check what is running on your device.

quarta-feira, 15 de fevereiro de 2017

Ubuntu 14.04.5 with Epson L455

So this is log about my experience with Epson L455 multifunction printer that I bought in Brazil.

Does it work?

Short answer: YES!

Not only I did setup the printer using only a Linux station with a Mozilla/Firefox browser, but I believe the information on the WEB and also on the "quick start sheet" that comes with the printer (in the box) it not clear about this.  You do not need to use CD/DVD or the other paid OS.

Does EPSON support Linux ?

For my surprise and exactly what made me choose the EPSON printer was that it is really committed to support GNU/Linux users.

Check this (and choose Linux OS):

Does EPSON have good documentation to support Linux, see this:

And I notice support for not only Ubuntu 14.04 and 16.04 but for other flavors of Linux as well.

Does EPSON L455 scanner and printer work over wifi without the need of a USB network host computer ?

YES!  But you need to install all the packages as describe in the documentation you downloaded, and also configure properly the network, printer CUPS and SANE conf file (all detailed in the documentation).

In less then 30 minutes I figured out (ie. followed the instructions) and was not only printing with quality control but also: scanning documents and changing the network DHCP IP to a fixed IP address using just the a web browser connected to the printer WEB-GUI.  And also, don't forget to change the Admin password!

Does it work with Android, to print and scan direct to and from your phone ?

YES!  But you need to download and configure from Google Play the EPSON iPrint app.  Should work with iPhone too.


Final words:  

EPSON, THANK YOU!!!!!!  

GNU/Linux community loves you!


sexta-feira, 23 de setembro de 2016

Ignorância Sobre a Própria Burrice

"A burrice no Brasil tem um passado glorioso e um futuro promissor." - citando: Roberto Campos

Com mais de uma década de pesquisa, David Dunning, um psicólogo da Universidade de Cornell, demonstrou que os seres humanos acham “intrinsecamente difícil ter uma noção do que não sabem”.

Se um indivíduo não tem competência em raciocínio lógico, inteligência emocional, humor ou mesmo habilidades de xadrez, a pessoa ainda tende a classificar suas habilidades naquela área como sendo acima da média.

Várias pesquisas psicológicas estão chegando à conclusão que a incompetência priva as pessoas da capacidade de reconhecer sua própria incompetência. Ou seja: as pessoas burras são burras demais para saber que são burras.

E essa desconexão pode ser responsável por muitos dos problemas da sociedade.

REF:  https://hypescience.com/ignorancia-sobre-a-propria-burrice-pode-explicar-muitos-dos-problemas-da-sociedade/

quinta-feira, 25 de agosto de 2016

How to prepare WD My Passport Ultra 1TB for Linux backup

I bought a WD My Passport Ultra 1TB for Windows because I was only able to find it or the MacOS version in the stores, because it had good reviews and good price < US$60

The cons is that it is not good for Linux backup out-of-the-box because NTFS does not preserve ExtFS ownership (user/group).

The second bad news is that gparted will not be able to resize the installed partition not even if you try to use Windows in virtualbox.  Actually with virtualbox it will not be able to mount the formated partition.

So you will need to use a system with Win 7 so you can use a Windows partitioning program (eg. Partition Programs) and than resize the factory installed NTFS "data" partition.

The new size should be, say, 24~340GB ( leave this space so you can exchange data with Windows (your friends or family) and to keep the special features of WD that are native stuff to Windows and avoid it from causing problems (or void your warranty).

You should now create the new Ext4 file system with the empty space, but also reformat the NTFS partition, because the native version is not correctly detected or mounted with ntfs-3g.

I choose the names for the partitions below to be easily identified.

At the end of the process you should have something like this:

1) WD_NTFS with about  32 GB
2) WD_EXT4 with about 968 GB




3) Also, does not show, but there is a hidden partition (like a CD-ROM) that WD stores the special crypto stuff and firmware copy (this is what my research found).

Considerations:

The lack of capability of gparted to handle this type of filesystem is really frustrating.  How can this be true with so many talented people in our GNU community ?

Also, I understand now that WD really ignores Linux users. This is a sad situation since most users I know and worked with, for several years, are all Linux users and we usually choose WD HDD, at home and at work.  But, from now on, I will start to choose new brands that support linux users (WD do you hear me now?!).  And you should too.

I bought a Seagate 2T similar size at < $70 and was able to use gparted to resize and create Ext4fs with no hassle.  Seagate "hear us Linux users" better.

Proud Linux User.

segunda-feira, 2 de novembro de 2015

FERRAMENTAS LINUX: Aptik Backup dos seus temas, PPA e pacotes

Ao reformatar uma máquina com o Ubuntu para instalar outra versão do zero, um dos seus maior desafios é o de ter que reinstalar todas as aplicações, utilitários e ferramentas novamente.  Existem vários programas e scripts que se propõem a fazer isso, veja o opção do APTIK Backup no link:
FERRAMENTAS LINUX: Aptik Backup dos seus temas, PPA e pacotes