Category Archives: Ramblings

Ramblings of a somewhat more personal nature.

Anonymous Inner Class Surprise

I had no idea that the following code was allowed: 1234567public class AICSurprise {     public static void main(String[] args) {         new Object() {             public void foo() { System.out.println("foo"); … Continue reading

Posted in Ramblings | Leave a comment

Print This Print This   Email This Email This

A HotSpot Java Error, a Bus Error and a Segmentation Fault

When I run Soot to create a call graph of DrJava, I get the aforementioned HotSpot Java error on Windows with Java 1.6.0_18. On Mac OS X 10.4 with Java 1.5.0_19, I get a “Bus error” (Java exit status 138). … Continue reading

Posted in Concurrent Unit Testing, Ramblings | Leave a comment

Print This Print This   Email This Email This

Java Bug 4396719 – Mark Sweep stack overflow on deeply nested Object arrays

I’m trying to create a call graph of all of DrJava using Soot. DrJava is a cross-platform application that has some classes that get compiled and used only on certain operating systems; for example, the com.apple.eawt package is only used … Continue reading

Posted in Concurrent Unit Testing, DrJava, Ramblings | 4 Comments

Print This Print This   Email This Email This

Sometimes I Love Myself

Sometimes I have those moments when something small that I did brings me tremendous joy. This just happened when I was using DrJava with Soot. I don’t know the Soot framework, so the “Additional Javadoc URLs” feature that I introduced … Continue reading

Posted in DrJava, Ramblings | Leave a comment

Print This Print This   Email This Email This

IT Hell

Building emacs22 to replace emacs21, so I can install yasnippet, so I can install scala-tool-support, because I can’t install Eclipse since it requires Mac OS 10.5 and I only have 10.4 because Apple doesn’t support Java 6 on 32-bit Macs… … Continue reading

Posted in Ramblings | 2 Comments

Print This Print This   Email This Email This

Broken Things 2010

So far, it seems like 2010 is a year of broken things. Mr. Coffee, my coffee maker, broke. I loved the guy, so I immediately replaced him with his younger brother. The power supply fan in my Dell at home … Continue reading

Posted in Ramblings | 1 Comment

Print This Print This   Email This Email This

Out-of-Office Auto-Replies

Great. I’m starting to get flooded by out-of-office auto-replies from the AP CS mailing list again. I keep monitoring that mailing list for mentionings of DrJava, so I can make sure we help high school teachers with potential problems. I … Continue reading

Posted in Ramblings | Leave a comment

Print This Print This   Email This Email This

Remembered Number Significance

Memories can be strange. A lot of people around me are probably now having memories triggered by (turkey) smells. I have memories triggered by numbers. Our Hudson build server just notified us of a unit test failure after a recent … Continue reading

Posted in DrJava, Ramblings | Leave a comment

Print This Print This   Email This Email This

Open Source: Don’t Steal What You Can Have for Free

Open source is not the same as public domain material. It is not content that is not owned by anyone. The fact that we give something away for free does not allow you to just steal it. DrJava is an … Continue reading

Posted in DrJava, Ramblings | Leave a comment

Print This Print This   Email This Email This

Boring Backport

I’m in the process of porting some scientific code originally written in Fortran, which was then ported to Java, which was then ported to Habanero Java, back to Java, while maintaining a Habanero Java feature called array views. It’s incredibly … Continue reading

Posted in Mint, Ramblings | Leave a comment

Print This Print This   Email This Email This

Wikipedia and the Right to Know vs Right to Privacy

Sometimes it’s interesting to compare Wikipedia articles in different languages. I just read something about the last school shooting in Germany, the one in Winnenden in March 2009, and decided to search the web for it. The English Wikipedia article … Continue reading

Posted in Ramblings | Leave a comment

Print This Print This   Email This Email This

Twenty Years Ago

Twenty years ago, on 9 November 1989, the Berlin Wall came down. I remember the day, but the TV coverage doesn’t belong to my most intense childhood TV memories: It feels like this event is bracketed by stronger memories of … Continue reading

Posted in Ramblings | Leave a comment

Print This Print This   Email This Email This

Ridiculous Texas Bureaucracy That Doesn’t Make Anyone Safer

Last Tuesday I went back to the DPS to renew my drivers license — temporary visitors now have to do that once a year. I took exactly the same documents with me that allowed me to get a drivers license … Continue reading

Posted in Ramblings | Leave a comment

Print This Print This   Email This Email This

Funny Feature Request of the Day

Funny feature request of the day: Zoom In Zoom Out I would like to request you to please kindly add Zoom in Zoom out feature in print preview. Please do it as soon as possible bcz we are having difficulties … Continue reading

Posted in DrJava, Ramblings | Leave a comment

Print This Print This   Email This Email This

A Repeating Pattern of Hate: SourceForge

I’m hating SourceForge again, and this is a very frequent thing. This time, I’m hating it for two reasons: News submission is broken. I made a new DrJava development release, drjava-20091021-r5004, but I can’t post a news release, because the … Continue reading

Posted in DrJava, Ramblings | Leave a comment

Print This Print This   Email This Email This

Two Confusing Errors

A while ago, I was told by our one-and-only client of Mint that the version of DrJava with Mint does not display Mint as a compiler, even though it is included in the jar file and therefore should be available. … Continue reading

Posted in Concurrent Unit Testing, DrJava, Mint, Ramblings | Leave a comment

Print This Print This   Email This Email This

More Artificially Complex Problem Spaces

At the Rice Computer Science Affiliates Meeting, I just listened to an interesting talk by Keith Cooper about the PACE (platform-aware compilation environment) project. Keith mainly talked about resource and configuration detection, e.g. detecting cache sizes and alignment. Moshe Vardi … Continue reading

Posted in Ramblings | Leave a comment

Print This Print This   Email This Email This

AWT Exception Handler Cannot Be Reset After Exception

When testing ConcJUnit some more from inside DrJava, I noticed some weird behavior. I had a JUnit 3.8.2 version of a test, and an equivalent JUnit 4 version. Run independently, they behaved as expected (which in my line of work … Continue reading

Posted in Concurrent Unit Testing, Ramblings, Uncategorized | Leave a comment

Print This Print This   Email This Email This

And the Annoying Twit of the Month Award Goes to…

And the annoying twit of the month award goes to… this guy, a student at the Ozarks Technical Community College, for his truly legendary effort of generating 38 support emails to us without considering that the problem might be in … Continue reading

Posted in DrJava, Ramblings | 2 Comments

Print This Print This   Email This Email This

Confusing Hudson Test Failure

After moving our Hudson server to a new server, we started to experience a very confusing test failure in the Java Language Levels module. The test that failed was AdvancedLevelTest.testShouldBeErrors. It compiles the files in javalanglevels/testFiles/forAdvancedLevelTest/shouldBreak/ and makes sure that … Continue reading

Posted in DrJava, Ramblings | Leave a comment

Print This Print This   Email This Email This