errantember: (St. Ember)
The Sony camera I had before had infrared spotlights build into it to allow it to see in total darkness. Although my new Fujifilm camera can see infrared light, it doesn't have an infrared-only lighting system built in, so I want to construct one. I went to Radio Snack today to pick up a 16mW IR LED and some resistors to make it go. I hooked it up to a pair of batteries, and it works. It's totally invisible to the naked eye, but seen through my camera, it's visible, and can dimly illuminate something about 5 feet away. That's not powerful enough, but I see online LEDs that go up to at least 60mW, and three of four of those would probably do trick nicely. I'm also interested in adding a filter to my flash so it only flashes in IR.

In other news, however, the bachelorette party I shot the other night must have been too much for the poor camera, because now I'm getting "FOCUS ERROR" warnings when I turn it on, and it won't focus anymore. I've contacted the dealer, and will try to stave off suicidal depression long enough to get it fixed.
errantember: (St. Ember)
So I'm trying to help a customer figure out how to use a pointer transparently whether it's in p-memory or x-memory. First I try to declare all the variables locally, but the compiler won't let me declare any p-memory variables locally, because the stack, where locals are stored, is in x-memory. So I declare them globally instead. Then I assign each type of pointer to an integer stored in the same kind of memory, doing the address assignment with the declaration. The compiler eats this without complaint, but fails to actually place the correct address of *either* integer into the appropriate pointer.

At this point, I break for bacon.

After bacon, I try doing the address assignments inside main, and now the addresses are correct. So finally I go for the typecast, going through a void pointer. However, assigning the address of the int to the void pointer results in some crazy address that isn't where the int is located, so there's no point in even *trying* to make the p-memory pointer point toward the x-memory pointer since the intermediate void pointer isn't getting the correct address.

So *finally* I just decide to typecast the entire operation in one line, skipping the void pointer. I fear an error, but the compiler eats it!

Fabulous.

I run it, and when I get to the actual assignment statement, the debugger jumps to an "incorrect long-word alignment exception."

Time for bed.
errantember: (Default)
...that I even deigned to participate in this, but considering I had *just* taken the picture for the third frame two days ago, I was unable to resist humiliating myself. I'm not even going to talk about how angry I got trying to draw a fucking line in Photoshop.



I added the third frame, after having gotten the first two from todfox

I'm going to go crawl around on the floor at Elysium and see if it makes me feel cleaner...
errantember: (St. Ember)
...I might be just another ordinary mortal, I managed to use Knoppix, a CD-bootable version of Linux to load the NTFS partition on my Windows machine and correct the dates of large group of files that had accidentally been created with a date far in the future. These incorrect dates caused the software I use to do my job to completely stop working, wasting three days as I iterated through dozens of possible solutions before finally finding one that worked. Thanks to Chris for the suggestion to re-investigate Knoppix, which I previously didn't think as able to write to NTFS. Microsoft suppresses info on this file system to make it harder to migrate and inter-operate with anything non-Windows. Extra kudos to the Linux community for finding a way to get it done.

There's an object lesson here. We've got two computers and three operating systems.

I have Windows. What is it doing?
Nothing. It's fucking broken. I can't do my job.
Why is it broken? Because the cheap-ass HP clone I have can't remember what time it is.

I have Knoppix. What is it doing?
Fixing fucking Windows because Windows can't fucking fix itself.

I have MacOS X. What is it doing?
Keeping me sane by playing episodes of Dr. Who after having been dropped from waist height while running at least three times.

And laughing at fucking Windows.
errantember: (freedom)
It was bad enough for the years I hatefully defaulted to it as my main operating system, but since I've Switched it's taken on whole new levels of supernatural horror. There mere thought of trying to recount the trial in detail brings forth visions of sucking on shotgun, so I won't. After spending over 20 fucking hours this weekend on an installation of Windows XP that took over 9 attempts to finally work, along the way causing no less than $800 worth of damage to various pieces of necessary computer hardware and requiring the movement of no less than 15 different pieces of same, I *never* want to fucking hear about the pain of Jesus Our Savior or childbirth again.


Take a pill and quit yer whining.


Thank God (or someone) I have a fucking punching bag. Thank God I used the Big Chain to hang it.

Profile

errantember: (Default)
errantember

December 2015

S M T W T F S
  12 345
6 789101112
13141516171819
20212223242526
2728293031  

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 2nd, 2026 07:27 pm
Powered by Dreamwidth Studios