Automatic Ontology Learning Systems Presentation

Presentation for CS886: Natural Language Processing, on the paper “The state of the art in ontology learning: a framework for comparison” by M. Shamsfard and A. A. Barforoush.

Download CS886 Automatic Ontology Learning Systems Presentation (144).

Retrieving Sequence Diagrams from Aspect-Oriented Systems

Aspect-oriented programming is built on the concept of separating concerns. While separation of concerns reduces textual scattering and tangling by encapsulating concerns within a localised module, the behaviour of an aspect-oriented program becomes scattered. Capturing the sequential behaviour of an aspect-oriented program is essential for the validation of the program’s run-time semantics.

SequenceRetriever, a tool for retrieving UML sequence diagrams during the execution of a program is presented. The SequenceRetriever tool is built on top of an extensible framework which facilitates the development of additional trace components and diagram types. An AspectJ trace component and an Eclipse TPTP trace component is implemented. Using the two trace components, sequence diagrams of several programs is presented. A comparison between the AspectJ and TPTP sequence diagrams reveal the ajc weaver implementation of several aspect-oriented constructs.

Download Retrieve Sequence Diagrams from Aspect-Oriented Systems (185), course project for CS842: Aspect-Oriented Programming.


Presentation on Pegasus - First Steps Towards a Naturalistic Programming Language

Presentation on “Pegasus – First Steps Towards a Naturalistic Programming Language” by Roman Knoll and Mira Mezini for CS842: Aspect-Oriented Programming.

Download CS842 Pegasus Presentation (145).

Presentation on Systematic Testing of AOP Systems

Presentation on “Towards the Systematic Testing of AOP Programs” by Roger T. Alexander, James M. Bieman, Anneliese A. Andrews for CS842: Aspect-Oriented Programming.

Note: The PDF output is a little strange, since the “Export to PDF” function in OpenOffice 2.2 isn’t working properly.

Download CS842 Towards the Systematic Testing of AOP Programs Presentation (131).

Finding duplicate lines with sed

Something simple and useful. Finding the duplicate lines in UNIX is done with the following series of commands:

sort [file] | uniq -c | awk '$1 !~/1/'

Keep trailing spaces when unblocking with dd

I had the task of a simple FTP file transfer from a Mainframe to the development box. Easy enough, until I discovered the horrors of EBCDIC. Anyways, the UNIX tool dd converts one file type to another. To convert from EBCDIC to ASCII, set the conv=ascii parameter.

The problem with this is that the file I have are fixed length records. When specifying the record length, dd goes and trims the trailing spaces off each record. To fix this:

dd conv=ascii if=[in file] | fold -w[record length] > [out file]

Setting up Forward / Back Buttons on Logitech MX518

Note: This guide was based on Ubuntu 5.04.

Step 1: X Server Settings
Edit the /etc/X11/xorg.conf file and look for the “InputDevice” section, make sure it looks like this:

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ExplorerPS/2″
Option “Buttons” “7″
Option “ZAxisMapping” “4 5″
EndSection

Make sure that the ‘Buttons’ is ‘7′, ‘Protocol’ is ‘ExplorerPS/2′, and ‘ZAxisMapping’ is ‘4 5′.

Step 2: Install imwheel
Type:

sudo apt-get install imwheel

Reboot, and it should work!

Page 3 of 3 Newer