A co-worked gave me this URL today for low-cost magazine subscriptions. As much as I like to read (and save money) this could be a lot of fun.
Alvin Alexander | Java, Scala, Unix, Perl, Mac OS X
Yahoo keeps a list of Mutual funds that are sorted by several categories, including one that I'm most interested in: Mutual funds ranked by top performers.
LaTeX question: For a technical document I'm creating with LaTeX, there are a lot of sections that have a repeated/consistent format. This is exactly what I want, but for a 160 page document, I ended up with a 15-page table of contents (TOC). Is there are way to control the "depth" of the table of contents?
After a little research ... yes, I can. Here's some sample code that I put in the LaTeX preamble, just before the
After days of deep requirements documents and use cases, here's a LaTeX FAQ that was most useful: The UK List of TeX FAQs. (Cheers)
Here is a brief list of UML-related products for the Java environment. Some may work with IntelliJ or JBuilder ... I'm about to find out. My *real* interest here, however, is in reverse-engineering source code into sequence diagrams.
I got back to working on my anti-spam program again two nights ago. I included a lesson learned on the growth of a software application here.
It's interesting how, when a software program grows, it may not evolve exactly as it should.
I was working on my anti-spam program two nights ago, and I noticed it had this growth problem. When I first starting creating the program it was supposed to mark email messages w/ varying levels of suspicion, kind of a Bayesian algorithm. But, in practice, I found that this wan't really necessary; a message was either spam, or it wasn't.
However, as my program grew I ended up leaving code in it like this:
Linux sed FAQ: How can I use the
sed command to modify many files at one time?
Here's a Linux/Unix
sed command file that I just used to modify a bunch of files:
s/^M//g 1,2d $d
I put those three lines in a text file named sed.cmds.
After that, I call that sed script from a simple shell script. Here are the contents of the shell script:
One of my co-workers told me about a cool Alphaworks project that can analyze the structure of a Java project, and report interesting structural metrics/stats. I just found the project; it's named "Structural Analysis for Java".
I don't know of any direct commands to do this, but this
cat command works:
You can also take a look at the uname command, which can provide a lot of Linux version information.
I've created a list of some common vim commands that I need to remember. The most important of these vim commands are related to vim syntax highlighting, auto-indent, and showing line numbers.
Here's a short list of these vi commands, all of which can be issued while you are in vi "command mode":
There are dates/times like last night, and again this morning, that my unified theory of software development seems to be coming together. My latest concepts, documented here just so I won't forget them :), involve:
Here are a couple of links as I found yesteday as I continue my personal "software quality" quest:
Here's the source code for a Java memory eating program I've written. Its purpose is to consume all of the memory (RAM) on a PC. It tries to allocate 1 MB byte arrays until it runs out of RAM.
It's a Struts world after all. Two useful Struts links from this morning:
Java spell checking FAQ: Can you share a Java spell checking example?
Java spell checking FAQ: Can you share some source code for a Java spell checking example?
Here is the source code for my first test program with Jazzy, a Java spell checking tool. This is taken straight from one of the example programs distributed with Jazzy.
Java spell checking with Jazzy
Here's the source code for this first Jazzy Java spell checking example: