I was facing a lot of issues doing LDAP lookups on my company’s LDAP server. The searches were happening but they were very very slow, so most of the times while replying to an e-mail and selecting addresses, the Thunderbird application just hung.
I am using Ubuntu 7.10 with Thunderbird 220.127.116.11 in my office which has an Active Directory Setup. The comment as posted on http://www.linux.com/articles/114010 with the comment permalink being http://www.linux.com/?module=comments&func=display&cid=1147932
The solution for me was, just using Port 3268 instead of Port 389 which is common for LDAP. I am a happy man now 🙂
I have compiled a small list of locations which I happened to visit after purchasing my GPS device. Thought would post it online – maybe it can be of some help.
Converting Degrees to Latitude Longitude
INDIA is North East (NE)
- The whole units of degrees will remain the same (i.e. in 121.135° longitude, start with 121°).
- Multiply the decimal by 60 (i.e. .135 * 60 = 8.1).
- The whole number becomes the minutes (8′).
- Take the remaining decimal and multiply by 60. (i.e. .1 * 60 = 6).
- The resulting number becomes the seconds (6″). Seconds can remain as a decimal.
- Take your three sets of numbers and put them together, using the symbols for degrees (°), minutes (‘), and seconds (“) (i.e. 121°8’6” longitude)
You can do it fast by visiting http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
Convert Degree, Minutes, Seconds to Latitude and Longitude
- latitude and longitude in a decimal format: 42.1361
- latitude and longitude in degree, minute, second format: 42deg, 08min, 10sec
- To convert coordinates from degrees, minutes, seconds format to decimal format, use this easy formula:
degrees + (minutes/60) + (seconds/3600)
The example coordinate above would be calculated as:
42 + (8/60) + (10/3600) = 42.1361
42 + (.1333) + (.0028 ) = 42.1361
A selected few would want to delve into this. No, this post is not about how the houses of the future would be. For that you may visit http://news.bbc.co.uk/2/hi/europe/7348940.stm
This post is about how you, as a Linux enthusiast, can take a combination of all wonderful applications available, and leverage them to create something which defines what you are. This is no howto, and I just skim the surface as I myself am trying to figure out how to work out all this.
Following is where I am coming from : You wake up in the morning, ask for the time and weather outside. The system responds back. You give voice commands to take backups of the system, check your e-mails, record voice messages, play music, make phone calls, and watch your favorite TV channels. Then you leave for office. The home is now under surveillance mode. Any activity which happens behind your back is emailed to you instantly as a video. The primary power fails and the system switches to the secondary power. There are solar cells on top of your building which are charging the batteries. You come back with some friends of yours. You put the system in silent mode and record all activity that happens. Its night time now and you go to bed. The infra-red cameras keep a watch on the house.
Next day is a weekend, and you plan a trip outside. You get ready your stuff and take out the mini-computer which is connected with your base station wirelessly. The mini computer has GPS inbuilt which keeps a track of where you are and communicates it back to the base station. Your backpack has solar cells which keep charging the mini-computer. You are continuously updated of what’s happening back at home.
All of this is possible, though with some expenditure on the hardware front. Here’s what I think you would need
- Base Station : A laptop/battery powered device for the base station. A desktop would also do but power consumption may be a concern. A wifi router, UPS, a set of speakers and a good microphone and internet connection would be necessary.
- Power Generation : Solar Cells, and a battery system which they can charge
- Electrical Devices Control : I’ve heard about X10 and http://www.smarthome.com – am not sure as none of them is available here (in India).
- Mini-Computer : A Gumstix motherboard with USB, Flash Memory, Wifi, GPS and LCD screen.
- Monitoring : A infra-red webcam. A wireless one would be better, but USB one would also do.
- Internet Connection : A USB based internet connection device which allows you to connect from anywhere. Shall be compatible with Linux & wvdial.
- Speech Recognition : HTK, Julius/Julian
- Text to Speech : Festival, with MBROLA
- Motion Detection : motion
- Scripting Language : PHP and bash – this will help in defining and acting upon commands
- Home Automation : Mister House
- Others : wvdial for net connection, audacity for audio recording, mail tools for sending out e-mails, Apache for providing a connectivity to base station
The intention is to create a home of the future, today. I would keep on adding stuff here as and when I find time; the first one probably would be about Speech Recognition. I personally believe that the technology is available, and if used effectively, it can be really exciting.