Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PE
pexavc @lemmy.world
Posts 85
Comments 164

What are you working on this month? (November 2023)

Any SwiftUI related projects/packages you’re working on?

Something you’d like to share or perhaps need help with?

Share it here!

0

What are you working on this month? (October 2023)

Any SwiftUI related projects/packages you’re working on?

Something you’d like to share or perhaps need help with?

Share it here!

---

Aside:

Sorry for being late on this. Personal and professional developments had me taking a step back these past 30 days. Will be back to keeping things up to date moving forward.

0

[Update] Continuing updates November 1

Hello all,

Sorry for being MIA. Personal and professional developments had me taking a step back for the past 30 days. I will be continuing some significant pushes and updates from November 1st on-wards.

Prior to November 1st, I will be pushing updates to the desktop/MacOS counterpart so it is up to date with iOS/iPad's testflight.

0
Hey Lemmings, What's Your Fantasy?
  • Get enough personal funding for my parents to be taken care of.

    Then build indie games for the rest of my life. Making single person RPGs. Where the stories can fill the void of my need to write novels. And the themes being a culmination of all the games I have played that had a role in guiding some sense of morality or drama. Such as the last mission on Halo Reach or the Mass Effect Trilogy, or Outer Wilds etc.

    I’d want to compose, do the artwork, and the development for this, an all-out love letter to this form of storytelling. Spending years fine tuning every single detail as if it’s an elaborate sculpture. Details so small the crescendos of the OST, exactly match animations and playable cutscenes. All until, I feel I have reached a personal magnum opus, of the games released thus far.

    And then say good bye. Moving on and living a simple life.

  • With Postmarks, social bookmarking is back -- but this time it's built on the fediverse | TechCrunch
  • Ah yes! I almost do that already. With RSS as well. So you can combine communities and RSS Feeds, not mastodon users yet though. It's kind of fun standardizing all the different ActivityPub implementations into a single data model. Mastodon timelines or users are essentially whole communities.

    To be honest, building a web-version of that pipeline as a NPM package might be helpful for others, piping in all the different types of fediverse content into a single stream.

  • What's everyone thoughts on a monthly hack-a-thon around a community voted topic?

    So 3 things,

    1. A post will be created to poll the topics from the community on the theme/topic. Could be things like a photo album gallery or maybe something creative such as a piano roll that plays midi notes.

    2. At the top of the month, everyone has 2-3 weeks to build their project out. These have to be open-source. And the last week of the month, we all vote on the top picks and a pinned post will have links to the repos of all the contestants whom participated + the top 3 winners.

    3. Everyone is welcome to help each-other out, form teams, or simply handle their projects solo. BUT, you cannot use past projects in your solutions. Meaning, you can't simply integrate verbatim code from an existing repo or an entire solution that you previously created without good reason at least. Definitely, partial re-use is allowed.

    ----

    I find that this could be an interesting opportunity to simply allow people share their work, introduce interesting solutions or simply learn from others if they are starting to learn SwiftUI.

    0
    With Postmarks, social bookmarking is back -- but this time it's built on the fediverse | TechCrunch
  • I've had an idea, that I could easily pivot to this and become a FOSS solution. But, I wonder if it actually solves a problem. Essentially, I wanted my lemmy instance to allow sign-ups. But, the posts and channels were auto-generated. So when you log into the app or sign-up it creates a community in the instance along with it. (loom.nyc/c/pexavc) and then all the posts are automatically generated from the posts you save anywhere in the fediverse. (The app supports lemmy and mastodon for now). But, this would also allow all your bookmarks to essentially "federate".

    Edit: Tbh, it sounds like a more "silent" cross-posting

  • What defines a "great manager" in your respective professional careers?
  • Yeah. I have found the simple act of "listening" goes so far. I had a manager whom always remembered the smallest things. Bring them up in team meetings months later. It was very motivating.

    Edit: and obligatory, F*ck Cancer

  • What defines a "great manager" in your respective professional careers?

    In your experience/career, what were some things that you have taken note of from various managers/leaders, that made you feel comfortable working there and providing solutions for the organization as a whole?

    23
    With Postmarks, social bookmarking is back -- but this time it's built on the fediverse | TechCrunch
  • Removed the other comment.

    Because I think I get the point now. I actually never heard of these services before. And didn’t realize people liked to share their “saves/bookmarks”. Or have people actively follow what they are bookmarking.

    It’s super interesting.

  • Feature summary (2023-9-4) - (2023-9-10)

    General Update

    Busy with outside engagements at the moment. Otherwise, last week was focused on optimizations and other stability improvements.

    • Action extension to set instance url to any url you find outside of the app (tap a native share icon and then "set instance")
      • Works with RSS links / mastodon intances / lemmy instances
    • Cancel pending subscription requests
    • Ability to copy post urls to clipboard or open posts in safari via more button (three dots).
    • Added a "Set Instance URL" button to the hamburger menu to make it easier to find (Can also tap the url on the main feed header).

    I will be free again This Thursday. Focused on pushing further stability improvements and nitpicks/ aligning iPad and macOS with their iOS counterpart. And finally starting the inbox/direct-messaging/push-notifications features.

    Android

    I have gotten a hold of a (low-end) non-foldable Android device. And am experimenting porting this work over. I also have a foldable Android device. So keeping foldable experiences when interacting with media in mind. Do not expect anything functional right now. But, 100% stay tuned for another open-source repo starting the Android version of Loom, fully native/Kotlin. Granite/LemmyKit/FederationKit will be converted over prior to the front-end app being built itself. These repos will become available October-November at the earliest.

    ----

    Meta

    Previous Summaries:

    Loom: https://github.com/neatia/Loom

    LemmyKit: https://github.com/pexavc/LemmyKit

    Granite: https://github.com/pexavc/Granite

    Testflight: https://testflight.apple.com/join/owwIagmV#

    0
    How do you deal with being "sure of yourself"?
  • Edit: tbh, I see how the question is framed as a general question too.

    I think overall, therapy is a great solution. I wish it was easier to start the process in the states. Surprisingly I haven't had any experience truly understanding anti-depressants or being close to those that took them and were open talking about them. I wish I knew more about their effects on how they help with self-assurance.

  • How do you deal with being "sure of yourself"?
  • Yeah, I also tend to log everything that is supporting my argument. But, it definitely feels like it could be worse "gathering evidence" sometimes. Especially if the topic is around self-improvement rather than something objective.

  • How do you deal with being "sure of yourself"?
  • that’s the time to reëxamine what you just said

    yeah this is definitely hard, I feel like sometimes it is hard to see what caused it. or overthinking on what is it that provoked. and then focusing on probably the wrong causation and then basing everything afterwards on that.

    Genuinely asking, Do you usually ask for clarification even on that or not? I feel it would make it worse, "What did I do, to make you say that just now to me?" I would normally think it comes off as arrogant.

    someone disagrees, try to politely ask why. Most people are willing to explain where you fucked up a long as you don’t get defensive.

    Yeah, the problem is sometimes, the experiences don't match up properly and the explanation will still not fit the reason for disagreement. Navigating past that, is really difficult. Because I feel it then becomes a battle of egos. Because all points on the table, self-included, will not fit the solution. But, I guess maybe in these situations a third party is necessary?

  • How do you deal with being "sure of yourself"?
  • can manage is to find fault with a self-serving characterization of a falsely dichotomous opposing position. So they need to be able to assign me to one or the other team

    Oh wow, this is kind of what I have experienced. The tougher part for me, it was someone that wasn't a stranger. It made me self-doubt intensely. And I resorted to doing the same, without thinking that I changed myself completely at the moment. Pointing out flaws rather than bringing it back to the main "issue". (I never am one to "confront", so it felt like a new frontier).

    Cutting ties with these types, has probably been the biggest mental improvement I have had. And a huge boost in most other aspects of my life. But, I still have these self-doubt questions. But, this time around trying to discover those answers via the suggestions/similar strategies listed in this thread, I feel is much healthier moving forward.

    And to go all the way back, it could be said that the exact problem is that they have unfounded confidence.

    And it’s sort of ironic really, because they’re generally driven by a psychological need to be right, and clinging desperately to one fixed position pretty much guarantees that right is the one thing they will not be.

    This is all spot on to be honest

    And to go all the way back, it could be said that the exact problem is that they have unfounded confidence.

    I definitely have unfounded confidence as well, but am one to internalize all the causation or experiences that aggravate it. Leaning on those I view have "resolved" those issues I see in myself.

    And it’s sort of ironic really, because they’re generally driven by a psychological need to be right, and clinging desperately to one fixed position pretty much guarantees that right is the one thing they will not be.

    Which is why when I see traits like this, I tend to mirror thinking its the correct approach. Instead of realizing the flaws of absolutism.

  • How do you deal with being "sure of yourself"?
  • It definitely makes sense. and that's what makes it more complicated. because it is also hard to relay context to get second opinions. sometimes what's left is personal reflection, but practicing how to remove self-bias and not re-adjusting past memories to fit an argument is very difficult.

    Thank you for listing those categories, it's nice seeing them out in print to properly remember.

  • How do you deal with being "sure of yourself"?

    When questioning your intentions as arrogant, entitled, immature vs confident, moral right, correctness. Or even questioning if the Duning Kruger effect is at play.

    What process do you incorporate to back-up your self-judgement or in identifying your decisions/choices are in-fact "correct" in online discussions and/or personal life with friends/family.

    How do you remove "self-doubt"?

    40

    SwiftUI + Browser Apps/WASM

    github.com GitHub - TokamakUI/Tokamak: SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

    SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms - GitHub - TokamakUI/Tokamak: SwiftUI-compatible framework for building browser apps with...

    GitHub - TokamakUI/Tokamak: SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms

    Found this to be a really cool project for those in web development that were thinking about learning SwiftUI. And SwiftUI devs who want to attempt browser based solutions.

    0

    What are you working on this month? (September 2023)

    Any SwiftUI related projects/packages you’re working on?

    Something you’d like to share or perhaps need help with?

    Share it here!

    2

    Intro to Transactions

    juniperphoton.substack.com Pro to SwiftUI: Transaction and the propagation

    This article is part of the "Pro to SwiftUI" series, mainly sharing some insights, experiences, and pitfalls recorded after developing a few apps using SwiftUI. I hope it can help you. This article will talk about what’s transaction in SwiftUI and its relation to animation, and also how does it prop...

    Pro to SwiftUI: Transaction and the propagation
    0

    Rendering Video and HLSStreams

    github.com GitHub - kingslay/KSPlayer: iOS/macOS/tvOS/visionOS video player

    iOS/macOS/tvOS/visionOS video player. Contribute to kingslay/KSPlayer development by creating an account on GitHub.

    GitHub - kingslay/KSPlayer: iOS/macOS/tvOS/visionOS video player

    This project is really amazing for rendering HLSStreams and video in general. Especially on SwiftUI.

    It exposes the metal textures prior to rendering which you can also tweak if you wanted to add some layer of effects in between.

    And honestly overall having the ability to use ffmpeg easily as a swift package is a huge plus.

    This is their FFmpeg kit: https://github.com/kingslay/FFmpegKit/tree/main

    Here’s the SwiftUI implementation example: https://github.com/kingslay/KSPlayer/tree/develop/Demo/SwiftUI

    0

    What’s everyone’s preferred method of handling navigation stacks?

    Curious to start a discussion around the usage of NavigationView or the new NavigationStack in a complex app structure.

    How people have implemented these in their own Apps or if they even use these, or have they come up with their own custom solutions?

    I’ll start:

    I experimented with a custom solution (not using navigationview or stack at all) using ZStacks on the topmost level of the application essentially. I’ve seen significant improvement in performance and cleaner code execution allowing me to route views inside nested sub views simply referencing an EnvironmentValue. But, the downside is losing the out of the box, didAppear and didDissappear lifecycle events.

    I see NavigationStack is following suit with storing a stack of paths to route. But, sadly doesn’t support iOS 15. Using UIKit’s navigation controller is kind of a pain when wanting to support all 3 platforms too.

    But, I wonder if others have done some analysis on trade offs regarding Navigation. Since it’s kind of the cornerstone of an Application as a whole.

    0

    Feature summary (2023-8-26) - (2023-9-4)

    Instead of being strict on Friday updates like this. I will leave it as between Friday and Sunday.

    Some features (RSS Feeds/custom feed styles) and improvements will not appear until build v1.1.0b (2023.9.4) which should be sent out by tonight PST.

    Loom: https://github.com/neatia/Loom

    LemmyKit: https://github.com/pexavc/LemmyKit

    Granite: https://github.com/pexavc/Granite

    Testflight: https://testflight.apple.com/join/owwIagmV

    ----

    The 2 notable updates this week is content filtering and integrating FederationKit, which will aggregate not only Lemmy, but RSS Feeds, Mastodon, and more.

    > RSS and Mastodon's current integration is just for bookmarks and the main feed at the moment.

    I have also added a new option to change the appearance of the feed to a more classic reader feel rather than social app.

    | Aggregation Sources (Aside from Lemmy) | | | :-------- | -------: | | !Image | RSS feeds can be pulled when setting the instance URL to a valid endpoint. Pagination is not currently supported, but will be in the future. Looking at supporting Atom/JSON streams as well. | | !Image | Mastodon feeds can be pulled when setting the instance URL to a valid mastodon instance. Pagination is not currently supported, but will be in the future. Interactions are disabled for the time being. |

    | Safety | | | :-------- | -------: | | !Image | On-device CoreML models + keyword filtering to remove posts from the feed. NSFW Extended will remove posts that are detected as NSFW even if they are not flagged as so. Requires an image for inference, which can be generated even without a thumbnail_url property. (As long as a post url itself is available). |

    | Styling | | | :-------- | -------: | | !Image | Intended to allow full user customization in the future. Currently supports a "social app feel" and a "reddit-like reader". |

    Note:

    This week was lots of performance optimizations on the front-end as well as major underlying API changes for communicating with federated networks.

    I have not kept iPad and macOS variants up to date (or at least have not tested them thoroughly. In theory they should be at least close to upto date as its the same codebase).

    But since there are more testers on iPhone at the moment. I am looking at mobile as the flagship and goal to achieve very high stability and performance up to all iOS 15.4+ devices. I am hoping to bring the other form factors up to speed by the next feature summary.

    0
    www.avanderlee.com @AppStorage explained and replicated for a better alternative

    The @AppStorage property wrapper allows reading and writing user defaults easily, while monitoring changes to redraw SwiftUI Views.

    @AppStorage explained and replicated for a better alternative
    0

    Thoughts on a Lemmy instance where content upload is only allowed in-app?

    Also the uploads are always using 3rd party with multiple options setting the posts as URL posts. Built around the aspect of not using a pictrs backed lemmy

    Some advantages of seeing so far:

    1. Frugality on storage
    2. Can secure content that is shared on the instance from the core members
    0

    [v1.1.0b (2023.08.29)] Client-Side Content Moderation

    Felt this was important enough to share a mid-week update.

    The incoming build will have a new option in settings under a section called Filtering.

    The option is NSFW Extended

    This will run an offline CoreML model that will run through all thumbnails and present media that is SFW. This is based on the data set used here https://github.com/bhky/opennsfw2

    I will always find offline solutions first. The goal is for data to never leave the device when incorporating such solutions.

    I will stay vigilant on better and more up-to date solutions. Since this is a fairly new integration, I will also spend time optimizing, but the speed of inferencing is negligible and almost instant, so experience does not seem to be affected.

    I have made a new open-source package called ModerationKit, where I will incorporate solutions of any kind to prevent harmful media from entering a user's feed.

    2 Notes to be aware of:

    1. There is an issue with config restoration per fresh app launch that will be resolved later this week. You may need to re-enable this filter each open.

    2. Computer Vision is never a 100% guarantee.

    0

    A NSFW detector with CoreML

    github.com GitHub - lovoo/NSFWDetector: A NSFW (aka porn) detector with CoreML

    A NSFW (aka porn) detector with CoreML. Contribute to lovoo/NSFWDetector development by creating an account on GitHub.

    GitHub - lovoo/NSFWDetector: A NSFW (aka porn) detector with CoreML

    Other samples:

    Android: https://github.com/nipunru/nsfw-detector-android

    Flutter (BSD-3): https://github.com/ahsanalidev/flutter_nsfw

    Keras MIT https://github.com/bhky/opennsfw2

    I feel it's a good idea for those building native clients for Lemmy implement projects like these to run offline inferences on feed content for the time-being. To cover content that are not marked NSFW and should be.

    What does everyone think, about enforcing further censorship, especially in open-source clients, on the client side as long as it pertains to this type of content?

    Edit:

    There's also this, but it takes a bit more effort to implement properly. And provides a hash that can be used for reporting needs. https://github.com/AsuharietYgvar/AppleNeuralHash2ONNX .

    Python package MIT: https://pypi.org/project/opennsfw-standalone/

    46
    Hip Hop Music @lemmy.world pexavc @lemmy.world

    50 Cent - Patiently Waiting ft. Eminem (Live in Detroit 2003)

    0