Costantino Pistagna's Avatar

Costantino Pistagna

@valv0.bsky.social

ο£Ώ advocate β€’πŸ“±dev β€’ πŸ“· fuji

41 Followers  |  62 Following  |  65 Posts  |  Joined: 26.08.2023  |  2.3596

Latest posts by valv0.bsky.social on Bluesky

Preview
OpenRenault EV API Client: a Journey Through Renault APIs, SwiftUI, and Electric-Vehicle Analytics When I first started experimenting with the data from my electric Renault, I quickly realized how difficult it was to retrieve telemetry…

βš‘πŸš— I’ve been hacking around #Renault EV APIs and built an #opensource #SwiftUI client and #SDK to unlock real #EV #opendata charging, costs, efficiency and more. Super fun project, learned a ton!

πŸ‘‰ Full story and link to github here: valv0.medium.com/openrenault-...

17.11.2025 22:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Swift friends, I created a very simple swiftlang feed that you can subscribe to now. It just grabs all posts with "swiftlang" and "swift.org" in them. Feel free to suggest improvements and share further πŸ™ bsky.app/profile/did:...

17.11.2024 07:30 β€” πŸ‘ 54    πŸ” 14    πŸ’¬ 4    πŸ“Œ 0
Preview
Lazy vars in @Observable classes in Swift Learn how to resolve the issue of using lazy variables in @Observable classes by annotating them with @ObservationIgnored.

I recently learned that if we want to have a lazy var inside an Observable class in Swift, we need to annotate it with @ObservationIgnored to skip synthesizing observation logic for the property. I wrote a blog post with an example: nilcoalescing.com/blog/LazyVar...
#SwiftLang #iOSDev

19.11.2024 08:12 β€” πŸ‘ 51    πŸ” 14    πŸ’¬ 1    πŸ“Œ 0

However, I’m not sure if this is feasible or how much work it would involve.

20.11.2024 13:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Only thing that comes to mind is creating a script (Run Script Phase) that runs before the build and performs what the macros currently do, making changes permanent as part of the project files (by adding and/or modifying them). This way, when submitting a release, models are aligned with lexicon.

20.11.2024 13:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Writing out the decoding and encoding methods manually would work, but it would defeat the purpose of the macros themselves.

I'm open to suggestions on how to accomplish this.

20.11.2024 08:45 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Then, move on Apple Music as next girlfriend and don’t look back.

20.11.2024 07:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

non penso che le interessi piΓΉ di tanto…è una teenager, in fondo…

20.11.2024 07:14 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Hey @cjrriley.com, thanks for the huge work. It would be really interesting to have a version of ATProtoKit that works even without the macro part, so that it can be attached as an SPM to iPad playground too.

20.11.2024 07:13 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

This is bonkers: Threads has an order of magnitude more users overall than Bluesky, but Bluesky has more ACTIVE users!

19.11.2024 22:43 β€” πŸ‘ 372    πŸ” 60    πŸ’¬ 20    πŸ“Œ 0

The atproto/Bluesky protocol is fully open and highly decentralized.

Just like the web was.

The current atproto/Bluesky network is fairly centralized because it’s so new there aren’t many network providers yet.

Just like the web was.

19.11.2024 15:15 β€” πŸ‘ 178    πŸ” 35    πŸ’¬ 7    πŸ“Œ 2

iirc, there’s already something very similar to that on iOS18

19.11.2024 14:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
U.S. DoJ Wants Google to Sell Chrome Browser The United States Department of Justice wants Google to sell off its Chrome browser as part of an ongoing antitrust lawsuit, reports Bloomberg....

Kind of makes you wonder why the same thing isn’t happening in the EU’s legal universe πŸ‘€

www.macrumors.com/2024/11/18/u...

19.11.2024 08:45 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

☝️

19.11.2024 07:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Quik and Silva screenshot

Quik and Silva screenshot

Completely agree. #AstroBot is such a delightful game. It takes me right back to my childhood, when I spent entire days with #Quik&Silva on the #A500.

19.11.2024 07:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Anyone experiencing this lately?

The command "Sync Text Settings" is still busy.

I get this message at the top of my editor in Xcode randomly, that prevents me from typing anything and I have to force quit Xcode.

Maybe related to GitHub Copilot for Xcode?

19.11.2024 02:44 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

The only reason to devalue links is to keep users trapped within your app, discouraging them from navigating elsewhere.

19.11.2024 06:22 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

I already see that from weeks. As well as this new icon on then top right πŸ€·πŸ»β€β™‚οΈ

19.11.2024 06:19 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

not so far away, btw.

18.11.2024 21:42 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

You’re welcome, and thank you for the great work! This will greatly help indie developers and new bsky clients grow. If I end up creating something useful for the community, I’ll definitely give a shoutout credit to ATProtoKit.

18.11.2024 18:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
showing a sample with getAuthorFeed

showing a sample with getAuthorFeed

Seems that I totally missed out this API that does exactly what I need.

18.11.2024 17:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

also filtering by author.

18.11.2024 17:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

My iOS dev feed: bsky.app/profile/did:...

18.11.2024 16:51 β€” πŸ‘ 11    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

I ended up using searchPosts(matching: "*"), and it seems to work quite well. However, I’m not sure if this is the correct approach for this use case.

18.11.2024 17:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

My first attempt was to use getPosts, but it requires a postURIs parameter. So, I’d already need the URIs to 'hydrate' them, correct? If that’s the case, I assume this is the wrong API for my purpose, as I want to retrieve all posts, reposts, and replies from my account.

18.11.2024 17:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

oggi basta un well-known…tutto troppo semplice, oramai! πŸ˜‰

18.11.2024 17:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

erano i tempi di IRC e c’era chi hackerava pure i server per spoofare @tin.it …pensa un pΓ²!

18.11.2024 17:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
A function that try to fetch posts for a specific matching query using the author as the only filtering mechanism.

A function that try to fetch posts for a specific matching query using the author as the only filtering mechanism.

Would something like that be the correct way to achieve such a result?

18.11.2024 17:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Makes sense, but isn’t the DID somewhat tied to the handle as well?

18.11.2024 17:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

basically, the getPosts is not useful and I can’t find another way to do that. searchPosts seems pretty useless as it returns just one post?

18.11.2024 17:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

@valv0 is following 19 prominent accounts