Aspect-Oriented Test Development
Posted on April 20, 2006
I am vaguely familiar with the state of testing inside virtual machines such as JVM or .net, I also don’t know enough about aspects, but I think I understand the idea and intended application. Anyway I was reading the book about software testing, and I got an idea on how this two technology can be used together. Here is an abstract:
An aspect can be injected? in application context to test paths that are difficult to test due to same kind of exceptional condition - low memory, disk full, connection lost, driver not loaded, etc. An aspect can monitor the interaction between application and its virtual machine. It can log :-7 each method/system call and simulate a failure of any call at will. In this way a disk can be “made full”, network connection can “become disconnected”, data transmission can “be garbled” and a host of other problem simulated.
(Inspired by “A practitioner’s guide to software test design / Lee Copeland”)
I’m not sure if such system already exist. It would be an interesting project to try to implement such a system.
Filed Under Uncategorized | 5 Comments
Aspect-Oriented Test Development
Posted on April 20, 2006
I am vaguely familiar with the state of testing inside virtual machines such as JVM or .net, I also don’t know enough about aspects, but I think I understand the idea and intended application. Anyway I was reading the book about software testing, and I got an idea on how this two technology can be used together. Here is an abstract:
An aspect can be injected? in application context to test paths that are difficult to test due to same kind of exceptional condition - low memory, disk full, connection lost, driver not loaded, etc. An aspect can monitor the interaction between application and its virtual machine. It can log :-7 each method/system call and simulate a failure of any call at will. In this way a disk can be “made full”, network connection can “become disconnected”, data transmission can “be garbled” and a host of other problem simulated.
(Inspired by “A practitioner’s guide to software test design / Lee Copeland”)
I’m not sure if such system already exist. It would be an interesting project to try to implement such a system.
Filed Under Uncategorized | 5 Comments
Summer project
Posted on April 16, 2006
I think this summer I will try to write a GUI Interface for WebDAV. I would like to try to use XUL (ex1,ex2) for GUI and ECMA-Script (JavaScript) as a programming language. I wrote a simple test and it looks like I can use XMLHttpRequest to access WebDAV extensions to HTTP protocol. Developing DAV class in ECMA-Script and learning XUL, would be a first step, then I can implement something Wiki alike, but richer. I can probably create a better subversion repository view. Basically this can be used to develop anything that can benefit from being online application integrated with subversion (it is an only useful webdav application I know about).
Filed Under Uncategorized | Leave a Comment
Summer project
Posted on April 16, 2006
I think this summer I will try to write a GUI Interface for WebDAV. I would like to try to use XUL (ex1,ex2) for GUI and ECMA-Script (JavaScript) as a programming language. I wrote a simple test and it looks like I can use XMLHttpRequest to access WebDAV extensions to HTTP protocol. Developing DAV class in ECMA-Script and learning XUL, would be a first step, then I can implement something Wiki alike, but richer. I can probably create a better subversion repository view. Basically this can be used to develop anything that can benefit from being online application integrated with subversion (it is an only useful webdav application I know about).
Filed Under Uncategorized | Leave a Comment
COMP 353 Tips
Posted on April 15, 2006
I wrote this two scipts for COMP353 Database project. I found them usefull.
This one-liner is used to create DROP statements in invers order of table and views creation.
tac create_tables.sql | grep CREATE | awk ‘{print “DROP ” $2 ” ” $3 “;”}’ | sed s/\(//g > drop_script.sql
and I used this query to create a nice HTML report that showed instance data in every relation. Run it in SQL*Plus
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD “TITLE Project Report /TITLE” -
BODY “TEXT=’#FF00Ff’” -
TABLE “WIDTH=’90%’ BORDER=’5′”SPOOL report.html
SELECT * FROM ADMINISTRATOR;
SELECT * FROM ANNOUNCEMENT;
SELECT * FROM AUCTION;
…….
SPOOL OFF
BTW in Oracle, you can use this query to get a list of your relations
SELECT table_name FROM user_tables;
Filed Under Uncategorized | Leave a Comment
The 30th Annual ACM-ICPC World Finals
Posted on April 14, 2006
| Rank | Name |
Solved
|
Time |
|---|---|---|---|
| 1 | Saratov State University |
6
|
917
|
| 2 | Jagiellonian University - Krakow |
6
|
1258
|
| 3 | Altai State Technical University |
5
|
681
|
| 4 | University of Twente |
5
|
744
|
| 5 | Shanghai Jiao Tong University |
5
|
766
|
| 6 | St. Petersburg State University |
5
|
815
|
| 7 | Warsaw University |
5
|
820
|
| 8 | Massachusetts Institute of Technology |
5
|
831
|
| 9 | Moscow State University |
5
|
870
|
| 10 | Ufa State Technical University of Aviation |
5
|
980
|
| 11 | University of Alberta |
4
|
479
|
| 12 | University of Waterloo |
4
|
636
|
| 13 | Instituto Tecnologico de Aeronautica |
4
|
|
| 13 | Korea Advanced Institute of Science and Technology |
4
|
Filed Under Uncategorized | Leave a Comment
Photohunt
Posted on April 4, 2006
I found this two posters on campus.
This one I believe was posted by people who get “This page was intentionally left blank” joke.
And this one I found funny because I don’t like Islam, and I think that every word on this poster is as good as Nazi propaganda, if not worse. Even if you don’t agree with me I believe this poster is still amusing.
Filed Under Uncategorized | 1 Comment
Notepad
Posted on April 2, 2006

This made me experience a few of very intense human emotions. Thank you Microsoft.
Filed Under Uncategorized | 3 Comments