programming

Replace string in XML file with Python

In this example we will show how to read XML and CSV files with Python, and perform search and replace operations. The result will be written into a new file with the same filename, but with “_new” appended to the filename.

Integrating LibreOffice into C++

At our math website we publish printable PDF worksheets for school children. We’ve just started publishing crosswords, while relatively easy to create, they require much work to make them into tasks.

Too many functions in Java code

Many java developers follow the principles of clean code. But can it be too much? I have recently reviewed code that had almost a dozen of wrappers around its private members. When is code readable enough?

How to program a drone with Java

In this article we will answer one simple question about drone programming – where do I start? What do I need to do to make a simple drone application?

Java 8 parallel streams API

Parallel programming is a very difficult, but sometimes a necessary task. Modern computers contain multiple cores and any complex algorithm that is not performing parallel processing is not exploiting the full potential of the hardware.

How to show child pages as tabs

In this post I will talk about how to view child pages as tabs in WordPress. We have several plugins where different tabs need to be linked directly from WordPress.org.