Another upgrade that breaks things down

When I tried to write a WordPress post today, I found out that I couldn’t enter anything in the main text edit area. I tried several times, saved the draft without any success and then found out I would be blocked, unless I AGAIN try with a different browser. I just cannot continue like this if now I have to leave several browsers open and switch from one to the other. This just breaks all possibilities of efficiently switching between windows. I would end up with different similar-looking windows, with no way to quickly distinguish them, as opposed to one browser window with tabs.

A Google search about this lead me to a forum post. Some people were experiencing similar issues, again after a WordPress upgrade! Some people manually reinstalled an old version without success, but god, I cannot manually install things on my dumb HostPapa account, because I have NO SSH access! I am just exhausted of facing the same problems I cannot resolve unless I completely switch gears, reformat, start over, etc.

A forum post suggested to disable all extensions, clear the browser cache and switch to the default theme. I tried the cache: no success. I never changed the theme, so I am probably using the default. I then had to disable extensions. The culprit was TablePress.

But the fundamental question is: what’s the point of having any extension if they constantly need to be turned off for one reason or another?

I’m now stuck with an unstable content management system whose extensions are broken and there is no way to improve over this without manually moving everything to something else.

Cannot transfer files anymore from my Galaxy Nexus through USB

Last friday, I tried to hook up my Galaxy Nexus phone through USB to transfer some files to my computer. After a few seconds, a completely empty Nautilus window appeared. Once again, Ubuntu was incapable of detecting my device. This happened a few versions ago and I had to use obscure and impossible to remember MTP commands to perform transfers. I didn’t want to search for these commands again, tired of loosing more and more time with artificial problems. If Ubuntu degrades at this point from one version to the other, I will be better off switching to Windows and install Linux only in virtual machines. This is not the only issue I got and most bugs (mouse pointer, Emacs, M-Audio sound stability) persist with version upgrades. Canonical now seems to focus on Mir and newer Unity versions, which I really dislike because Mir will break everything down for five or six versions. Either this, or Canonical will cut corner on keyboard accessibility, resulting in a UI that will be almost unusable for me. I exptect this will  be my hardest Linux time ever when that beast comes out, until it stabilizes.

However, my actual bug was worse than this: the phone didn’t connect through Windows as well! When I plugged in my phone on a Windows machine, an empty Explorer window similar to below comes up and nothing else. Does that mean my phone is dying, progressively loosing functionalities? Probably.

Capture d'écran 2014-11-30 09.04.15

I didn’t atempt any Google search about this. It is worthless. I will find forum posts about people replacing the cable, doing factory resets, sending their phone for repair or replacement, etc. The phone hooks up, something is detected by the computer, so why a new USB cable would help? Yes, I can do factory resets after factory resets, that will probably fix it, but what’s the point of doing this if I know I will have to redo it a few months later, for no reason, unless I install NOTHING on the phone? And how I am getting through technical support are no-go solutions or offers for a new phone that will force me to switch to a more expensive plan with my provider or buy something from nowhere with an old version of Android.

Before accepting this conclusion and starting to look if I could get a Google Nexus phone from Google rather than going through Fido and affecting my phone/data plan or get something somewhat correct from DX.com, I tried with a different cable: same effect. Then I saw the home screen on the device and remembered I set up a PIN recently to protect my Google account for any tampering by somebody who may get back my phone if I loose it, or steal it from me.

Screenshot_2014-11-30-09-03-22

I entered my PIN and saw with surprise and relief the following window on my computer:

Capture d'écran 2014-11-30 09.05.34

Tada! This time, the solution was simple! This was just a normal data protection! So my USB connection is still working!

Note that locking the phone doesn’t shut off the USB access, until the cable is disconnected. The PIN also doesn’t prevent me from answering a call, so this is not as problematic as I feared it would be.

Firefox Sync duplicating bookmarks

A few months ago, there was an update to Firefox Sync. The system was completely changed, requiring the creation of a new account and the reupload of all bookmarks, history information, etc. The old system was still functional, but it wasn’t possible anymore to add devices.

