I do software design on TopCoder in part-time, UML Tool is a software that used to create UML documents, it is designed and developed by TopCoder’s community and I like it (I am one of the designers, my handle is kakarotto).
And I am also a mac fan, most of the time I do my jobs on my macbook pro. Then there are several points that I am not satisfied with the official UML Tool release on Mac OS X platform:
-
It is not presented as a typicial mac application, it is not packaged as a .app file (I do not like using shell script for GUI applications), and it has no icon so looks ugly on dock.
-
It does not use text antialiasing by default (I see it uses the “aa” property of jdk1.6, but on mac there is only jdk1.5 for now), to me this is unacceptable.
-
The font can not be changed easily, I’d like to control fonts of every element on the screen, includes the side bar, the diagram elements and the text in document panel (the reason is, I have a display whose resolution is high and pixels are very small, so I need to increase the font size to about 16 or 18 when doing text related jobs).
-
When quit the application by “Cmd-Q” it can not notify me to save the changes, it is dangerous and easy to lose data.
I made some efforts to fix these issues and package the UML Tool as a common Mac application. I did this in about three months ago and until now the official site has no similar thing released, so I think maybe it is useful to someone else.
If you need it, please download the application dmg, or get the source to build by yourself.
It is now based on UML Tool 1.1.5.
I’ve installed mercurial 0.9.5 on my leopard (10.5.1) through MacPorts, but it gives an error message "ValueError: unknown locale: UTF-8" when running. After searching on google I found it is an issue of Terminal.app, the solution is:
execute this command before call "hg":
$ export HGENCODING="UTF-8"
You can also put it in your ~/.profile to avoid doing it every time when open a new Terminal window.
From gitorious.org:
[quote]Nally is a terminal emulator optimized for Firebird-like BBS. It’s a Cocoa based, Mac OS X Leopard only application.[/quote]
It is written by yllan, and jjgod is now working on it to fix bugs and add new features.
I made some effort on it to make the image preview functionality more convenient, you can see my changes on gitorious project.
The features added by me are:
- Automatically download images when reading, then when you want to see the images, if they are downloaded completely you see the image windows opens immediately. If you do not like this behavior, open ~/Library/Preferences/org.yllan.Nally.plist and change the property "AutoDownload" to false.
- Add a shortcut (Alt-d) to preview all images in current page - so you do not need to move hand from keyboard to mouse to see image preview!
- Add a shortcut (Alt-c) to close all image preview windows.
- Add shortcuts (Alt-[i] where i is a num key), each one corresponds to previewing the ith image.
If you like this branch, feel free to report bugs or give me suggestions.
I just found this site Snipplr, you can post or get code snippets on it, and there are lots of existing code snippets. It is really convenient since we all have to write some code snippets some time and they may be lost before we need them again.
Isn’t it cool? Give it a try, it deserves!
I’m used to to use javadoc widget to search and view java API documents when developing, but since I changed my os to Mac OS X 10.5 it can not work.
After seeing its code and the debugging logs on console (you can open the application "Console" from /Applications/Utilities folder), I think the problem should be caused by some javascript functions (the code around line 307 in JavaDoc.js which you can find in package of JavaDoc.wdgt, or simply open the wdgt file with Dashcode if you’ve xcode tools installed).
It seems to be an encoding problem since the comments there are not written by English (I did not select other languages when installing os).
Anyway after dropping the comments between line 290 - 320 and re-deploying the widget, it works now.
I will use English as the main language when writing this blog.
You may know that I am not a native speaker and my language skill is not good, thus I will mainly talking about technique things here, you can see my another blog for some other things, it is totally written in Chinese.