The UI of my #Contacts app to stay connected with people long-term is complete, including #search! 💪
Last 2 steps before kicking off the #Beta:
– Persistence with #SwiftData
– Server & API with #Vapor
Let’s see how nice SwiftData really is!
#WIP #NAPDev #SwiftUI #BuildInPublic
#contacts #search #beta #swiftdata #vapor #wip #napdev #swiftui #BuildInPublic
So fun fact for those fellow #Swift lang users out there. Looks like there's a breaking change in newer #GLibC bindings (such as the ones recently released out on #ArchLinux) that at the very least nukes #SwiftLog library imports due to a change in the way tm struct related functions work.
I've also noticed that #Vapor and #Fluent projects still running on 5.6 also break due to 32->64 bit int type breaking changes.
If you've run into this problem yet and have a solution, lmk... My team and I are currently purging dependencies that have Swift-Log in their tree... which is a lot 😭
#swift #glibc #archlinux #swiftlog #vapor #fluent
I just completed the JWT-based authentication mechanism on my #vapor project. It’s been fun and intense. Getting it right too a few iterations. 😉
Next stop, verify that failed requests on the client due to an expired JWT token get properly refreshed and retried. But I’ll do that tomorrow. Enough for today!
1988 | Biga*Ranx
#nowplaying #music #pouetradio
https://biga-ranx.bandcamp.com/album/1988
#france #op1 #reggae #deejay #digital #dub #reggae #digital #vapor #Tours
#nowplaying #music #pouetradio #france #op1 #reggae #deejay #digital #dub #vapor #tours
@calebhailey Chonky? Not in my view. I think NestJS, while I truly appreciate it, is way heavier. Using async/await, #vapor 4 is a pleasure to use. The part I often trip on: Eager Loading (actually, referencing a property of an instance that hasn’t been loaded.) Fortunately, I fix it quickly and move on. I use it with Docker and Postgres, the client is written in SwiftUI, and sharing models and endpoints between the two. Really, there is nothing chonky about it. Au contraire…
I'm used to defining Models in #Vapor using their code based approach. I do not like it, but it's my only option so I deal with it.
For #CoreData, I can use the GUI to define models and setup relationships. I'm very much used to this. The graph view makes it trivial to visualise relationships across models.
#SwiftData completely disregards this and requires defining models in code. Makes visualising or getting an overview of relationships across models non-trivial.
This is a #commercial #grade refreshing #Watermelon #Strawberry #vape #juice, I developed this for a friend for selling in a shop which got closed due to the pandemic. It is an absolute all-day and if you know "Barista Brew Co.'s Strawberry Watermelon Refresher", you'll be happy with the #recipe for sure. It took me about a year to have it like it is. The 'secret' ingredient missing was TFA Papaya. Enjoy.
#commercial #grade #watermelon #strawberry #vape #juice #recipe #vaping #vapejuice #vapor #liquid #flavours
Did you know that you can use Tuist caching with #Vapor and #Hummingbird projects?
If you define the project using Tuist, you can use "tuist cache warm" to pre-compile Swift Packages as binaries, and generate a project linking against the binaries.
This saves a lot of time at the end of the day because cleaning derived data doesn't invalidate those binaries, which take a long time to compile.
We'll publish a blog post explaining how to set it up next week.
@0xTim hi Tim! I was wondering if you’ve come across this article. Any thoughts on this? I’m curious to know if there are any plans for #vapor to adopt UUID v7?
https://www.cybertec-postgresql.com/en/unexpected-downsides-of-uuid-keys-in-postgresql/
To host a #vapor and #postgres app, would you recommend #heroku, #digitalocean or another service? I have used Digital Ocean, but I wanted to know if there are better options.
#digitalocean #heroku #postgres #vapor
@layoutSubviews In Xcode 14.3/14.3.1, it’s the exact opposite for me! I work in tandem between a #Vapor app, an #iOS app and a private Swift Package. Each time I touch the SP I have to 1) reset the SPM cache and 2) update the SP. If I update after a change, it errors out. And if I reset without an update, I get a warning sign next to the SP name. Very annoying.
@davidbures I’ve done my share of REST APIs. I’m actually writing my server app at the moment in #Vapor. Happy to help!
I spent the last couple of days setting up a #vapor app with #postgres, #docker and #ngrok. Frustrating at first due to the many “hanging threads”. But I told myself to be patient and learn every step, to reason and research. I finally made it work and the feeling is extremely satisfying. I now have a way to develop locally and deploy in a snap. In between, I now have a way to direct my iOS app to the real/final IP even though it’s local for now. Oh, and I can continue working offline. 🤤
#ngrok #Docker #postgres #vapor
@rhysmorgan It’s a SP of a private repo. Whenever I update it and push the changes, my app won’t see it. As a matter of fact, updating the package results in an error. The workaround is to reset package cache, then update the package individually. I haven’t found the reason, but it super annoying because it’s a #Vapor app and it takes a while to download everything. And sure enough, it crashes roughly 1:5.
Really getting familiar with #Vapor. The more I use it, the more I like it. I have relocated the DTOs and endpoints to its own Swift Package. Server and client have equal access, which keeps things in sync. Fluent is awesome. Once the #Docker image worked, it made testing a lot easier and faster. Having Swift on both ends is awesome.
【Swift】Vapor で URLSession を使用したいときの注意点
https://qiita.com/kamimi01/items/15191e6655906ffcc72b?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#Docker #Swift #Vapor
Good #apps go beyond sandboxing. They are designed with #security in mind and are shielded from insecure inputs, non-encrypted data, non-isolated, non-secure local app data, insecure communications, 3rd party dependencies with vulnerabilities or exposures, open development backdoors, etc.
Great apps, on the other hand, attain that fine balance between security and user experience and do not let stability get in the way of getting the best out of an app.
#apps #security #swift #apple #developer #web #vapor
#vapor : any substance in the gaseous, or aeriform, state, the condition of which is ordinarily that of a liquid or solid
- French: vapeur
- German: der Dampf
- Italian: vapore
- Portuguese: vapor
- Spanish: vapor
------------
Word of The Hour's Annual Survey @ https://wordofthehour.org/r/form