I enjoy writing posts to some of my blogs. However sometimes it is a real chore. I want to add some value and provide some pictures for a bunch my blogs. But who has the time? Hey. I am a computer programmer. Why don’t I write a program to do this for me automatically? I shall call this project “Auto Blog”.
At first I think that I will just write a program that mimics me. In other words, the program will start my web browser. Then it will type in my Blogger account and password. It will upload some pictures. And it will type away in the browser. This is almost like a virtual me. It also seems like it will be a lot of work. I might be able to handle writing a program that mimics what I would write. But it will take some time to make the web browser think the program is me typing away at the keyboard and clicking the mouse.
So I do a little research. There must be a way for my program to communicate directly with Blogger. I find that there is. Blogger has an API that programmers can use. It even does this via XML which I want to learn as a programmer. If you do not know what XML is, don’t worry about it. I start to dig into the details of how to make my program communicate with Blogger. Then I find a critical piece missing. There is no way to programmatically upload images.
Ouch. That was the whole point to my Auto Blog. I want to share a lot of images and post some commentary with them. I guess I will have to go back to the drawing board. In other words, I need to take the path where the program simulates me typing on my keyboard and clicking my mouse. This is the hard route. I figure that the good things in life do not come easy. This is a prime example of that principle. Go me.
Reproducing a Race Condition
-
We have a job at work that runs every Wednesday night. All of a sudden, it
aborted the last 2 weeks. This caused some critical data to be late. The
main ...