Author Archives for Manuel Dewald

Thoughts on Members vs. Parameters

May 17, 2018 6:38 am Published by Comments Off on Thoughts on Members vs. Parameters

Yesterday in a longer refactoring session, we stumbled across some open questions when it comes to member variables vs function parameters. In a function with a huge number of parameters, we decided to create new class(es) to split this mess up a bit. As the new class first contained only one public function – because we moved one function out of a bigger class – we had to decide which of the parameters to choose for the input of the... View Article


Quick and Dirty Java Service Template

December 25, 2017 1:04 pm Published by Comments Off on Quick and Dirty Java Service Template

To get a java service running, you don’t always need to start a tomcat and deploy a war file, as described in an earlier blog post. Even if tomcat gives you a number of benefits, such as user management and database connection handling, sometimes you do not need this and just want to start up a small http server to provide a bit of functionality. The template contents To get such projects started as fast as possible, I created the... View Article


PLA Print Settings: Print bed temperature

October 17, 2017 7:42 pm Published by Comments Off on PLA Print Settings: Print bed temperature

Yesterday, I found this useful model by SpaceFanatic on thingiverse: https://www.thingiverse.com/thing:1002024 and wanted to print it, using golden eSun pla (http://www.esun3d.net/products/144.html).Unfortunately, when printing on a 60°C print bed with my lulzbot taz 6 (which is the cura lulzbot edition preset for eSun PLA), I recently had problems with the bed adhesion of PLA. The printbed has been cleaned with alcohol before the print has been started. You can see the problem in the following images of the first print attempt. Of cause,... View Article


Minimal steps for modelling 3D prints in Blender

October 4, 2017 9:20 pm Published by Comments Off on Minimal steps for modelling 3D prints in Blender

When I started 3D printing, I decided to go with blender for modelling my objects. I made this decision as it simply was the only 3D modelling tool I knew and had used before. It can do much more than you need for modelling for 3D printing: Things like textures and shading are not necessary and therefore you don’t need to get an expert in those topics but only need to know the basics of modelling to get started. Here... View Article


HIPS Cold Acetone Vaporing

September 12, 2017 6:29 am Published by Comments Off on HIPS Cold Acetone Vaporing

Everyone who regularly prints 3d models using a 3D printer comes around the topic of post processing 3d prints sooner or later. Due to the layer-by-layer growth of the print, you see bigger or smaller steps depending on the configuration of the printer. To get the print smoother, there is a number of techniques people are trying: From sandpapering to putting glue onto the print. Another technique is cold acetone vaporing. There are a lot of resources about post-processing ABS... View Article


Backup Your Files with simple Bash Scripts

June 25, 2017 8:38 pm Published by Comments Off on Backup Your Files with simple Bash Scripts

Ever lost data you stored on a usb drive just because it stopped working and you did not have a backup? How often did you promise yourself to set up a backup system so this will not happen again – just a few days before forgot you wanted to do so? You are not alone – so did I. Until a few months ago, when I decided to store my data on my own NAS, run by a RaspberryPi 3... View Article


Do Not Use Boolean Parameters

May 31, 2017 7:16 pm Published by Comments Off on Do Not Use Boolean Parameters

I’m absolutely serious, don’t do it. “But hey”, one may ask, “what’s wrong with boolean parameters?” That’s what I got asked recently when I did a code review. And to all of you who have the same question in mind, here is my answer.There is only one reason to use a boolean parameter in a function interface, and that’s when it’s the only parameter – in a setter function (and even there one could argue to not use it). Unreadable... View Article


Putting tomcat into a container

February 9, 2017 10:37 pm Published by Comments Off on Putting tomcat into a container

As soon as you get in touch with software there is no chance to get around one topic these days: Microservices. And wherever you hear this term there is always a second one around the corner: Docker. I myself have only little experience in productively using docker, and this is mostly restricted to the convenience of packaging stuff and installing it somewhere else via a central repository. But already this is quite cool, so why not try to go further... View Article