Website Access Regained

So after two calls to tech support and a half hour straight on the phone, I can finally log into my ISP web account again so I can delete some pictures and fix some broken links on my bookmarks homepage. yay. my account was seriously broken–somehow the master account had been turned into a sub-account off the new main account, and the homepage account is no longer linked to the “real” master account so I can’t do password lookup, but after having them reset the password twice and logging into the ftp server with the router unplugged and then hook it back up again, it all works just fine, go figure.

Can’t Log into my Website

In some way this is vaguely amusing… so I can’t log into my isp webpage space to update one page because it says “login incorrect”, presumably because my password is incorrect. I’m pretty sure I know my webpage space username because its in the URL to the webpage, so its kinda hard to forget. I’m about 90% positive about what the password would be…but apparently that’s not it, or the account is somehow disabled…

So I thought I’d be all smart and use the “username/password lookup” tool, and make sure I knew the password for the webspace. All you have to do is enter your master account username and password, and press submit… aaaaand… well, apparently the master account for my account is no longer the master account. I’m not sure how that works because it is (or should be) the SAME username as is pre-printed on the installation receipt–it doesn’t just change on its own… So I’m not exactly sure what my master account is if its not the account they told me was the master one…

Unfortunately that’s a “billing or password issue” so I can’t get help from their web-chat support, I have to wait for hours the office is open, which I guess I’m lucky they *do* work on saturdays…

I have a domain!

I am now the owner of my own domain name. hehehe 🙂 For the time being I have it redirecting to my old website on tripod, but with some php hosting coming up…I may do some redesign on my website 🙂

Dates in Java

how to get a non-deprecated time in java:

Date dateFromMessage = new Date(msg.getTimeAsMillis());
String expectedDateString = “1/19/05 2:50 PM”;

DateFormat d1 = DateFormat.getInstance();
d1.setTimeZone(TimeZone.getTimeZone(“America/Los_Angeles”));

String dateFromMessageAsString = d1.format(dateFromMessage);

dtm.publishSubtestResult(
dateFromMessageAsString.equals(expectedDateString),
dateFromMessageAsString + ” == ” + expectedDateString
);

Doh! of the day–stupid but legal…

Interaction interaction = null;
new Interaction(
i, j, k, l, m, n, o
);
return interaction;

note to self: don’t do that

Long Day At Work

Long day at work today…I was supposed to leave at 6:10 or so….didn’t end up leaving until about 6:50. “oooh, lets just try and continue to figure out this one bug before leaving” is about how it went. I kept causing a jar file to throw an exception–an exception in something that theoretically should be stable tested code that we do not have the source to. Well, after looking at every possible thing I could be doing wrong (is my array really the right size, there’s no nulls getting passed in, etc), we finally took to de-compiling the error causing file, and found a rather suspicious line of code where it was iterating over the array giving me an exception using the wrong variable–well, that’s great, means its not my code that’s wrong–but that doesn’t recompile the jar into working code…Might be able to temporarily work around the problem by changing how many items are in the other array…

my chairs are spawning!

I find it vaguely amusing that when I started here I had one chair. I was complaining one day that I didn’t have a guest chair, and some guy I didn’t really recognize (who no longer sits near me) gave me their spare (albeit slightly broken–the armrest is really crooked) guest chair.

A while later, a facilities guy came to bring the guy in the office across from me a guest chair–but apparently he didn’t need it, and the facilities guy didn’t want to take it over to the other building, so he said “here, have a guest chair” and left it. Then my chairs were in happy equilibrium for a long time.

Then some people started borrowing my guest chairs to take to staff meetings in Mary’s office. My two guest chairs would disappear for a few hours, and then reappear a few later. They happily came and went at will. And all was good.

Eventually one day I was sitting in my cubicle, and noticed something odd–rather than one chair behind my desk and one in front of it -or- two chairs in front of my desk and none behind it, there was now one chair behind my desk and two chairs in front of my desk. The old guest chair brought home a twin. “Wait, there’s one too many, where did that one come from?” I thought to myself, confused as to how long the clone chair had been there, and how it replicated itself into such an identical copy, complete with the funny armrest)

No one nearby has come looking for a missing chair, so in my cubicle the clone has stayed, happily running off its own to meetings in Mary’s office every now and then, only to reappear later–it always seems to come back. But its not like my cubicle doesn’t have room for spare chairs…so I guess it stays?

Commenting Out Code

I think I scared myself, when in normal conversation(and by normal, I mean normal for a software engineer), I used the word OBERON. Yep, that’s right [the bane of my existence back in compilers class in college]. And not only did I say it, I was complaining that Java is not more like Oberon.

“If only Java allowed nested comments like oberon…”

Because, as it seems, Java does not appear to have any embedded language features that let you quickly and non-destructively comment out a large block of code which includes /* c style comments */, function headers, and does not necessarily compile where you are teleporting it to. If it were C, I could just add a #if(0) around it. Two short lines, and the entire function is commented out, non-destructively.

The only way I’ve successfully commented out entire functions is the macro and/or search and replace beginning of line technique to slash-slashify every single line. But that’s ugly ugly. ESPECIALLY when the file already contains //ified code, which is NOT my doing…and you can’t tell them apart. So then you start having to do something really ugly like //JRW// as the prefix for each line. Couldn’t I just if-zero it all out of my hair? I don’t want to be spending my time right now figuring out what includes I need, and what to do with these paramaters, and local variables I don’t have here…

or if only you could do nested c-style comments like oberon. (* cuz comments like this (* could be nested and *) that made everything happy, cuz you could comment out code with comments in it…and easily and cleanly… *)

First Day Back after Vacation

First day back at work after vacation is always nuts. Inbox overflowing with mail, most of which was urgent–at least, it was last week, but is past due and/or therefore no longer urgent. We have self-evaluations due in a couple days–and I wasn’t here last week to work on that, so after an hour or so of doing nothing but reading all the emails, and then spending a half hour making a list of all the things I need to be working on and take care of…I spent anohter half hour chasing around trying to track down my last year’s performance evaluation to get a copy of the goals I was supposed to explain whether I met them or not.

Other than that though, its been a pretty quiet day, no people dropping by to pile more work on my desk because they’re still all in “is she still out on vacation?” mode. The stuff I’m working on right now in Java (instead of C), which is cool, cuz oooh, *drools at being able to do real code reuse without copy/paste*, but at the same time is really ugly because Java does not have unsigned data types. Ohh, but they do have unsigned bit shifting–go figure that one. So its a new and different challenge, and the particular code I’m doing (message structures/classes) is pretty straightforward just a lot of work to do, few questions to need to ask. Good stuff.

Just Because I can: Gmail

I was working on my webpage a little bit yesterday. One of the things I did, besides the main part of updating the recipes section, was set up an atom feed of my update log. That’s been something I’ve wanted to do for a while.

And since I could, I decided to sign up for a “beta” Gmail account just because I can, even though I haven’t a clue whether I’m actually going to do anything with it. Well, if I think of anything useful to do with it, I have it.