Michael Freiwald · @freiwald
26 followers · 98 posts · Server hachyderm.io

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?

developer.apple.com/documentat

#swift #iosdev #swiftnio

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

Busy updating all my projects to be able to build against the latest . That primarily means fixing the changes in Linux tests ... and dropping support for before 5.5.2 ... (which also means building new docker images for testing).

#serversideswift #swiftnio #swiftlang

Last updated 2 years ago

Helge Heß · @helge
424 followers · 380 posts · Server mastodon.social

Since people are building chat clients and such, a useful 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 example clients (e.g. irc.noze.io).
swiftpackageindex.com/seaburg/

#lunchbreakfoss #swiftlang #swiftnio #irc

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

Since people are building chat clients and such, a useful 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 example clients (e.g. irc.noze.io).
swiftpackageindex.com/seaburg/

#lunchbreakfoss #swiftlang #swiftnio #irc

Last updated 2 years ago

Helge Heß · @helge
417 followers · 372 posts · Server mastodon.social

A late , since we’ve been talking about clients and . There is a nice project called “Nio” - and no, that is not the same like 🤓 Nio was initiated by @kilian and is a client for Matrix written in ! (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?
nio.chat

#lunchbreakfoss #matrix #swiftlang #swiftnio #swiftui

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

A late , since we’ve been talking about clients and . There is a nice project called “Nio” - and no, that is not the same like 🤓 Nio was initiated by @kilian and is a client for Matrix written in ! (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?
nio.chat

#lunchbreakfoss #matrix #swiftlang #swiftnio #swiftui

Last updated 2 years ago

Helge Heß · @helge
389 followers · 308 posts · Server mastodon.social

A fun one, really like this: “swift-nio-irc”. A set of projects that implement the protocol using , a server, client, a app and most importantly: , a worthy GPT competitor for sure 🤓
github.com/NozeIO/swift-nio-ir
Want to see me in a video? They recorded me demoing the thing at a ServerSide.swift conference: youtu.be/FPGf652O90Y?t=1179

#lunchbreakfoss #irc #swiftnio #serversideswift #swiftui #eliza

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

A fun one, really like this: “swift-nio-irc”. A set of projects that implement the protocol using , a server, client, a app and most importantly: , a worthy GPT competitor for sure 🤓
github.com/NozeIO/swift-nio-ir
Want to see me in a video? They recorded me demoing the thing at a ServerSide.swift conference: youtu.be/FPGf652O90Y?t=1179

#lunchbreakfoss #irc #swiftnio #serversideswift #swiftui #eliza

Last updated 2 years ago

Helge Heß · @helge
384 followers · 285 posts · Server mastodon.social

Macro.swift is my current take on and I actually use it quite a bit. It is an attempt to make it easy for .js/#Express.js developers to use on the server. Allows you to write a server in a few lines, w/ no boilerplate.
“Macro” is built on top of 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).
github.com/Macro-swift/Example

#lunchbreakfoss #serversideswift #node #swiftlang #swiftnio

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

Macro.swift is my current take on and I actually use it quite a bit. It is an attempt to make it easy for .js/#Express.js developers to use on the server. Allows you to write a server in a few lines, w/ no boilerplate.
“Macro” is built on top of 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).
github.com/Macro-swift/Example

#lunchbreakfoss #serversideswift #node #swiftlang #swiftnio

Last updated 2 years ago

Helge Heß · @helge
383 followers · 269 posts · Server mastodon.social

Another thing I've done a while ago and which I think is quite nice: Redi/S. It is a (proper) protocol stack for and an actual Redis server straight in (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!
github.com/NozeIO/redi-s

#lunchbreakfoss #serversideswift #redis #swiftnio #swiftlang

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

Another thing I've done a while ago and which I think is quite nice: Redi/S. It is a (proper) protocol stack for and an actual Redis server straight in (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!
github.com/NozeIO/redi-s

#lunchbreakfoss #serversideswift #redis #swiftnio #swiftlang

Last updated 2 years ago

Helge Heß · @helge
379 followers · 261 posts · Server mastodon.social

If you want to implement an embedded server (e.g. an HTTP server) for an iOS app one option is to use , which is a maintained, quality protocol server library in . 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.
alwaysrightinstitute.com/netwo

#lunchbreakfoss #swiftnio #swiftlang

Last updated 2 years ago

Helge Heß · @helge
532 followers · 625 posts · Server mastodon.social

If you want to implement an embedded server (e.g. an HTTP server) for an iOS app one option is to use , which is a maintained, quality protocol server library in . 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.
alwaysrightinstitute.com/netwo

#lunchbreakfoss #swiftnio #swiftlang

Last updated 2 years ago

Helge Heß · @helge
370 followers · 248 posts · Server mastodon.social

Today in : 2.44.0 doesn't compile w/ Swift 5.5.0 anymore (presumably too old 🤦‍♀️).

#serversideswift #swiftnio

Last updated 2 years ago

Helge Heß · @helge
370 followers · 248 posts · Server mastodon.social

1.9.3 is out, including 32-bit tests (from a properly named PR: #486): github.com/apple/swift-nio/rel

#swiftnio #raspberry

Last updated 6 years ago

Helge Heß · @helge
370 followers · 248 posts · Server mastodon.social

To celebrate 30y of IRC, I've updated the web frontend of the based MiniIRCd to TLS: irc.noze.io

#swiftnio

Last updated 6 years ago