Category: 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/
Posted Mon 12 December 2011
by mcherm
in 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 …
Read more
Posted Wed 07 December 2011
by mcherm
in 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 …
Read more
Posted Wed 28 September 2011
by mcherm
in 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. It wouldn't be so hard, they explained,
because:
You really …
Read more
Posted Tue 23 August 2011
by mcherm
in 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 …
Read more
Posted Sun 03 July 2011
by mcherm
in Programming