Category Archives: Software

Attributes in Java

Yes, Java has them. They are called annotations. Finding a complete example is hard to find on the web. But this is how you use them to give a real-world example of reading and parsing TIGER EDGE DBF files using … Continue reading

Posted in Software | Leave a comment

Why I hate Java

It is my sincere advice to anyone working on a new project to stay away from Java if you have the option to do so. Java will make your life miserable and kill your productivity. You will no longer enjoy … Continue reading

Posted in Software | Leave a comment

Print numbers in spiral order

Write a program that takes as input a positive integer N and prints out numbers 1 to N in spiral order. The number 1 is at center of the spiral and the numbers spiral outward counter-clockwise. E.g. if N = … Continue reading

Posted in Software | Leave a comment

Jagged vs rectangular arrays

http://www.dotnetperls.com/jagged-2d-array-memory http://blog.mischel.com/2013/05/08/are-jagged-arrays-faster-than-rectangular-arrays/ The two-dimensional array will result in less work for the garbage collector, but can be slower when accessing elements. A rectangular array consists of a single allocation of size rows * cols * element-size, plus about 50 bytes … Continue reading

Posted in Software | Leave a comment

Random Articles

http://yosefk.com/blog/why-bad-scientific-code-beats-code-following-best-practices.html https://whathecode.wordpress.com/2011/02/10/camelcase-vs-underscores-scientific-showdown/ http://yosefk.com/blog/ihatecamelcase.html http://yosefk.com/blog/c11-fqa-anyone.html http://yosefk.com/blog/the-c-sucks-series-petrifying-functions.html

Posted in Software | Leave a comment

Software Development in a big company

https://msdn.microsoft.com/en-us/magazine/dn973009.aspx To give you some perspective, a week before I started working, I was writing about 2,000 lines of quality, production-level lines of code a day. After my first week of work, I had written about 10 lines. Which didn’t … Continue reading

Posted in Software | Leave a comment

How to prevent certain programs from automatically starting up when you log on to Windows?

i have tried this on windows 7 1. Run “msconfig“. 2. Click the Startup tab.

Posted in Software | Leave a comment

Image Randomizer

Yesterday I had the idea of making a toy program that would randomize the pixels of an image i.e., pixel (i,j) would be shuffled to appear at a random location (k,l) in the image. In other words, the program creates … Continue reading

Posted in Software | Leave a comment

Windows PATH FAQs

Is there a command to refresh environment variables from the command prompt in Windows? How to update PATH variable permanently from cmd? Windows List all environment variables from command line?

Posted in Software | Leave a comment

Map with latlong grid

https://dl.dropboxusercontent.com/u/74728667/latlonggrid.html

Posted in Software | Leave a comment