Internet, this is Edoardo

cat /var/log/life

Android and Adb, a No Permissions Story

Many of us have seen this message printed on the terminal, heads have been scratched, Google interrogated, sudo has been used.

It seems that developing something for the Android platform is something that begins with the problem of communicating with your devices and end in “$?!# MY LIFE! $?!# USB AND ANDROID!”.

My pc struggled communicating with my Nexus 4 in the last month, after transitioning from 32-bit to 64-bit, I couldn’t push or debug anything and it stopped my work with Android (I wanted to switch from ListView to ReciclerView in my apps) but I couldn’t get any work done, Android Studio refused to talk to my device.

Today I found that if I enable mass storage on my phone everything turns out to work pretty nice with my current system configs.

So if you are on a search, desperate and furious because your Android phone is not listening to you take this wild guess and enable mass storage.

EURION Constellation

When the printer consumer market got flooded by an invasion of sharper, faster, cheaper machines a question bubbled in the mind of many: ‘Can I print money with that?’.

To prevent copy and image manipulation of currency is a real nasty problem, counterfeit money is more than ever unrecognisable from real money. Not longer than a month ago I saw and touched six 20 euro banknotes and I could’t feel the difference from real money, the only deficency was the missing stripe in the middle of that piece of paper.

That’s why we have to introduce new designs and form factors in the newer batches, because the bad guys are catching up with the technology and the supply chain. Keeping things movin’ is a way to zeros their knowledge and know how.

But how can you prevent software manipulation of images containg currency? It appears that this problem has already been addressed.

I present you the EURion constellation, a pattern you can find on your banknotes that can be recognised by machines like your scanner.

When this pattern is found in the image the scanner could also refuse to scan your document, making it a good choice to use it as a watermark to prevent copy and distribution of confidential material.

Image courtesy of Florian Heise, Licensed under Public Domain via Wikimedia Commons.

This image shows that under blue/black light the pattern glow making it visible.

Other techniques similar to the previous includes the printer steganography, a way to include informations into a piece of paper at printing time.

Recording With Kazam on Gnome Shell

I always wanted to try and record a screencast but I always ended up arguing with the tools because I couldn’t get it worked.

Today I found the solution to my problem: Kazam’s icon would disappear when recording therefore I couldn’t stop or pause anything.

It turns out that Gnome Shell hide icons from the tray without asking so the quick solution is to install this extension that prevent this behavior.

Now the camera icon indicating that Kazam is recording won’t disappear.