@isaiah@mastodon.social
@isaiah@mastodon.social avatar

isaiah

@isaiah@mastodon.social

i run YourHead Software http://yourhead.com we make Stacks http://yourhead.com/stacks

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

isaiah, to random
@isaiah@mastodon.social avatar

seems like about half the technical posts in my mastodon feed recently are on swift concurrency

MLE_online, to random
@MLE_online@social.afront.org avatar

Does anyone on here know a lot about analog telephones? I am trying to figure out how to wire this telephone up for a friend of mine and I am stumped because there are only three wires and I am used to phones having four wires.

Thoughts? Suggestions?

image/jpeg
image/jpeg

isaiah,
@isaiah@mastodon.social avatar

@MLE_online maybe i’m just being overly cautious, but old school electronics are kind of industrial strength.

ring voltage for an old school phone is like 50V or something — peak voltage is at least twice that.

that’s probably enough to a least sting a human — i don’t really want to know what it would do to a cat. nothing good, that’s for sure.

hopefully your VOIP gear doesn’t have the current to hurt a fly — but better safe than sorry. :-)

isaiah, to random
@isaiah@mastodon.social avatar

it’s been about two years since i began work on a Stacks app.

i stopped for a big Stacks 5 release and some critical bug fixes last year.

and then the long slowdown after my skateboarding accident, elbow replacement, and hip surgery.

i didn’t start from scratch, the guts are shared with the Stacks plug-in — in retrospect i think that made the task harder.

but i’m finally prepping an alpha and it’s really… i dunno… i don’t have the words… it’s just a lot. both emotionally and technically.

collin, to random
@collin@ruby.social avatar

If you compare to Dave's Killer Bread, that probably has more sugar in it than just about anything, but also, Dave's isn't very good.

isaiah,
@isaiah@mastodon.social avatar

@collin also european bread has been very strictly regulated, especially in France: to remove bran, to make it cook more quickly, to enshrine specific ingredients, etc. — mostly because riots over bread/grain tended to get heads lopped almost up to the 1900s.

i won’t pretend to know the history… just that there is a lot of history there… and that it’s probably worth understanding to get a complete picture of why something so basic is so different between the new and old worlds.

gedeonm, to random
@gedeonm@mastodon.social avatar

Anyone remember Maskatron?

isaiah,
@isaiah@mastodon.social avatar

@gedeonm those action figures, including the steve austin with the peel-back latex arm skin, were the first things i bought with my first allowance money. i think i was in 3rd grade — they were the full barbie sized dol^H^H^H “action figures”.

i didn’t remember the hidden electronics being so corny. lol. but yeah, i had that guy.

also: it’s pretty wild that my own personal first “bionic” replacement parts were the exact same place on my body as that peel back arm.

isaiah,
@isaiah@mastodon.social avatar

@gedeonm check out that king foo grip, too!

RickiTarr, to random
@RickiTarr@beige.party avatar

Are you the person you always thought you would be?

isaiah,
@isaiah@mastodon.social avatar

@RickiTarr yes. but i admit i didn’t foresee there’d be so much ibuprofen involved.

ottaross, to random
@ottaross@mastodon.social avatar

Just having a meal with @skatem in the spot we had our first meal together 33 years ago today.
Still in operation, yay.

isaiah,
@isaiah@mastodon.social avatar

@ottaross @skatem congrats. 33 years is great. and the little chinese place is so cute too.

gedeonm, to random
@gedeonm@mastodon.social avatar

Watching

isaiah,
@isaiah@mastodon.social avatar

@gedeonm i think i missed a bunch of dialog seeing it in the theater. i’m fine with the accents, but my hearing is shitty. it’s never loud enough.

and even though im a Nolan super fan im not sure i got much from the cinema experience.

that said i did see it projected from crazy huge actual film stock. and while im sure not one other person in the theatre noticed, i’m the cinema nerd that did. i’m not sure when i saw a movie on film prior — but im guessing it was before my now adult kids.

isaiah,
@isaiah@mastodon.social avatar

@gedeonm i don’t often buy movies mostly because im content (ok, maybe delighted) to just watch whatever is cheap on Prime. i don’t mind stinkers and old stuff.

but im going to buy oppenheimer. i feel like i should support filmmakers doing real drama. its hard. but also because it’s got so much going on that i really want to understand and that’s going to take a few viewings.

also i had relatives who worked on some of this stuff so i feel like its my duty to grok the hard lessons.

isaiah,
@isaiah@mastodon.social avatar

@tantramar @gedeonm my son loves space movies that use at least some real physics. so interstellar is one of his faves. we’ve seen it a half dozen times at least. and it’s a long one too.

it wasn’t my favorite nolan film, but i enjoy it nonetheless — probably just vicariously from my son, but i’ll take it.

isaiah,
@isaiah@mastodon.social avatar

@tantramar @gedeonm i admit i kinda loved the dark knight films. i’m such a sucker for film noir grownup dramatic superhero flicks. i loved Logan too. so good.

i mean — on saturday afternoons — yaaaas — inject that melancholy right in my veins. 😂

unfortunately i think Zack Snyder might have nuked (see what i did there) the whole genre for at least a generation.

we really need a new christopher reeve to save DC from the depths of their abyss.

isaiah,
@isaiah@mastodon.social avatar

