TIL the struct = value type, class = reference type distinction I first encountered in Swift has apparently been in C# for ages already.

If something’s weird on your MSI laptop, check the “Dragon Center” app. It has some really badly labeled options that can easily be turned on by accidental keypresses, like turning on power saving mode (turns any movie/animation into a slide show), turning off Windows key etc.

Did the “Xbox Game Pass for PC” 1 EUR thing to try The Outer Worlds? Want to transfer your saves to the version from the Epic Store?

The “The Outer Worlds Windows 10” folder contains a folder with a number as the name. Copy that into the Save Games folder as “The Outer Worlds”.

Also, is there any documentation generator that can check whether in-line code examples (Swift, C++) would actually compile? Likely by letting me provide “invisible” extra code as a test harness? (It doesn’t have to run the code, compiling would be enough)

Is there a documentation generator that lets you basically write Markdown, and will create a nice web site from that? Needs support for anchors, per-page table of contents, “information” and “warning” boxes and source code highlighting.

Seems like Gitbook USED to be like that?

I’m slowly getting used to drinking insanely bitter tea.

Wish I’d just get used to setting a timer to take out the teabag after a few minutes instead.

Anyone else familiar with the TV show “Photon” ?

youtube.com/watch?v=x2vGjCp8nw

It was basically “LaserTag, the TV series”.

I love Netflix’s “The Toys that made us” documentary.

I didn’t know that Power Rangers was basically recycled footage from a Japanese show mixed with new connecting scenes shot in the US.

I knew they were based on a Japanese show, but thought it was a remake or dub.

Just stumbled over the “GitHub Packages” tab. What problem does that solve? Auto-update cached NPM packages/Docker images and make it easier for Github to optimize serving them than if they’re just a Release, or what?

Will have to read up on that.

I have a new Xcode 11.2 EXC_BAD_ACCESS code=1 addr=0 in my iOS unit tests I can’t explain:

#0 0x000000000 in 0x00000000 ()
#1 0x10613e9d9 in dispatch thunk of MyClass.myMethod(name:type:flags:) ()
#3 0x105d5b43a in MyTest.setUp()
#4 0x105d5b4eb in @objc MyTest.setUp() ()

Ideas?

What is a “dispatch thunk” in Swift? I mean, I know a thunk is code added around or at the start/end of a function, so I’m assuming it’s some sort of adapter function?

Getting a crash in one trying to call 0x00 and have no idea why.

So many friends are doing betas of their new products/releases right now. I wish I had the bandwidth to try them.

“made from a freshly infusion of black tea” is wrong, isn’t it? Or is a “freshly infusion” (not “fresh infusion”) some special technical term in food chemistry?

Would be neat if Swift actually showed the value of constants in the headers generated from C API (like errno.h) Sometimes you just get the raw value and want to know which constant it corresponds to.

Me: OK, SwiftLint, last try, I’ll define a typeAlias for the long type in this function
SwiftLint: Types mustn’t be nested deeper than 1 level
Me: // swiftlint:disable opening_brace

SwiftLint: That line is too long break it up
Me: Breaks it up
SwiftLint: No, you can’t put a closure’s { on a new line
Me: Puts only arguments on new line
SwiftLint: No arguments should be on the { line
Me: That’s how it was when you said it was too long!

FYI: The way US/German keyboards are arranged, it’s very easy to mistype “face” as “dave” or “ios” as “ups”.

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!