?

Log in

Random Useless Tidbits - The Desian Universe
Links Home / GitHub January 2017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
 
 
 
deskitty
deskitty
Des
Thu, Mar. 10th, 2005 08:36 pm
Random Useless Tidbits

In English today, the prof asked everyone who'd had a happy/useful/self-affirming/something-like-that thought today to raise their hand.

I was the only one.

Somehow, that scares me.

>>> Update 23:25

(23:23:04) CondorDes: Gods, I feel dirty.
(23:23:08) jennmenchi: ?
(23:23:08) CondorDes: I just wrote my first goto in C++.
(23:23:14) CondorDes: :p
(23:23:19) Jenn: >.> Ah?
(23:23:36) CondorDes: I've been using the language for how long, and I've never really used gotos before this. But using a flag variable for this case seems really silly.

// Remove this block's killed registers from its copyout.  (We'll add them
// back in later if they're copies that make it to the end of the block.)
foreach (ki, blk->kill) {
    std::map<Register *, Register *>::iterator ci;

kill_restart:
    foreach (ci, blk->copyout) {
        if (ci->first = *ki || ci->second == *ki) {
            blk->copyout.erase(ci);
            goto kill_restart;
        }
    }
}


[foreach is a macro I wrote that iterates over an STL collection from begin() to end()]


-- Des

Current Mood: sleepy sleepy

5CommentReplyShare

zaharadawn
zaharadawn
zahara
Fri, Mar. 11th, 2005 09:56 pm (UTC)

Hi! I was doing a search for local people and came across you and saw your name and pictures and thought you looked kinda of familiar. Did you ever hang out with a guy named Ryan a while back? The person I'm thinking of lived in Atascadero, I think out on Capistrano??..this was probably in like 2001/2002. I was wondering if you're the same person I think you may be!
I don't know if that made sense. I'm kinda feeling sick today.


ReplyThread
deskitty
deskitty
Des
Sat, Mar. 12th, 2005 03:36 am (UTC)

Nope ... I was just coming into Poly in 2001, and I didn't get my place in Atas until my 2nd year. I don't recognize him either ... sorry.


ReplyThread Parent
zaharadawn
zaharadawn
zahara
Sat, Mar. 12th, 2005 03:56 am (UTC)

What's wierder is I just found the guy's phone number I thought you may be. Thanks for getting back to me though. Anyway, you seem kinda cool, regardless. You mind if I add you?


ReplyThread Parent
deskitty
deskitty
Des
Sat, Mar. 12th, 2005 04:01 am (UTC)

Go for it.


ReplyThread Parent
zaharadawn
zaharadawn
zahara
Fri, Mar. 11th, 2005 09:58 pm (UTC)
P.S.

oh yeah, here's a link to some pictures of Ryan http://www.friendster.com/viewphotos.php?uid=2374075
He looks a little different now but hmmm...maybe you'll still recognize him?


ReplyThread