Friday, July 1, 2016

Python tab nanny

screwed up spaces and tabs in python ? try this:

python -m tabnanny
I knonw. so cute !

plus do yourself a favore, go to your atom editor and enable invisible characters. (spaces and tabs) sometimes python does not like it when you fake space for tab. and gets grumpy sometimes.

(edit/preferences/settings/GUI/ show invisible)

Friday, May 20, 2016

Does Google Photos do cross account find duplicates ?

I had bunch of large videos on my gmail account and I wanted to move it another gmail account which I pay for the storage there. and when I uploaded all these videos it took google a few seconds to upload 100mbs of videos.

I have a big suspection, google skipped uploading the files and simply gave the new account ownership of a file already existed on their servers.

nothing bad about it... though.

Saturday, February 20, 2016

Battery as a service

Wouldn't it be nice you had a standard input/output interface for all the batteries you own ?

There are so many things we own which have batteries, Drill, Tire inflator, Car Jump Start, Flashlight, Bluetooth speakers, Laptops... wouldn't be nice if all of them had a USB "input" and "output" so you can charge any of them with the other one's charger or... and in case of emergency can draw power from any of them?

When you invent something, you should be able to have battery as a service (or maybe call it B.a.S),  as opposed to design the battery as part of your product. that way we can develop IoTs faster and faster !

Just a thought...

P.S: Thats one of the reasons I have stayed loyal to my LG phone and haven't switched to Google's Nexus . Since Nexus phones batteries are part of the phone you can not taken out easily.

Saturday, January 16, 2016

"Ok Google Just Relax ..." A public Google Maps Feature Request.

When you move to a new city. you will be using Google Maps a lot, and you end up having the google maps' navigation on most of the time; and you will be directed like a little kid.
... in 300 feets use the two left lanes, to turn left on Rose Street! 
Awesome thanks Google Mama! You prevented me from being the asshole driver who doesn't go to the correct lane to turn and saved other drivers a lot of curses....

However Google Mama (like any other Mama can be annoying sometimes), for example when you are at the places you already know where you are (and you have been there 10 times), ... it interrupts your beautiful music and tells you which lane to use ... Ok google mama trust me I know what I am doing, just relax, don't tell me what to do when I know where I am.

I think Google Maps could use AI to be little bit more, like recognize my home and work address or the routes that I have been more than 20 times and don't interrupt my music, to tell what to is too much !

Currently I usually end up saying "Ok Google Shut up !" and it mutes the Google Mama but I didn't mean to be rude and mute it all the way....and I miss Google Mama when I drive 5 miles away from home where I have no idea where I am ...I end up saying "Ok Google I am sorry talk to me again" but unfortuantely that is not a recognizable command as the shut up command is.

This feature can be implemented in multiple ways:
  1. I can mark certain radius miles of my home/work not to be directed.
  2. If I been in a route more than X times (10 or 20 ...or whatever my learning curve is) like if I go from Home to "Target store" 15 times a month, I probably know very well all the turns.
  3. By Risk assessment. How much do I loose if I don't listen to Google Mama's direction?

    For example: if I am listening to my favorite music of all the time (which you can find out) and I am about to miss an exit, which is gonna make me arrive to my destination only 2 minutes late, I simply don't care! let me miss that exit and take the next one !

    But if I miss the exit and it is gonna make me arrive 15 minutes late. then I can understand if you interrupt my most favorite music of all the time for that! 
and finally I suggest, the google voice command to activate this feature be "Ok Google Just Relax !"

I had posted about how android should give you a better driving experience, this is a more like a public feature request from Google Maps :) +Android Developers  +Android  +Google+ Developers

Saturday, December 26, 2015

Google Translate Community

Google translate has a community to help them improve and add new languages, and they have a community for Kurdish language, I started contributing to it.

Google is one of the few big companies has cared about Kurdish language, and it is because Google cares about all kind of information it can classify. it is not motivated by governments or financial perspective, but rather to their obsession to collect and classify data.

This is one of those areas which my two big interests in life collide, Computers and Human languages.  Go Google Go !



computer (47) ubuntu (46) linux (27) tutorial (20) opinion (14) programming (14) software overview (13) terminal (12) troubleshooting (8) life (7) human languages (6) vim (6) bash (5) google (5) python (5) android (4) cars (4) phpBB (4) suggestion (4) tips (4) 12.04 (3) Chef (3) extension and addons (3) firefox (3) java (3) personal (3) russian (3) shell (3) windows (3) 64bit (2) Chicago (2) Vagrant (2) apple (2) backup (2) bug (2) code (2) eclipse (2) google chrome (2) idea (2) monitor (2) php (2) phpBB3 (2) shorter prompt (2) ssh (2) virtualbox (2) $_SERVER['REQUEST_URI'] (1) 2.7 (1) ALT+Backspace (1) AVR (1) Alt-Printscreen-K (1) AutoRotate (1) CTRL+ALT+DELETE (1) DRM (1) Debugging (1) Gimp (1) Gimp 2.8 (1) Microcontroler (1) Restart X (1) UML (1) Ventra (1) adsense (1) amazon (1) audio (1) aws (1) background process (1) battery (1) bing (1) blank (1) blogging (1) bmw (1) boot (1) business review (1) car (1) cd (1) chrome (1) comcast (1) computer kubuntu (1) conference (1) cookie (1) cron (1) database (1) date (1) display (1) domain name (1) download manager (1) dual boot (1) dual monitor (1) extensions (1) feature request (1) file (1) folder (1) freeze (1) funny (1) gimp single window (1) gnome 3.10 (1) google docs (1) google plust (1) google+ (1) grep (1) icon (1) install (1) iterator (1) links (1) linu (1) linux links (1) list (1) literature (1) media server (1) microsoft (1) moonlight (1) music (1) mysql (1) name (1) nautilus (1) netflix (1) notepad++ (1) parking (1) permission (1) photo (1) poem (1) prompt (1) protest (1) ps3mediaserver (1) putty (1) read from file (1) realtek (1) resolution (1) roku (1) samsung (1) scala (1) screenshot (1) security (1) selinux (1) server (1) skype (1) space (1) spam (1) spambot (1) sql (1) suspension (1) system monitor (1) tar (1) task manager (1) template design (1) th23 domain (1) thinking (1) ubuntu 13.10 (1) unity (1) vimrc (1) virtual machine (1) weblogic (1) wget (1) with space (1) xorg (1) xrand (1)