I have been working on other people’s bugs for the last couple of weeks and it has been a terribly painful experience. This has been a great experience which has taught me a lot of corrective measures for the roadmap ahead for me. Some basic observations are
- Not everyone can program or should program – Conceptually it is really easy to type in read a tutorial or 2. But what i saw is pure torture for a guy like me , you need some talent to write a decent application.
- Bad deadlines always means bad code – I come from a difficult school where we more often than not had hard deadline on coding. More often than not best practices go for a toss when you do not set realistic deadline.
- Not all developers can be good managers – Very obvious , but unless one can see it in practice all is theory i would say. This is confirmed after repeated experiments
- Focus on the meat, rest is crap – People start focusing on the fringes far too often, look into the core and there is so much to be done always. It does seem that fringes are always better for the ego and easier to handle.
- Hiring people from good schools does not cover up older issues – It really unfair on “people” from good schools to have to clean up the mess, hire well from start and focus on building a clean application if not a “high performance” one.
Thats all to be honest, there will be always more to say. I have always believed that the mistakes are on both the sides when things fail (some more than others although), but these are things which are observed over a variation of organisation and individuals.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;
using System.Web;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
System.Net.ServicePointManager.Expect100Continue = false;
Uri address = new Uri(“http://twitter.com/statuses/update.json“);
// Create the web request
HttpWebRequest request = WebRequest.Create(address) as HttpWebRequest;
request.Method = “POST”;
request.ContentType = “application/x-www-form-urlencoded”;
request.Credentials = new NetworkCredential(“username”, “password”);
StringBuilder data = new StringBuilder();
data.Append(“status=from%20.net”);
// Create a byte array of the data we want to send
byte[] byteData = UTF8Encoding.UTF8.GetBytes(data.ToString());
// Set the content length in the request headers
request.ContentLength = byteData.Length;
using (Stream postStream = request.GetRequestStream())
{
postStream.Write(byteData, 0, byteData.Length);
}
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
{
// Get the response stream
StreamReader reader = new StreamReader(response.GetResponseStream());
// Console application output
Console.WriteLine(reader.ReadToEnd());
}
}
}
}
Code to post on twitter and kwippy using this simple C# program
. Njoi.
Well, for lack of better topics i will take this opportunity to talk about some cool things that i have started to learn namely the .NET platform. The best part is that i finally get exposed to complete GUI based tools to do nearly everything, (i am sure i will find a way to do most things on the commadline).
Well new things and seems i need to scale than the applications i work on
. More soon.
To be honest, I am a very conspiracy theory kind of a guy. Always believe things after i can validate certain things personally, that invariably leads to me getting too involved (call it the observer effect). But then again there are certain things that are much bigger than me which i believe are absolute frauds, i will state some of the most obvious ones.
- Humans landing on the moon (yeah right, NASA is struggling now … wonder why they need to design what already works)
- NGOs are for the greater good (from what i hear they are only for their own good, time we stopped using the tax payers money for them)
- Net neutrality (impossible, DNS servers still in the USA … the point is lost on me as to how is it fair, internet as we know is still very much controlled by americans)
- United Nations / World Bank are global organizations (now that is just BS, if we see the UN with its veto powers …. its useless. World bank apparently is another story all together)
Those were some of the more objective visible things what i feel are *not working* or working for the benefit if very few. To fix all this will require a lot of work from all quarters of the Earth (especially the super rich developed nations who just messed up their gambling business … read investment banks). Anyways more capitalistic world views on the other side.