Skip to main content

Posts

How I resolved "Unable to access the computer ***. The error was: Invalid syntax" error

If you have recently installed Service Pack 1 in your existing Windows 7 box, chances are you might be getting this doom error. You see, I can't really tell you why you are getting this error but Microsoft should. To keep this straight, I got this error because I installed service pack 1 on my development system. Yeah service pack is good and I think it exists to make things better. Just like Zedicus Zuul Zorander said in the TV series "Legend of the seeker(s)", "The greatest harm comes from our best intentions". I installed SP1 to improve my system but instead of improving it, it poked my eye and made me blind for weeks. Who would have thought that the problem that crippled my Sql server, denied me administrative privilleges and many more important stuffs had resulted from the SP1 I installed. Thank the lord that I love keeping track of my system's health by viewing event logs and knowing which software installation stabbed my back and th...

How to resolve 'Object Already Exists' error when trying to install a software

You tried to install a software you have never installed on your system before, instead of installing smoothly, it showed you an error saying "Object Already Exists" or you uninstalled a software and try installing it again and it showed the same error even after restarting your computer to ensure the uninstallation process was complete and your computer is clean of any leftover file from the software which was uninstalled. Well, I encountered same problem, got it resolved and thought I should share. Resolving this issue is as easy as uninstalling security update KB2918614. But wait... security update? Yeah, what do I care, I feel secured and benefitted more when this update is off my system. Thanks for reading.

HOW TO WRITE, COMPILE AND RUN C++ CODE ON LINUX KALI

Developing a C++ Program on Kali Linux Without Installing Additional Software This article is for hackers who want to develop a C++ program on Kali Linux without installing any additional software. Some might say you need to install a separate compiler or extra tools to write and run a simple C++ program on Kali Linux. However, I’ll show you how to do it right out of the box. Pre-installed C++ Compiler in Kali Linux Kali Linux comes with a pre-installed C++ compiler called g++ . We will use this to write and compile a basic "Hello, World!" program. Step 1: Check if g++ is Installed Open your terminal and run the following command: g++ -v If the compiler is installed, you should see version details. If not, you will get an error message. Step 2: Create a C++ File In your terminal, type: nano MyCpp.cpp This will create a C++ file and open it in the Nano editor. Step 3: Write the C++ Code Once Nano opens, enter the following C++ code: #include <...

FUNNY THINGS WORTH LAUGHING ABOUT IN THE TECH WORLD.

You know, I am really a big fan of joke books, but do you know why I stopped buying them? Because a lot of things I see in my day to day life as an IT guy is worth laughing about and I am going to share a few of them in this post. I was telling a man that I love writing, that I also own a blog which anybody with internet connection can visit and read. The man said "Really, that's very interesting now how much do you charge?", being so confused, I replied "Beg your pardon, Sir", he said again "How much megabyte do you charge?", wetting myself with the soft drink I was drinking, I slowly replied "It's free, Sir", he said "Well that's very generous of you, please write down the address here.". On my way to work the next day, the man saw me and ran towards me saying "Stop there you son of a bitch, do you computer boys ever say the truth? You told me your blog was free, I had 10 megabyte internet data on my phone, by the t...

HOW TO APPLY FALLING TEXT EFFECT IN A CONSOLE PROGRAM WITH THREADING IN C#

"A thread is defined as the execution part of a program. Each thread defines a unique flow of control. If your application involves complicated and time consuming operations then it is often helpful to set different execution paths or threads, with each thread performing a particular job.", says the smart guys behind Tutorials Point.Well, our program is not going to be complicated and we are not going to be performing any time consuming task, we are rather going be creating a camouflage application that gives us the effect similar to what you get when you ping a site or an IP address with the "-t" option in cmd or the effect you see in movies like Blacklist, 24, Person Of Interest and the likes.Now let's stop the ranting and get started.We are going be building this application upon our existing code, one we started in the previous article "How to grammatically Change the background and foreground color of a console Application".Now open up the code in...

ARE YOU BUILDING ARTIFICIAL INTELLIGENCE?

I recently got a job of which my responsibility was to maintain a c++ based code. The first day I resumed, my task was to trim the code i.e. making the code shorter with the same functionality and a better performance. Everything was going well, methods or functions with 50 to 60 lines of codes were trimmed to be 20 or 30 lines. Just then I stumble over this class file and was amazed at what I saw, what was it? it was a function containing containing about 3000 lines of codes with no documentary comment. Yeah!, whoever wrote this is a genius, but wait..., was he? I didn't think so because about 90% of this 3000 lines was made up of a very looooooooooong IF-ELSE statement, then I asked myself, what was this guy trying to build, Artificial Intelligence System? This was just a Hotel Management code. Please my friends, basic programming knowledge is very important, if you are the kind of a programmer that does this, go back to your language and  learn it to the bone also learn to ...

Why Linux?

I am not really an Operating System expert so I can't just tell you the reason why you should use Linux OS instead of Windows. I have come to realize that there are two Operating Systems I can't do without, these are Linux and Windows. Sometimes, I want to choose one out of these two Operating Systems and I often find that there is a feature present in one which is not in the other. I have been a Windows user all my computer life, now one would ask why Linux?. In Windows, there are things I'd want to do that are not allowed or not available and as a Windows user, you are always a prey to Linux users. Windows is a great OS for me because I do all my programming tasks on it and there are many good software development tools available for Windows, in addition, it has the largest user base, as a developer that means I have more people to run my programs as soon as they are developed. Linux is an Open Source Operating System for everybody, but people seem to shy away from it b...