@davidbures@mstdn.social
@davidbures@mstdn.social avatar

davidbures

@davidbures@mstdn.social

Neoficiální korektor pro Ministerstvo zdravotnictví. 🇺🇸🇸🇮🇨🇿

Senior Technical Writer @ USU, open source Mac programmer in my spare time.

Previously translator at 

Author of https://mstdn.social/@CorkApp

#swift #SwiftUI #writing

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

donnywals, to random
@donnywals@chaos.social avatar

Good morning and a Happy Monday folks! Lots of folks are off today but I’d still like to ask…

What are your plans for the week?

Working on something cool? Learning something new? Tell me all about it! 😄

davidbures,
@davidbures@mstdn.social avatar

@donnywals I’ve been struggling with adding widgets to Rizzference. I got them somewhat working, but they still don’t update. This is my first time creating widgets and the experience is not great 😅

On the macOS front, I hopefully fixed a problem in Cork that would lock the app up when there was a symlink in one of the package folders. That still needs to be tested though, and after it is, I’ll release a new version of the app after quite a while

davidbures, to swift
@davidbures@mstdn.social avatar

I have a question for the Swift experts that know widgets:

Would this refresh the widget once a day? Please ignore any weird stylistic choices, I just wanted to quickly scrape something together and beautify it later once I know it actually works 😂

https://pastebin.ai/cmx0gbolvs

#swift #swiftui #iosdev

davidbures,
@davidbures@mstdn.social avatar

@renssies Thank you! Yes, the "word not available" entry is a great idea. I'll have to implement it.

One more question if I may: Can I modify the code so that the widget refreshes, for example, every day at 8AM, PDT, no matter which time zone the user is in? I haven't one much with calendars yet, so I don't really know what to do exactly

davidbures,
@davidbures@mstdn.social avatar

@renssies Thanks once again, I had no idea you could set it up like that :)

Could you check this code if it looks fine to you?
https://pastebin.ai/yxuars0kaw

christianselig, to random
@christianselig@mastodon.social avatar

iPhone 15 Pro’s been my best battery performer by a mile, damn. All MagSafe charging too pretty much

davidbures,
@davidbures@mstdn.social avatar

@christianselig I can vouch for that. I charge mine 30/70 through cable / MagSafe and the battery is still at 100%

No battery limitations at all, just "Optimized" charging

davidbures, to swift
@davidbures@mstdn.social avatar

Update on the Rizzference widgets:

I adjusted the design a little to make the text easier to see, as well as adding a larger size

It’s still awkward and painful to code the widgets 😅 Especially because the simulator lags my MacBook so bad it takes a second for any key to register, and autocompletion is a distant memory

#iosapp #iosdev #swift #swiftui #RizzferenceApp

davidbures, to swift
@davidbures@mstdn.social avatar

Today, I tried adding a basic widget to Rizzference and it works… fine, I guess? The experience of making the widget is horrible though

Rizzference widget

davidbures,
@davidbures@mstdn.social avatar

@fds I think setting the update interval is way too awkward.

Also I couldn’t figure out if there are async versions of the widget functions - in Shortcuts, you can use async versions of the callbacks, but I couldn’t figure out if there are any in Widgets. Since I only ever used structured concurrency, having to use callbacks just for this one side of the app is awful

davidbures, to ai
@davidbures@mstdn.social avatar

With AI shit being everywhere, I remembered these images I generated back in 2020 for my parody books. I remember calling AI a “neural network” 😅

davidbures, to swift
@davidbures@mstdn.social avatar

