-
Recent Posts
- Software developer images with DALL-E 3
- java.lang.IllegalArgumentException: The Unicode character [デ] at code point [12,487] cannot be encoded as it is outside the permitted range of 0 to 255
- Framework Laptop Review
- Software developer images with DALL-E 2
- Svg-based 3D model in OpenSCAD via Inkscape/DXF
Archives
Categories
Meta
Category Archives: Software
java.lang.IllegalArgumentException: The Unicode character [デ] at code point [12,487] cannot be encoded as it is outside the permitted range of 0 to 255
The cause is that you’re trying to set a HTTP header in Tomcat that contains non-ASCII characters (e.g. the Location header as part of a redirect or the Content-Disposition header for a file download). This has started appearing since switching … Continue reading
Posted in Software
Leave a comment
Software developer images with DALL-E 2
OpenAI’s DALL-E 2 produces marvelous imagery when entering simple prompts. Here’s my take at software development – the prompt is “an expressive oil painting of two software developers working on their notebooks, depicted as an explosion of a nebula”
Posted in Software
Leave a comment
Ambiguous method overloading for method in Grails Spock Test
In case you run into the following exception when using mocks in a Spock test: groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Integer#multiply. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.Character] [class java.lang.Number] It … Continue reading
Posted in Software
Leave a comment
My First Real Shellshock
Apart from a harmless backping immediately after the shellshock vulnerability became known, here’s now the first time that I noticed an actual exploit. (There may have been others that went unnoticed who might have just used some http headers). This … Continue reading
Posted in Software
2 Comments
Grails: Fix functional tests for forked execution
If you’ve also run into the issue that functional tests have a problem with forked execution, but you still want to use it for development (e.g. for reloading), you can use the environment support in BuildConfig.groovy for enabling forking for … Continue reading
Posted in Software
Leave a comment