|
|
 Joseph Pachod  Tuesday, 4th of August 2009 at 01:37:01 PM
Hi We had a strange issue here : we created a component opened for extension. For some reason it was working with a Label but not a MultilineLabel. Crazy isn’t it ? It turned out we declare this “opened” component like this : The user of it should just override a callback method like this [...]
 Uwe Schaefer  Sunday, 2nd of August 2009 at 10:50:12 AM
disclaimer: don´t get me wrong. 90% of the time i like generics. most of the time it only starts getting weird, when you end up using something like Java | copy |? IModel< List<EntityModel<Address<Person>>>> getAddressModels(); but hey, nothing is perfect. recently stumbled over an easy to avoid mistake you can make introducing generics to your APIs. this tale is [...]
 Joseph Pachod  Sunday, 26th of July 2009 at 10:01:00 PM
In France, we say never two without three. And despite all the speech about “Alsaceness’, I feel like having to abide to the popular saying : I’ve been trying to find a “good” book on linux without much success. Well, for sure, this time the task is hard… My requirements are quite shallow : getting [...]
 Joseph Pachod  Sunday, 26th of July 2009 at 09:50:06 PM
While I’m on wanted books…And even if I’m not a css fan, this little cascading style sheets are just too powerful and used to be ignored. Unfortunately, the book I’ve read on it wasn’t up to its expectations (more on it later I guess)… Any pick anyone ? ++
 Joseph Pachod  Sunday, 26th of July 2009 at 09:46:35 PM
I’m currently running out of IT read : what will I do during my daily train commute ? More seriously, Scala is on my radar since quite some time, and obviously uwe starts to get serious about it as well… Any suggestion for a good book about it ? Ideally, the kind of book I [...]
 Joseph Pachod  Friday, 24th of July 2009 at 09:44:17 PM
Wicket is a well known serialization addict, and as such it’s quite often a topic when dealing with wicket pages and, especially, going back through the page map. In doing so, we had recently the following surprise : the DefaultMutableTreeNode, a javax.swing.tree class, is used to to the current incarnation of the tree component in [...]
 Uwe Schaefer  Friday, 24th of July 2009 at 07:36:19 PM
via Running Scala specs tests in Maven with JUnit 4 – mccv.
 Uwe Schaefer  Tuesday, 21st of July 2009 at 06:11:56 PM
of sun´s certification program by helping with their survey.
 Uwe Schaefer  Saturday, 18th of July 2009 at 02:07:24 PM