Despite my frustration (yet another account to create), I registered with the new system and started removing my other instances of Firefox from the old system, to attach them to the new. I have a couple of such instances: one on the Windows side of my personal computer, one on its Ubuntu side, one on my personal ultrabook, one on my HTPC, another one on my company’s laptop, another instance on my company’s ultrabook, and three on different virtual machines! That seemed to go pretty well, just uselessly time consuming.

However, a few days later, I noticed it became almost impossible to find something in my bookmarks. Some bookmarks disappeared, but looking a bit deeper, I found multiple copies of bookmarks as well as folders of bookmarks. This was a total mess. It would have taken me hours and hours to clean this up. I though about exporting the mess to JSON and writing myself a script to clean it up and restore with the processed copy, but I wasn’t feeling at working on this during my spare time. I thus left this alone and almost stopped using bookmarks. Sometimes, typing text in the URL finds stuff on Google, in bookmarks or in history. Sometimes, I was getting the link from within an email. Other times, I had to open up the bookmark manager and search endlessly.

Last week, I decide to try something about this: simply restore a backup copy of my bookmarks. I thought about an old copy I had done in January after a clean up of the bookmarks, then I found that Firefox was proposing me options to restore bookmarks saved periodically. I took the latest day with 400k of bookmarks vs 700k, and that did the trick!

Unfortunately, a week later (yesterday in fact), I found out that duplication started again! So it seems that Firefox Sync now simply makes one copy of the bookmarks per instance of Firefox it syncs with! Why not, in this case, offer these copies in separate folders, so at least one would know what to expect?

I searched for a long time to find a better way to manage my bookmarks, and everyone is adopting its own inconvenient or outdated solution. Some are using iCloud with Safari to sync bookmarks and manually transferring to Firefox, others are proposing Xmarks which was discontinued years ago while its web page still offers the tool (last time I tried it, it couldn’t sync, just sit there and try to connect to a server), others are adopting EverSync, others swear that Delicious is the best, etc. It seems I would have to choose one of these and be prepared to start over research a few months later and find the one that would replace my choice which would go down again.

I tried to restore backup once more. Maybe there is a problem with my SQLite Firefox DB on Windows 8.1; this Windows 8 box is more and more flooded with crap and would require a reformat/downgrade to Windows 7, which I just don’t want to do. Maybe, I thought, if I restore the backup on the Windows 8 box, the DB will be clean, and that would sync up with the rest. I tried, then went on my HTPC to see if things would fix. No result. I found out that my HTPC Firefox was still using the old sync, so I updated it.

Then duplicate bookmarks came back again! I got fed up and removed all my bookmarks. There is no point in having bookmarks if Firefox Sync copies it once per machine it connects to, and I just cannot get rid of all my computers except one, otherwise that will have to be my company’s laptop and that will end any possibility of playing Minecraft, attempting to compose music with Ableton Live, and I don’t feel comfortable leaving a copy of my personal data, including my diary, on my company’s laptop! And I would have to do this just because of Firefox? No!!!

I was about to switch to another strategy consisting of using Evernote to store links. There is a capture tool, the Clipper, that allows to make a copy of a web page, with its original link, so that can act as a kind of bookmarking system. This is at least better than the poor man’s system I was considering more and more, consisting of writing a plain old HTML page with links, uploading it to my HostPapa account and updating it from time to time.

But today, I found out that multiple Firefox instances got the same name. My Windows and Ubuntu installation share the same host name since they don’t run simultaneously, and I am using the same login name, so Firefox gave the same default name to the computers. This may explain why it got mixed up with bookmarks! Moreover, update from old to new system may result in additional bookmark duplication.

With this hypothesis in mind, I started all my Firefox instances, one by one, and verified that they all have different names, and that the removal of bookmarks correctly spread. At this point, all my Firefox instances got their bookmarks removed, but I need to be extra sure there is no left over instance I forgot that could restart the duplication like a virus. While doing that, I felt a bit like Jean-Luc Picard going from one version of the Enterprise to the other, in different time periods, to repair a temporal anomaly. Of course, my bookmark problem is far less dangerous than this!

I don’t know yet if that will allow me to put back my bookmarks in one instance of Firefox and see them reappear elsewhere, without duplication.