Programming Leftovers
-
Niels Thykier: Making debputy: Writing declarative parsing logic
In this blog post, I will cover how debputy parses its manifest and the conceptual improvements I did to make parsing of the manifest easier.
All instructions to debputy are provided via the debian/debputy.manifest file and said manifest is written in the YAML format. After the YAML parser has read the basic file structure, debputy does another pass over the data to extract the information from the basic structure. As an example, the following YAML file: [...]
-
Write.as ☛ Improving the qcolor-from-literal Clazy check
Improving the qcolor-from-literal Clazy check
For all of you who don't know, Clazy is a clang compiler plugin that adds checks for Qt semantics. I have it as my default compiler, because it gives me useful hints when writing or working with preexisting code. Recently, I decided to give working on the project a try! One bigger contribution of mine was to the qcolor-from-literal check, which is a performance optimization. A
QColor
object has different constructors, this check is about the string constructor. It may accept standardized colors like “lightblue”, but also color patterns. Those can have different formats, but all provide an RGB value and optionally transparency. Having Qt parse this as a string causes performance overhead compared to alternatives. -
Akseli Lahtinen ☛ Debug symbols for all!
When running GNU/Linux software and encountering a crash, and you make a bug report about it (thank you!), you may be asked for backtraces and debug symbols.
And if you're not developer you may wonder what in the heck are those?
I wanted to open up this topic a bit, but if you want more technical in-depth look into these things, internet is full of info. :)
This is more a guide for any common user who encounters this situation and what they can do to get these mystical backtraces and symbols and magic to the devs.
-
Java
-
Ubuntu Pit ☛ 15 Best Netbeans Themes and Color Schemes
Netbeans is an open-source IDE known for its easy usage, intuitive interface, and Java implementation. However, users sometimes have their own preferences for which they might wish to use one of the other NetBeans themes. And there are plenty of options to choose from!
-