The Software Engineer

  • Archive
  • RSS
  • Ask me anything

Q:It's not often I hear nice things said about QT in general :) From a developer's perspective, that is.

Anonymous

I have to admit that I have little experience in desktop GUI development compared to the about 10 years of my career in web and backend technology mostly.

Do you hear negative stuff on QT or do you mean to hear nothing at all? I did not find a lot of objective criticism that says QT is better or worse than its competitors. When you are used to have a library at your feet like .NET than QT is one library that at least comes close in terms of quantity I think. Talking about quality I will still have to make my opinion, working on a little mp3 player project right  now to accommodate myself with QT. Compared to other frameworks I think I get a lot out of it in a short period of time.

  • 2 months ago
  • Permalink
  • Share
    Tweet

Developer Intel on Qt

A few months after I blogged about how frustrated I was with Microsoft and its Windows strategy Microsoft released the 2012 Version of their IDE Visual Studio. What a rumor. It already started a few months before when Microsoft published its plans to overhaul the complete design of their IDE which even made it into Wikipedia. I think its not all that bad, at least if you have nice tools like Resharper which “re”colors your icons.

On the other hand for my private projects I decided to move on and leave Microsoft behind. That is a task I might not accomplish to 100%. There are still games that run better on Windows which I like to play. There is other stuff, like some very nice Access databases I still use for my convenience, which can not be used under Linux directly. This means I still will need some months or years until I do not need to boot Windows anymore.

In order to create some GUI programs that run under both, Linux and Windows, I decided to have a look at Qt which is a really powerful framework. Of all frameworks that I know about it is the one which promises the most to me because it offers:

Read More

    • #linux
    • #Windows
    • #programming
  • 2 months ago
  • Permalink
  • Share
    Tweet

Clean Code

Do you actually write ‘clean-code’? Yes, I do. At least I try to do my best in writing code that is not too messy, so that a potential maniac serial killer who comes to maintain my code will be the first on my doorstep after having a glimpse at my code – which I admit is a very egoistic reason. But there are more reasons why every professional developer should care about ‘clean-code’.

There has been put a lot of effort put into measures that may help you improve yourself at writing clean-code but these still are not broadly accepted. This may be because the measures are insufficient or not working. But as I read this question on Programmers@StackExchange if the readers actually write clean-code I had to realize that a lot of them do not and even do not want to. Why is that?

Read More

    • #programming
  • 1 year ago
  • Permalink
  • Share
    Tweet

SFML and MP3 vs OGG

The SFML library may play ogg files but not mp3. No big deal - to convert mp3s to ogg format you have two possibilities:

  • Use ffmpeg, run following command from a terminal after adapting the filenames. Please note the fat formatted section, without it the music will not be converted correctly:
    ffmpeg -i test.mp3 -acodec libvorbis test.ogg
  • You can use the program Audacity which will allow you to load and save the file just like a classical Windows program with a GUI.

I prefer ffmpeg because it is faster to run it from the command line. However if you forget or just do not know the commands and correct options it will be easier to use Audacity.

    • #audio
    • #programming
    • #format
    • #libraries
  • 1 year ago
  • Permalink
  • Share
    Tweet

Howto use cmake

I continue to learn how to use the toolchain for building programs on Linux. So I finally came across CMake, which is developed to be used for cross platform builds. It is not very hard to understand how it works, but if you are not used to it, than the first steps might be quite hard.

The following site gave me the best overview on how to configure a project using CMake and its CMakeLists.txt files.

http://rachid.koucha.free.fr/tech_corner/cmake_manual.html

Source: rachid.koucha.free.fr

    • #cmake
    • #programming
    • #build
    • #tool
  • 1 year ago
  • Permalink
  • Share
    Tweet

The awfulness of commercial operating systems 3

To sum it up: Microsoft innovated in finding ways to earn even more money by binding them to their platform and using the software market place as cash cow. Now all this was not really, or at least reflects the current status of operating system manufacturers.

This last part is about how Microsoft might bind “their” fellow developers to their ecosystem, even more than before. Please keep in mind that this is speculative, because I do not know if they do this on purpose or they just think it is a good idea.

Read More

    • #Windows
    • #Libraries
    • #API
    • #future
    • #Linux
  • 1 year ago
  • 1
  • Permalink
  • Share
    Tweet

The awfulness of commercial operating systems 2

This is the second part, of an article where I write about the awful future of commercial operating systems. In the first I wrote how the big companies make big cash. When talking about Microsoft and developers it is and becomes even worse (assuming you actually go the all-Microsoft way, I know there is a middle way).

Unfortunately this again is about money. The first post covered how the operating systems are being used to make cash by binding the developer to OS resources and the new medieval market places. This post is more concrete about the tool chain which is needed to create Windows programs with Microsoft products and what effect those market places have for the developers if they are willing to pay for being a Microsoft or Apple developer.

Read More

    • #operating system
    • #Linux
    • #Windows
    • #future
  • 1 year ago
  • Permalink
  • Share
    Tweet

The awfulness of commercial operating systems

Before writing this article I thought about being against innovation, a peace loving person creating an article to defend the status quo. Well I do not think I have something against innovation or better new findings or thoughts - otherwise I would not try to leave the past behind me and switching to Linux as main OS once more. But also the conclusion that something which is already elaborated is “future proof” must not be synonymous with being conservative.

So I want to describe how I came to the conclusion to revive Linux on my personal desktop. I want to describe why the current operating system trends around the commercial platforms from Microsoft and Apple annoy me. Especially from the point of view of a software engineer.

This is the first of a series of three posts, because there is a lot to be said. My conclusions also may not be new, but I think it is worth it to articulate my thoughts nevertheless.

Read More

    • #operating system
    • #Linux
    • #Windows
    • #future
  • 1 year ago
  • Permalink
  • Share
    Tweet

The First Universal Quantum Network Built in Germany

thoughts-on-computing:

Scientists in Germany were able to network two labs spaced at 21 meters apart. They were able to implement a working network with a single rubidium atom to store that data defined by a qubit, and using a photon, transmit data between the nodes.

  • 1 year ago > computer-muser
  • 7
  • Permalink
  • Share
    Tweet

Revamped C++ Hello World

Writing a Hello World program - or rather copying it - is a traditional technique to make the first steps in a new programming language. I will give you an example of what actually a bad example for C++ looks like. Although I never saw this piece of program I am sure there exist worse.

void main() {
printf("Hello World");
}

First of all it is wrong to the bone: It does not return anything, Includes are missing and no sign of C++ at all, this is a C example, and even for C it is a bad one. Let us refactor this example to look more like C++.

Read More

    • #programming
    • #c++
    • #learning
  • 1 year ago
  • 1
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 2

About

About developing software, for enthusiasts from an enthusiast.

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr