semperfiona: (work motto)
Bloody hell. It's a nasty bug in the latest release of idea. Downgrade one dot version, collect $200 (and a whole lot of relief).
semperfiona: (work motto)
What's that saying about insanity? Doing the same thing over and over while expecting different results?

Cause that's where I am today...and for about the last week. I have no idea what happened, I really don't, but ever since sometime last week I can't run any of my development environments. At first they wouldn't even build, but now they build beautifully but fail to run. This is the *exact same* codebase as had been running perfectly fine on the test servers. I have tried everything I can think of, even deleting and re-getting the codebase from Subversion. No joy.

Fiona is frustrated and annoyed and tired and going slowly insane.
semperfiona: (apple)
I've been doing remote desktop connection to work via my Mac for nearly two years now, and every so often I'd find that the Mac and Windows computers' caps lock status would mismatch. To type in normal case on the Windows connection I'd have to turn caps lock on for the Mac. Finally I did some searching, though it was difficult to find a set of search terms that worked: I discovered that the same problem exists on VMWare but the solution I found for that didn't help: it required using a menu option that RDC does not have.

However, in a blog post also originally about VMWare, I found the answer.

Microsoft applications can toggle the capslock for you. When MSWord (or Outlook, or whatever) autocorrects hELLO to Hello, it also toggles the capslock. However, when using a remote connection of whatever sort, that toggle instruction is not passed to the Mac. So from then on, your capslock settings are out of sync.

To fix it, you have to force the Windows capslock to toggle again. You can force another autocorrect, or just use the Onscreen Keyboard.
semperfiona: (elephant)
This is utterly fantastic. Parliamentary politics (Canadian subclass) explained as Object Oriented Programming. Read the whole thread.

I learned more about the workings of a parliament from this thread than I'd ever managed to pick up in 2 years in England or any amount of general reading (not to be construed as including any actual research on the subject), and more about the current situation in Canada than I'd managed to glean from any news source.
semperfiona: (granny weatherwax)
The last two weeks have been insane here. Between severe performance issues at a new member going live Monday--with five times more customers than the previous record holder, and twenty times more records in the contact tracking system--and a 3:00pm today deadline for an enhancement project, I haven't had a moment to breathe at the office. Nor at home, some of the time: I had to get up at 5:30 yesterday morning to send an update to the aforementioned new member, and then I had to send them yet another one when I got home yesterday evening. Total of eleven hours' work, Thursday.

I've spent long tedious hours testing SQL performance, tweaking it little by little and trying again and again, to save a few milliseconds here and there in the hopes they'll add up. I've found that "not in" and "not exists" clauses are bad for performance; that "or" clauses are often better replaced with unions; that the smaller you can make the initial resultset before joining it to anything else, the better, to the point that an embedded select joined to another table might be better than a straight join with conditions...etc.

Their system had been found to be grinding to a halt several times, and we could never discover why, but yesterday, I got a call from Jim. The member rep had had an epiphany. Each of these occasions had been preceded by an attempt to create a contact record from the IVR/Caller Id system--for a phone number that did not match an existing customer in our database.

Sure enough, in that particular situation, the search criteria resulted in an attempt to load every single contact record into the screen. This totals nearly two million records. Eep, to say the least.

But that one was an easy fix. "So you aren't going to give me a customer number? Here, have an empty resultset." We'd not managed to catch it previously because a) our test system for the IVR interface always returns valid customers (I think I'll be having that changed ;-) and b) our test database has next to no records in CT. Wonder why no other members have had it...or maybe they have, but their databases were small enough that no one noticed.

Then there was the enhancement project. Six or seven CR's, all of them simple little tweaks to a screen, but one of them dependent on coding from another programmer--who finished his part today at 1:15. Remember the part where the deadline was 3:00pm today?

But I got my bits done and checked in the whole lot about 2:20. Then I merged several other little fixes back to the previous release, and since then, I've been relaxing. Had a nice conversation with Tammie, who had had the misfortune of calling me at about 2:00 and I had to tell her I couldn't talk. Surfed a bit. Read the new Left Behind Friday post. Pulled together the weekly bill list for discussion with C & T. Wrote this.
semperfiona: (work motto)
Today's SQL lesson (possibly only applicable to Oracle DB, possibly of
more general application):

One select containing a union = 10 rows, .578 ms
Second select containing a union = 10 rows, .312 ms
==========================================
Union of the above = same 10 rows, 501 SECONDS

Profile

semperfiona: (Default)
semperfiona

September 2024

S M T W T F S
1234567
891011121314
15161718192021
2223242526 2728
2930     

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 5th, 2025 02:48 am
Powered by Dreamwidth Studios
OSZAR »