@kdedude@fosstodon.org avatar

kdedude

@kdedude@fosstodon.org

KDE and FreeBSD person (he/him). Willing to talk about cookies (oatmeal chocolate-chip).

This profile is from a federated server and may be incomplete. Browse more on the original instance.

kdedude, to random
@kdedude@fosstodon.org avatar

Some C++ constexpr noodling about at https://euroquis.nl/blabla/2024/04/30/chmod.html so that I can now write

chmod(file, "rw-r-----"_mode)

and don't have to count bits (but I can, because I grew up with a PDP-11, so 0640 is a perfectly natural way to express the same mode)

kdedude, to random
@kdedude@fosstodon.org avatar

Well, I think a suggestive error message is one that offers full details on what is wrong, advice on how to fix the problem, suggests (see?) a resolution.

So I'm going to leave all my suggestive errors in the documentation.

kdedude, to linuxappsummit
@kdedude@fosstodon.org avatar
kdedude, to random
@kdedude@fosstodon.org avatar

We are excited to announce that will be held in Monterrey, Mexico! Join us on October 4-5 in person or online. Register here: https://conf.linuxappsummit.org/event/6/registrations/16/

kdedude, to random
@kdedude@fosstodon.org avatar

Yay! Instant-supermarket-delivery services are giving up on the Netherlands.

kdedude, to random
@kdedude@fosstodon.org avatar

I wrote a constexpr wrapper in C++20 for basic file permission strings in Linux, so I can finally write something like chown(pathname, "rwx--x--x") and get compile-time checking, reasonable error messages, and more readable code.

("readable" means "i don't like S_IRWXU | S_IXGRP | S_IXOTH")

kdedude, to FreeBSD
@kdedude@fosstodon.org avatar

There's a KVirc (https://www.kvirc.net/) update approaching for ports, and more and more we're getting "do we update this for Qt6 or not?" I think there's going to be a sea change to Qt6-based things "soon".

