Posts
1570
Following
138
Followers
878
I'm a bit of an eclectic mess 🙂 I've been a programmer, journalist, editor, TV producer, and a few other things.

I'm currently working on my second novel which is complete, but is in the edit stage. I wrote my first novel over 20 years ago but then didn't write much till now.

I post about #Coding, #Flutter, #Writing, #Movies and #TV. I'll also talk about #Technology, #Gadgets, #MachineLearning, #DeepLearning and a few other things as the fancy strikes ...

Lived in: 🇱🇰🇸🇦🇺🇸🇳🇿🇸🇬🇲🇾🇦🇪🇫🇷🇪🇸🇵🇹🇶🇦🇨🇦

Fahim Farook

My custom Fedi client is coming along pretty nicely if I do say so myself ...

Works on macOS/iOS, supports Akkoma (and possibly Pleroma) fully, has custom colours for lists/hashtags, allows custom filtering and so on.

I’ve been working on it on and off for a while now but wasn’t really sure whether I wanted to continue using it or not. But the latest round of changes, and the ones I have in mind, kind of make me think that I’ll probably stick with it at least for a few more months 😛

#FediClient #macOS #iOS #Swift #SwiftUI
0
0
7

Fahim Farook

@gposcidonio Might be Kolibri? I don’t think it’s an iOS app though but I came across the developer’s profile today and so thought maybe that might be it?

https://noidentity.ch/kolibri/

Probably not though 🙂
0
0
0
@BenjaminHan Haven’t read the article but the film wasn’t that great — personal opinion, of course 🙂 It was very much forgettable and didn’t have a very exciting plot … Don’t even remember what they did right about the tech but guess I’ll have to read the article to find out 😛
0
0
0
@jsq Yes. I have a couple of different timer apps which work that way — even recurring timers since you can schedule the local notification to recur too. If the user edits the timer, then simply cancel the pending local notifications and then reschedule new local notifications …

@kylebshr
0
0
1
@marcel Looks great, congratulations! 🙂

One thing I miss in most habit trackers is the ability to track things which occur more than once a day — like walking every hour, or remembering to drink water. But that’s probably a very niche requirement ….
1
0
0
@icanzilb My favourite is coding to output the Fibonacci sequence 😛 The last time it came up, I refused to do it — well, not in a nasty way but I did tell them that I had never needed to do that ever for work and while I knew of two different ways to do it (vaguely) that I wasn’t going to do it since it made no sense …

They still wanted to hire me 😀
1
0
0
@stevengharris The implementation I created works fine for closing using the close button. Originally, if I quit the app then the frame would be saved but not if I used the close button and then re-launched the (unterminated) app from the dock icon.

In implementing a solution, what I noticed (at least the way I did it) was that if I kept a reference to the AppKit bridging plugin, the state would be saved correctly. But if I didn’t, then the state would not be saved on using the Close button. However, this could just be the way I implemented things …

Would be happy to share the code if it would help …
@stroughtonsmith
0
0
0
@mikaelacaron But are the other posts with GIFs posted from @IceCubesApp? It might be that they were posted from a different app maybe? 🙂
1
0
0
@rascalking Interesting, I think one of the things I missed was lists. So will definitely want to give it a look once that comes out. Thanks 🙂
0
0
0
@stevengharris There’s a solution provided by @stroughtonsmith in this same thread that worked for me. Just letting you know.

If you’d prefer to see the code in action, I can always send you the final code that worked for me. Let me know.
1
0
0
@stroughtonsmith I tested out your code and it works beautifully — thank you 🙂

I could have sworn I tried something similar before and it didn’t work but, I’m too lazy to go hunting for the code that didn’t work to see what the difference is …

On the plus side, your solution is way less code than my original code too. So a win overall. Thanks again!
0
0
1
@troz Maybe? I don’t know … Some of the Xcode stuff is rather annoying.

I guess what I’d normally try in this situation is uninstall the beta, reboot, install a fresh copy of the beta, reboot, then restart the beta copy, and if something goes wrong, restart again and try again 😛

Oh yeah, I also liberally sprinkle this with deleting the whole DerivedData folder since cached modules sometimes seems to interfere with things too … Or at least, that’s what it feels like.
0
0
1
@troz I was able to open an existing macOS playground and run it fine under Xcode 15 beta 3 …

Also tried creating a brand new macOS playground and that too works fine.
1
0
0

Digital sundial

4
13
0
@rascalking I ran it for a while on a VPS and it did run without any issues whatsoever. So easy to install too 🙂

The only reason I switched away was because I wanted more features. But that was at least half a year ago. They probably have added a lot more functionality now. I guess I should go look …
0
0
0
@mikaelacaron Does @IceCubesApp support GIFs? I’m using a custom fork of it, on macOS, and with a non-Mastodon server, so this might be a different experience due to multiple different things, but I can’t add GIFs on my version at all. It just shows an error message when I try to drag and drop a GIF in ...

I haven’t explored the code to see what is going on though …
1
0
0
@stevengharris Glad to highlight issues, even though I have no solutions 😛

I found one possible answer but it involves bridging to AppKit as mentioned here:

https://betterprogramming.pub/how-to-access-the-appkit-api-from-mac-catalyst-apps-2184527020b5

Haven’t tried it out yet though. I have small test app set up where I’ve been trying out different things. Haven’t had the chance to try the above approach yet, but if I do figure something out today, will let you know …
0
0
1
@stroughtonsmith Thanks for the answer. I do have that (or similar mechanism) in place but that appears to work only for new launches.

If you close all windows after launching (and saving the frame properly) if you re-launch from the dock icon (where the app itself has not terminated), the new app window appears in the center of the screen instead of the last saved location.

But will try your specific code and get back on this since I might have missed a nuance and maybe your code does work for all cases? I hate to say something doesn’t work without trying it out … So will update once I have tested.
2
0
0
@marksmith Thank you 🙂 Will take a look see …
0
0
0
Show older