@sbi@toot.berlin
@sbi@toot.berlin avatar

sbi

@sbi@toot.berlin

I'm the Grumpy Old Ape, father of many, ex of two, long-time user of C++, writing 24/7 software that keeps people's lights on. Expect political, social, environmental, and programming-related posts. And maybe some about cooking, gardening, or raising kids.

Most of this will be in English, but you might have to gloss over the occasional German post.

"I'm not intentionally leftist; I'm just trying to behave like a decent human being."

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

revk, to random
@revk@toot.me.uk avatar

Shit!

If I "buy" some "content" (TV movie/film) on something like Apple TV, I expect to buy it.

There are a lot of issues with that I know, but for now, Apple TV do seem to treat it that I "own" it and so can play it whenever I like. Good,

But when re-watching "Continuum" series, and it hits me every time they have (now) censored the word "shit" or similar from the dialogue. I have watched many times. Artificial gap in dialogue!

What I am watching now is not what I "purchased", FFS.

sbi,
@sbi@toot.berlin avatar

@revk @malwareminigun If paying for it is not considered buying, then not paying for it must not be considered stealing. ¯_(ツ)_/¯

sbi,
@sbi@toot.berlin avatar

@revk @malwareminigun Note how I said stealing, not pirating. Piracy is robbery, which implies that someone was forced by (threatened) violence to give away something they had. If I take away something without (the thread of) violence, it cannot be robbery, and hence not piracy.
But, yeah, since information has the ability to be in many places at the same time, at least according to the common definition of "stealing", you cannot actually steal it, since you do not take something away.

olafurw, to random
@olafurw@mastodon.social avatar

Tusky as a mobile mastodon app is fine, how it loads notifications it seems to be that it loads N notifications you haven't seen, and when it's done it loads the next N, etc.

Which as a method of loading notifications is fine, until you have a popular post and you have to slog through 10-20 notification loads, each with a few seconds of delay.

@Tusky

sbi,
@sbi@toot.berlin avatar

@Tusky @olafurw Thanks for fixing this! Once we have that, could we please have batched notifications: "X people liked this toot of yours." I had an unusual high amount of reactions to a recent toot, and had to filter out likes and boosts to be able to see anything else, which is not what I want given my usual notification frequency.
But even if I can't have that: Thanks for creating such a great app! I love it!

sbi, to random
@sbi@toot.berlin avatar

"Men and women going out together, that's a date!"

I do not subscribe to such stupid ideas. I have gone out with make and female friends, and it was great, because we are friends. When any meeting with the opposite sex becomes a date, my life would become much poorer for it.

Patricia, to random
@Patricia@vivaldi.net avatar

Oh no I think I want to make a thing that uses both sealed interface and “Delegated properties” to try to compensate for my lack of variant 🙈
https://kotlinlang.org/docs/delegated-properties.html

sbi,
@sbi@toot.berlin avatar

@Patricia @Paxxi Ah, but you're Scandinavian, and, as we see on the news daily, Scandinavians are all organized in unions!

