Category: Linux

Misc ;)

cmokca 2.0 released 0

CMocka 2.0 Released: Enhancing Unit Testing in C

I am thrilled to announce the release of cmocka 2.0, a milestone for the cmocka project. cmocka is a unit testing framework for C, designed to be simple, portable, and easy to use. It provides a straightforward API for writing and running tests, making it an excellent choice for developers who need to ensure the reliability and correctness of their C code. A Brief History...

The picture shows a fail authentication 0

Local authentication hub

by Alexander Bokovoy and Andreas Schneider FOSDEM 2025 is just behind us and it was a great event as always. Alexander and I had a chance to talkabout the local authentication hub project. Our FOSDEM talk was “localkdc – a general local authentication hub”. You can watch it and come back here for more details. But before going into details, let us provide a bit...

KDE: Run a command 2

KDE: “Run a command” on notification trigger

KDE had a feature a lot of people didn’t know about. You could run a command when a notification triggered. The feature wasn’t very well documented and nobody really blogged about it. However with the release of KDE Plasma 6, the feature was removed. I learned about it by accident, as it is tracked by Bug #481069. I really need the feature and I re-implemented...

3

neovim, dap and gdb 14.1

At the beginning of December 2023 gdb version 14.1 was released. The feature I’ve waited for is support for the the Debug Adapter Protocol. Today I finally looked into this and got gdb working with nvim-dap. If you already have setup nvim-dap, it is pretty easy to add support for C/C++ with gdb. First you need to enable DAP for the filetype. I load DAP...

0

Sliced bread: git-worktree and bare repo

The git versioning system has two really nice features you might already heard about. One of them is git-worktree and the other are bare git repositories. This makes my life a lot easier working on Samba as often I have several feature branches I’m working on. Some features often take several months to finish. I don’t want to compile them again and again every time...

0

socket_wrapper 1.3.0 and fd-passing

A new version of socket_wrapper has just been released. In short, socket_wrapper is a library passing all socket communications through unix sockets. It aims to help client/server software development teams willing to gain full functional test coverage. It makes possible to run several instances of the full software stack on the same machine and perform locally functional testing of complex network configurations. New in version...

0

Samba and GnuTLS

TL;DR SMB3 file transfer with encryption will be 4-6 times faster with Samba 4.12 Samba is getting out of the crypto business GnuTLS >= 3.4.7 required FIPS compliance ahead Introduction More or less since the beginning of Samba, it implemented the cryptography it needed to talk to Windows on its own. One reason is that Windows didn’t follow the standards or used ciphers nobody else...

2

cmocka version 1.1.2 released

I’m happy to announce version 1.1.2 of cmocka, a unit testing framework for C with mocking support. ChangeLog Added function to filter tests (cmocka_set_test_filter) Added new mocking example (uptime) Fixed fixture error reporting Fixed compiler flags detection Some improvement for API documentation

1

Profiling a camera with darktable-chart

I’ve written an article about “Profiling a camera with darktable-chart” which has been published at pixls.us. The article is about how to get the same color profile of you camera for your raw developing process. If you wonder what darktable is, it is a raw developer software for photographers.

3

Using AMD Open Source and the amdgpu-pro OpenCL driver for image processing

I have an AMD grahpics card and use the great Open Source driver which comes with my Linux distribution. However for image processing I want the OpenCL support of my graphics card. Currently that’s only provided by the amdgpu-pro driver. However it is possible to just extract the files needed for OpenCL and use them. Here is how to do this: Go to https://support.amd.com/en-us/download Select...