errantember: (darth bobo)
...it's because I've got my year-end review at work coming up in mid-November, so I'm totally swamped right now. Please don't take it personally. After that point, I should have substantially more free time.
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)
After bagging and moving 700 lbs (literally) of soil today by hand, and after hand-digging-out 200 square feet of Bermuda grass (the scourge of Austin gardens!) and after laying a 4-block high wall including foundation with limestone bricks weighing an average of 25 lbs or more all over the past week, even my advanced forms of personal denial can't prevent the conclusion that Permaculture involves work.

I don't recall them mentioning that in my design class.

There is only *one* possible reason why I could be doing this.

Work Now = Laziness Later

Further Landscaping Drama ensues:
Read more... )
errantember: (Little Cowboy Scott)
I'm off to my final review for this year at work at 8:30 AM on Thursday! So far everything looks really good. I finished my 24-slide Powerpoint presentation, and already had the projects themselves done last week.

I hereby coin the word "cogdom" to describe the state of being a corporate drone.

You heard it here first!

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 Dec. 28th, 2025 08:27 am
Powered by Dreamwidth Studios