To keep things short: It’s a first release and therefore still in Alpha. It looks promising, especially because it’s only 5KB of size (gzipped & excl. PrototypeJS).
Recently I’ve been developing an enterprise asp.net application with NHibernate which was required to fully support multi language (localization) on UI side as well as on data side. Whereas the former is easily implemented with .net resources the latter is not that straightforward as it seems. That articles talks about it and the solution I have chosen as I have never done it with NHibernate before. Continue reading →
Over the last couple of years I was wondering almost everyday why the hell someone would want to use a short URL. Although I consider myself as a geek, freak & nerd I’ve never had the desire to create a short URL. Why? Maybe it’s laziness Maybe I am not web 2.0 enough…
Over the past years I have seen that many developers don’t really read error messages nor do they try to understand them. That’s not a good thing! Error messages are here to help us find the problem. Each error tells us exactly what’s wrong.
Instead of trying to think what the interpreter/compiler tries to tell us people start copy&pasting errors and posting them on forums. The forum “experts” do nothing else than reading the actual error message (as that’s the only information they have) and answer the question. Why can’t a developer do that in first place?
I recommend following these steps on each error you encounter:
Read the error
Read the error again!! Character by character. (I know you have seen the error 1000 of times but probably you never fully read it)
Try to understand what the error wants to tell you. Think of the developer who wrote the framework, lib, programming language, etc. and ask yourself what was on his mind. They try to help you (us)
If you did not understand the error you probably don’t have enough knowledge about the tool you are working with:
Improve your knowledge on that field where the error happend and get to understand why it happend and what it exactly means (then go to step 1) That’s the point of time where you start to improve dramatically as a developer!
If you are too lazy and just want to get thing done. Google it That’s the point of time where you should ask yourself if programming is really the right job for you!
You will notice how happy you will be about error message in the future. You’ll start hoping for error messages popping up and get the feeling how to write your own meaningful errors.
I’ve been looking into Ruby and Rails recently since I deployed Redmine at my company to support our software development projects. For those who don’t know Redmine, this is a great piece of open-source software, offering a complete web collaborative solution for project management including source control, wiki, issues tracking, ldap authentication…
Today, I just found out there is a Ruby Development Toolkit (RDT) plugin for my favourite IDE… Eclipse! Sweet! The toolkit is downloadable via Eclipse Software Update, the remote site URL is:
Features supported are syntax highlighting, on the fly syntax check, graphical outline, Test::Unit view/runner, Ruby application launching, content assist, source formatter, Ruby debugging, Type Hierarchy view, Ruby specific Search, Refactoring, and much, much more…
If you are hosting or contributing to an open-source project on code.google.com using SVN as source control, there is small trick to render .html source files as HTML and not raw text (default). Make sure you set the following SVN property for each file: svn:mime-type "text/html". I find this quite useful for showing examples or demos (using it for Flash/Flex).
I’ve been developing a lot of custom Flex components recently using Degrafa, and too many times got frustrated at the fact that Flex only supports inline binding for CSS style attributes. Besides that, the only way to listen to style changes is to override:
I was finally happy to find out that Josh already shared a nice Proxy implementation that allows me to automatically bind style attributes to degrafa properties/styles. Makes my code more readable and maintainable. Thanks Josh!
Update: I posted a small example here and the source code can be download from there.