Quantcast
Channel: english – How easy it is to make people believe a lie, and how hard it is to undo that work again
Browsing all 100 articles
Browse latest View live

Hey guys

Have you guys stopped debating systemd like a bunch of morons already? Because I’ve been keeping myself away from the debate a bit: the amount of idiot was just too large for my mind.People who know me...

View Article


Up next: PADI master diver

A year or so after my PADI rescue, my diving club has convinced me to wake up about twelve times early in the morning on Saturday, to get me trained to become a PADI master diver. The jokers in my club...

View Article


In agreement

Surprisingly I’m in agreement with what Richard has to say in this specific context.  

View Article

Dnsmasq’s code quality

Had to adapt dnsmasq’s code today. My god, that tiny application has a shitty code quality. I now feel bad knowing that so many systems are depending on this stuff.

View Article

Secretly reusing my own LRU code

Last week, I secretly reused my own LRU code in the model of the editor of a CNC machine (has truly huge files, needs a statement editor). I rewrote my own code, of course. It’s Qt based, not GLib....

View Article


Putting an LRU in your code

For the ones who didn’t find the LRU in Tracker’s code (and for the ones who where lazy). Let’s say we will have instances of something called a Statement. Each of those instances is relatively big....

View Article

Visitor for Klartext

Felt good about explaining my work last time. For no reason. I guess I’m happy, or I no longer feel PGO’s pressure or something. Having to be politically correct all the times, sucks. Making...

View Article

Image may be NSFW.
Clik here to view.

Composition and aggregation to choose memory types in Qt

As we all know has Qt types like QPointer, QSharedPointer and we know about its object trees. So when do we use what? Let’s first go back to school, and remember the difference between composition and...

View Article


Item isChild of another Item in QML

Damned, QML is inconsistent! Things have a content, data or children. And apparently they can all mean the same thing. So how do we know if something is a child of something else? After a failed...

View Article


QML coding conventions checker that uses QML parser’s own abstract syntax tree

My colleague Henk Van Der Laak made a interesting tool that checks your code against the QML coding conventions. It uses the internal parser’s abstract syntax tree of Qt 5.6 and a visitor design. It...

View Article

MVVM, Model View ViewModel, with Qt and QML

In the XAML world it’s very common to use the MVVM pattern. I will explain how to use the technique in a similar way with Qt and QML. The idea is to not have too much code in the view component....

View Article

How about …

Next time, I show you how to turn that ViewModel into a Visitor? And then make a view that shows the syntax and outline of a parsed file’s language? How about I turn my blog into the programmers’...

View Article

Image may be NSFW.
Clik here to view.

Composition and aggregation with QObject

Consider these rather simple relationships between classes Continuing on this subject, here are some code examples. Class1 & Class2: Composition An instance of Class1 can not exist without an...

View Article


Loading truly truly huge text files with a QAbstractListModel

Sometimes people want to do crazy stuff like loading a gigabyte sized plain text file into a Qt view that can handle QAbstractListModel. Like for example a QML ListView. You know, the kind of files you...

View Article

Truly huge files and the problem of continuous virtual address space

As we all know does mmap, or even worse on Windows CreateFileMapping, need contiguous virtual address space for a given mapping size. That can become a problem when you want to load a file of a...

View Article


The clouds

In the East there is a shark which is larger than all other fish. It changes into a bird whose wings are like clouds filling the sky. When this bird moves across the land, it brings a message from...

View Article

Finally took the time to get certificates

Finally took the time to use certificates for codeminded.be and pvanhoof.be. Also the SMTP at mail.codeminded.be should now have a somewhat good TLS situation, too. But of course, whoever needed tell...

View Article


The Internet of crap – The Ioc. Now In Store!

Like I mentioned a few months ago, here we are again. More things equals more crap on the Internet. Not more utility. No. More crap. It’s only crap. With lower case ‘c’. The crap of the crap...

View Article

Scrum is (best done) like a soccer team

As a freelancer I saw many companies, many situations and worked with many Project Managers, Product Owners, Scrum Masters and god knows what names the HR department came up with. What is most...

View Article

Linux is right now what Linux right now is

It certainly isn’t the desktop. But nonetheless, it’s all over the place.

View Article
Browsing all 100 articles
Browse latest View live