Posts

Unormal SOAP response

 SOAP response status code was 200, but response body was empty. This is not normal because the SOAP protocol always has a response body of type XML. We solved the issue by increasing the heap memory with 1GB and disabled some non-critical functionality which was resulting in some extra application computation.   Although we couldn't understand root cause of the problem, we were happy for now, that it started to work. In the background: I was deep into an issue trying to make an destkop app running with Java 17, started over the web, using OpenWebStart. A large part of the app was obfuscated. I was invited as a speaker to the company All Hands Meeting to talk about a recent patent application and to inspire colleagues to submit patents aswell. In the middle of the AHM, I went to pickup a kid from the kinder garden, staying in the meeting connected via the phone. Very hot in the apartment. Thoughts: Frustration was high. Stress levels are also high. But I become quite tolerant ...

Preferences

  For some time I noticed that microservices with Spring Boot and REST are making sofware developers addicted. If they work on a project where they can't use Spring Boot and REST they literally feel sick and they go the extra mile to quiting their job and finding another project that make use of that technology. Asweel, I've seen developers already using Spring Boot and REST being completle opaque to other kind of work. Software development is not just about accepting an HTTP request, doing some validation, massaging some data and then dispatching request towards another component.

Notes from Release It! Book

Unbounded Result Sets / Unbounded Capacity In any API or protocol, the caller should always indicate how much of a response it is prepared to accept. TCP does this in the "window" header field. Search engine APIs allow the caller to specify how many results to return and what the starting offset should be. Limit results coming out from the database. SELECT TOP 15 colspec FROM tablespec SELECT colspec FROM tablespec WHERE rownum <=15 SELECT colspec FROM tablespec LIMIT 15

How to add your business to HERE maps?

Recently Nokia has re-branded its Location services (Nokia Maps) to Here Maps . I won't comment too much about its features. The fight against Google Maps is now obvious then ever. Its clear that with the new brand Nokia will get more and more audience for it's map via other channels like iOS, Android and Firefox OS. If you are a merchant, a small business owner and you want your business to be visible on Here Maps. You can do that via Nokia Prime Place . With Nokia Prime Place you can list your business, add opening hours, descriptions, payment methods, pictures, etc... Once the business is verified the data gets distributed on the navigation devices also. Not sure yet, but I suspect, once a business is added via Prime Place the data is being shared with Nokia's big partner... I won't say who is it, till I have the confirmation, but anyway in the end it's in the advantage of the user.

Data Representation

An article I wrote for Today Software Magazine

When to use a third-party library?

I recently had a debate on third-party libraries. There are people which when they need some new feature in the project, they instantly search on Google for some open-source library that implements what they need. They do that by default. There are some other people which when they need some new feature in the project, by default they imagine in their mind a sketch implementation for that. By default they think about implementing the feature by themselfs. So when should we use a 3rd party library? Here is my answer: - When the effort of implementing the new feature is considerable. - When there is enough trust in the creator of that 3rd party library. - When there is clear evidence that the library is widely used by others and there is a active community around it

How to remove first n lines from a text file?

On Linux is quite easy. tail -n +100 largefile.txt > largefile.txt.tmp mv largefile.txt.tmp largefile.txt The above sample will remove the first 100 lines.