@melgu@norden.social
@melgu@norden.social avatar

melgu

@melgu@norden.social

Programmer. Visual Effects Artist. Piano Player.

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

viticci, to random
@viticci@macstories.net avatar

To understand how impossibly thin these new iPad Pros are, know this:

Apple's own Thunderbolt connector is thicker than the iPad.

image/jpeg

melgu,
@melgu@norden.social avatar

@robabram @viticci To be honest, I’m looking forward to a lighter 13". Battery with the iPad has never been an issue for me, but I’d love to be able to hold the 13" more comfortably in one hand for longer periods of time.

marcel, to random
@marcel@mastodon.social avatar

Tech pundits have been talking forever about their imagined need for Apple Pencil to be turned around and used as an eraser. Most of them stating that they don‘t use the Pencil much.

Let me tell you that nobody actually using the Pencil on a regular basis is missing this.

melgu,
@melgu@norden.social avatar

@ovan @marcel You can restrict the double tap to only trigger when holding the pencil near the screen.

davidbures, to swift
@davidbures@mstdn.social avatar

An interesting Swift question:

Is there a way to pick a random English word from the system dictionary without having to include that entire dictionary in the app bundle?

I’m writing a CLI for some work-related stuff and need a way to generate a random English word. I don’t want to include entire dictionaries within the tool itself, so I thought there might be a way to get a random word from the system dictionary.

melgu,
@melgu@norden.social avatar

@davidbures I remember reading that an app that basically presents the system dictionary to the user was rejected by Apple. So there probably is a way to – although I don’t know how.

ainmosni, to homeassistant
@ainmosni@berlin.social avatar

Hey, and bubble. I'm trying to find a way to detect that my phone is charging in the charger next to my bed. On android, the homeassistant app had a sensor that said "charging wirelessly", which I used for that, but the app doesn't seem to have that.

Anyone have any suggestions? Cheers.

melgu,
@melgu@norden.social avatar

@ainmosni The easiest way is probably to do something with automations in Shortcuts.

melgu,
@melgu@norden.social avatar

@ainmosni Ah, I don‘t think that’s possible on a software level on iOS.
You could buy some smart outlet that measures the power consumption of the charger and create a trigger from that.

viticci, to random
@viticci@macstories.net avatar

I never thought I'd see the day – a real Nintendo emulator on the iPhone.

Here I am, with my own ripped copy of Final Fantasy Tactics Advance, playing my saved file from...21 years ago.

I was 15 when I last saved this 🥺 https://mastodon.macstories.net/@johnvoorhees/112288054161694932

melgu,
@melgu@norden.social avatar

@viticci Sadly, in Europe we don’t get the iPad version 😕
That’s only available in the non-EU Apple App Store. Really an unfortunate situation.

dansup, to random
@dansup@mastodon.social avatar

A few weeks ago I took my phone case off my iPhone 15 Pro Max and I haven't looked back since.

Feels like I've been reborn again, a born again caseless!

Try it, you won't regret it unless your butter fingers ass is used to dropping your phone like my partner is, in that CASE...

melgu,
@melgu@norden.social avatar

@dansup I’m with you, but think about getting Apple Care when you still can. Repairing the back or even worse the sides is crazy expensive.
The 15 Pro Max is also not as indestructible as the 13 Pro Max 🙈

davidbures, (edited ) to swift
@davidbures@mstdn.social avatar

Updates to Cork:

Even though it might not be required since Cork is not on the App Store, I still added the new AppPrivacy stuff to it in this commit: https://github.com/buresdv/Cork/commit/ca9c3746edeaee2e456593c3786d3d006b7bbabb

So you can be sure that there's no privacy shenanigans going on :cat_1:

melgu,
@melgu@norden.social avatar

@davidbures @codedbydan The error form the second image requires you to write an initializer. There’s no default initializer anymore because you provided a custom one. Nothing to do with the Hashable conformance.

melgu,
@melgu@norden.social avatar

@davidbures @codedbydan Why do you need the init(from decoder:) at all? If I don’t overlook anything, it should work just the same without it.

melgu,
@melgu@norden.social avatar

@codedbydan @davidbures Ah ok. Could you try changing „id“ from var to let? Not sure if that changes anything, but I remember having had the same issue in the past and somehow fixing it 🤔

melgu,
@melgu@norden.social avatar

@codedbydan @davidbures You’re welcome 😊
Oh that warning is new (I think) 🤔

melgu,
@melgu@norden.social avatar

@codedbydan @davidbures It was interpreted a couple of years ago:

https://github.com/apple/swift/pull/30218

The recommendations:

  1. Set the initial value in the initializer (99% of the time this is what they really meant to do - set the value via the initializer by using it as a default argument)
  2. Explicitly define a CodingKeys enum without the key in it to make it explicit that it's not meant to be decoded.
  3. Make the property mutable (change let to var)
melgu,
@melgu@norden.social avatar