@tantramar @gedeonm i’ve seen Arrival more times than i care to admit. the only movie i’ve seen more is the original blade runner. i obviously loved loved loved Gosling and de Armas in the new one too.
and, of course, i have tickets to the really expensive imax for Dune 2 tomorrow. i watched Dune 1 for, i think, the sixth time today to prep.
so, uh, yeah. i might be a Villeneuve fan. lol 😝

BasicAppleGuy, to random
@BasicAppleGuy@mastodon.social avatar

I bagged something… 👀

isaiah,
@isaiah@mastodon.social avatar

@tantramar @BasicAppleGuy my wife and kids are a mishmash too.

oldest is mostly left, but does a couple things right handed.

my wife is like a lefty that got forced into doing everything right. she can switch hands and do just about everything without much difficulty. it barely phases her.

my youngest is mostly right-handed, but because his older brother used a left-handed mouse that’s just how he learned and it stuck. but he trackpads with both handed equally.

isaiah,
@isaiah@mastodon.social avatar

@tantramar @BasicAppleGuy knife and fork has always been a bit challenging for my left handed kid. i blame myself partly. i hold utensils european style, knife always in my right hand, my wife is very american style — switch to cut. i’m sure that just added another twist to the problem.
he bats right handed but fields with a left-handed glove.
we never pressured either of them to use a specific hand for anything. but the rest of the world is pretty pushy — no surprise that they’re mixed up.

jacqueline, to random
@jacqueline@chaos.social avatar

new tool

isaiah,
@isaiah@mastodon.social avatar

@jacqueline i’ve wanted a spectrum analyzer for so long. i’m really jealous.

what are you building?

isaiah,
@isaiah@mastodon.social avatar

@jacqueline oh cool. i forgot it had some wireless connectivity too.
is this for bluetooth compliance? in another life long ago i worked on bluetooth/wifi chips. compliance was always kind of a PITA. hopefully the ESP32 will make it easy for you. :-)

since i have your attention … do you think you’ll ever sell it more as a raw board? i’d kind of like to design my own case and maybe a monster battery.

ctietze, to SwiftUI
@ctietze@mastodon.social avatar

SwiftUI Challenge: 🏆

Can You Port this from to ? Does it take you 10 minutes (like Auto Layout), less or more?

https://christiantietze.de/posts/2024/03/swiftui-challenge-port-from-auto-layout-to-swiftui

Share your solutions! 🔥

isaiah,
@isaiah@mastodon.social avatar

@ctietze i dunno the answer in SwiftUI. but i can build that with springs and struts in about 2 min.

i don’t even have to try hard. it takes about zero brainpower.

bonus points: it’s super easy to see and customize all the accessibility details too.

isaiah,
@isaiah@mastodon.social avatar

@bwebster @ctietze it takes a few subviews. but subviews are cheap. i do this with all the Stacks sidebar controls.

if you want fixed size buttons, or resize with the window, it’s all IB.

if you want the buttons to resize with the content of their text labels then i usually take care of that in the view’s layout method — resizeSubviews works for most things too.

or i add a subview that uses autolayout just for content resizing — this reigns in some of the autolayout complexity IMHO.

isaiah,
@isaiah@mastodon.social avatar

@ctietze @bwebster i’ll make a video as soon as i get back to the office.

i must admit the example feels a tad overwrought. and i think that’s maybe some of the challenge here.

  • this looks like an old school alert complete with NSCaution symbol. they should really just use a modal alert here.

  • the button are all the same size. but also resize with the window. do they always start the same size no matter the content? no matter the language?

isaiah,
@isaiah@mastodon.social avatar

@ctietze @bwebster the example chooses some things that are easy-ish in autolayout, but perhaps not great from the user experience or aesthetic viewpoint.

if it were me setting this up i would personally choose non-resizing OK and Cancel buttons and let the other one resize.

and then a reasonable min-sized window to allow most content without truncating.

this is perhaps less general and less flexible but it feels IMHO factored a bit more correctly for the real world.

isaiah,
@isaiah@mastodon.social avatar

@ctietze @bwebster
for what it's worth, i didn't read the details until i began. my bad -- i apologize. there is, of course, no way to build a UI that changes with content using springs and struts. it's all top-down constraints.

that said, here's my quick UI:

  • keeps the buttons the same size.
  • maintains correct spacing.
  • margins don't scale, just buttons.

there's not much to it, so it went pretty fast.

to make this more general i would need to amend with autoconstraints or code.

video/mp4

isaiah,
@isaiah@mastodon.social avatar

@ctietze @bwebster i'm the last person to take the side of SwiftUI -- i'm not a fan. and it's especially terrible on macOS.

but i'm going to side with SwiftUI here… 😬

i think part of the challenge is in trying to do something where autoconstraints tends to ignore a slightly ambiguous situation -- that other systems instead make more pronounced.

it's like telling your doctor, "it hurts when i bend my arm backwards," and your doctor replies, "then don't bend your arm backwards."

isaiah,
@isaiah@mastodon.social avatar

@ctietze @bwebster
starting with the buttons the same size -- yet also have a minimum intrinsic size leads to a slightly ambiguous constraint.

it's conceivable that "A Lot of Text" starts out larger than the initial same-sized buttons. which constraint is more important: same size or the min size?

it's not difficult to overcome this of course -- my point is simply that by contriving a situation where autoconstraints glosses over a detail, the test is liable to produce results that misinform.

isaiah,
@isaiah@mastodon.social avatar

@ctietze @bwebster

all that being said. yep. i would use autoconstaints too. 🙃🤣

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