ubuntu

You are currently browsing articles tagged ubuntu.

Will Firefox in Ubuntu soon use Microsoft Bing as the default search engine? Some press releases / announcements are out that can be interpreted so.

July 2009 / Microsoft Press Release

Yahoo! and Microsoft announced an agreement that will improve the Web search experience for users and advertisers, and deliver sustained innovation to the industry. In simple terms, Microsoft will now power Yahoo! search while Yahoo! will become the exclusive worldwide relationship sales force for both companies’ premium search advertisers.

January 2010 / Ubuntu Desktop Mailing List

Change #2 is changing the default search provider in Firefox to Yahoo!
Note that this won’t in any way effect the ability of a user to choose
and use the search provider of their choice. It’s literally 2 easily
discoverable clicks to change this setting, a simple matter of switching
to that search provider in the chrome by clicking on the icon and
choosing the desired provider. Note also that Yahoo! does not share any
personally identifiable or usage information.

Why?
I am pursuing this change because Canonical has negotiated a revenue
sharing deal with Yahoo! and this revenue will help Canonical to provide
developers and resources to continue the open development of Ubuntu and
the Ubuntu Platform. This change will help provide these resources as
well as continuing to respect our user’s default search across Firefox.

February 2010 / Yahoo Press Release

Microsoft (Nasdaq:MSFT) and Yahoo! (Nasdaq:YHOO) announced today that they have received clearance for their search agreement, without restrictions, from both the U.S. Department of Justice and the European Commission, and will now turn their attention to beginning the process of implementing the deal.

Implementation of the deal is expected to begin in the coming days and will involve transitioning Yahoo!’s algorithmic and paid search platforms to Microsoft, with Yahoo! becoming the exclusive relationship sales force for both companies’ premium search advertisers globally. Once the transition is completed, the companies’ unified search marketplace will deliver improved innovation for consumers, better volume and efficiency for advertisers and better monetization opportunities for web publishers through a platform that contains a larger pool of search queries.

To me it looks like that 1+1 = Firefox of Ubuntu will soon be using Microsoft search engines and algorithms. If you know more about  and are able to clarify, please add it to the comments. What do you think, would you be happy to use Bing search engine as your search engine or are you maybe already using? Better than Google?

Thanks Aapo for the tip!

Tags: , , , , ,

A friend of mine, Heikki applied for Ubuntu Membership today an the EMEA membership regional board meeting. When the meeting started, I felt a little that the board is just a rubber stamp that accepts everyone applying for Ubuntu membership.

Heikki did a great job  – 2 minutes and he got all 5 votes it’s possible to get (see the log).

I must say I was happy to see the board didn’t accept everyone. There were people who just were not able to show what they’d done for the community. A plain list on the site is not enough, you need to prove it: number of forum messages, Launchpad karma, wiki edits, cheers from other community members. You – need – to – be -prepared!

And that’s the way I think it should be: Ubuntu membership is a status, a reward for the work you have made for the community. Along with the membership you get the benefits: @ubuntu.com e-mail address, IRC cloack, free LWN.net subscription, Ubuntu CD’s from Shipit etc.

So thank you EMEA board, you once again convinced me that Ubuntu community is well governed.

Tags: , ,

HP multimeterAt my work I need to measure various things every now and then. I mostly use a DAQ card of a Linux computer with comedilib.

Today I also needed to store the values of a multimeter (HP 34401A) that measured the voltage over something the DAQ card also measured (PCI-DAS4020/12) measurement  – I wanted to see how the values change during a longer period of time so I plot the data from both the DAQ card and the multimeter and see how the correlate.

Version 0.1 – the old fashion way..

I take pen & paper and write down the reading of the multimeter at the same time when I run the DAQ measurement. It’s time consuming and requires me to stay at the setup all the time. I also have to use time to move my notes from paper to the computer. Works for shorter measurements.

Version 0.2 – the simple digital way

I write the numbers directly to the computer. Makes it easier to start processing the data, but still requires me to stay around the whole time.

Version 0.3 – half-automated

We connected a Canon SX100IS camera with a USB cable on the Linux computer. Then we wrote a small script to run the DAQ card measurement every 30s – and using gphoto2 to tell the camera to take a photo of the multimeter Gphoto2 is an awesome tool to control about any digital camera! Then when the measurement was done, I wrote the values from the photos to a text file and was ready to analyze the data. I don’t have to stay around the whole time waiting for the next 30s period, the camera does the work for me.

Here’s the script:

