dxmachina: (Computers 01)
So I've been working on the big database coding project in earnest, which has resulted in a certain amount of, um, organization to my dreams. Object oriented dreams, sheesh! But that's not the main reason I'm here.

Not long before waking this morning, I dreamt that I happened to glance at a piece of code that went something like this:

If varPerson = "Vampire" Then GasolineDiscount = 50% *

When I woke, I couldn't help but think that that's would be one heck of an incentive to wander around a Sunnydale cemetary after midnight.

* Thinking back, it was more of a lookup table than straight code, but you get the gist of it...



dxmachina: (Computers 01)
So, the weekend. Didn't do anything other than my best impression of a turnip. This involved sitting in front of the computer playing crappy games, and watching the Dodgers take two of three from the Padres. I had hoped to go for at least one ride, but the weather was chilly and wet. So it goes.

Today was bright and sunny, but by this evening it was far to windy to ride, so I finally did some of the yard work I've been avoiding. To my utter amazement the lawnmower, which had sat dormant since October, started on the second try. Despite the blusteriness, it was really quite a pleasant evening for a mow. Now I am tired, and the plan for the rest of the evening is to stretch out on the couch, watch Heroes, and fall asleep in place.

---
I was surprised to see busloads of school kids down at the airport at lunch time. Turns out one of NOAA's atmospheric research aircraft, a P-3 Orion hurricane hunter, was sitting on the tarmac for school tours. Aviation, yay!

---
In programming news, I managed to successfully complete my first little bit of C# coding today. Let me 'splain. No, there is too much. Let me sum up. We launched a snazzy new .net based website in January, about a week after we fired the outside developers for being mutton-headed boobs (and bad spellers). The marketing manager, who was supposed to be overseeing the project, decided to seek other employment opportunities shortly thereafter. We hired a consultant to handle all the back-end fixes that needed to be done, whilst I spent my time changing the text color in eleventy zillion style sheets from light grey to black, and otherwise tweaking what I could in the html. Up until recently I couldn't do much more because I didn't know how.

.Net takes some getting used to. Rather than the site's pages being programmed through scripting in the pages themselves, the programming occurs in separate files that are then compiled prior to being published. For some reason the scripting language of choice appears to be C#, rather than anything I'd ever used before (you know, something simple), so now I have to learn how to program in yet another language. Today was my first baby step in that process, finally fixing something I'd complained to the original developer about several times to no avail. I gotta say, it was a lot easier and less complicated when I did the exact same tweak in VBScript on the old site. Anyway, go me!
dxmachina: (Default)
Today would've been my twenty-seventh wedding anniversary. Damn I'm old...

Managed to finish most of the quotation application today. Still a couple of thing to finish this weekend, but it should be working for some testing on Monday. Access is driving me crazy. Somethings that are conceptually so simple are just so difficult to actually implement. For example, the first part of the application has the operator input the recipe components for the standard in a subform, one component at a time. I wanted the subform to automatically number each component record sequentially, starting at one. The autonumber won't work for this because it just picks up where it left of the last time. There is a published workaround to do this in a report, but not in a form. I tried setting up a field in the subform to count the component records for the standard, and then set the default value for the new record to the count plus one. For God knows what reason, it numbered the first component '1', the second component '1', and incremented after that. If you stopped and clicked on an earlier record, it reset the counter to the correct position, but then did the same behavior from that point. After a good day of banging my head against it, trying various permutations of the code with different triggering events, I finally tried counting the records in the table using DCount(), rather than using Count() in the form. That worked. I have no clue as to why the other ways didn't. It really ought to be simpler than that, ya know?

New Farscape tonight. Aeryn's back. Damn it was good.

No ride today, but I'll hit the bike path in the morning before I head up to Somerville to play games with the Somervillains. Should be a good day. Now to sleep.
dxmachina: (Default)
It was 97° at lunch today, and it was still 91 in the shade when I got home. It was 88 inside the house, so I hid out in the cool of the basement until the a/c cooled down the back room a bit. No bike ride. Too damned hot.

Now that the a/c has done it's job, I'm typing this from the back room on my laptop, which is connected to the router with a very long patch cord. I've actually wired a dataport in this room, but I've never connected the other end of the cable to the router. I should do that this weekend. It'll be cool in the basement. Damn, I feel like such a wuss complaining about the heat so much...

Spent the day building an Access application to track quality system documents. As usual, I spent way too much time trying to get Access to do simple things, and failing to get the syntax right. The documentation sucks so badly (and is even wrong in some instances), and the 'how-to' books all seem contain only the simplest stuff. Feh. Still, I got most of the application up and running the way I want it to, with only one more module to go, so yay me.

Time to go to sleep.

Profile

dxmachina: (Default)
dxmachina

February 2016

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
2829     

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 14th, 2025 06:34 am
Powered by Dreamwidth Studios