If you don’t get this, I pity your children.

why aren’t there daisy chainable USB drives out there?  for example; i buy two 4gb thumb drives, and i plug one into the back of another.  8gb drive in the eyes of the computer.  no complicated raid array setups, the drive controllers handle the file manipulation for you so you have 8gb of space.  you could plug either one into a computer and see all the files on it without any setup.

seems like a damn good idea to me.

back story: i’m excited about starcraft 2 coming out soon, so i reinstalled starcraft and broodwars to refamiliarize myself with the game.

how in the living shit can this game be beaten, playing single player against the computer?  i’m not talking about the plot missions or the episodes or whatever they’re called.  me vs. computer, like multiplayer, but versus the computer.

  • computer knows where I am; doesn’t ever have to look.  why is that exactly?  I know because he sends about a dozen soldiers at me after 45 seconds, every time i play.
  • how the hell does the computer build so damn fast?  artillery in the 2nd wave?  give me a god damned break.
  • i focus on producing zerglings as fast as possible, fuck vespene, fuck anything else; get enough drones to gather minerals fast enough to make zerglings as fast as possible.
  • i can survive the first wave, but the second, that fucking computer has artillery already, i haven’t even put up my hydralisk den yet.

blizzard; make starcraft 2 playable.  please?  for someone that doesn’t dedicate their waking life to strategy theory?  please?  i beta tested broodwars for you and i complained about this then.  fix it?  you haven’t yet.

WE DON’T ALL PLAY THIS GAME ENOUGH TO PERFECT OUR FIRST 60 MINUTES OF PLAYTIME.

I have dual 1600×1200 monitors at work, rotated into portrait orientation.  That’s a lot of desktop space, and I love it, however searching for 2400×1600 wallpaper on the Internet has proven fruitless.

There are lots of 2560×1600 monitors out there, and unsurprisingly lots of 2560×1600 desktop wallpapers.

Since I’m using dual monitors, there’s a screen gap between the two monitors, where the two monitors touch, and it happens to be pretty close to 160 pixels wide, if pixels existed there. 

So it seemed reasonable to me to find a way to transform those slightly too large images into images that accomodate the physical space between my monitors as well as the different screen resolutions.

Here’s the Java I wrote to turn 2560×1600 into 2400×1600.  This does more than a simple crop – it cuts the center out of the image so the split occurs where the physical monitors separate the logical desktop space.

package wallpaper;  

import java.awt.Graphics2D; 
import java.awt.image.BufferedImage; 
import java.io.File; 
import java.io.IOException;  

import javax.imageio.ImageIO;  

public class FixWallpaper {  

    public static void main(String[] args) throws IOException { 
        String file = args[0];  

        File original = new File(file); 
        BufferedImage image = ImageIO.read(original);  

        int width = 2400; 
        int height = 1600;  

        BufferedImage left = image.getSubimage(0, 0, 1200, 1600); 
        BufferedImage right = image.getSubimage(1359, 0, 1200, 1600);  

        BufferedImage completeImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); 
        Graphics2D g2d = completeImage.createGraphics();  

        g2d.drawImage(left, 0, 0, null); 
        g2d.drawImage(right, 1200, 0, null);  

        String fName = file.replaceAll(".w+$", ".png"); 
        ImageIO.write(completeImage, "PNG", new File(fName)); 
    } 
}
Follow

Get every new post delivered to your Inbox.