Fedi needs more #OpenTTD love. Did you know that it's even possible to play on Android? Some of the interactions are not so polished with a touchscreen, but it's a very solid port nevertheless. And there is always the option of using a Bluetooth or USB mouse (with an OTG cable) if you would prefer that.
Here's almost the same thing sans the main content area, I realized I won't need layout for that: it uses all the window space not taken by the top bar.
This time I tried https://github.com/xamarin/flex which literally implements the CSS Flexbox module and the layout setup code was also ~30 LOC. More pros: it's shipping in Xamarin.Forms (translated into C#), has tests…
Now, how much would it take to graft some input handling and proper element styling (label, button, etc.) to have something usable?
While going through yet another immediate mode user interface library I got a bit tickled because all of them use row-based layout, and are not particularly handy for interfaces which should adapt to window sizes.
Then the word “flexbox” came out from the back of my mind, and a quick search later I tried https://github.com/randrew/layout which took only ~30 LOC to get this.
Granted, this does not handle events nor rendering, but it was an interesting experiment. Turns out I prefer the flexbox model.
Some more eggs.
Related meme... This is old, yet still amusing.
Here are more painters that can be recognized in funny ways: https://www.boredpanda.com/famous-paintings-artists-how-to-recognize/
(Ab)Using #zig (via “zig cc”) to cross-compile static binaries of a small C program for a bunch of architectures I don't have access to is nothing but a joy.
Time for #breadposting 🍞 🥖
My starter is back in business after being stored as dry chips for a month and a half. It took only a couples of days to get it back to full strength. This method is excellent for long term storage and I very much plan to use it again.
TFW reading documentation from 2002 for XML-based formats.
That is 37 lines and it's not enough to show the whole code for two table rows in DocBook XML. *sigh*.
Released Signify portable v30, includes one tiny fix for a Clang 10 warning, but it's the first release to be signed with Signify itself:
I may do less #breadposting lately, but I'm still doing at least one sourdough sandwich bread loaf a week. Here is today's loaf proofing.
💻 Programming 🗽💿 Free Software 🎸 Music 🚂 Traveling — 🌍 https://perezdecastro.org
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!