Host Error 2
Filed Under Programming
Another posting on how to understand Profile errors. Read more
Post Links
Permalink | Trackback | Leave a Comment
Namespace for a valid SOAP message
Filed Under Programming
A brief hint: if you see an error message like this:
InputStream does not represent a valid SOAP 1.1 Message
check the namespace of the SOAP envelope
SOAP 1.1: http://schemas.xmlsoap.org/soap/envelope/
SOAP 1.2: http://www.w3.org/2003/05/soap-envelope/
Post Links
Permalink | Trackback | Leave a Comment
Binary Backward Compatibility
Filed Under Programming
I saw this interesting article about a weakness in the Scala language. The weakness applies not just to Scala, but to pretty much any language: the community using the language cannot grow past a certain point until it somehow solves the problem of libraries depending on other libraries in a large (deep) tree. Read more
Story Points
Filed Under Programming
If you have complete and accurate requirements for your project which won’t change, and your development team is spot-on in estimating and highly consistent in their development pace. and there are no surprises, then you can produce highly accurate project timeline estimates up front. Such accurate estimates are (or, more accurately, would be) quite useful and well worth the effort it takes to produce them because of how nicely you can schedule everything. But how about the rest of us, for which none of this is true? Read more
Post Links
Permalink | Trackback | Leave a Comment
How Even Immutables are Hard with Threads
Filed Under Programming
Armen Rigo has a blog posting (worthy of an article of its own) proposing using STM (Software Transactional Memory) in PyPy. In a discussion on reddit someone suggested that you could have weaker threading guarantees and just use locks manually. Read more
Post Links
Permalink | Trackback | Leave a Comment
When to Wrap a Library
Filed Under Programming
I find that this comes up fairly frequently. You find some useful library: perhaps it does logging, or enforces design-by-contract, or it provides an API for calling web services. But someone on the team suggests that instead of using the library directly, we should create a wrapper: “that way, if we ever decide to switch to a different library instead it will be easy to switch”. Is this a good idea? Read more
Post Links
Permalink | Trackback | 2 Comments
Wrong SAAJ Version – a Spring bug
Filed Under Programming
A few notes on a bug I had so next time I won’t make the same mistake. Read more
Post Links
Permalink | Trackback | Leave a Comment
Eric Lippert Tree Challenge
Filed Under Programming
In his blog, Eric Lippert issued an interesting programming challenge. (Follow the link for details of the requirements.) Here is my solution. Read more
Error message was ’3′.
Filed Under Programming
Just a brief entry so the NEXT time this happens I can search and find the solution. Read more
Post Links
Permalink | Trackback | Leave a Comment
Logging APIs – Evaluating Options
Filed Under Programming
In my previous post, I defined a number of different features that logging libraries could have. This time, I will evaluate some Java libraries based on those features. Read more