Archive

Archive for the ‘Windows’ Category

My Bad: A Guest VirtualBox Machine on windows only shares internet on host via a proxy

Two months ago I took on a personal ambition to reduce my power bill. One of my culprits was to shutdown the home server that was a storage server, media streaming server, XBMC media center etc. It was also the internet gateway. I moved the entertainment functions to the MK802 device running android 4.0

The home devices:- phones, MK802 and PS3 had to continue to access the internet.

I chose my working laptop as the gateway sharing the 3G modem internet. The laptop runs windows 7 and it so happens that enabling ICS stops the VPN connections from working. This is a known issue. Windows Internet Connection Sharing (ICS) is not compatible with the VPN client. It produces errors such as:-

  1. The vpn client agent was unable to create the interprocess communication depot.
  2. Sometime it seems the tunnel is being established but terminated.

So turning off ICS fixes the error. Read more…

Categories: Linux, Networking, Windows

Windows: Search for drivers on the internet. Has it ever worked for you?

The desktop I use home dual boots with windows 7 ultimate and Ubuntu. The windows 7 OS has not been in use and connected to the internet for about a year. I tend to spend a lot of time using Ubuntu. This week I needed to transfer a file from a Samsung android phone running version 2.2.1 to the windows host using its USB cable. To much surprise i reached no where with the nagging task bar popup device installation failed. Which when clicked leads to a window where you can search for drivers on the internet. This leads to to why I made this post.

Have you ever been successful with searching for drivers on internet with windows and it worked? Personally it has never worked for me. May be because I use a lot of cheap China devices and not genuine ones. As far as I remember, whenever I have tried this option it was no success. Even with some genuine peripherals. I got the phone to work after installing the utility tools with drivers on the CD that comes with the phone, I didn’t do this on the laptop also running windows 7 ultimate.

Am just curious, Have you ever got windows to search for drivers for your peripheral on the internet and it worked?

Categories: Windows

Audio FingerPrinting and Matching Using Acoustid Chromaprint on Windows With Python

I needed to generate audio fingerprints for matching/pattern recognition. I should say I tried a couple of approaches like using MFCC and spectrogram matching using Computer Vision techniques but I was not successfully with it. Using acoustid Chromaprint gave positive results. Since I was using windows, I had to compile the latest version using Visual Studio.
Since I my target was to get wav format to work, I didnt need ffmpeg dependency, so I removed it. You will need the avcodec and ffwt libs. The algorithm used for Acoustid for finger print matching is buried in a PostgreSQL user-defined C function which I easily translated to python for use.
Read more…

Unlocking a Huawei 3G Modem, use it on multiple networks

Being able to use a locked Huawei 3G modem on another network involves two steps.

  1. Unlock the modem using Simbwa Phillip steps.
  2. Set the APN of the SIM Network whenever initializing the modem

Simbwa Phillip has some steps which I was able to follow to perfectly unlock my Huawei 3G modem.
I will just paste here the steps again so that you don’t have to bounce back and forth.
Read more…

Increasing price accuracy from 2 to 3 in OpenERP

June 26, 2010 1 comment

Last week I was faced with the dilemma of increasing the price accuracy from 2 to 3 in OpenERP for a client who uses OpenERP server 5.0.6

OpenERP server has a configuration for the price accuracy in its configuration file, but as of 5.0.6 it seems to be to effective.

Changing the value in the config from 2 to 3 had no effect. On Googling around it seems to be a bug that may be fixed in the upcoming 6.0.0 release.

However the price accuracy config option can be passed directly when starting the server. This option works for both Linux and Windows. However windows has a major draw back that the windows service that creates the openerp-server process does not allow passing additional parameters. Though u can start the openerp server manually in windows with the parameter, when it comes to having the server started by the service, it won’t work. Thus the need to have to pull source code of the openerp service from launchpad, modify it to pass price accuracy parameter, and recompile it. Read more…

Categories: Programming, Windows Tags: , ,

Uganda Dot Net User Group meeting for 26th Febuary 2010

Friday 26th Feburay 2010 was my first Uganda Dot Net User Group meeting.

The topic of discussion for the day was NHibernate ORM framework presented by J Marcus (Assistant IT Manager bank of Baroda).

Am not an expert of NHibernate, so it was time not wasted to listen and see how NHibernate can be applied in .Net applications. I use a combination of spring and Hibernate in the java applications I do develop, so I know the hustles of hibernate. Like having to create the mapping files and classes that map to database objects manually. Good enough NetBeans 6.8 comes with a reverse engineering plugin that removes the hustles of having to update and create the mapping classes. Read more…

Dirty script to import videos into XBMC Library

February 19, 2010 Leave a comment

I use XBMC as my media center solution at home as described in the old post XBMC Linux media center.

Why?

  • With a terabyte plus of videos, I needed a solution where I could easily track which videos I have watched, and easily resume from where I stopped watching.
  • The comfort of easily navigating the media center using a wireless keyboard
  • XBMC works!

Read more…

Categories: Linux, Programming, Windows