Compiling GNU smalltalk on a OS X

This is just for references, if anyone ever searches for compiling smalltalk on OS X in google. I was compiling the latest stable release, 2.1.9.

When compiling GNU smalltalk on Mac OS X, and you run into errors with poll.h, my suggestion is to comment the block of code which #includes sys/poll.h. You’ll find that the compilation will go more smoothly with the definitions in poll.h (the fake out section) rather than the definitions in sys/poll.h. In fact if you read, sys/poll.h it recommends you not #including it. Perhaps this is a bug and should be submitted to the maintainer of GNU smalltalk.

CS 622 Assignment 1

CS 622
Assignment 1

2.1
Each of these layer models is a real world example of the three layer network model.

In the first example model, the physical connection is the telephone line. The lowest layer on both the receiving and sending ends is the telephone. The telephone acts as the network access layer. It allows the receiving and sending ends access to the telephone line, and it also establishes the communication link between the two ends. The second layer up acts as the transport layer on both the sending and receiving sides. This layer in the transmitter is the host which acts as the mediator between the guest who wants to order the pizza and the telephone. The host provides access to the telephone. On the receiving end is the order clerk whois the itermediary at the pizza parlor. The clerk answers the phone and takes the order. At the top layers resides the application layer. In this example the sender’s “application” is the guest who provides the data, pizza order and the receiver’s “application” is the pizza cook who assembles the pizza pie.

In the second example model, the physical connection is the road. The network acces layer is exemplified by the delivery van. It allows the pizza being delivered a reliable means to the use the road. The transport layer is where the order clerk finalizes the pizza order and gives it to the person who will deliver the pizza in the delivery van. On the receiving end, the host pays for the pizza, which the guest as the application layer on the receiving end will eat. On the transmitting side, the cook acts as the application layer and prepares the pizza, which will be handed off to the clerk to package for delivery.

2.4
The two blue armies don’t have a reliable way to communicate their attack plan, because they are unsure if their messengers get through to each commander. If their messaging protocol relied on the acknowledgement of a message, then either the message or the acknowledgement could be lost. They could add to the protocol an acknowledgement to the acknowledgement, but then each message sent still is not garaunteed to reach its destination. The armies could introduce redundancy into their protocol. They could send two or more messengers to send or acknowledge a message, and only rely on reception of one message or acknowledgement to attack, but this is a waste of resources and could still lead to a lost messenger. The two armies could introduce a timeout to there protocol scheme by waiting a certain time for the acknowledgements before proceeding or terminating the attack.

Oscar Nominees 2005

They were released this morning so here they are. How many best pictures have you seen? I have count two so far, Sideways and The Aviator.

IMDb bottom 100

Pete over at APCB, the initials to the best named blog, ever, lists the movies he’s seen that are in IMDb’s bottom 100. I’ll do the same, but I find it a little bit unfair to try to match a professional blow by blow.

Speed 2: Cruise Control
Superman IV: The Quest for Peace
Bats — And I found this one interstingly hilarious.
Iron Eagle II
Jaws 3D — They used the 3D gimmick as an excuse to send a shark at you.
Tarzan, the Ape man
Jaws, The Revenge — Must be a shark thing.
Hercules, in New York — Saw during a bout of insomnia. Who knew that Arnie with a dubbed vocals could be so funny? Why not his own?

As you can see, I like watching quality films! Although, honestly, I have partially seen plenty of the others on the list, but these are the ones I actually sat through.

Codename: Amy

Codename: Amy. An interesting blog found via the infamous Fleshbot. It’s just a bunch of pictures of a woman. Blonde. Young. Professional. It is a very narcassistic in that the pictures are mostly self portraits taken via a phone cam. Some of them even feature her naked. It is a thought provoking blog.

Ding-dong! The witch’s dead!

Finally, after making the latest version of the Amazing Race close to unbearable to watch, Jonathan and Victoria have been eliminated.

I started out enthusiastic about the Amazing Race, but lately it has been a pain to watch. I think that it is because there are not many likeable teams left. It’s been since Thanksgiving that the hotties have not been around. Even the old couple were fun to watch, but now there is no team that makes me want to root for them. There are even no teams that make me want to root against them. They’re all either boring or bickering. I can’t stand the fact that the majority of teams are quarreling. It is a turn off when every one of them yell at each other. It is tough to watch.