@codedbydan @davidbures The last one is obviously not an option – at least not directly. I think you could change let id: UUID to var id: UUID!. It being optional lets Decodable ignore it. At least that’s my theory. Haven’t tested it yet.

melgu,
@melgu@norden.social avatar

@davidbures @codedbydan The cleanest method is probably to explicitly define your CodingKeys (and leave out the id).

melgu,
@melgu@norden.social avatar

@davidbures @codedbydan Yeah. I can understand that. It's probably for the better to prevent some non-obvious bugs.

And while I recommend the CodingKeys route, I just confirmed that the private(set) var id: UUID! = .init() hack also works.

_Davidsmith, to random
@_Davidsmith@mastodon.social avatar

I was playing around with font options for my hiking weather tool and one of the things I tried out was the newish wider San Francisco variants.

Turns out I basically recreated the design feel I built for Check the Weather back in 2012. I used the Idlewild font then, which was met with rather fixed reactions. SF Expanded looks like Idlewild's modern cousin.

It doesn't really fit with the overall other feel of Pedometer++ but I kinda dig it.

A screenshot of the old app Check the Weather. This shows a graph view and various temperature markers. The font here is a very wide and squat form. The font is called Idlewild.

melgu,
@melgu@norden.social avatar

@_Davidsmith Having the numbers look „normal“ (instead of stretched), makes it much more readable.

EU_Commission, (edited ) to random
@EU_Commission@social.network.europa.eu avatar

112 is your life-saving number!

On 11/2, we mark Europe’s single emergency phone number, available everywhere in the EU, free of charge.

How does it work?

🔴 Simply dial 112 from any fixed or mobile phone to reach emergency services like ambulance, fire brigade, or police.
🔴 Specially trained operators will handle your call and can assist in multiple languages.

melgu,
@melgu@norden.social avatar

@deBaer @EU_Commission Not sure if joking or not, but it’s not supposed to be a date 😅

dimillian, to random
@dimillian@mastodon.social avatar

Indeed. This is what I believe. Healthy competition is good for everyone. EU got us this hot mess because EU Suits don't understand anything about what they're doing. There is a difference between deciding USB-C is an appropriate standard (good) and meddling with company internal affairs.

melgu,
@melgu@norden.social avatar

@dimillian The DMA (or at least what Apple thinks is enough to comply) doesn’t go far enough.

TheSpaceshipper, to random
@TheSpaceshipper@socel.net avatar

Star Tours (1987): RX-24, aka Captain Rex, art & foam sculpt by Disney Imagineer Chris Runco

This design appeared again this year in The Mandalorian.

image/png
image/png
image/png

melgu,
@melgu@norden.social avatar

@TheSpaceshipper Do we know if there’s a connection in the naming of Captain Rex, the clone, to this robot?

dgoldsmith, to random
@dgoldsmith@mastodon.social avatar

This is your periodic reminder that Mastodon is grievously underfunded and understaffed and before we all see more of the goodies on https://joinmastodon.org/roadmap being delivered in a timely way the project will need way more staffing and money. These include quote posts, reply controls, blocklist subscriptions, markdown, encrypted DMs, etc.

If you have money, and you like Mastodon, please consider supporting it via https://joinmastodon.org/sponsors

melgu,
@melgu@norden.social avatar

@dgoldsmith @shekinahcancook Reply controls, blocklist subscriptions and encrypted DMs are all must-have features, with markdown being nice-to-have. We can talk about quote-toots, but that seems to be a much requested feature and also unofficially used by many via links to the original post. So why not add proper support for something that’s already here.

melgu,
@melgu@norden.social avatar

@dgoldsmith Is there a way to donate without creating a Patreon account?

melgu,
@melgu@norden.social avatar

@shekinahcancook @dgoldsmith Unless I missed something, the idea is not that you are forced to use blocklists. Same for quote-toots. Also I find it much more problematic being talked about in screenshots than being quote tooted. Regarding encrypted DMs: How does a throwaway email help there? I don’t want the content of the message to be readable, because most of the time it’s more sensitive than the metadata of who talked to whom.

melgu,
@melgu@norden.social avatar

@shekinahcancook @dgoldsmith I think, all of these are non-issues if you don’t want them because we don’t have an algorithmic timeline. So if I don’t want to see bad actors, I still don’t, even after these features are implemented. I can just unfollow anyone who behaves in a way that I don’t like. The shared blocklists might come in handy here as well.

melgu,
@melgu@norden.social avatar

@shekinahcancook Maybe it’s me, but I don’t care if I’m on somebody’s blocklist. I could already be on some instance’s blocklist. So how is this different?
And like I said, I’d rather people talk directly to me (quote-toots) than about me (screenshots), so that would also be an improvement.

RobW, to random
@RobW@iosdev.space avatar

deleted_by_author

  • Loading...
  • melgu,
    @melgu@norden.social avatar

    @RobW That’s why we moved from looking if the user can select the right images to looking how the user moves the cursor while selecting images.

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