Posts

Showing posts from 2016

Cyclomatic Complexity and C Code

Cyclomatic Complexity refers to the code complexity and the relevent threat level of code having bugs. It's measured as counts and the range is generally 1-10 good - very less possible bugs, 10-20 average - few bugs possible, 20-30 High threat - high number of bugs possible due to high complexity, >30 is very dangerous with very high number of complex bugs possible. Generally a program counting the Cyclomatic complexity goes through the code and counts the various conditions, branches, go to's etc. Then by counting the edges of code flow graph w r t nodes, the CC count is calculated. What I have to do with all this? Basically in my current organization we have CBA - continuous build automation facility which produces nightly builds of all projects. It also performs linting, static code analysis and produces various red/yellow etc flags for code quality issues. Recently a red flag was seen in a feature I halped integrate. This is a third party component, but since we integrat

Thinking about getting a Raspberry Pi 3 to use as Living Room Computer

Well, I have a laptop for home use. But it's got kind of cramped feeling when using it for media consumption - because mainly that's what we use it for. Basically I have an external HDD to which I dump whatever media I get my hands on. This is then used on the laptop. So I'm looking at a setup which is cost effective and at the same time let us do the TV thing with external HDD and also lets us do bit of browsing for news etc.  Recently I purchased a Logitech MK215 wireless Keyboard Mouse combo and it's made this setup much better. So now I'm thinking of shifting to bigger display - at least a 18.5 - 24" monitor. The problem is connecting laptop to this will just make the laptop work as desktop and it's not good for battery. Also it gives us a tangle of cables plus the space used. Then there's the screen switching between external and internal display. So it's not just the ideal setup. What I want is a low power one box solution that will let me pla

My views regarding smart phone purchase

Many of us are routinely looking at buying yet another smart phone and there are so many options out there, so many features, combinations and different hardwares, it becomes challenging. Looking at the available choices it can be frustrating at times - especially for people looking to buy an Android phone. There are some people who want an iPhone. New buy is simple for them. If you have the budget go for the latest and greatest from Apple. Otherwise settle for one or two gen older iPhone. You know what you are getting. You want it so you take it with all the shortcomings or the lack of features there-of. They spend considerable amount on phone and get something that can be very fulfilling for them. Next are people who are looking for just calling and light games-entertainment. They usually have budgets from INR 5000 to 10000. And from options front they have Androids only. The entry level androids are quite limiting in hardware/features and overall performance. But they can be good va

Android Games I Like

I occasionally use my Android phone for playing games. Most of the android games are not comparable to PC Games where you get lots of content, slick graphics and great game play too. There are some games on Android which strive to be equivalent and also manage to be so. Lets take a look at them:  1. Modern Combat 5: Blackout - Excellent Game, pity can't be played offline. Bugs out once in a while due to god knows what issues. But overall awesome when it works.  2. Brothers in Arms: WWEII era game that manages to look and play the part. Really awesome game - felt like I'm almost back to Call of Duty. The missions and games are totally worth. 3. Modern Warplanes: Relatively new game but is very engaging. Excellent graphics and great controls. Overall awesome experience.  4. Hill Climb Racing and Hill Climb Racing 2: Total timepass.  5. Asphalt 8 and Asphalt Extreme: Great racing games. The graphics are top notch and the races even more so. 6. Overkill 3: This is the game I have p

A Recap of Year 2016

It's about the end of this year and I felt like I should put together a recap post for this year. The thing is I'm not posting as much sine I have been busy elsewhere. (New home it is ;) ) But a lot of things happened. I started the year with a switch to Linux Mint, but after using it for 3-4 months got bored, and instead switched to KDE Neon distro which showcases latest plasma developments and certainly is cutting edge and exciting. But because of stability related issues - yeah it's cutting edge ;C - I had to abandon it. So couple of months back I'm back on Ubuntu. Actually my old Acer laptop which boasted of 1GB of RAM and was proving to be bane of all Linux distros I was trying, died second time. It turns on and everything seems to be working except no display. Maybe the LCD panel is gone or maybe the connector is damaged, I don't know. I don't have a spare monitor to connect to the D-SUB port so I can't check if it's really working or just making s

Git Proxy Settings

Command to use: git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080     change proxyuser to your proxy user     change proxypwd to your proxy password     change proxy.server.com to the URL of your proxy server     change 8080 to the proxy port configured on your proxy server If you decide at any time to reset this proxy and work without proxy: Command to use: git config --global --unset http.proxy Finally, to check the currently set proxy: git config --global --get http.proxy