[I am truly sorry. I just couldn't resist.]

veronica, to python
@veronica@mastodon.online avatar

At this point, test coverage has become a matter of pride and principle on my personal project.

This patch is a big one too. +1,112 −485 lines. 😊

sbi,
@sbi@toot.berlin avatar

@veronica That sounds like extraordinary well-structured test code. IME, test code tends to be way more repetitive, and thus way more extensive, than production code.

isAutonomous, to random German
@isAutonomous@karlsruhe-social.de avatar

Guten Morgen,

Wenn das RKI schreibt, dass eine Coronaimpfung nach einer Coronaerkrankung den Schutz vor einer weiteren Infektion und einem eventuellen schweren Krankheitsverlauf deutlich verbessert und die STIKO schreibt, man soll mindestens ein Jahr nach einer Erkrankung mit der Impfung warten, dann weiß ich auch nicht. 🤷🏻‍♂️

sbi,
@sbi@toot.berlin avatar

@isAutonomous @weit_im_westen @virbonus Die Stiko hat eine volkswirtschaftliche Sicht auf die Pandemie, das RKI mehr eine medizinische. 🤷‍♂️

cstross, to random
@cstross@wandering.shop avatar

About Amazon's decline in recent months: I have an Amazon account I use ONLY for buying ebooks. Nothing else, ever, going back over a decade.

My recommendations page in that account now contains no ebooks, only products from categories I never purchase, like lawnmowers (I don't have a garden) and dresses (I'm a boring cis male).

I can't actually find any new ebooks I want to read via Amazon recommendations any more. And this seems to be an outcome of deliberate changes? Why would they DO that?

sbi,
@sbi@toot.berlin avatar

@cstross Your habits are very likely not statistically relevant among Amazon's customers, so their ML algorithms have no matching decision paths for your habits, and completely fuck it up for you. And Amazon won't spend any money on fixing this, because you are a minuscule minority, not worth to train their algorithms on.

This is enshittification by "AI" 101. (But you knew that, right?)

sbi,
@sbi@toot.berlin avatar

@cstross I apologize for being the idiot who points out the obvious. 😞

sbi, (edited ) to random
@sbi@toot.berlin avatar

A question to the C++ community here:

Which standard library features and which core language features might throw exceptions?
(I am going through a library trying to find all the places where we need to look twice for exception safety. I have identified all the places we throw exceptions, and what code is affected by that. I am now trying to find where other code we use might throw, and what is affected by this.)

Please boost for greater reach.

mathowie, to random
@mathowie@xoxo.zone avatar

you might think I’m a shill for Big Leaf, but autumn in Oregon really does look this amazing

Multnomah Falls in full Fall color
Multnomah Falls in full Fall color
Multnomah Falls in full Fall color

sbi,
@sbi@toot.berlin avatar

@mathowie @sshann A few decades ago, when I was a young man, I got to see a few of the beautiful falls in the gorge. Sadly, not in clad in autumn colors, but they were beautiful still.

stux, to random
@stux@mstdn.social avatar

This just blew my mind :blobcatgiggle: My respect for the modern tech I use just went up a level

A BBC video from way back in the days about digital storage devices

sbi,
@sbi@toot.berlin avatar

@veronica @cstross @stux Being born east of the Iron Curtain, my first encounter wasn't until I was way past school. And it was machines like this.

An MC80 computer from the 80s of East Germany.

islieb, to random German
@islieb@mastodon.social avatar

In wen?

sbi,
@sbi@toot.berlin avatar

@islieb Das schreibst du 8:00?? Wer hat einen Chef und ist am Dienstagmorgen 8:00 noch im Bett??

b0rk, to random
@b0rk@jvns.ca avatar
sbi,
@sbi@toot.berlin avatar

@b0rk The colleague who introduced me to git told me that rebase is about "commit hygiene".
Whenever I blame some file to understand why a piece of code is the way it is, and how it got there, I hate stumbling across commits like "now trying X instead" and "merging main into this branch". I do not want to see how you stumbled in the dark, I want to see what you found once you managed to turn on the light!
Rebase provides a way to turn the mess into self-contained commits and grokable changes.

sbi,
@sbi@toot.berlin avatar

@b0rk @chandlerc I was introduced to rebase as it being about "commit hygiene".
Whenever I want to understand why a piece of code is the way it is, and how it got there, I hate stumbling across commits like "now trying X instead" and "merging that branch into this branch". I do not want to see how you stumbled in the dark, I want to see what you did once you found the light switch!

Rebase provides a way to turn the mess left after experimenting into a neat transcript of the effective changes.

sbi,
@sbi@toot.berlin avatar

@foonathan @chandlerc @b0rk Yeah, I usually rebase so all the small bugfixes, refactorings, and cosmetic changes which are not relly relevant to the semantic changes made in a branch are in a single commit, preferably the first commit of this branch.

blinry, to random
@blinry@chaos.social avatar

Sooo, @rash's recent toot makes me want to put all my stuff in Euro containers! :D

So, I'm curious – what experiences have y'all made with Euroboxes? Which sizes do you like? Where do you put them? How do you label them? What has worked well for you? 🤓

sbi, (edited )
@sbi@toot.berlin avatar

@blinry @rash A 60cmx40cm box fits perfectly on my cheap bicycle trailer.

Paxxi, to random
@Paxxi@hachyderm.io avatar

For some reason the birds really like the concrete part of our barn, I guess because it's warmer there so any chance they get they sneak in there. Yesterday we were working in there and left the door open so naturally one bird had to sneak in and see what we were doing.

Also pictured is the original electrical wiring from I guess the early forties. For some reason we opt to not use it 😆

sbi,
@sbi@toot.berlin avatar
sbi,
@sbi@toot.berlin avatar

@Paxxi Who wouldn't love having a Great Tit at hand?!
(Note the capitalization!)

jwz, to random
@jwz@mastodon.social avatar

Mastodon should have a list of people you've blocked along with a saved copy of the post that made you block them.

The field could be called "Final Straw".

sbi,
@sbi@toot.berlin avatar

@scheidegger @jwz I came here to suggest this.

veronica, to writing
@veronica@mastodon.online avatar

My writing app is based on Markdown, but only has very simple formatting available.

A long requested feature is subscript and superscript, so are footnotes and endnotes, and even partial word emphasis.

Due to using regex for highlighting, these are somewhat tricky to achieve, but I'm wondering if this syntax may serve the purpose. Here in the editor, and how it renders.

These aren't features used often in fiction writing, so perhaps the syntax can be forgiven.

sbi,
@sbi@toot.berlin avatar

@oli @veronica Also, they are already used for formatting links in MD.

jeffowski, to random
@jeffowski@mastodon.world avatar

"If you break your leg, you die. You cannot run from danger, get to the river for a drink or hunt for food. You are meat for prowling beasts. No animal survives a broken leg long enough for the bone to heal.
A broken femur that has healed is evidence that someone has taken time to stay with the one who fell, has bound up the wound, has carried the person to safety and has tended the person through recovery. Helping someone else through difficulty is where civilization starts" Margaret Mead said.

sbi,
@sbi@toot.berlin avatar

@jeffowski @sshann I keep seeing this, and while it's close to the truth, it's not totally true. There are quite a few animals who will survive broken bones. I am not sure about a femur, but definitely other bones. Those are all social animals, of course, and with highly developed social groups, because these animals need the help of others in their group. However, I am not sure that, e.g., chimp groups is were civilization starts.
(I think this quote is from before all this was found out.)

b0rk, to random
@b0rk@jvns.ca avatar

working on a very short list of helpful command line git tools. so far I have:

what am I missing?

(I think GUI git tools are great too but that's not my focus right now)

sbi,
@sbi@toot.berlin avatar

@b0rk Now that I have found absorb, I don't know how I ever lived without it.

davidho, to random
@davidho@mastodon.world avatar

What is common knowledge in your field but shocks outsiders?

More than half the CO₂ emissions of the industrial age have been dumped into the atmosphere since 1990.

sbi,
@sbi@toot.berlin avatar

@davidho There's no partial specialization of function templates. You need to overload the function templates instead or, if it is the return type you want to partially specialize, implement this through static functions in partial specializations of class templates, since overloading by function return type isn't possible in C++.
¯_(ツ)_/¯

sbi, to random
@sbi@toot.berlin avatar

In spring 2022, after having been in too many discussions about batteries, energy storage, and renewable share in energy grids, I decided to write a Twitter 🧵 on the subject, trying to collect what I have learned in the last decade. I think it's high time I transferred this to mastodon, as long as I still can at least read Twitter. Also, there are a few things I wanted to improve on that thread, so this is my chance.

sbi,
@sbi@toot.berlin avatar

@cragsand I know very little about NPPs, but I was told that you cannot do primary or even secondary control with a NPP. ICBWT.

But aside from that, we simply do not have enough NPP to get off fossils now, and building a NPP takes 10—15 years, lots of money, and a nation to insure it. Effectively, renewables could have won the race to take over the grid while nuclear is still trying to get into its shoes.

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