29 Feb
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 [...]
Posted in Tools by: polesen
2 Comments
28 Feb
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 [...]
Posted in Programming by: polesen
No Comments
27 Feb
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 [...]
Posted in Programming by: polesen
No Comments
18 Feb
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 [...]
Posted in Uncategorized by: polesen
No Comments
17 Feb
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, [...]
Posted in Uncategorized by: polesen
2 Comments
13 Feb
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, [...]
Posted in Programming by: polesen
3 Comments
05 Feb
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 [...]
Posted in Rich Internet Applications, Uncategorized by: polesen
1 Comment
05 Feb
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 [...]
Posted in Programming by: polesen
2 Comments
04 Feb
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 [...]
Posted in Uncategorized by: polesen
No Comments