A test of merging two big files in Linux

Update: "Beyond Compare" it is. Certainly for big files weighing in MBs it's the clear winner since meld just craaaaaawls. Unfortunately you get only 30 days of eval period with Beyond Compare and it's paid after that. But for anybody doing serious amount of compare and merge "Beyond Compare" may prove to e good investment. Otherwise for all us fellows who just occasionally merge things "Meld" it is! I contribute to Ubuntu Translations. Recently a curious thing happened. While going through some translations I noticed that there are some projects where upstream translations are available. But those are not yet imported in Ubuntu packages available on Launchpad. One such package was inkscape. When I checked the upstream website for inkscape I found that in trunk there's a translation available and there is a lot of work done. So I downloaded the po file from there and tried to upload it to Launchpad. Rosetta(Launchpad Translations Managem

Google Takeout for downloading your data at google

Google Takeout is a service that lets you download all your data available with Google. Funny thing is that we don't actually get how much data we share with Google.  With Android, App logins, GMail and many other google stuff the integral part of our life, we share a bootload of data with google. So this week I downloaded my google data using google takeout service and I was surprised when the archive turned out to be 6.39GB in size.  I'll be analyzing what all I've been sharing with Google. My expectation was about 2.5-3GB max data since my Gmail and Photos are using about 2GB at present. They managed to hit 3GB six months back so I trimmed both in spare time. So I was surprized with >6GB figure.  Lets see what all has ended up with google... Photos 5.2GB GMail 350MB Drive 650MB Rest all services few more MB. I was frankly surprised with the amount of space photos are taking, but then I recalled that only full resolution photos count towards the calculated storage. And

Nokia C5-00 5MP - from Yr 2012

We all have those relic phones which are replaced by yourself/cousins/relatives and ended up with you as secondary or tertiary phone. This was the phone I gifted my sister as her primary phone in 2012. She used it for about two years, then she wanted a big touchscreen phone so I got her an entry level droid. And so the Nokia was discarded as a secondary. The entry level droid  - a chinese knock-off by a local company is still kicking after about two years and a battery replacement, but now this Nokia has ended up with me. Funny part is I love this phone. it's small and simple. Gives very good battery life. Is a pleasure to use  -all these buttons. And is a good mp3 player too - again thanks to all the buttons I don't have to take it out of pocket to skip to next song.  Well, I have been using this as my secondary device for about a year now. I charge it maybe once a week, have all my contacts on it - took me a painful evening to send them one by one using bluetooth. I'm lai

Update on the Sailfish App

Well, it's been a while and I actually didn't spend much time on the app all this while. But today I decided that I'm going to spend at least couple of hours on it. And I did. Kind of solved couple of big issues too. Maybe not completely, but progress still. So the summary is I was facing issue with deployment of the database. It's sqlite db and I didn't know where to place it and how ty place it. So after lot of googling and some forum searching I found a way to deploy data files on Sailfish. After applying and troubleshooting couple of issues here n there I got the database working. But the problem now is, it works only when the app is run from sdk. When I launch the app from inside, no DB. Well atleast the role are going to the device. Teething issues. Another problem is the UI is all screwed up. This should not have happened because on desktop was all Sunny and Rozy. Anyway I'm yet to get to Sailfish specific stripes anyway so I'm thinking it wou

The story of Airtel Prepaid to Postpaid Conversion

Update: On Wed 2016-11-08 I gave in and visited the nearest Airtel Care Store. Thankfully the people there were very helpful and they knew the exact problem. So they gave me a 1800-xxx-xxx number for televerification. Once it's done they asked me for ID proof which I did not have at the time. But I visited them in evening and submitted the ID Proof. After this I was given a new SIM Card. This got activated in about two hours and the phone service was started. The SMS service was started after 24 Hours.  Hush! That was an experience. So this proved that Airtel's OnCall Customer Care sucks but the Airtel Care stores might be the ray of hope. Well, lets see how the postpaid services work out for a while. Or else we can always port out!!! ----------------------- Sometimes you look at the many hours you spent looking at your prepaid packs n the best combos and stuff, it seems like a waste. Me too. So I decided to convert my Prepaid Airtel connection to Postpaid. And it has

A quest for returns from Foodpanda for failed payment