until now i withstood the forbidden fruit of spending time with scala. until this morning i just pushed this until Jan´s book was delivered but really, after i just had a first glance of it…. how could this be not interesting? Java | copy |? object E { def main(args : Array[String]) : Unit = { new Foo().foo; (new [...]
 Joseph Pachod  Friday, 17th of July 2009 at 05:12:53 PM
I recently read Learning JQuery, the version of 2007. I was reading it as a casual reader, just to get a better hand on JQuery. My feeling about it is the following : it seems good at providing technical details but fails at “empowering” the reader and providing the big picture. I say “it seems” [...]
 Joseph Pachod  Thursday, 16th of July 2009 at 10:01:33 PM
hi I recently finished Clean code, from Robert C. Martin (well, in fact it’s mainly from him and some guests, but then..). Anyway, the focus of this book is how to write clean code, meaning readable and maintainable code. For this, the authors go at length on the different aspects, dedicating whole chapters to aspects [...]
 Uwe Schaefer  Sunday, 12th of July 2009 at 08:53:32 AM
i stumbled upon a very nasty corner-case using enums. i wont call it a puzzler, but you may want to try to predict the output of the following: Java | copy |? public enum Person { PETER, PAUL, MARY; private Food favFood; Food getFavFood() { return this.favFood; } static void setPreference(final Person p, final Food f) { p.favFood = [...]
 Joseph Pachod  Monday, 6th of July 2009 at 09:46:59 PM
As I’ve written on the wicket jira, setGatherExtendedBrowserInfo doesn’t play well with Ajax. For the explanation, here are Igor 2 cents on it : ajax doesnt work because probably the ajax request is redirected to that page…that page is what gathers all the browser info through javascript… . Maybe I am a bit picky, but [...]
 Uwe Schaefer  Saturday, 27th of June 2009 at 09:58:06 AM
that was fun. not that i actually liked these bonbon-buttons, but the disclaimer on their page is hilarious. having a second look, that layout-manager concept can be actually useful.
 Uwe Schaefer  Saturday, 27th of June 2009 at 07:08:26 AM
despite rumours, m2eclipse seems usable on eclipse 3.5 Galileo, so that we can happily upgrade. just added MoreUnit as well as the mylyn atlassian connector, and it all seems to work seamlessly.
 Joseph Pachod  Friday, 26th of June 2009 at 10:11:04 PM
Here it is. Thanks to the server side for it.
 Joseph Pachod  Tuesday, 23rd of June 2009 at 10:18:35 PM
I’m currently reading Refactoring from Martin Fowler. Overall, it’s an interesting book from which much could be said but tonight I would like to speak only of the “introduce Null object” hint provided in it. The basic idea is pretty simple, instead of checking for null return from various call, just provide a “null object”. [...]
 Joseph Pachod  Sunday, 21st of June 2009 at 07:58:31 PM
Nice UML app made using GWT. Quite a change from the previous I had seen ! Time to look again at GWT maybe… ++
 Joseph Pachod  Sunday, 14th of June 2009 at 09:26:19 PM
Hi For my first post here, let me speak about this issue which bogged us down a few time ago : InnoDB checks UNIQUE and FOREIGN KEY constraints row-by-row It may sound trivial, but it means that unique and foreign key constraints aren’t transaction safe. But, when using some ORM like hibernate, it’s pretty easy [...]
 Uwe Schaefer  Thursday, 14th of May 2009 at 07:33:23 AM
this was not particularly hard to predict, but twitter looks to abandon rails for scalability problems. despite of this, there are _still_ some clueless people out there that wont stop preaching that ruby on rails is going to be ‘the next big thing’ (for years now). i really don´t get it.
 Uwe Schaefer  Thursday, 14th of May 2009 at 06:46:55 AM
Parleys shares “50+ Tips to Guice up your Java”-Talk from Crazy Bob, held at JavaPolis 2007.
 Uwe Schaefer  Sunday, 10th of May 2009 at 05:19:23 PM
this is awesome news. First of all, it is nice, that Spring and Guice find some common ground. More importantly, independence of any EEish API is absolutely necessary for this to become interesting. Not that Guice needed a specification to back it up, but it is good to push it more into the mainstream.
 Uwe Schaefer  Thursday, 7th of May 2009 at 07:50:41 PM
i just asked this on the Wicket user list: we have a problem here, which we think might be a common one, so i´d like to discuss. from time to time we create models (mostly LDMs) that are not actually reachable by components. (yes, you can argue that this is stupid, but it happens where [...]
 Uwe Schaefer  Tuesday, 5th of May 2009 at 07:00:07 AM
Despite crisis, the Job market does not look that bad for Java developers: Certified IT skills that saw pay increases include HP/Certified Systems Engineer with a 14.3% increase in pay, and Sun Certified Programmer for Java Platform, which experienced an increase of 13.5% in pay. IT professionals with EMC Proven Professional certifications experienced a 12.5% [...]
 Uwe Schaefer  Monday, 4th of May 2009 at 07:15:47 AM
Wicket 1.3.6 was released. The best news for me there is, that using Guice and persistent Sessions is probably going to work now (did not check yet.)
 Uwe Schaefer  Friday, 1st of May 2009 at 03:42:19 PM
this looks rather weird to me. Orlando Scrum as it operated until this spring is no more. After reviewing my other commitments and a request to sign a licensing agreement with Scrum Alliance I am ending my involvmet with the group. Today I received an email from Scrum Alliance asking me to sign and agree [...]
 Uwe Schaefer  Sunday, 26th of April 2009 at 11:22:18 AM
i had to look twice reading this sentence on the google guice mailing list: If you’re looking for a stable, future-proof build that’s suitable for use in production, I recommend the recent snapshot. pretty weird
 Uwe Schaefer  Wednesday, 22nd of April 2009 at 06:46:02 AM
In case you always wanted to use JIRA Enterprise, now is your chance to do so. They sell 5 user licenses for 3 years as low as 5$, and they even spend it for charity. clever move, ‘get them, when the teams are small and the budget is tight’ we all know, there currently is [...]
 Uwe Schaefer  Saturday, 18th of April 2009 at 09:49:31 PM
10 Ways to better code is a nice presentation: educating as well as entertaining. nothing exactly revolutionary, but nice.
 Uwe Schaefer  Wednesday, 15th of April 2009 at 05:00:54 PM
If you share my interest in git, you may find gitready.com a very useful resource. unfortunately, the lack of good eclipse integration still keeps me away from using it in every day work.
 Uwe Schaefer  Wednesday, 15th of April 2009 at 12:33:56 PM
Most people know HtmlUnit, which is a nice way of creating Black-Box-Tests for web applications. The problem with HtmlUnit is that its JavaScript unit (namely Rhino) is not going to do, what your favorite browser will be doing. This probably leads to unit-tests that ignore the JavaScript-focused parts of the UI. Unfortunately, JavaScript based behaviour [...]
 Uwe Schaefer  Monday, 9th of March 2009 at 08:58:10 PM
if you ever come to the need to migrate Data from Postgres to MySQL, you should stay away from using dumps. It is a hell lot easier to use export/import to/from CSV Data, because you do not need to synchronize column-names and it is special-char-proof. Postgres syntax for exporting: COPY tablename [ ( column [, [...]
 Uwe Schaefer  Friday, 23rd of January 2009 at 12:00:00 AM
even though Gavin King expectedly disagrees, i find this article a very useful benchmark. not that much of a surprise, but the actual numbers are more than impressive.
 Uwe Schaefer  Sunday, 18th of January 2009 at 12:00:00 AM
awesome! did you have a look at the servlet 3.0 API PD? I did not yet, but was amazed to see something like this: Java | copy |? public void contextInitialized(ServletContextEvent sce) { ServletContext sc = sce.getServletContext(); ServletRegistration sr = sc.addServlet("NewServlet", "test.NewServlet"); sr.setInitParameter("servletInitName", "servletInitValue"); sc.addServletMapping("NewServlet", new String[] {"/newServlet"}); } full article wonder, if servlets and filters can be removed [...]
 Uwe Schaefer  Monday, 12th of January 2009 at 12:00:00 AM
ahhh. doesn’t wicket offer a great model of programming webpages? isn’t it too easy to do things like this? Java | copy |? add(new ListView("mylist",someList){ @Override protected void populateItem(ListItem item){ item.add(new PageLink("deleteThisEntry",new DeletePage(item.getModel()))); }};}); but wait PageLink(Page) is deprecated: Java | copy |? /** * This constructor is ideal if a Page object was passed in from a previous Page. Construct a * link to [...]
|
|