Replacing a shell script with a C program Show more
It's kind of cute how constructing calls with the GVariant and GDBus APIs in C is kind of more convenient than figuring out how to correctly call D-Bus methods using any of dbus-send, gdbus, and busctl.
On the other hand, command line option handling using GOptionContext to have “program [options] <command> [command-options]” in C is clumsy and painful.
C can be a neat language but string manipulation and undefined behaviour kill the joy of programming.
I thought Emacs opening image files like an image viewer was a bit of overkill... but it's just PERFECT for quickly going down Cairo's test results.
It's probably because I can leave windows in place and replace the images shown in them, much like a window manager that actually doesn't get in your way.
Don't @ me about tiling window managers please 🙉
Until a man is twenty-five, he still thinks, every so often, that under the right circumstances he could be the baddest motherfucker in the world. I used to think this way too, until I ran into Show more
Regular Expression Crossword
I can't bisect a problem in Cairo's test suite because I can't find an old revision that passes the test.
It *could* have been due to changes in pixman, but that code in pixman hasn't changed in the amount of time since the oldest revision in Cairo that I'm looking at.
Of course with plain pkg-config dependencies, there's no way to tie a git revision to the actual version of the dependency that it was tested with.
I.e. if there was Cargo.lock for C, this would be a lot easier.
programmer horror Show more
Tired: git bisect
Wired: git vivisect
Well, I didn't make it to the neighborhood meeting, but it's because I spent the last couple of hours overhauling my code of conduct resources: http://safetyfirstpdx.org/resources/
Making more progress. You can push your app as a Flatpak to a device such as this tablet. Still needs more automation, but getting closer to something useful.
RT @mgattozzi: I've just updated https://t.co/IvA5ln5DKK! It now contains some of the first stories of @rustlang's history: "Why do we have… source: https://twitter.com/rustlang/status/971542000339177472
I wrote about how to download music files from YouTube instead of streaming them! https://hashman.ca/youtube-dl/
From birdsite: using "git bisect" to find a kernel bug with qemu - https://ldpreload.com/blog/git-bisect-run
We're dong a second printing of The Responsible Communication Style Guide! https://rcstyleguide.com/2018/03/08/the-responsible-communication-style-guide-is-headed-back-to-the-printers/
Camilo Aguilar on the rsync algorithm
These days, mobile phones are packed with multi core CPUs and even GPUs. Despite these advances in hardware, internet connections in most parts of the world are still surprisingly slow and unreliable. This creates a challenge: how can files be efficiently transferred between computers over a low-bandwidth, high latency network connection?
Helping Cairo - https://people.gnome.org/~federico/blog/helping-cairo.html
GNOME co-founder. Amateur woodworker, cook, cyclist, cartographer, gardener.
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!