On This Day: April 16

Below are the log entries and other content posted on April 16.

Pete's Log: Log Entry 47

Entry #47, (School)
(posted when I was 20 years old.)

Met Dr. Cohn today. Very smart man. My favorite quote: "I don't care is a perfectly valid answer in academic computer science."
This entry is rated 4.0000/5 based on 1 ratings.

Pete's Log: Log Entry 262

Entry #262, (Coding, Hacking, & CS stuff)
(posted when I was 21 years old.)

Alright, I've finally gotten myself into code generation for ice9. It's rather fun, and I've several ideas for cool things to do. I've already added three new command line options to the compiler:

-u, for Unoptimize, which turns off optimizations
-r, for Rolled, turns off loop unrolling (but leaves other optimizations)
-l, for Loop, allows specification of how big loops can be before they don't get unrolled

My loop unrolling approach is going to be very simplistic, and I think it will only apply to fa (for all/each) loops. Basically, if the upper and lowed bounds of a fa loop are constants, and are within a certain "distance" of each other, I'll really simplistically unroll the loop. I think this could actually have a decent performance boost, especially for tight loops, because tm is simplistic enough to make loops kinda expensive.

I also intend to come up with a good register allocation scheme, better than the accumulator scheme that Dr. Freeh suggests we use. tm has 8 registers, of which one is the PC, and I'm using two more for frame and stack, so I have 5 registers. It seems kinda wasteful to me to use one of those as an accumulator and the rest just as temporaries. I wish I could find a good resource on register allocation, but for now I'll just wing it, since it really doesn't need to be optimal at all.

Dead code elimination is also a goal. This should be easy for simple cases. For example, during semantic analysis, I can keep track of which procedures get called and which don't, and simply not generate code for those that don't. That won't catch something like having proc a calling proc b, but nothing calling a, since that'll eliminate a, but not b, unless I do the semantic pass multiple times, which seems wasteful. At least I'm not writing a just-in-time compiler or something.

Dr. Freeh told us we don't have to worry about nested procedures:

proc a(b: int)
  proc b(c: int)
    ...
  end
  ...
end
because that makes the frames a good deal more complex, but I think I might give that a try later...


Nobody has rated this entry.

Pete's Log: happy easter!

Entry #969, (Life in General)
(posted when I was 22 years old.)

So I awakened after noon sometime today. Woo. Family showed up at my place, brunch was made, then consumed. It was good. We had chocolate egg things. Diana and Kelly hid them around our apartment. Certain restrictions were made upon where they were allowed to hide them. They hid 40 eggs. We found about 36 of them. So there may be some interesting surprise egg discoveries in the future. Then I spent the rest of the evening ... um... who knows.

I'm beginning to think the dreadlocks may not make it until summer. They're not really locking up. But the biggest problem is I've realized that my hair is breaking. I now have a lot of short hairs that used to be connected to dreads. Not good. And the ends of some of the dreads are beginning to loosen up. So we'll have to see how they do over the next month. But I fear the dreads won't be accompanying me on my summer trip.

Brian and I have discovered the greatest show ever: Special Unit 2. Crappy name, hilarious show.
Nobody has rated this entry.

Pete's Log: tsm rocks

Entry #970, (Music)
(posted when I was 22 years old.)

so I like the tsm cd I created so much, I burnt another copy of it, so that I can have one copy in my car and one copy for other use. Now I should get back to work, since I've not done any of that in several days.
Nobody has rated this entry.

Peter Rijks updated his status.

(when I was 30 years old)

Pete wonders if there are any infixes other than "izz"

Pete's Log: Suburban Settlers

Entry #1789, (Life in General)
(posted when I was 36 years old.)

Jamie and I went over to Margo's house this evening for pizza and games. We ended up playing only one game of Settlers of Catan, but it was a ridiculously long one. Jamie ended up winning, but there were long stretches of nobody building anything. Also, I think most sevens I've ever seen rolled in that game. Good times...


Nobody has rated this entry.

Pete's Log: Dose 2!

Entry #1919, (Life in General)
(posted when I was 42 years old.)

Just got my second dose of Pfizer/BioNTech. Two more weeks until I’m considered “fully vaccinated.”

Like last time I’m writing this from the observation waiting area. So far so good. We’ll see what symptoms are in store for me.


Nobody has rated this entry.

Unavailable Entry

Entry #2098

Sorry, but this entry has been marked as private. Perhaps you can see it if you log in.

Unavailable Entry

Entry #2273

Sorry, but this entry has been marked as private. Perhaps you can see it if you log in.

Unavailable Entry

Entry #2508

Sorry, but this entry has been marked as private. Perhaps you can see it if you log in.

Unavailable Entry

Entry #2697

Sorry, but this entry has been marked as private. Perhaps you can see it if you log in.