Update: Finally after couple more follow-ups the refund was initiated and delivered to my account three days ago. It was interesting to see the lack of processes at Foodpanda and it does not give me much confidence. Mainly because they depend most on their CC Execs to keep track of things and the requests do get missing as I found out with my refund. Anyway at least I got the refund. ---------------- I have been a loyal customer of foodpanda for about two years. For single IT professionals having the food delivered at doorstep is a boon especially when you are exhausted after a 12-14Hr workday and just not wanting to go out for food. Having food home delivery services like Foodpanda, Swiggy, JustEat etc helps a lot in maintaining peace of mind. But then once in a while that peace of mind gets eaten up when any of them screw up.  I have had my experiences dealing with unprofessional and lousy restaurants, delivery screw-ups and what not. But that has been generally rare experienc

Update on Tata Docomo Photon Plus WiFi USB Dongle

So I have been using Tata Docomo Photon Plus WiFi USB Dongle for a while now. My experience remains unchanged. On most if the days it just cannot connect to the 'plus' network. Mostly it connects to the 'Wiz' variant, which is CDMA1 RevB with about 115kbps(Yeah - It's kilobits!). Anyway, when it manages to connects to 'plus' variant which is as I believe CDMA2 the speed is good. I get about 1-1.5Mbps which is good. But again with the INR700 pack it's just 2GB of high speed goodness. After that it's 115kbps crawl. But since it's unlimited, I am okay with it. Heck, I once even managed to upgrade my Sailfish OS phone using the slow network.  So the outlook remains same. INR2500 is too much investment in Tata Photon Plus WiFi USB dongle. It's just not at all a strong contender for Dongle of the month or year. The good thing is it does work in it's own moody way. And if you can live with it, it's an okay deal. But still I wish I had gone f

Intex Aqua Fish Update

Not much happened for last couple of weeks. I was busy with things to work on the app porting. But three days ago I tried something to get the latest update. Here's the story with the background.  The background:  Intex Aqua Fish is a Sailfish OS phone with partner space enabled. What that means is whenever there's any update by Jolla e.g.  Fiskarsinjoki  v2.0.4.14 , you don't get it right away on Aqua Fish. It goes to Intex and then after validation it reaches you.  Anyway as you all know Aqua Fish is just clone of Jolla C, I decided to try out some tinkering on my own. My inspiration is following link: https://together.jolla.com/question/148893/how-to-make-aqua-fish-to-think-its-jolla-c-not-modem/ So after reading the steps, the provided script, and the comments carefully and multiple times, I started with the script.  The script failed saying I had some conflicting packages. So after going over instructions of how to clear out the offending packages in about half an hour

First try to port a Qt application to Sailfish

So last week I prepared v0.3 and put it to git. Yesterday I tried to port it to Sailfish as was the original plan. I went at it as below:  I used an existing test application to get the required files and project settings. I added them to my project. This part included copying various tidbits to the .pro file. Also included is copying over folders for RPM, translations, icons etc.  Then I went through the files and updated the file names wherever needed to reflect my app. This gave me a build which built successfully using the mer-arm toolchain. Now to get it running on the device. I plugged in the Aqua Fish to Laptop with microUSB cord, and enabled debugging. Then tried to debug-run the app. First problem - debug-run doesn't work. I got error as - gdbserver not found. On googling for this, found out I need gdbserver installed on device and it will probably take a while since I'm not familiar with this functionality of Sailfish. So I decided to skip debug-run, and go with only

E-Governance experiences in India

For last few years computerization has become common in all government departments and we can do a number of tasks online.  Last few days I had different encounters with a few government systems here around. I'll summarize my experience as below.  1. Online Tenant Registration I'm living at present in a rented apartment. Recently I was looking at a new vehicle purchase and one condition was the tenant should be registered at nearest police station. Being lazy, I looked up if there is anything online for this. Funnily enough, there is a website: http://tenantreg.in . It was started two years back on the outset of "German Bakery Blasts" and "26/11 Mumbai Attacks". The website when I tried to access was down. I tracked the registration and found out one probitysoft maintaining it. I found mail of the registering person and fired an email to that person. I didn't get any reply or acknowledgment, but the website miraculously came online. I went through the op

Update on Intex AquaFish

Last one week I explored AquaFish more. Found some nifty things too. PC Connection is great and working fine. I can send files to and from AquaFish well enough. Most of my media plays fine on AquaFish.  I checked the events view and there were some options regarding to customizing the Quick Toggles or the WiFi/BlueTooth etc buttons. I added brightness control there since it seems like the natural needed option there.  Besides this I successfully enabled developer mode and managed to connect the phone to installed Sailfish SDK and managed to run coupe of examples on the phone. One problem I faced was the SDK won't connect the phone when I tried connecting the SSH thingie(???) over USB itself. But then I connected both my laptop and AquaFish to WiFi and used the WiFi IP of AquaFish in Sailfish SDK, and debugging worked fine then. Don't know what the real issue is.  Anyway, going forward I side-loaded some APK's and tried to install few Android Apps like Flipkart, Amazon, WPS

Using Git with github

For last couple of weeks I am working on a small Income/Expense tracking application. It's a small pet project of mine. It's main purpose is for me to get familiar with latest features in QML and code for various scenarios in a live app. Recently I put together another point release for this - a version 0.3. Now I needed somewhere to keep track of it's development and manage changes better than a desktop folder and datewise backups. So I thought I should setup a Git repository for this. So I created a github account and created a repository. To import my project into this, I tried to use a GUI Client, gitg which I thought would be easier to use than stumbling around the commands.  Unfortunately gitg gave an error regarding .gitg-config something file. I didn't have time to shoot it down, so I used the five-six commands shown in github repository page to setup empty repository on PC.  The commands are: $echo "# UIApp" >> README.md $git init Initialized em

1 Year Anniversary of Nubia Z9 Mini

Right a year back this time I was frustrated with my Redmi 1S for not getting through the day. So much frustrated that I sold it to a friend's friend. To add to the cash-pile I sold my four year old Samsung Omnia W on Quickr. And then put in some more hard earned monies, and got this beauty on Amazon Sale with 33% discount.  It was a risk. Nubia as a brand was not well known. But I have used ZTE's back then and knew them to be solid devices. So I went for it. And now a year later, I'm still happy for that decision. The phone came with Android 5.0.3 with Nubia UI which I found to be crap, but the Camera was top notch. I have since shot more than 2000 photos with it and many of them are just superb. So much so that it convinced me to invest in a tripod. Another good investment. Anyway, couple of months in I ditched Nubia UI for Mokee ROM and haven't looked back since. Used Mokee 5.1 for a while, then moved to Mokee 6.0 and been using it so far. The phone's solid thoug

Thinking in terms of API

Soon I'll be completing seven years of career in IT. I have worked as a software engineer, then a senior software engineer, and for last one and half year as a team leader. And during all this time, I have encountered a number of problems. I have seen code of various quality, code that looked like spaghetti,  totally unmaintained and terror to make any changes to. I have also seen well maintained, well architectured code. I have seen C, C++, .Net, Java, JavaScript, PHP, SQL Procedures and shell scripts. I think I have seen more than enough. So while reflecting on all this and trying to apply my previous experience to my current work which is in embedded systems, I thought I need to think about API's and how to apply them to my work. Actually it shouldn't be a debate, API's are needed. To avoid mixing of various different functionalities, you need API'fied layers and clear separation between the various functions. But from what I've seen in embedded applicati

Adventures trying to share Laptop/PC internet to Sailfish

Well, I got hold of a high speed USB Dongle which I could connect to my laptop/desktop. But I couldn't use it's internet with Aqua Fish. So I thought I would try to share the internet and see how it works out.  1. Make laptop WiFi hotspot - normally it's effortless with apps like Conenctify,but on this current laptop I don't have admin access. Which means I can't do this using windows. But I have Linux on this too. So I rebooted and googled about WiFi hotspot on Linux. Got some decent instructions too. But it wasn't working. So after changing the WiFi driver twice, following three different tutorials, and finally finding out that this laptop's WiFi doesn't have any driver that supports AP functionality, I was disappointed.  2. Try USB Reverse tether on Jolla: The instructions were there. But people threw a number of disclaimers so I thought my phone's brand new. Don't wanna break it so early. Which means this was also a no no.  3. Try USB tether

Aqua Fish update

Two issues I noticed: One due to WiFi not connecting to WPA Enterprise network, I had the cellphone reset. After reset I entered my Jolla account credentials. After that I got notification for update. Except this is one update I had already applied. So Sailfish update may not be working well. Don't know. Second issue is seen when using the Android app store. I tried to update the apps but the download keeps getting interrupted. Don't know again whether its network issue or store issue or something else.

Intex aqua fish review

[Updates] --------------------------- 5-Oct: Just found out Sailfish doesn't support WPA Enterprise. So no office WiFi for me! Although it connects to plain WPA router. I checked this with my Tata DoCoMo WiFi dongle. --------------------------- Introduction Unboxing hardware The box looks good. Opening it you find a book like design which is delight to open. The box contains handset, 2500mAh battery, in ear type headphones, a power brick and a USB to micro-USB cable. It comes with an orange colored back plate which can be removed by lifting one corner. Intex has helpfully provided a sticker at the corner. The phone has quite a bit of footprint but is light in hand. Removing the backplate shows the dual Sim slots and the dedicated SD Card slot and battery slot. The battery is removable. But you need to remove the battery to insert SIM/SD cards. Display, connectivity, battery life The display is specified as an IPS HD display. It doesn't have any kind of glass pro

Why I hate windows

When you have a itty-bitty mail to send with your 100kbps connection, some godforsaken program crops up and gobbles all your little bandwidth starving your browser and making that mail a half-an-hour wait.

My App Usage

I tried to list my general app usage; and am going to try to compare this to apps on Sailfish OS. Will update this post in few days as I find Sailfish OS alternatives. App Categories: Android: Sailfish Archive Application: 7Zipper: ?? Download Manager: ADM: ?? WiFi/Bluetooth PC Share: Airdroid/ ShareIT: ?? Messenger: WhatsApp: WhatsApp(Android) ToDo List: ClearList(F-Droid):?? Compass: Compass:?? File Manager: ZenUI File Manager: ?? Browser: Firefox: ??(Inbuilt maybe?) Food Ordering: Foodpanda: Foodpanda (Android) Mobile Recharge: Freecharge: Freecharge(Android) GMail Client: Official Gmail: ?? Navigation: Google Maps, Here We Go, OSMAnd~: Here We Go Music: Internal(Apollo Music Player, Not Google Play Music):Internal Video Player: VLC: Internal(Will have to check support for various files) Office: WPS Office: Internal/WPS Office(Android) YouTube Client: YouTube Android: ?? YouTube Downloader: Videoder: ??(Videoder android ??)

Got Intex Aqua Fish!

Specs: Qualcomm Snapdragon 210 SOC 2 GB RAM | 16 GB ROM | Expandable Upto 32 GB Dual Standby SIM 2G/3G/4G connectivity 5 inch HD Display 8MP Primary Camera | 2MP Front 2500 mAh Li-Ion Battery Jolla Sailfish OS v2 Price:  Bought for 4499/- at Tata CliQ Online Store Will share detailed review soon.

E-Filing IT Returns

These last few years with the introduction of Aadhar and computerization of many government departments a lot of government related activities can be done online. As a law abiding common citizen you generally use at least following facilities: Property tax payment, electricity bill payment, Income Tax filing, police verification requests etc.  Out of these income tax filing was considered difficult and needing special accountants who made sense of various clauses and provided you with an optimized strategy for saving tax. But these days the various clauses are also cleaned up and made easy to understand, so with e-filing of income tax returns the whole tax paying and return-requesting process has become quite easy.  The income tax cycle for most salaried employees is as follows: You declare a investment declaration at start of your to your organization. Based on that declaration they calculate your tax for year and cut it from your monthly salary. This is Tax deducted at source(TDS). I

F-Droid - Open Source Android Apps

Recently I started feeling a bit tired of Google. Then a took a look at the amount of data I'm feeding google via my phone and I was shocked! There's record of every search I have performed, my app usage, my web activity, my location activity. I just thought that I need to decrease this info sharing.  So I started to look for alternatives to the google ecosystem. While ecosystem-wise there is just no replacement. Junking google from my smartphone will probably take out the smarts too. I mean I can minimize the google apps usage, but I can't get rid of play services, the many android apps that I use are very critical to my smartphone experience.  I use google maps/ Here We Go for navigation. I use MX Player for movies, BlackPlayer for music, use WhatsApp for chatting. These are some necessary apps. And if I remove GApps and play store services then I lose all of these. So these are going to stay. But I also need to find some replacements and then start removing some of these

Excel data to tree for org chart

I wanted to prep a simple org chart. After looking all over the net I found this nifty excel-sheet. http://www.cainhill.com.au/works/excel-to-tree Copy of the provided file is also available here, in case the link vanishes. https://drive.google.com/file/d/0BxorjNRCBW61RGRKZFgxMTg5Yk0/view?usp=sharing

Replacement File Manager for Android - Asus ZenUI File Manager

I have been using Mokee ROM on my ZTE Nubia Z9 mini for last six months. I got started with Android lollipop 5.1 ROM and soon moved to Marshmallow, while the stock ROM is stuck on 5.0.2. Generally this is the case with chinese OEM's but the phone is solid with more than one day of battery life, great camera and overall snappy response.  Anyway few weeks back I started seeing this file moving/ copying issue where the inbuilt file manager won't copy the files correctly. When I copied more than 1GB of files then it would fail to copy 1-2 files to memory card. This was infuriating.  I thought maybe it's the apps problem and tried ES file explorer. But with ES file explorer also I got similar issue. After using ES File explorer for about a month and noticing this issue a number of times, I decided to use some other file manager. Because this is a basic function and if a file manager is failing in this then there's some serious problem with the app.  So last week I stumbled u

HP Deskjet 2131 Use experience

HP Deskjet 2131 is a basic All-in-one printer. It supports basic inkjet color printing, has a scanner for scanning and copying features. Package: The package comes with the device, power chord, USB cable, driver CD-ROM, demo cartridges which can print 12-16 pages, a manual and warranty card. The warranty is one year for device. The original cartridges come with six months warranty. Operation: I tried few black and white and color prints and the quality was good. Black and white printing speed is average, but not bad. I have seen some older inkjet printers which take one second to print one line. This is not that bad. One thing this printer lacks is it doesn't have automatic paper feeder tray, instead you have to feed papers by hand. This is not a problem for occasional home printing but if you have to take number of prints then you would soon get tired of feeding the pages. The color printing speed is good. I have not yet printed any photos on photo paper. I have ordered some 4'

Upgraded Ubuntu 12.04 to 14.04.5 and then 16.04

My desktop at office was stuck on 12.04 for last two years. Recently I got moved to another project and the then critical collection of software and tools on the desktop suddenly became non-critical. So I decided to upgrade it. For last two days I pushed it through two distro-upgrades. And it has survived them and I can now use latest 16.04 LTS. Ubuntu is great!!!

Buying a Printer

Recently I saw that our combined printout count has risen quite a bit. So it would be good to get a printer. Then started a number of rounds of price and feature comparisons for a printer. Firstly there are two types of printers - laser and inkjet printers. If you look at the features a simple laser printer starts from INR 6K. A laser MFD(Multi-function device or all-in-one or Print-Scan-Copy) starts at 11K. I wanted a simple printer and a laser printer looked good. I could afford a 6K laser printer and didn't have to worry about ink cartridges drying if unused. But then wife raised requirement for scanning too which meant looking for a MFD. Now the problem was a laser MFD was outside of my budget so that meant I had to look for inkjet MFD's. I started looking for various products and the cartridge prices. The cheapest inkjet all-in-one was Cannon Pixma MG2470. It costed only 2.5K. But then I looked at the cartridge prices and found out Cannon cartridges are quite costly. The c

KDE Startup and AutoLogin

Image
Starting KDE from Command Line by startx By Zhiqiang Ma On Nov 29, 2012                 0 Keep updated Share on facebookFacebook Share on twitterTwitter Share on google_followGoogle Share on rssRSS I don't use xdm , gdm or kdm … I prefer my Linux booting to init 3 . I like logging in to the command-prompt and starting X manually with startx . In my Fedora Linux box, I always get to gnome even both gnome and KDE are installed. Actually the startx script is already written for most of the modern desktop environment. What we need to do is open the "trigger". The startx script in Fedora will read /etc/sysconfig/desktop for the "DESKTOP" variable (through /etc/X11/xinit/Xclients ) and starts the desktop environment depending on it. While the default value for "DESKTOP" is set to "GNOME" , we will get to gnome if we don't set the variable. When we want to startx to KDE we just need to add one line to /etc/sysconfig/desktop : DESK

gSOAP on Linux and Windows

gsoap v2.7.16 ./configure su - make   make install Then into calc++ dir: soapcpp2 -i calc.h g++ -o calcclient++ calcclient.cpp ../../stdsoap2.cpp soapC.cpp soapcalcProxy.cpp g++ -o calcserver++ calcserver.cpp ../../stdsoap2.cpp soapC.cpp soapcalcService.cpp This compiles calc client app and calc server app. execute calcserver++ and after that execute calcclient as ./calcclient++ add 3 3 result = 6 Note: There's some delay observed. ---------------------------------------------------- with modifications to calc.h; calcclient.cpp and redoing all above steps from soapcpp2 -i calc.h; and running calcserver as #./calcserver++ 80 in one terminal and calcclient as $./calcclient++ add 5 6 gives correct output. So gsoap is working in Linux for both client and server. =========================================== Now to Windows *** using available binaries in C:\gsoap-2.7\gsoap\bin folder. Added soapcpp2 binary's path to PATH variable. Next using Visual Studio 2005 Command prompt; got to c