Thursday, August 27, 2009

mainframe, I hardly knew ye

Here is a little bit about the IBM mainframe.

The mainframe is considered "dead" or dying or whatever. That's all well and good, but to paraphrase Twain, "news of its death has been greatly exaggerated." I program on the mainframe (via ISPF/TSO) most of the time. I do some java work as well, but we have batch systems that do a lot of stuff on the "big iron" as the old-timers like to call it.

To me, it's all the same. I don't mind programming in either world because really, it's the problem solving that I enjoy about coding, not the technologies per se. On the "green screen" I don't enjoy only being able to see 24 lines of code at a time, that is tiresome. On the newer stuff, I'm annoyed that perfectly good systems have to be re-written because their codebase is going out of support. There is shit running on the mainframe that's been there forever. And that's comforting.

At any rate, I've been doing this for 10 years and you know how it is . . . you're somewhat constrained by the code which precedes you. "Oh, I have an example of that job in my workpds." So you copy it and that's the thing you use when you're doing task A. I was/am no different.

Flash forward about 8 years. I'm working on a QMF (Query Management Facility - ISPF application which interfaces with IBM's DB2 database product) report and discover that QMF can call REXX scripts. What's REXX? It's a scripting language. And it works on any computer that IBM makes - including the mainframe. And, quite frankly, it's freaking awesome. Not the language, per se, but the fact that I *FINALLY* figured out how to use it. I'm not going to go into all the details now (this post is already too long), but how about an analogy for now? It's like having a hammer your whole life and then someone suddenly gives you a screwdriver. Sure, you got lights-out awesome with that hammer and hell, you'd even use it to screw shit, but wow does that screwdriver make things simpler.

Posts to follow detailing what I've discovered. It was kind of like finding the nose on my face, but better late than never, right?

Tuesday, August 25, 2009

larry don't read this twice

Well, I've been all panty-twisted tonight trying to find my super-secret, ultra-fun fantasy football draft spreadsheet. This spreadsheet is directly responsible for in-excess of 1% of any winnings I've ever had playing fantasy football, meaning it's netted me about 5 dollars.

But, the spreadsheet, she is comforting. She also took a really long time to develop and will fill out a person's team as it goes, on a separate "teams" sheet. If you do any work with excel, you can appreciate that it did not take five minutes. In fact, it took a lot of man hours, no doubt. And no doubt, my company would be very upset if I were to lose all that work, because, truth be told, I did a lot of the "development" at the office one year. I figured, hey, it's like work, right. It actually was and I learned a lot about excel. Unfortunately, I have yet to apply any of that new-found knowledge. Oh well.

At any rate, my yahoo email account saved the day. I had a version of it in the way-back sent folder. And much gnashing of teeth subsided. The moral of the story is, save everything. Times 10. I have an external disk, a couple of redundant disk/partitions (ok, I haven't raided them yet), but it's best to keep things in multiple places. Next step is remote storage.

Storage is cheaper by the day and losing stuff is annoying and costly to recreate. Knowing this, I've also been on a kick of trying to only create simple text files. I figure, these will be forever durable, or at least much easier to recover when all our applications have fallen into the dustbin of history.

Monday, June 22, 2009

FUBAR

Mainbox here in the Rogman's cave is totally wiggity-wack. Mainbox is, well, my mainbox (that's what she said). It's the one I use for being media server, burning cds/dvds, interfacing with my external hd, etc. I have been dual booting on that machine for a couple of years now. XP + a Linux, usually Ubuntu.

Well, things here were all sunshine and lollipops until the fateful day I got a SATA hard drive. Part one of the problem is my XP installation CD is from the year 2000, I believe. Way back then they didn't have SATA technology so XP install disk sees the drive as like a quarter its actual size (imagine its embarrassment!) and I guess kind of knows what it is, but maybe not.

At any rate, after getting XP installed/running, if I try to partition for Ubuntu/shared data partitions all hell breaks loose. I can't log into Windows (BSOD) and the windows partition gets hosed. This is all slightly over my head. I think I might need to install the SATA drivers as a 3rd-party add on either via the floppy disk I don't have or rolling them into a custom XP installation disk.

Bottom line: Incredible pain in my MBR.

Monday, June 1, 2009

writing this post via kubuntu

And I'm installing Ubuntu over it as soon as the iso is done downloading.

I was switching things around in my machine and added a SATA hard drive. I had a live cd of Kubuntu and in general like the KDE4 look-and-feel a lot more. It's polished, whereas I feel like Gnome is kind of clunky. This is of course just a personal opinion.

That said, I feel like Kubuntu is much slower. And I feel it's especially so when using firefox. At this point in the age of computing, that's not acceptable. The web browser is a primary interface and sitting around waiting for clicks to register isn't feasible.

So, Ubuntu goes on and if that sucks too it means I accidentally replaced a SATA cable with a carrier pigeon or something.

UPDATE:

Yes, Ubuntu seems like it's a lot faster than Kubuntu. Is this known? Is there any reason? I'm disappointed.

Welcome!

I have a blog that's per se stupid at Marginally Clever.

The stupidity in this blog, on the other hand, will be purely accidental. It's merely a place for me to write about my misadventures in computing. I tend to get a project in mind, get really excited about it for a few weeks, (un)successfully complete it and then don't use it to execute my plans for world domination as I originally intended. It'll also serve as a place to document those things I have to do so infrequently so as to forget how, but remember what.

Fair warning: I am not smart. I code for a living, but I'm no expert. If I post something that "works," it's by no means a recommendation for the method.