Simple and fast method to disable an integrated WiFi card, just in case you adapter works very bad.
My Intel Broadband card sucks, so I bought an external usb adapter and I use it.
First, detect the kernel driver used by integrated card:
lspci -nnk | grep -iA2 net
Last line, you can read something like:
Kernel driver in use: IntegratedCardName
At this point, open /etc/blacklist.conf and append:
blacklist IntegratedCardName
Reboot and go! No more integrated Wifi card!
WARNING: DO NOT PULL OUT USB ADAPTER WHILE WIFI IS ON!
16.12.14
4.10.14
Polar LOOP fitness tracker: review

After a month, I can say that I am quite satisfied about it, also if my first thoughts aren't positive.
The design is pretty elegant, the material is something like an hard rubber, the details are pleasant.
Opened the box, first step to do is measure your wrist and cut the bracelet.

Yes, you have to cut the bracelet, in order to adapt it to your wrist.
Mmmm, this make me very bewildered. Cut a new object, pfff, maybe I don't like it and I want to sell it or give to another one..and I cannot!!
Apart from this initial idea, I take the stripe and measure my wrist, then, as explained in the instructions, I cut the rubber. I repeated this a couple of time, in order to get exactly my measure.
Infact, Polar needs to be in contact with your skin in order to get accurate data. All things considered, cut the exact measure of the bracelet isn't a bad idea as seemed.
And then I started to collect data.
I wear it on non-dominant hand, like suggested, and I can see that it's very comfortable.
I spend a lot of time clicking keyboard of a pc and I never found it annoying.
The thickness is about 7-8 mm and sometimes isn't comfortable with tight clothes. But it's not a big problem.

Since it's a led, it is not visible under sun light. So, in a sunny day I cannot see any information.
The informations displayed are: time, step, calories, and an active percentage.

When you reach the goal there's also a "congratulations message", and a notification on the smartphone if it's connected. Someday I need about 20k step to reach the goal, others day 10k is enough. The wrist shows also three type of activity that you can do in order to get the goal.
Step and calories are calculated by some secret algorithm. I cannot say nothing about the calories; I think they are computed based on activity you do every day (this is the trend I understood).

Algorithms are heuristic, and they aren't very precise; they can get only an approximation of the total step. So, I cannot say nothing about precision of these, but I think there is a variance of 10%.. Not so much.
Polar connects to the smartphone through a specific app - Polar Flow - and uses Bluetooth low energy as protocol. There is the cool possibility to enable airplane mode, in order to get longer battery life.
Airplane mode can be activated/deactivated by long pression of the only touch button present. This button is "touch". It has a capacitive sensor that can notice my finger very well.
Synchronization with the smartphone happens when the Polar is not in airplane mode and the smartphone has Bluetooth enabled. Data are transferred "manually". I receive a silent notification that shows me a spinner bar and asks me to click the button on the Polar to have the transfer started.

Grade: 8/10
Review of the app and the data coming soon...
23.8.14
Simple HTTP Server with Python
Often, while developing web applications, I need to try it on a local server.
Apache is perfect, but sometimes I want to do it more faster and simpler.
Well, I discovered a python tool that in a simple line lets me to test a web application on localhost.
Let's assume that I would like to share the directory /home/testapp, where I have index.html file and related web files.
From a terminal, go in the directory you want and digit:
python -m SimpleHTTPServer
That's it!
Your web application is now running at http://localhost:8000.
You can obviously change the port, adding the port number at the end of the command, like this: python -m SimpleHTTPServer 8080
Really a cool tip to not forget!
Note: if you have python 3.x the command is: python -m http.server
Apache is perfect, but sometimes I want to do it more faster and simpler.
Well, I discovered a python tool that in a simple line lets me to test a web application on localhost.
Let's assume that I would like to share the directory /home/testapp, where I have index.html file and related web files.
From a terminal, go in the directory you want and digit:
python -m SimpleHTTPServer
That's it!
Your web application is now running at http://localhost:8000.
You can obviously change the port, adding the port number at the end of the command, like this: python -m SimpleHTTPServer 8080
Really a cool tip to not forget!
Note: if you have python 3.x the command is: python -m http.server
14.3.14
Windows upgrade to 8.1 needs admin privilegies
I've found in those days a problem with my original copy of Windows 8.
From Windows store I have a notifications that informs me that update to 8.1 is available.
Ok, let's do this update.
But when I click on "Update" a message tells me that I have no administrator privileges.
WTF?! I am the only user and I have all permissions.
I check it from preferences and from command-line and I am really an administrator user.
So, what's the problem?
After long search and long try-and-try I've discovered a solution.
The problem is the windows update KB2871389.
To solve this, from control panel -> installed update remove that and reboot.
After that, clear store cache launching WSRESET.exe.
Then, back to windows update panel, in settings, and force all updates available.
Finally, go to the store and do normally the update to 8.1. Now it should works!!
From Windows store I have a notifications that informs me that update to 8.1 is available.
Ok, let's do this update.
But when I click on "Update" a message tells me that I have no administrator privileges.
WTF?! I am the only user and I have all permissions.
I check it from preferences and from command-line and I am really an administrator user.
So, what's the problem?
After long search and long try-and-try I've discovered a solution.
The problem is the windows update KB2871389.
To solve this, from control panel -> installed update remove that and reboot.
After that, clear store cache launching WSRESET.exe.
Then, back to windows update panel, in settings, and force all updates available.
Finally, go to the store and do normally the update to 8.1. Now it should works!!
23.1.14
Ubuntu touchpad issue after screensaver
In these day I encounter an annoying issue in Ubuntu 13.08 on my Dell.
After restore from screensaver, touchpad doesn't working, or working partially (only scroll).
I searched a solution and I didn't find the cause of this problem but only a workaround to partially solve it, or at least to continue to work without an external mouse.
So, the command to type are the following:
sudo modprobe -r psmouse #that remove psmouse kernel module
sudo modprobe psmouse #that reinsert psmouse module
After this, touchpad restart to work properly.
I also found on Ubuntu forum a script to to this after every resume, but I don't test it.
After restore from screensaver, touchpad doesn't working, or working partially (only scroll).
I searched a solution and I didn't find the cause of this problem but only a workaround to partially solve it, or at least to continue to work without an external mouse.
So, the command to type are the following:
sudo modprobe -r psmouse #that remove psmouse kernel module
sudo modprobe psmouse #that reinsert psmouse module
After this, touchpad restart to work properly.
I also found on Ubuntu forum a script to to this after every resume, but I don't test it.
#!/bin/sh
case "${1}" in
hibernate)
# nothing
;;
resume|thaw)
modprobe -r psmouse && modprobe psmouse
;;
esac
Save it in: /etc/pm/sleep.d/66my-sleep-resume
Iscriviti a:
Post (Atom)