Toots for dimsumthinking@mastodon.social account

Written by dimsumthinking on 2025-01-14 at 09:55

SwiftUI putting the fun into functional

=> View attached media

=> More informations about this toot | View the thread

Written by dimsumthinking on 2025-01-08 at 22:14

If I asked you to write Swift code that we'd use to represent a circle, what would you write?

=> More informations about this toot | View the thread

Written by dimsumthinking on 2025-01-07 at 21:06

The Apple SwiftUI event looks great. I just cancelled my request for in person as they don't tell you until 10pm Feb 3 if you're in for Feb 5 and I can't plan travel accordingly. Hope to see you online

=> More informations about this toot | View the thread

Written by dimsumthinking on 2025-01-07 at 13:54

Interested in SwiftTesting? My session from PragmaConf has been posted.

It's a great quick intro to the new testing framework.

https://www.youtube.com/watch?v=0NTBhb65TRY&list=PLAVm70iJlMuuyXvimaw1Yze5Q_O_y5Z9L&index=11

=> More informations about this toot | View the thread

Written by dimsumthinking on 2025-01-06 at 14:53

SwiftUI Kickstart is updated for Swift 6, Xcode 16, and iOS 18

If you own it it's a free update - if you don't it's $15

https://editorscut.gumroad.com/l/swiftuikickstart

=> More informations about this toot | View the thread

Written by dimsumthinking on 2025-01-02 at 22:15

Suppose ten of you live in a neighborhood. Nine of you are out of work - you have zero income. The dude at the end of the street makes $10M/year.

People are impressed because the average income of people in your neighborhood is $1M/year.

That feeling doesn't pay your rent, buy your groceries, or cover your medical bills.

That's what a concentration of wealth means.

(btw - 20 years ago I was going to write Head First books on Calculus and Probablility/Stats and that was a stats example)

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-31 at 15:38

The Newsletter:

Taking a moment to look back before moving forward. Also, three words, two way decisions, who's unqualified, the Sherlock Holmes puppet, Maggie's link to on-stage cake tricks, and Soroush on accessibiility.

https://mailchi.mp/07612101fd9a/249-janus

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-31 at 01:34

Rewriting my SwiftUI book. I hate that this no longer works even for a constant array:

ForEach(myArray.indices)

The warning is "non constant range". This range IS constant.

The second half of the warning is: "argument must be an integer literal"

It seems we. should be able to mark it as constant so that the compiler is satisfied.

If the view includes the value

let x = myArray.count

Then ForEach(0..<x) still doesn't work even though it is provably a constant range.

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-29 at 23:29

The first man I ever voted for for President was Jimmy Carter. The US got the 1980 election wrong too. I was too young to vote for him in 1976

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-26 at 15:08

Beta 1 of the SwiftUI Kickstart update for Swift 6 and Xcode 16 is here:

https://editorscut.gumroad.com/l/swiftuikickstart

I'm surprised at how much has changed including Previews, Observables, and more. It wasn't quite the light pass I thought it was going to be. Some sections were completely rewritten, some were added, and some were removed.

I hope you enjoy it.

Oh - it's a free update if you own it and if you don't own this intro yet the price is reduced to $15 as this will be the last edition of the book.

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-25 at 13:13

Making lasagna noodles

=> View attached media

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-17 at 17:29

Took me a moment - this is very nice

https://mathstodon.xyz/@davidradcliffe/113642339260633425

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-16 at 22:26

Some day I’ll return from the back room with the item I went back there to get. Today is not that day

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-13 at 21:16

My passport renewal has been approved and the book is being printed

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-12 at 00:05

Back to baking bread. Last week a whole wheat this week a sourdough with the culture I started a couple of weeks ago

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-05 at 16:30

A couple of recipes have suggested cutting Pecorino with Grana Padano 2:1. I can't seem to find grana here - any other substitutes?

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-04 at 21:25

I can't and won't justify the cost and wouldn't be able to make a single recipe from this book (each recipe has half a dozen or more steps) and yet it looks like a ton of fun.

https://www.kitchenartsandletters.com/collections/chefs-restaurants/products/eleven-madison-park-the-plant-based-chapter

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-04 at 21:15

In SwiftUI @State essentially allows us to treat a value type as a reference type by storing it elsewhere so mutating its value doesn't mutate the View.

I think I want the dual to this idea. Something that allows me to get a projection of a @model object (a reference type) that is a value type so that I can display its values in a view that doesn't mutate it. The projection would be Sendable as it is not shared mutable state. I think I want this for @Observable objects too.

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-03 at 19:18

The Newsletter:

Finding the play button. Also, robot kidnapping other robots, the best bowling video ever, outrage taken to its extreme, don't think of an elephant, Maggie's link to an Arena changing from an ice rink to a basketball court, and Slava on Compiling Generics.

https://mailchi.mp/6adb448d5b9b/245-play

=> More informations about this toot | View the thread

Written by dimsumthinking on 2024-12-02 at 15:07

Friends at Google / YouTube - if you know anything about courses and can connect me to the right people who can answer questions for creators I’d appreciate it.

https://support.google.com/youtube/answer/12751869?hl=en#zippy=%2Cfind-courses

=> More informations about this toot | View the thread

=> This profile with reblog | Go to dimsumthinking@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109267130413404708
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
341.536199 milliseconds
Gemini-to-HTML Time
5.090426 milliseconds

This content has been proxied by September (ba2dc).