Woke up a bit early today, so decided to write a C++ class that implements a copy-on-write string that's a drop-in replacement for std::string (*not* for std::basic_string!).
https://github.com/uliwitness/cow_str/blob/main/cow_str/cow_str.hpp
Woke up a bit early today, so decided to write a C++ class that implements a copy-on-write string that's a drop-in replacement for std::string (*not* for std::basic_string!).
https://github.com/uliwitness/cow_str/blob/main/cow_str/cow_str.hpp
Little-known #macOS Finder trick:
You can right-click rename multiple files and e.g. replace parts of the names with other text, or even do more complex changes.
If you walk to work for any duration of time, and you can re-route to cut through a park, I highly recommend arranging for that. I meet so many cute dogs each morning…
@Addmen Accessibility Description:
ChristopherE on Bluesky writes:
In 1890, the X and Y chromosomes were discovered. It was found that the men who were tested had 46 chromosomes, including an X and a Y, while women who were tested also had 46 chromosomes, including 2 X chromosomes.
So obviously the conclusion was that the Y chromosome defined masculinity.
1/12
@quephird You got this. Just be yourself. Unless you can be Batman. Then always be Batman.
Can you no longer register a typeWildCard AppleEvent handler with NSAppleEventManager?
Anyone know what this "Low Power Mode" on macOS is for? (Other Options are “Always”, "Only on Battery”, “Only on Power Adapter”)
Is that like the iPhone’s thing when you’re low on battery, where it turns off important functionality, or is this more like Windows where you can optimize for performance or for battery? Anyone know what the default is? Because I don’t remember whether I changed this.
@lfa Or maybe life is too short to use a language that has so many wrong defaults, undefined/implementation-defined behaviors etc., when, instead of trying to remember all the things you shouldn’t do, you could just use a language that does the right thing by default, freeing your brain up to actually design and plan the parts that make your program special.
Maybe I'll finally know what I'm doing and will learn after another 29 years of writing C.
Oh wow. Ubisoft must really not be doing well. They released an NFT game: https://www.inverse.com/gaming/ubisoft-nft-rpg-champions-tactics
@Codeberg Strap a display and keyboard to that, and you have the perfect laptop. Well, except maybe for gaming, I doubt the GPU in that one is anything fancy 😜
@siracusa @atpfm I think you might be mixing up Google Play Services with the app store. Services is how google sneaks all its new API and bundled apps past the device manufacturers and carriers who drag their feet updating the OS.
So AIUI the apps mentioned in the court filing are things like GMail, Maps and Settings, so Google can’t punish manufacturers by withholding them.
My Little Unit Test — Failure is Magic.
Wie haben Leute eigentlich damals ihren ersten Quelle-Katalog bekommen?
Hat man da in der Werbung irgendwo eine Adresse gelesen, an die man eine Bestell-Postkarte geschickt hat? Telefonnummer & hoffen, dass sie die Adresse richtig verstehen?
Lag der Katalog in Konkurrenz-Geschäften aus?
Ich mein, für Postwurfsendung ist der dann doch zu groß und zu teuer, oder?
In the end it’s your stream and you can set whatever rules you want (and need, to protect yourself from spambots etc.).
But just between you and me? Kicking people from stream for lurking (i.e. watching the stream without chatting) is not something that will endear you to me.
Elon Musk gets a tiny comeuppance
https://sfba.social/@eniatitova/113171171428750938
@siracusa @atpfm The problem with Patreon pulling out of the App Store is that they have a Twitter-like timeline feed that’s the main way many creators push out their content or disseminate links to their exclusive stuff. It’d at the least be a huge step down in usability for people scrolling through their favorite artists every morning.
@quephird Guard let and Defer are the two things I miss whenever I have to go back to C-based languages.
I had completely forgotten this song was a thing ... I think this was from the He-Man and She-Ra movie or something? Heard it and my brain immediately went “Yes, I know that song and tune.”
https://www.youtube.com/watch?v=loSHIOdT0UY
(This one is a cover)
Update: Yes, 1985 movie, says so in the closing credits.
Oh right, VMWare was bought by Broadcom and it's now impossible to re-download any executables.
So I guess I'm not getting a Windows version and just hoping that by the time it stops working completely on my Mac (or I retire my Mac) I've no longer a need for this Mojave VM.
Watch me stream Mass Effect: Andromeda! https://www.twitch.tv/uliwitness
Forest creature living in the plains. 💕Empathy, Programming Languages, Drawing. My code parks your car. I make a HyperCard clone at https://mastodon.cloud/@stacksmithMunich, Heidelberg, Lucerne [Any Pronouns]#ios #mac #hypercard #retroProgramming #retroComputing #drawing #mastoArt #tv #movies #scifi #fedi22
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.