@cliftonlabrum@mastodon.social
@cliftonlabrum@mastodon.social avatar

cliftonlabrum

@cliftonlabrum@mastodon.social

UX Design • Flutter • SvelteKit • React • Apple • Messaging Apps • Tech

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

davedelong, to random
@davedelong@mastodon.social avatar

TFW you discover a major logical flaw in some code you've written that means you need to re-think your entire approach to the problem.

Oops.

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@davedelong You mean like when you think a BOOL can be true or false, but you forget it can also be null? 😅

cliftonlabrum, to random
@cliftonlabrum@mastodon.social avatar

We often associate waste with throwing something out that may still have value.

Perhaps the actual waste occurred when we acquired more than we needed to begin with.

cirrus, to Figma
@cirrus@mstdn.social avatar

Once again facing that classic conundrum: Theme and/or customize a 3rd party component library, or build one from scratch.

Actually, we need two component libs: A one for web products and a one for iOS & Android apps. We already have designs in and want to have parity in terms of design & naming across Figma, web & RN.

My gut and past experiences make me lean towards building from scratch.

What would you do and why?

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@cirrus Why not build a single app with Expo? It supports iOS, Android, and the Web.

cliftonlabrum, to beeper
@cliftonlabrum@mastodon.social avatar

I just dropped my teenage son off at an activity and we had this conversation:

“How did you hear about this?”

"We have a group chat.”

"How many people are on it?”

"About 30.”

“Is it a blue bubble or green bubble chat?”

"It's blue. We don't let any Samsungs on it.”

I am partially to blame since I used to be 100% iMessage. 😞 But Apple has intentionally encouraged this bias.

I have since embraced Telegram and WhatsApp.

cliftonlabrum, to random
@cliftonlabrum@mastodon.social avatar

The M-series 16” MacBook Pro has been my favorite computer of all-time.

I was good with Apple making a bigger, heavier machine. The trade-off is worth it.

But I still hope they:
• Make it thinner
• Make it lighter
• Get rid of MagSafe (I rarely use it)

I think the 15” MacBook Air form factor should be the goal.

cliftonlabrum, to svelte
@cliftonlabrum@mastodon.social avatar

I had a conversation with some web devs and said I was thinking of starting a new project in SvelteKit.

They said, “Okay, fine, but you really should look at React/NextJS first.”

I looked and React/Next requires about twice as much code as SvelteKit for the same tasks.

People must understand that SvelteKit is the only framework (that I know of) that uses a compiler!

That means tons of syntactic sugar. See for yourself:

https://component-party.dev/

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@markhughes Nope. I hope they try it. Once you use SvelteKit, you’ll probably never want to go back to React. 😄

cliftonlabrum, to random
@cliftonlabrum@mastodon.social avatar

China may be ruled by communists, but at least they don’t have 47 different messaging apps to juggle. 😂

It’s WeChat or nothing over there.

hankg, to Flutter

I've been experimenting with Riverpod a lot the last couple weeks and am now ready to try it in a greenfield project I've been meaning to write for some time. In lieu of a good design patterns/best practices book (if one exists I haven't found it anyway) I've been doing as best homework I can with finding videos/blog posts and little side experiments. One thing I discovered earlier this week was nested providers which I was thinking I may want to use to replace another idiom I had been using of having a provider that takes an item ID. Based on this presentation by @randalschwartz it sounds like that is not the way to go. In the video he does show how to do various scoping, both literal scope and logical scope, of providers in Riverpod.
The Riverpod "Global" Myth

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@hankg
After trying lots of state management libraries, I finally settled on watch_it. I really like it:

https://pub.dev/packages/watch_it

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@hankg I tried Riverpod a couple times and just couldn’t wrap my head around it. WatchIt feels simple to me (like Provider) but with the goodness of GetIt built in.

It’s nice that we have so many options!

layoutSubviews, to random
@layoutSubviews@mastodon.social avatar

Working with SwiftUI brings me so much joy these days. What used to be tedious, verbose, and draining is now fun again.
I can tell designers “Yes!” rather than “Are you sure? That’s a lot of state to manage.”
I can change whole layouts in seconds, with confidence that AutoLayout will not barf all over my console on the next run.
I keep on finding new modifiers that make my life easier, and I am mostly delighted by the latest, opiniated API decisions.

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@layoutSubviews @david I feel the same way about SwiftUI—it’s fantastic. Though I have come to love building UIs with Flutter even more than SwiftUI. I highly recommend it. 😊

cliftonlabrum, to random
@cliftonlabrum@mastodon.social avatar

Apple: "Our M-series silicon chips have incredible performance and make everything fast.”

Android Studio: “Hold my beer…”

Android Studio and its accompanying build functions have to be the slowest stuff on my Mac.

cliftonlabrum,
@cliftonlabrum@mastodon.social avatar

@hankg Yep, same. Even just having the iOS simulator open takes tons of CPU and drains my battery. I am vigilant about shutting it down.

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