Tech Per

Archive for February, 2008

29 Feb

Kudos To JetBrains and Open Source

It is absolutely great, that JetBrains has open sourced a great deal of their plugins!
Today, I installed the latest and greatest Selena EAP (early access) version of IntelliJ IDEA, to get some of the latest flex plugin features. Sadly, my ruby plugin then got turned off, as it was not built for the latest IDEA [...]

28 Feb

Making CXF Log RuntimeExceptions From Server Implementations

Here is a bit more on CXF logging.
If you are using CXF to host web-service implementations (as opposed to using CXF as a client to consume web services with), you might wanna know about any un-caught RuntimeExceptions, your server-side implementation is throwing. CXF already catches and logs this for you, before sending them back as [...]

27 Feb

4 Ways To Stream Pdf and Some Tips

When it comes to streaming pdf content to a browser, suprisingly enough, a good how-to or reference on how to do this properly, is hard to find. It turns out, that there are numerous ways to do this, each with its own pros and cons. In this post, I show 4 different ways to [...]

18 Feb

Testing SMTP With Telnet

I love the internet application protocols like HTTP and SMTP, because they are easily testable with telnet and simple ascii input. Like for example when I needed to test, if a postfix installation of mine was able to relay from a host I had configured it to allow from. I just logged in to the [...]

17 Feb

Wishing For A Google Browser Sync Plugin For Thunderbird

The Problem: Multiple Firefox Installations
If you don’t know Google Browser Sync Plugin, go give it a shot. You have to accept the fact, that google owns you already, so you might as well sync all your browser config and data to them anyway. When you have swallowed that pill, things will get easy.
My situation is, [...]

13 Feb

ActiveRecord Associative Array Directly Into The Database

The other day, I came across the following code in a Rails project of mine:
value = SystemSetting[:some_key_here].to_i
Hmm, I could not recoqnize SystemSetting, so I guessed it was something a colleague of mine had introduced while I was away from the project. I guessed it to be an associative array, setup in the rails environment files, [...]

05 Feb

Adobe Not Playing Nice On Flex Bugs

Today, I shall tell a story about bad bug handling from Adobe on the flex framework. A story about Adobe pushing their payware LCDS product, as a solution to a bug in flex or flash!
A while ago, I posted on flash still being closed and proprietary, to make us think about that, before blindly adopting [...]

05 Feb

Java5: From Ordinal Value To Enum Instance

The enum type introduced in Java5 is quite powerful, but I miss a factory method to get an enum instance from its ordinal value. The existing factory method in Enum.valueOf(Class, String) lets you get an enum instance from its type and name, but there is no valueOf which lets you get it from the ordinal [...]

04 Feb

Killing An Oracle Session Using SQL

Sometimes the need arises for me to terminate a connection or two to Oracle from SQL. Applications with connections to Oracles does not always terminate their connections properly, and Oracle some times does not discover them as dead. Luckily, you can discover them through SQL into Oracles data-dictionary, and kill them using a quick alter [...]

© 2008 Tech Per | Entries (RSS) and Comments (RSS)

GPS Reviews and news from GPS Gazettewordpress logo