Feed of "madlambda" https://codeberg.org/madlambda Wed, 02 Sep 2026 13:21:02 +0200 katcipis pushed to mux-type-parameters at madlambda/spells https://codeberg.org/madlambda/spells/compare/019c42760449389205d954c59e3542b38cdd23ef...351774671c6d832bcae09512b6299ac4fee0c86b <a href="https://codeberg.org/madlambda/spells/commit/351774671c6d832bcae09512b6299ac4fee0c86b">351774671c6d832bcae09512b6299ac4fee0c86b</a> Merge branch &#39;main&#39; into mux-type-parameters <a href="https://codeberg.org/madlambda/spells/commit/cdad755600cde887fc3d0f3846e9be6b822f73ac">cdad755600cde887fc3d0f3846e9be6b822f73ac</a> Rename URLs on README (#3) <![CDATA[351774671c6d832bcae09512b6299ac4fee0c86b Merge branch 'main' into mux-type-parameters cdad755600cde887fc3d0f3846e9be6b822f73ac Rename URLs on README (#3)]]> katcipis 92738235: https://codeberg.org/madlambda/spells/compare/019c42760449389205d954c59e3542b38cdd23ef...351774671c6d832bcae09512b6299ac4fee0c86b Thu, 22 Jan 2026 18:30:46 +0100 katcipis pushed to main at madlambda/spells https://codeberg.org/madlambda/spells/commit/cdad755600cde887fc3d0f3846e9be6b822f73ac <a href="https://codeberg.org/madlambda/spells/commit/cdad755600cde887fc3d0f3846e9be6b822f73ac">cdad755600cde887fc3d0f3846e9be6b822f73ac</a> Rename URLs on README (#3) <![CDATA[cdad755600cde887fc3d0f3846e9be6b822f73ac Rename URLs on README (#3)]]> katcipis 92738136: https://codeberg.org/madlambda/spells/commit/cdad755600cde887fc3d0f3846e9be6b822f73ac Thu, 22 Jan 2026 18:30:33 +0100 katcipis merged pull request madlambda/spells#3 https://codeberg.org/madlambda/spells/pulls/3 Rename URLs on README <![CDATA[Rename URLs on README]]> katcipis 92738127: https://codeberg.org/madlambda/spells/pulls/3 Thu, 22 Jan 2026 18:30:33 +0100 katcipis commented on pull request madlambda/spells#4 https://codeberg.org/madlambda/spells/pulls/4#issuecomment-10078296 Use parametric types on channel muxing <p dir="auto">This is the minimum version that compiles/works, people can still use a newer Go on their programs. I usually like to represent the min and then more people can use the lib (maybe someone has to use 1.20..for some reason, etc).</p> <![CDATA[Use parametric types on channel muxing

This is the minimum version that compiles/works, people can still use a newer Go on their programs. I usually like to represent the min and then more people can use the lib (maybe someone has to use 1.20..for some reason, etc).

]]>
katcipis 92643705: https://codeberg.org/madlambda/spells/pulls/4#issuecomment-10078296 Thu, 22 Jan 2026 13:53:32 +0100
katcipis commented on pull request madlambda/spells#4 https://codeberg.org/madlambda/spells/pulls/4#issuecomment-9688244 Use parametric types on channel muxing <p dir="auto"><a href="https://codeberg.org/katcipis/memes/raw/branch/master/ken-dennis/1.jpg" target="_blank" rel="nofollow noopener"><img src="https://codeberg.org/katcipis/memes/raw/branch/master/ken-dennis/1.jpg" alt="" loading="lazy"/></a></p> <![CDATA[Use parametric types on channel muxing

]]>
katcipis 88050122: https://codeberg.org/madlambda/spells/pulls/4#issuecomment-9688244 Fri, 09 Jan 2026 17:30:40 +0100
katcipis commented on pull request madlambda/spells#4 https://codeberg.org/madlambda/spells/pulls/4#issuecomment-9685574 Use parametric types on channel muxing <p dir="auto">I like this to avoid naughty ordering issues when testing + avoid the test running cache (which I dont like).</p> <![CDATA[Use parametric types on channel muxing

I like this to avoid naughty ordering issues when testing + avoid the test running cache (which I dont like).

]]>
katcipis 88043675: https://codeberg.org/madlambda/spells/pulls/4#issuecomment-9685574 Fri, 09 Jan 2026 17:17:55 +0100
katcipis created pull request madlambda/spells#4 https://codeberg.org/madlambda/spells/pulls/4 4#Use parametric types on channel muxing# <![CDATA[