Update on the categorized cached downloads (https://mstdn.social/@davidbures/112456702745516734):

Now, it also works when the name of the installed package is not exactly the same as the name of the cached download!

#swift #swiftUI #macOS #opensource #buildinpublic #macdev #homebrew #CorkApp

davidbures,
@davidbures@mstdn.social avatar

@phranck I honestly suck really bad at marketing, so that's probably why you didn't know about it :neocat_pleading: I never want to bother people.

By the way, the demo version is EXTREMELY old and hasn't been updated in years. There's a completely new demo system coming in the next version. I can send you the updated demo which will be up in a few days if you want to give it a go now 😊

davidbures,
@davidbures@mstdn.social avatar

@phranck Thanks a lot! I really appreciate it 👏 If you find any problems or have any ideas, you can:

davidbures,
@davidbures@mstdn.social avatar

@phranck You can safely ignore any line that starts with ==>, see this for relevant info: https://github.com/buresdv/Cork/issues/301

For context, the errors are really what Homebrew puts in the error pipe. I’m sure most of them are just warnings, but there are so many possible outputs I can’t really filter the important ones out.

The ones you should be concerned with are: (1/2)

davidbures,
@davidbures@mstdn.social avatar
  • If a package needs sudo to update (this is something I don’t have to skills to implement and have been looking for help with for years)
  • If an update failed completely. It will give you a reason for the failure, which you should then follow (2/2)
davidbures,
@davidbures@mstdn.social avatar

@phranck That's strange :think_bread: I would try resatarting the entire computer at that point

davidbures,
@davidbures@mstdn.social avatar

@phranck That's good to hear 😊

davidbures, to SwiftUI
@davidbures@mstdn.social avatar

Rizzference is now out on the App Store!

https://apps.apple.com/cz/app/rizzference/id6474303013

It’s an app for looking up modern slang. What’s the niche? You can define an entire sentence at a time, not just individual words. Give it a go!

For the techies, it’s built 100% in SwiftUI. Feel free to ask any questions 😊

I’d like to thank all the testers and @chrismarquardt, @mattiem and @ctietze for their help and support.

#swiftUI #showcase #releases #ios #apple

davidbures,
@davidbures@mstdn.social avatar

@ctietze Thank you! I made them myself 😉 And thank YOU for your continued support

davidbures,
@davidbures@mstdn.social avatar

@bardi @chrismarquardt @mattiem @ctietze I’m sure it will 😬 I made it because I don’t understand half of the stuff myself

davidbures,
@davidbures@mstdn.social avatar

@chrismarquardt @mattiem @ctietze If you have any ideas or find problems, feel free to share them here or on the forum. I take all feedback very seriously 😊

https://forum.corkmac.app/t/rizzference

davidbures,
@davidbures@mstdn.social avatar

@dachary Thank you! I really appreciate it 😊 You can give the app a try, maybe it will help in your career 😂

davidbures, to apple
@davidbures@mstdn.social avatar

@rejected Apple's reviewers are not happy that my app can restore purchases, automatically, on its own without user interaction. When I asked them to point out exactly what cases are not covered by my automatic restoration system (I even gave them access to the source code and went REALLY in-depth on the automatic system), they refused to elaborate #rejectedbyappreview

I couldn't be happier that the EU is tearing Apple a new one and I can't wait to see them get ripped apart even more #Apple

davidbures,
@davidbures@mstdn.social avatar

@nemesisprime Man, for real. Why do I have to make the app experience worse just to satisfy this stupid requirement?

Funny thing is that because I will only end up showing the button when the user hasn't purchased the IAP, it will be completely useless, because those that have already bought the IAP won't see it at all… BECAUSE THE APP RESTORES THE PURCHASES AUTOMATICALLY!

Here I am trying to make it "just work" and they're up my ass about it 😭

davidbures,
@davidbures@mstdn.social avatar

@nemesisprime I just read the rejection message again and it includes, verbatim:
"We found that your app offers in-app purchases that can be restored but does not include a "Restore Purchases" feature to allow users to restore the previously purchased in-app purchases"

Even though I described that the app restores the purchases on its own in the notes… so either Apple doesn't actually read them, or I don't know. So it's even worse than I originally thought 😅

ghalldev, to random
@ghalldev@mastodon.social avatar

Dude I’m vacuuming. There’s no way my vacuum is that loud.

davidbures,
@davidbures@mstdn.social avatar

@ghalldev Once I got this alert because I was standing in a field in a strong wind 😂

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