Cows VS Aliens Milk Points

Since I haven’t posted anything lately,
I have something random that interested me and that searches on GOOGLE has not helped.

Cows VS Aliens. Pretty fun game. 0.99$

You need moar Milk Points (MP)? No problem. Read on.

Continued reading >

Playing with Jars

Recently, I came across a problem when updating a jar file.
How does one update a jar file with a class file using a particular packaging?

So you have a jar file named foo.jar with two elements in it, a package (fooPackage) containing multiple class files and your manifest.
You also have a class named bar.class that is packaged by fooPackage (*see bottom).
Do you think this will package it correctly?

>> jar uf foo.jar bar.class

No. Not really. It adds bar.class to foo.jar without a hitch, but does not keep your packaging path. Instead, it adds bar.class to foo.jar, but outside the package path you want.
If this was a stand-alone java application, this will not reflect your changes when running.

With this being said, I turned to a few external solutions to solve this problem.
After hours of frustration with a few programs (ie: DJ Java Decompiler), I finally ended up using WinRAR that did the trick and placed the bar.class in the correct package path (graphically).

*Note: When I say packaged by fooPackage I mean that the .java equivalent of bar.class has the code: package fooPackage;

IBM IPATO

IPATO – (Information Processing Aptitude Test Online by IBM)

Interesting little aptitude test lasting about half an hour.
It’s main purpose is to get an idea of how fast your mind can handle things.
It included three main sections, matrix manipulation, numerical reasoning, and number series.

  • Matrix manipulation isn’t exactly matrix manipulation… it was more-so of a test of how fast you can follow their simple manipulation instructions.
  • Numerical Reasoning included standard testing questions. (Most questions easier than others). To prepare yourself for this section, go study for the GRE or something similar.
  • Finally number series. This is something either you get right away or you don’t. This is the one that has the highest time constraint, and people will either do very well on it (and finish with a few seconds left), or simply not finish at all.

You are timed. Which naturally adds pressure.

Notes:
Prepare yourself with some empty matrix boxes for the matrices section.
Study numerical reasoning sections similar to the GRE.
Take it when you’re relaxed and ‘in the zone’.

GNU Crypto Usage Example in Java

So, how would one implement a cipher using the GNU Crypto algorithms?

First things first, get the jars at the very least.

Next, to ensure that your implementation of the Cipher in Java will work on all Java releases, ensure that you have the Base64Encoder file locally located within your project.

From here, a good modified working example can be found here:
Continued reading >

Technology Explorer

Hi all :),

yes, it still feels mandatory to greet an audience of nil.
So far, I am currently under Undergraduate Capstone Open Source Projects and working on the Technology Explorer for DB2.

But wait? What is this Technology Explorer anyways?

The Technology Explorer for IBM DB2 is a light weight, web based console for DB2 that helps you learn about DB2 using demonstrations and tutorials. The TE is designed from the ground up to be easy to use and customize to suit your needs.

Great piece of software, and I’m glad I was placed on this team.
It’s interesting how much one can learn from only a few days of peering into the code base.

Anyways, recently I have been working on the export functionality for the Ad Hoc SQL area of the Technology Explorer, which essentially turns results from the database into a format that the user wants.
At the moment, it supports html, xml, and csv.

If this chapter of work is done, I will be moving on with my life towards expanding the Technology Explorer to MySQL Db instead of being only isolated to IBM’s DB2.

Links: Technology Explorer

Welcome to my site.

If you are reading this posting… then You’ve come at fabulous time!

Why?

Because this experienced software developer is about to graduate
and is ready to contribute to YOUR company!

(That is right, this is blatant self-promotion HA!)

If you’re seriously interested, check the rest out on my About page

Sidenote…
I’ve tried to make this website as clean as possible! But with all those theme’s to pick from, it was ridiculously hard to pick. I hope this theme works out… I like clean websites…  and clean code 🙂