Also renamed from "muxer" to "mux", it is smaller and more in line with Go naming (not a verb).
This is a breaking change but that is OK IMHO.
Now the mux code is super simple and brings us pretty close to Limbo behavior of being able to iterate on slices of channels (we only need the explicit function call, but pretty close :-)).
Thinking on using this when implementing a very simple/specific load test.

]]>
katcipis 88043507: https://codeberg.org/madlambda/spells/pulls/4 Fri, 09 Jan 2026 17:17:24 +0100
katcipis pushed to mux-type-parameters at madlambda/spells https://codeberg.org/madlambda/spells/commit/019c42760449389205d954c59e3542b38cdd23ef <a href="https://codeberg.org/madlambda/spells/commit/019c42760449389205d954c59e3542b38cdd23ef">019c42760449389205d954c59e3542b38cdd23ef</a> Add mux example <![CDATA[019c42760449389205d954c59e3542b38cdd23ef Add mux example]]> katcipis 88042457: https://codeberg.org/madlambda/spells/commit/019c42760449389205d954c59e3542b38cdd23ef Fri, 09 Jan 2026 17:15:04 +0100 katcipis pushed to mux-type-parameters at madlambda/spells https://codeberg.org/madlambda/spells/commit/e68253f6aabb91ed9af6960eca308b52aed3e347 <a href="https://codeberg.org/madlambda/spells/commit/e68253f6aabb91ed9af6960eca308b52aed3e347">e68253f6aabb91ed9af6960eca308b52aed3e347</a> Allow chan T when multiplexing <![CDATA[e68253f6aabb91ed9af6960eca308b52aed3e347 Allow chan T when multiplexing]]> katcipis 88039382: https://codeberg.org/madlambda/spells/commit/e68253f6aabb91ed9af6960eca308b52aed3e347 Fri, 09 Jan 2026 17:07:54 +0100 katcipis pushed to mux-type-parameters at madlambda/spells https://codeberg.org/madlambda/spells/commit/ff2f0218918bb7c057385c0fd8595210f590c5dd <a href="https://codeberg.org/madlambda/spells/commit/ff2f0218918bb7c057385c0fd8595210f590c5dd">ff2f0218918bb7c057385c0fd8595210f590c5dd</a> Use type parameters on channel multiplexing <![CDATA[ff2f0218918bb7c057385c0fd8595210f590c5dd Use type parameters on channel multiplexing]]> katcipis 88033256: https://codeberg.org/madlambda/spells/commit/ff2f0218918bb7c057385c0fd8595210f590c5dd Fri, 09 Jan 2026 16:51:19 +0100 katcipis created branch mux-type-parameters in madlambda/spells https://codeberg.org/madlambda/spells/src/branch/mux-type-parameters katcipis 88033247: https://codeberg.org/madlambda/spells/src/branch/mux-type-parameters Fri, 09 Jan 2026 16:51:19 +0100 katcipis pushed to rename-urls at madlambda/spells https://codeberg.org/madlambda/spells/compare/a61489d79d48f57b6b1d43eca86e70f4026f88c2...161e4a3ea1a50057670f6efc3e8b496b92bf438d <a href="https://codeberg.org/madlambda/spells/commit/161e4a3ea1a50057670f6efc3e8b496b92bf438d">161e4a3ea1a50057670f6efc3e8b496b92bf438d</a> Merge branch &#39;main&#39; into rename-urls <a href="https://codeberg.org/madlambda/spells/commit/fc6ba7791c81c35fbce12026d36dd1e2fcf9284d">fc6ba7791c81c35fbce12026d36dd1e2fcf9284d</a> Remove golangci lint (#1) <![CDATA[161e4a3ea1a50057670f6efc3e8b496b92bf438d Merge branch 'main' into rename-urls fc6ba7791c81c35fbce12026d36dd1e2fcf9284d Remove golangci lint (#1)]]> katcipis 88024976: https://codeberg.org/madlambda/spells/compare/a61489d79d48f57b6b1d43eca86e70f4026f88c2...161e4a3ea1a50057670f6efc3e8b496b92bf438d Fri, 09 Jan 2026 16:27:59 +0100 katcipis created pull request madlambda/spells#3 https://codeberg.org/madlambda/spells/pulls/3 3#Rename URLs on README# <![CDATA[

