<< January 2010 | Home | March 2010 >>

BufferedInputStream's Default Buffer Size Compared to Moore's Law

2nd in a series of posts about java.io.BufferedInputStream's Default Buffer Size
Bookmark and Share

BufferedInputStream Default Buffer Size Series: Previous | Next

We can see that Java's BufferedInputStream (BIS) default buffer size has grown over time. I thought it would be interesting to compare it against other metrics in Computer Science, the most famous of which is Moore's Law. From Wikipedia:

Moore's law describes a long-term trend in the history of computing hardware, in which the number of transistors that can be placed inexpensively on an integrated circuit has doubled approximately every two years.
So, taking the data points from general purpose CPUs released during the years since Java's debut, I composed the below graph.

(Larger Image)

In the next post I'll be comparing BIS's default buffer size with the size of hard disks over time.

BufferedInputStream Default Buffer Size Series: Previous | Next

ASCII Art Text for Remote Server Login Greeting

A silly customization that warms my geek soul
Bookmark and Share

Every time I log into "my babies", I'm greeted by some ASCII art text. It serves two purposes:

  • Let's me know which server I am on, very visibly
  • Creates a sense of pride and ownership, having a flamboyent login

This is what it looks like:

To accomplish this masterpiece of engineering, I simply went to the Text Ascii Art Generator from patorjk.com, generated my desired text, pasted that into a file called .name. Next, it was just a simple edit of the .bashrc file in the home directory and have it spew out the contents of a file named where the ASCII art lives.

   cat .name

Ta da!