#gphoto2 --delete-all-files -R # this removes all files from camera.. be careful..
#
for i in {1..40};
do
echo "#################"
echo "MEASUREMENT $i"
date
echo "#################"
#
#capture a photo
gphoto2 --capture-image &
#
#run the DAQ measurement
/home/administrator/comedilib-0.7.22/demo/mmap > mittaus$i
#
sleep 30
done
#
#download all photos and rename them to photo1.jpg photo2jpg etc..
gphoto2 --get-all-files -R --filename=photo%n.jpg

But I still have to copy manually the multimeter values from the photos. Doesn’t work for long measurements, say 2000 photos or more..

Version 0.5 – automated version

We were discussing already earlier today the option of using GPIB to read the numbers. There’s linux-gpib package available as well as python-visa so it shouldn’t be too bad. However since I’ve never done anything on python nor GPIB I decided to try the RS-232 aka. serial interface. Google gave me the HP34401A manual that told me what kind of commands the multimeter understands and how to connect there. After playing around a while I had a bash script to do the work for me. It uses standard linux commands like echo, head, sleep, for and stty so it should work on any Linux box with no additional software or hardware required.

delay=30
measurements=240
#
#Initialize the serial port
stty -F /dev/ttyS0 ispeed 9600 ospeed 9600 -echo cs8
#
#Set the multimeter to remote mode:
echo "SYST:REM" > /dev/ttyS0
#
#Reset the multimeter
echo "*CLS" > /dev/ttyS0
echo "*RST" > /dev/ttyS0
#
#Show 'LOADING..' text on the screen
echo "DISP:TEXT 'LOADING..'" > /dev/ttyS0
sleep 5
#
echo "########" >> values
date >> values
echo "Points $measurements" >> values
echo "Delay $delay" >> values
#
for ((i=1;i<=$measurements;i+=1));
do
#
echo "#################"
echo "Measurement $i/$measurements"
date
echo "#################"
#
#Show text on multimeter screen
echo "DISP:TEXT 'MEASURING..'" > /dev/ttyS0
#
sleep 1
#
#Measure the DC voltage with the multimeter
echo "MEAS:VOLT:DC?" > /dev/ttyS0
#
sleep 2
#
#Read the value
head -n 1 /dev/ttyS0 >> voltit &
#
#Run the DAQ measurement
/home/administrator/comedilib-0.7.22/demo/mmap > mittaus$i
#
#Show counter
echo "DISP:TEXT '$i/$measurements'" > /dev/ttyS0
#
sleep $delay
done
#
#Clear display
echo "DISP:TEXT:CLEAR" > /dev/ttyS0
#
#Return to local mode
echo "SYST:LOC" > /dev/ttyS0

Now I had it all automated. This simple bash script controls both the DAQ card and the multimeter and saves the multimeter values in a text file. No need for me to wait at the setup nor write or copy the values anywhere. It also shows the number of the current measurement on the screen of the multimeter. The commands to send to the multimeter are very simple, SCPI commands so the same commands work for ~any hardware. The same commands also work with GPIB.

I know the same could be done with ‘real’ programming languages like Python or  C or GUI tools like LabView (starting from 780€). But 30 simple lines of bash (the rest’s comments & empty space) does it for me. I just love Linux.

Tags: , , , , ,

KDE4 desktop

KDE4 desktop

The latest K/Ubuntu is now out there for you to try!

  1. BACKUP your data files!
  2. Release notes
  3. Announcement
  4. My upgrade
  5. Upgrade instructions or Download
  6. also don’t forget ‘Ubuntu Open Week

ps. the KDE4 upstream translations made it early enough, see this :)

Kokeile!

Uusin K/Ubuntu on nyt julkaistu, uskallatko kokeilla? Kubuntussa on nyt mukana uusi komia KDE 4.1.2 -työpöytä.

Uuden julkaisun myötä myös Ubuntu Suomen kotisivujen ulkoasu on laitettu uusiksi.

  1. Ota varmuuskopiot tärkeistä tiedostoistasi
  2. Lukaise julkaisumuistio
  3. Päivitä tai lataa K/Ubuntu kokeiltavaksi

Ja niin, vielä korjauksena – suomenkieliset käännökset ehtivät mukaan :)

Tags: , , ,

Usually I’ve upgraded a month or two before the stable release to the latest Kubuntu version. Now, for some reason I’m way behind: only 4 days left before the launch of Intrepid Ibex, the 8.10 release! Urgent need to upgrade!

Note: this upgrade was done before the stable release was made so some of these bugs I’ve faced here will have been fixed before you read this!!

Read the rest of this entry »

Tags: ,

« Older entries