And remove CI/build stuff.

]]>
katcipis 88024931: https://codeberg.org/madlambda/spells/pulls/3 Fri, 09 Jan 2026 16:27:49 +0100
katcipis deleted branch remove-golangci-lint from madlambda/spells https://codeberg.org/madlambda/spells katcipis 88024745: https://codeberg.org/madlambda/spells Fri, 09 Jan 2026 16:27:22 +0100 katcipis pushed to main at madlambda/spells https://codeberg.org/madlambda/spells/commit/fc6ba7791c81c35fbce12026d36dd1e2fcf9284d <a href="https://codeberg.org/madlambda/spells/commit/fc6ba7791c81c35fbce12026d36dd1e2fcf9284d">fc6ba7791c81c35fbce12026d36dd1e2fcf9284d</a> Remove golangci lint (#1) <![CDATA[fc6ba7791c81c35fbce12026d36dd1e2fcf9284d Remove golangci lint (#1)]]> katcipis 88024373: https://codeberg.org/madlambda/spells/commit/fc6ba7791c81c35fbce12026d36dd1e2fcf9284d Fri, 09 Jan 2026 16:26:41 +0100 katcipis merged pull request madlambda/spells#1 https://codeberg.org/madlambda/spells/pulls/1 Remove golangci lint <![CDATA[Remove golangci lint]]> katcipis 88024361: https://codeberg.org/madlambda/spells/pulls/1 Fri, 09 Jan 2026 16:26:40 +0100 katcipis created branch rename-urls in madlambda/spells https://codeberg.org/madlambda/spells/src/branch/rename-urls katcipis 87571277: https://codeberg.org/madlambda/spells/src/branch/rename-urls Thu, 08 Jan 2026 13:48:43 +0100 katcipis pushed to rename-urls at madlambda/spells https://codeberg.org/madlambda/spells/commit/a61489d79d48f57b6b1d43eca86e70f4026f88c2 <a href="https://codeberg.org/madlambda/spells/commit/a61489d79d48f57b6b1d43eca86e70f4026f88c2">a61489d79d48f57b6b1d43eca86e70f4026f88c2</a> Rename URLs on README <![CDATA[a61489d79d48f57b6b1d43eca86e70f4026f88c2 Rename URLs on README]]> katcipis 87571268: https://codeberg.org/madlambda/spells/commit/a61489d79d48f57b6b1d43eca86e70f4026f88c2 Thu, 08 Jan 2026 13:48:43 +0100 katcipis deleted branch remove-github-module-name from madlambda/spells https://codeberg.org/madlambda/spells katcipis 87568970: https://codeberg.org/madlambda/spells Thu, 08 Jan 2026 13:41:07 +0100 katcipis pushed to main at madlambda/spells https://codeberg.org/madlambda/spells/commit/949c061e8851af2a407f8e63c0438461b5218674 <a href="https://codeberg.org/madlambda/spells/commit/949c061e8851af2a407f8e63c0438461b5218674">949c061e8851af2a407f8e63c0438461b5218674</a> Rename module from github.com to codeberg.org (#2) <![CDATA[949c061e8851af2a407f8e63c0438461b5218674 Rename module from github.com to codeberg.org (#2)]]> katcipis 87568934: https://codeberg.org/madlambda/spells/commit/949c061e8851af2a407f8e63c0438461b5218674 Thu, 08 Jan 2026 13:40:53 +0100 katcipis merged pull request madlambda/spells#2 https://codeberg.org/madlambda/spells/pulls/2 Rename module from github.com to codeberg.org <![CDATA[Rename module from github.com to codeberg.org]]> katcipis 87568919: https://codeberg.org/madlambda/spells/pulls/2 Thu, 08 Jan 2026 13:40:51 +0100 katcipis created pull request madlambda/spells#2 https://codeberg.org/madlambda/spells/pulls/2 2#Rename module from github.com to codeberg.org# <![CDATA[2#Rename module from github.com to codeberg.org#]]> katcipis 82865448: https://codeberg.org/madlambda/spells/pulls/2 Mon, 22 Dec 2025 13:12:32 +0100 katcipis pushed to remove-github-module-name at madlambda/spells https://codeberg.org/madlambda/spells/commit/6e18f6d9b3222a8102c8decccb6da5be1596a485 <a href="https://codeberg.org/madlambda/spells/commit/6e18f6d9b3222a8102c8decccb6da5be1596a485">6e18f6d9b3222a8102c8decccb6da5be1596a485</a> Rename module from github.com to codeberg.org <![CDATA[6e18f6d9b3222a8102c8decccb6da5be1596a485 Rename module from github.com to codeberg.org]]> katcipis 82865412: https://codeberg.org/madlambda/spells/commit/6e18f6d9b3222a8102c8decccb6da5be1596a485 Mon, 22 Dec 2025 13:12:14 +0100 katcipis created branch remove-github-module-name in madlambda/spells https://codeberg.org/madlambda/spells/src/branch/remove-github-module-name katcipis 82865403: https://codeberg.org/madlambda/spells/src/branch/remove-github-module-name Mon, 22 Dec 2025 13:12:14 +0100 katcipis created pull request madlambda/spells#1 https://codeberg.org/madlambda/spells/pulls/1 1#Remove golangci lint# <![CDATA[1#Remove golangci lint#]]> katcipis 82864458: https://codeberg.org/madlambda/spells/pulls/1 Mon, 22 Dec 2025 13:08:44 +0100 katcipis pushed to remove-golangci-lint at madlambda/spells https://codeberg.org/madlambda/spells/commit/27279592b6c57ce5cf33500e916bb40a0cc8cae1 <a href="https://codeberg.org/madlambda/spells/commit/27279592b6c57ce5cf33500e916bb40a0cc8cae1">27279592b6c57ce5cf33500e916bb40a0cc8cae1</a> chore: remove golangci lint <![CDATA[27279592b6c57ce5cf33500e916bb40a0cc8cae1 chore: remove golangci lint]]> katcipis 82864428: https://codeberg.org/madlambda/spells/commit/27279592b6c57ce5cf33500e916bb40a0cc8cae1 Mon, 22 Dec 2025 13:08:17 +0100 katcipis created branch remove-golangci-lint in madlambda/spells https://codeberg.org/madlambda/spells/src/branch/remove-golangci-lint katcipis 82864419: https://codeberg.org/madlambda/spells/src/branch/remove-golangci-lint Mon, 22 Dec 2025 13:08:17 +0100