(for me personally, that would require VirtualBox to go to Qt6 as well, although I'm not afraid of having multiple UI toolkits installed)

kdedude, to random
@kdedude@fosstodon.org avatar

At work-work, sometimes you write C++ code that makes you wonder "is this UB?"

Sometimes I can confidently say "no" and carry on. Sometimes I need to ask a colleague. That's a sign that maybe it's not a good idea to write code like that, regardless of UB-ness. Code should be easy to read, not a brain-puzzler.

kdedude,
@kdedude@fosstodon.org avatar

If the colleague confidently says "no UB", carry on. But we can escalate to our language-lawyer-person -- at this point it is code that needs an explanatory comment, regardless. Too clever for its own good.

kdedude,
@kdedude@fosstodon.org avatar

And then if our language-lawyer-person says "I need to ask @shafik " then regardless of the answer, we're not going to do it; in six months time that brain puzzler in production code is going to be way more trouble than it's worth.

(On the other hand, if we need to ask Shafik Yaghmour, that also means that we can spend a friday afternoon as a team, wrestling with C++ semantics in order to understand it, which is fun in itself)

kdedude,
@kdedude@fosstodon.org avatar

.. at least if your definition of "fun friday afternoon activities" includes C++ semantics.

It's ok if you don't.

kdedude, to random
@kdedude@fosstodon.org avatar

"iostream was a mistake" is one of those C++ iceberg items that I've often thought was a big over-the-top.

After switching around some compiler flags, one TU of mine suddently took 25+ minutes to build.

Nothing really exciting in the TU except 40-lines-worth of << line << endl chained together. All constant strings.

kdedude,
@kdedude@fosstodon.org avatar

And with a bit of wrangling, I turned that into a single write() call with a constant string, replacing all the endl by newlines, etc. Build time for that TU now under two seconds.

I'm slightly more accepting of that iceberg point, now.

kdedude, to random
@kdedude@fosstodon.org avatar

Google notifications to developers are just terrible. "Your app is broken / unlisted / needs review" but does not, anywhere, tell you what the app is. Like, for instance, the name of the app. Or its application ID (which would suggest the name). Nope, 12 digits and "you figure it out".

So, yeah, some KDE Android application has something going on. We don't know which one, or why.

This makes TeX's classic error message "something's wrong" a beacon of clarity.

tdfischer, to random
@tdfischer@towns.gay avatar

Today I got one third of a Mercedes Benz owned startup to vote towards unionizing, AMA

kdedude,
@kdedude@fosstodon.org avatar

@tdfischer "bastille day" is taken. what building will name your revolution?

kdedude, to random
@kdedude@fosstodon.org avatar

Whenever i see "temporary workaround" in code comments i break out git blame to see how temporary it has been.

Yesterday's haul was 5.5 years, and 7.

halla, to random
@halla@fosstodon.org avatar

Salsify is lovely, great, tasty and shiny. Re-reheated salsify is none of the above, I learned today, when re-heating the curry I made with already cooked, frozen salsify.

kdedude,
@kdedude@fosstodon.org avatar

@halla keukenmeidenverdriet, kwadraat -- does that make it keukenprinsessenverdriet?

18+ halla, to random
@halla@fosstodon.org avatar

The remains of masaman curry with salsify. It was tasty, but pretty spicy.

Salsify is pretty good in curry, though.

kdedude,
@kdedude@fosstodon.org avatar

@halla "Salsify" to me sounds so mysterious and special and i always have to look it up on wikipedia to end with a disappointed "oooh, gewoon schorseneren" (granted, to non-Dutch speakers that probably sounds like an arcane curse)

halla, to random
@halla@fosstodon.org avatar

Okay... So someone who donated 1 (one) euro to wants that refunded because someone from Russia is working on Krita -- despite this person being a refugee and victim of Putitler themselves...

kdedude,
@kdedude@fosstodon.org avatar

@halla do not refund through an action of the krita Foundation. every donation platform and payment mechanism offers a dispute / rollback mechanism. it might cost you, due to dispute fees, but then you won't be suckered by a return and a rollback.

kdedude, to random
@kdedude@fosstodon.org avatar

For work-work, I used this KDE trip to ask some end-users of the application (or maybe I used this work-work trip to do KDE things, who knows -- both parties paid for part of the trip) and got some really useful "I am annoyed by this trivial UI thing" comments.

Trivial UI things are never as trivial as you might think, and annoyances build up over time. Granted, this was about a button you press maybe once a month, but it's still an annoyance, so I sat down in the factory to fix it.

kdedude, to KDE
@kdedude@fosstodon.org avatar

I spent two days in meetings with the rest of the e.V. board, with Lydia, Eike, Nate and el presidente Aleix, we did all the administrative things, the HR stuff, the contracts, the three-year-plan, and had time for beer and the best food Berlin has to offer, too.

9to5linux, to linux
@9to5linux@floss.social avatar

3.3.6 Graphical Installer Improves Support for Plymouth Splash Screens, Adds Sleep Prevention and Optional Active Directory Enrollment https://9to5linux.com/calamares-3-3-6-linux-installer-improves-support-for-plymouth-splash-screens

kdedude,
@kdedude@fosstodon.org avatar

@9to5linux I'm not writing the full release notes until after dinner

kdedude, to linux
@kdedude@fosstodon.org avatar

installer 3.3.6 released (it could install FreeBSD, too, if I really sat down to it).

kdedude, to random
@kdedude@fosstodon.org avatar

Every Calamares release gets a sprinkling of "clang rightfully complains about this bit of code" fixes. The regular development workflow is gcc-only. The release workflow adds another compiler to the mix, even if no Linux distro would use it. That helps -- after many many cycles -- improve code quality.

kdedude, to linux
@kdedude@fosstodon.org avatar

Green fields and wind turbines scroll past my window at 160 km/h as I slowly put together power-management in installer -- thanks to @AleixPol for pointing me at Discover for a reference implementation.

This ought to fix "someone on Reddit complained".

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • thenastyranch
  • mdbf
  • khanakhh
  • Youngstown
  • slotface
  • vwfavf
  • everett
  • rosin
  • kavyap
  • Durango
  • PowerRangers
  • DreamBathrooms
  • Leos
  • magazineikmin
  • hgfsjryuu7
  • ethstaker
  • tacticalgear
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • cisconetworking
  • modclub
  • cubers
  • tester
  • normalnudes
  • provamag3
  • All magazines