Be different - read the EULA

Posted by Mike Haller on Sunday, November 29. 2009 at 14:12


The appeal was compelling and I actually read the license.

Per-unit-test profiling

Posted by Mike Haller on Monday, November 16. 2009 at 23:01 in Java
As a preparation for long-term performance measurements, (sometimes called Continuous Performance Management or CPM), I tried to automate the creation of JProfiler profiling snapshots and, along the way, came up with the following side product: Automated per-test method profiling.

Basically, the idea is to go from here:


to here




"What's so great about this?", you wonder?


Read the full article for fancy screenshots and code snippets.

(Btw, the test cases are due to this question. Usually, i don't do String performance tests ;-)

Top10 programming controversial

Posted by Mike Haller on Wednesday, November 4. 2009 at 11:02 in Java
There's a Stackoverflow question about controversial programming opinions:
The top ten as voted by the SO community:

1. The only "best practice" you should be using all the time is Use Your Brain
2. Most comments in code are in fact a pernicious form of code duplication
3. Programmers who don't code in their spare time for fun, will never become as good as those that do
4. Not all programmers are created equal
5. XML is highly overrated
6. "Googling it" is okay!
7. I fail to understand why people think that Java is absolutely the best "first" programming language to be taught in universities
8. If you only know *one language*, no matter how well you know it, you're not a great programmer
9. Performance does matter
10. The Business Apps farce (You have to read it to understand)


Visual Twitter

Posted by Mike Haller on Friday, October 30. 2009 at 18:02 in Eclipse
Visual Twitter with Eclipse ZEST and Neo4jPlayed a bit with my own twitter client and pimped it to visualize replies. It uses Neo4j for the relationships and Eclipse GEF ZEST for the visualization. New incoming tweets are analyzed for @-replies and integrated into the graph in realtime, but animation is missing and manual layouting is still needed to get some clear structure (see first screenshot).

The Radial layout algorithm does a good job though, but it's not the perfect solution for this problem (left side). Applying first the Radial layout and then the Horizontal Shift layout however shows a nice effect (also added profile images):





iPhone Star Defense weapons

Posted by Mike Haller on Saturday, August 22. 2009 at 03:50 in Gaming
When playing tower defense games, it's helpful to know the strength of your weapons. It helps to calculate the best strategy for defending the base against the enemy waves.

For Star Defense (iPhone/iPod game, version 1.3) by ngmoco, i've collected the weapon information for gauss turrets, quantum launchers, DX-3 slow effect weapon, neo-plasma blasters and for phase coils. The sheet below shows initial damage (hitpoints), fire rate (per second), range, duration for effect weapons like the neo-plasma blaster and the effect damage, the speed factor for slow-effect for each of the weapons and for each of the upgrade levels. I've also included the the price of the weapons and the total cost when fully upgraded.



Happy defending!

P.S. How do you get beyond wave 58 on Magna Prime?

About

My name is Mike Haller and I'm a software developer and architect at Innovations Software Technology in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development.

Quicksearch