Manipulating window look & behaviour with 'hey'

Blog post by humdinger on Sat, 2020-08-22 10:01

I have an ActivityMonitor replicant showing network receive/send info on the Desktop. I’d also like to have something showing cpu usage. However, a combined cpu usage ActivityMonitor doesn’t show individual core usage, and having a graph of all cpus often isn’t that informative either, because the 8 doodling lines of my cores are easily confusing. ProcessController’s bars are too narrow. Here are both, showing their inadequacy: Pulse (from the Demo folder) in mini-mode has everything I need: adjustable column width and colours.

Google Code-in 2019 finished

Blog post by humdinger on Thu, 2020-02-13 08:14

This 2019/2020 Google Code-in (GCI) was the 10th iteration in as many years and according to Google’s stats it was the most successful yet: In 7 weeks 3,566 students from 76 countries finished 20,840 tasks for 29 open source organizations! Haiku was one of those organizations - the only open source project, by the way, that participated in all 10 editions of GCI - and we had our share of dedicated students that completed numerous tasks, big and small.

Report of BeGeistert 031 in Hamburg

Blog post by humdinger on Fri, 2018-11-09 19:26

Only slighty bigger than 2017's "Kernel Debugging Camp" in Toulouse, this year's regular BeGeistert 031 (on its last day affectionately mottoed "The Dirty One") was held from November 1st to 4th in Hamburg. As in the past when BeGeistert was in Düsseldorf, we had a nice conference room in a Youth Hostel, just with a slighty less nice bedroom. Toiletts and showers on the floor instead of in every room.

Scripting the GUI with 'hey'

Blog post by humdinger on Sun, 2017-11-05 08:16

Haiku’s GUI is in principle entirely scriptable. You can change a window’s position and size and manipulate pretty much every widget in it. The tool to do this is hey. It sends BMessages to an application, thus emulating what happens if the user clicks on a menu, checkbox, or other widgets. The seminal work on this application scripting is the BeOS Application Scripting chapter of the BeOS Bible by Chris Herborth.

Building packages with haikuporter

Blog post by humdinger on Wed, 2017-02-22 08:38

HaikuPorter is a python tool that takes a so-called recipe that describes the dependencies of a software and how to download, build and package it.

The HaikuPorts Wiki has all the info to get started writing recipes. But it gets into too much detail if all you want is use HaikuPorter to build stuff with existing working recipes.

Here’s a quick step-by-step guide how to do that.

Contributing via pull requests

Blog post by humdinger on Sat, 2016-05-28 06:56

Opening issues for an application at github, for example, is a good way to help improving software. Often it's only a small detail and something a non-programming user could easily fix. Maybe it's just a typo or improved documentation etc.

Doing the changes yourself and contributing these fixes directly via a so-called "pull-request" is even better, as it saves the precious time of the developers/maintainers. Also, this dabbling in code might be a nice way to slowly ease yourself into more ambitious contributions.

A short report of BeGeistert 029

Blog post by humdinger on Tue, 2015-11-10 18:00

BeGeistert LogoBeGeistert 029 was once more a quite small gathering, with 14 Haiku users attending, plus one father, girlfriend, wife and baby. Puck was there the second year in a row, bringing Colin’s desktop machine with him, which was left behind when Colin moved to New Zealand. (How is Colin these days?) Another new face to BeGeistert: Markus “TwoFX”, one of our finalists in the Google Code-In 2014 and contributer of various patches since. He brought his girlfriend Leslie, who pleasantly doubled the number of attending females.

BeGeistert 028 impressions

Blog post by humdinger on Tue, 2014-10-28 07:01

After a nice short walk through the light drizzle of the slowly condensing mist that completely shrouded the top of Düsseldorf’s landmark Rhine Tower, I arrived pretty early at the Youth Hostel. Entering our conference room I was greeted by its single occupant: Matthias, who I haven’t seen at a BeGeistert for some years. We were chatting while I was setting up my gear and one by one more people entered our conference room. Most of them coming from breakfast; they already arrived the day before. I was glad to see most of the regular core developers did manage to come to BeGeistert after all!

Videos of BeGeistert 026 are up

Blog post by humdinger on Thu, 2012-12-06 18:00

A bit late, but finally I managed to process my recordings of the talks at BeGeistert 026 “Marathon”. The quality isn’t terrific, looks like the picture was much better last time at BG 024, when we apparently didn’t darken the room so much. Audio might be slightly better, as I have used compression and a bit of filtering following advice from Haikollegue Sean Collins. I used Avidemux under Linux for de/muxing the audio track and encoding the final AVIs, and Audacity for processing the audio.

A Short BeGeistert 025 Report

Blog post by humdinger on Fri, 2012-04-06 05:05

As this was one of the smallest BeGeistert meetings, this report will be quite short as well...

I arrived at the airport on Saturday morning at about 9:15 and made it to the nice location at Düsseldorf's youth hostel at 10 o'clock. After weeks with temperatures up to 20 °C, the good weather took a day off and I made the 10 minute walk from the station "Luegplatz" to the hostel in a very fine drizzle and shivering 10 °C...