Then, try this.
The Red Hat Developers Blog recently published this article about malloc internals which might be pretty interesting to those working with C.
The MQTT (Message Queue Telemetry Transport) messaging protocol is a lightweight protocol well suited for the Internet of Things. It is a simple protocol and an ISO standard. It comes with an extensible reference documentation.
I compiled a list of 8 talks from linux.conf.au 2017 that interested me. You can watch it here or just click play on the embedded video below:
Fedora is a rock-solid stable, with a good selection of official and non-official packages. Just like many other distros, it still gives you the flexibility to adjust the system to your workflow. Here’s my basic steps to adjust it to my needs:
- Install Cinnamon
- Install Lightdm:
1sudo dnf install -y lightdm
- Replace GDM with LightDM:
1sudo systemctl disable gdm ; sudo systemctl enable lightdm
- Remove evolution and all evolution stuff:
1sudo dnf remove -y evolution evolution-data-server
- If you are Brazilian, using a US International keyboard, install Roberto’s cedilla patch to fix the annoying default behavior for cedilla.
- Install zsh and oh-my-zsh.
Some links about interesting things I’ve read or watched by the end of 2016. Further comments are provided on each item of the list.
- Single file libraries: open source libraries with minimal dependencies.
- The sorry state of programming world as the end of 2016 AD: food for though regarding how most of development is done nowadays.
- Find my Phone: what happens when your phone is stolen.
- PayPal Cuts Costs 10x With Open Source CI: self descriptive.
- Learning to Read x86 Assembly: self descriptive.
- Json-c tutorial: how to manipulate json in C.
- The 101 of ELF Binaries on Linux: Understanding and Analysis: self descriptive.
- How the Linux kernel knows it’s running in a Virtual Machine: self descriptive.
- Stack Overflow: The Architecture – 2016 Edition: self descriptive.
- AMQP 1.0 in Azure Service Bus and Event Hubs protocol guide: a detailed explanation abou AMQP 1.0.
- 10 Tips for C and C++ Performance Improvement Code Optimization: simple optimization tips.
- Light Weight Protocol: Critical Implications: a talk about MQTT and security.
- Modern C: a book about modern C programming.
Here’s a tip if you are using Fedora and trying to use one of the Google Sanitizers with clang and is having problems doing so. One of the common problems is not being able to find libclang_rt.asan-x86_64.a:
/usr/bin/ld: cannot find /usr/bin/../lib64/clang/3.8.0/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory
This can be resolved by simply installing the compiler-rt package:
dnf install -y compiler-rt
Here’s a quick tip if you need to enable the Software Button Area behavior on an Apple macbook running Fedora 25:
xinput set-prop bcm5974 "libinput Click Method Enabled" 1 0
Some comments about this:
- You have to run it after every reboot
- There’s, probably, a better way to do this. Per documentation, it should be possible to set it up permanently by creating a file on /etc/X11/xorg.conf.d however I did not manage to create a file that works so far.
Overall tips for upgrade a SonarQube instance from 5.4 to 5.6 LTS.
- If you are using MariaDB as your database, please make sure to read the post SonarQube database migration: MariaDB 5.5 to MySQL 5.7.
- Ignore the upgrade steps provided by the application. They are incomplete. If you execute them, the upgrade will finish with success but no rules will be enabled after that. Instead, execute the steps provided in this StackOverflow comment.
- If you are using C++ community plugin, make sure that you are using at least version 0.9.6.
- Ensure that you have Java 8.