💾 Archived View for gem.hack.org › mc › log › 2022-06-01.gmi captured on 2024-07-08 at 23:30:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-04-19)

-=-=-=-=-=-=-

2022-06-01

Stayed at home yesterday. Wasn't very social. A VNV Nation kind of day. Stayed in my room with at least three computers running. There are far too many in here that are turned off. I think #3 counted them once and said "23 computers!? Why do you need 23 computers?". I haven't got any good answers. They're using at least three computers themself, when I think about it: Two iPads and the school's Chromebook. They used to have a Linux laptop as well but they stopped using that years ago.

Had to attend some video conference meetings, as you do, but mostly spent the day programming in C for a change. A lot of bit fiddling. That was some time ago. I'll have a slightly different focus at dayjob from now on.

I may have found a new office. I'll lose access to the current office in February next year, so there's no rush, really. With a bit of luck I'll go see the new office later this week. It is just a desk in a sort of film studio, but not many people sit there. It is quite close to home. No idea about how much it will cost yet and if someone else from our little gang can join me.

I was invited to two summer parties. One was a beach party. At night, of course. The other is the HEMA club's summer party. Sharp swords, crossbows, alcohol! What could possibly go wrong? Of course, for realz, we get no beer before putting away the sharp weapons.

Hack lunch today. We sat in the park next to the office with some take away. Really nice day. With a bit of luck we can do it again with some beer on Friday?

2600

I noticed that someone is trying to start 2600 meetings in Malmö again. Might be fun. I don't know if I can go but I'll try.

https://foocafe.org/event/2600-rails

Seems a bit... well... organized for a 2600 meeting? But, hey, free food?

River

Now running River on my work laptop as well. Feels good.

The stacktile layout engine seems to forget about my carefully set up layout on my tower machine after screenlock. I do something like:

% riverctl send-layout-cmd stacktile "primary_sublayout columns"
% riverctl send-layout-cmd stacktile "primary_count 2"

Later, swayidle runs swaylock and when I get back I don't have any columns in the primary track anymore. What? Back to rivercarro for now.

Found more layout generators:

https://gitlab.com/snakedye/kile

https://github.com/MaxVerevkin/river-luatile

Kile is written in Rust and has a Lisp-like DSL for defining more layouts. luatile is also in Rust but with an embedded Lua to write your generators in.

Haven't tried any of them yet.

Vivarium

Experimented some more with vivarium. The configuration parser is a bit brittle. If I leave out, for instance [[background]] it segfaults on start.

I also tested other layouts. I added the already existing columns thing to viv_config.h:

diff --git a/config/viv_config.h b/config/viv_config.h
index a1b4de0..0079ae3 100644
--- a/config/viv_config.h
+++ b/config/viv_config.h
@@ -184,6 +184,12 @@ struct viv_layout the_layouts[] = {
         .ignore_excluded_regions = true,
         .no_borders = true,
     },
+    {
+        .name = "Columns",
+        .layout_function = &viv_layout_do_columns,
+        .parameter = CONFIG_LAYOUT_PARAMETER_DEFAULT,
+        .counter = CONFIG_LAYOUT_COUNTER_DEFAULT,
+    },
     // Example user-defined layout. You probably want to delete this from the config, but
     // this is how to make your own layout.
     {

but computer says no:

Error parsing [[layout]]: layout name "columns" not recognised

And, OK, if I leave it out of the config file I can't change to it anyway. I'll live with River for now.

Ego

Was reminded about

Principa Discordia–data-anarkist-kopplingens främsta representant, internet-legendaren MC, borde också hoppa på the bandwagon.

Swedish for "The foremost representative of the Principia Discordia/computer/anarchist connection, the Internet legend MC should also jump on the bandwagon", that is, start blogging again, that I found at

https://runkbaset.wordpress.com/2006/01/30/de-borde-skaffa-blogg/

Well, here you go!

mc,

Boomtime, the 6 day of Confusion in the YOLD 3188 (2022-06-01)

mc

mc's gemlog