I didn’t know that there is a Multicast Networking Entitlement which you need to request from Apple. Let’s see what Apple will respond.
Does someone has experience with this request?
Busy updating all my #ServerSideSwift projects to be able to build against the latest #SwiftNIO. That primarily means fixing the changes in Linux tests ... and dropping support for #SwiftLang before 5.5.2 ... (which also means building new docker images for testing).
#serversideswift #swiftnio #swiftlang
#LunchBreakFOSS Since people are building chat clients and such, a useful #SwiftLang library related to that: “IGIdenticon”. It can generate unique profile pictures from email addresses or other strings, in case a profile doesn’t carry a real picture yet. I think I contributed Package.swift support to that. Using it in my #SwiftNIO #IRC example clients (e.g. https://irc.noze.io).
https://swiftpackageindex.com/seaburg/IGIdenticon
#lunchbreakfoss #swiftlang #swiftnio #irc
#LunchBreakFOSS Since people are building chat clients and such, a useful #SwiftLang library related to that: “IGIdenticon”. It can generate unique profile pictures from email addresses or other strings, in case a profile doesn’t carry a real picture yet. I think I contributed Package.swift support to that. Using it in my #SwiftNIO #IRC example clients (e.g. https://irc.noze.io).
https://swiftpackageindex.com/seaburg/IGIdenticon
#lunchbreakfoss #swiftlang #swiftnio #irc
A late #LunchBreakFOSS, since we’ve been talking about clients and #Matrix. There is a nice #SwiftLang project called “Nio” - and no, that is not the same like #SwiftNIO 🤓 Nio was initiated by @kilian and is a client for Matrix written in #SwiftUI! (I’ve contributed a minor thing to that: “Mio”, it’s a a port of the app to macOS SwiftUI to have them avoid the Catalyst mistake, part of the repo).
I think the project is currently a little in between rewrites though?
https://nio.chat
#lunchbreakfoss #matrix #swiftlang #swiftnio #swiftui
A late #LunchBreakFOSS, since we’ve been talking about clients and #Matrix. There is a nice #SwiftLang project called “Nio” - and no, that is not the same like #SwiftNIO 🤓 Nio was initiated by @kilian and is a client for Matrix written in #SwiftUI! (I’ve contributed a minor thing to that: “Mio”, it’s a port of the app to macOS SwiftUI to have them avoid the Catalyst mistake, part of the repo).
I think the project is currently a little in between rewrites though?
https://nio.chat
#lunchbreakfoss #matrix #swiftlang #swiftnio #swiftui
#LunchBreakFOSS A fun one, really like this: “swift-nio-irc”. A set of projects that implement the #IRC protocol using #SwiftNIO , a #ServerSideSwift server, client, a #SwiftUI app and most importantly: #Eliza, a worthy GPT competitor for sure 🤓
https://github.com/NozeIO/swift-nio-irc-server
Want to see me in a video? They recorded me demoing the thing at a ServerSide.swift conference: https://youtu.be/FPGf652O90Y?t=1179
#lunchbreakfoss #irc #swiftnio #serversideswift #swiftui #eliza
#LunchBreakFOSS A fun one, really like this: “swift-nio-irc”. A set of projects that implement the #IRC protocol using #SwiftNIO , a #ServerSideSwift server, client, a #SwiftUI app and most importantly: #Eliza, a worthy GPT competitor for sure 🤓
https://github.com/NozeIO/swift-nio-irc-server
Want to see me in a video? They recorded me demoing the thing at a ServerSide.swift conference: https://youtu.be/FPGf652O90Y?t=1179
#lunchbreakfoss #irc #swiftnio #serversideswift #swiftui #eliza
#LunchBreakFOSS Macro.swift is my current take on #ServerSideSwift and I actually use it quite a bit. It is an attempt to make it easy for #Node.js/#Express.js developers to use #SwiftLang on the server. Allows you to write a server in a few lines, w/ no boilerplate.
“Macro” is built on top of #SwiftNIO and is essentially the peer to Node.js (e.g. provides modules like `http` or `fs`) while “MacroExpress” builds a router on top (w/ mounting, templates and more).
https://github.com/Macro-swift/Examples
#lunchbreakfoss #serversideswift #node #swiftlang #swiftnio
#LunchBreakFOSS Macro.swift is my current take on #ServerSideSwift and I actually use it quite a bit. It is an attempt to make it easy for #Node.js/#Express.js developers to use #SwiftLang on the server. Allows you to write a server in a few lines, w/ no boilerplate.
“Macro” is built on top of #SwiftNIO and is essentially the peer to Node.js (e.g. provides modules like `http` or `fs`) while “MacroExpress” builds a router on top (w/ mounting, templates and more).
https://github.com/Macro-swift/Examples
#lunchbreakfoss #serversideswift #node #swiftlang #swiftnio
#LunchBreakFOSS Another #ServerSideSwift thing I've done a while ago and which I think is quite nice: Redi/S. It is a (proper) #Redis protocol stack for #SwiftNIO and an actual Redis server straight in #SwiftLang (can be embedded in unit tests or small setups!).
When I last checked around Swift 4 times, the perf was almost on-par w/ the official C implementation. That check should be redone w/ a current Swift and NIO, as major advancements have happened!
https://github.com/NozeIO/redi-s
#lunchbreakfoss #serversideswift #redis #swiftnio #swiftlang
#LunchBreakFOSS Another #ServerSideSwift thing I've done a while ago and which I think is quite nice: Redi/S. It is a (proper) #Redis protocol stack for #SwiftNIO and an actual Redis server straight in #SwiftLang (can be embedded in unit tests or small setups!).
When I last checked around Swift 4 times, the perf was almost on-par w/ the official C implementation. That check should be redone w/ a current Swift and NIO, as major advancements have happened!
https://github.com/NozeIO/redi-s
#lunchbreakfoss #serversideswift #redis #swiftnio #swiftlang
#LunchBreakFOSS If you want to implement an embedded server (e.g. an HTTP server) for an iOS app one option is to use #SwiftNIO, which is a maintained, quality protocol server library in #SwiftLang. Note that NIO on iOS is best used differently than on Linux - on top of “Network.framework” instead of BSD sockets. NW is a newer API to do networking on iOS(/macOS)
Todays “NWHTTPProtocol” shows how to implement own protocol decoders using just NW, w/o the whole NIO stack.
https://www.alwaysrightinstitute.com/network-framework/
#lunchbreakfoss #swiftnio #swiftlang
#LunchBreakFOSS If you want to implement an embedded server (e.g. an HTTP server) for an iOS app one option is to use #SwiftNIO, which is a maintained, quality protocol server library in #SwiftLang. Note that NIO on iOS is best used differently than on Linux - on top of “Network.framework” instead of BSD sockets. NW is a newer API to do networking on iOS(/macOS)
Todays “NWHTTPProtocol” shows how to implement own protocol decoders using just NW, w/o the whole NIO stack.
https://www.alwaysrightinstitute.com/network-framework/
#lunchbreakfoss #swiftnio #swiftlang
Today in #ServerSideSwift: #SwiftNIO 2.44.0 doesn't compile w/ Swift 5.5.0 anymore (presumably too old 🤦♀️).
#SwiftNIO 1.9.3 is out, including #Raspberry 32-bit tests (from a properly named PR: #486): https://github.com/apple/swift-nio/releases/tag/1.9.3
To celebrate 30y of IRC, I've updated the web frontend of the #SwiftNIO based MiniIRCd to TLS: https://irc.noze.io