2026/04/20

Newest at the top

2026-04-20 10:55:28 +0000archking(~archking@2404:7a83:23e1:9700:9c9e:3aff:fe7a:ed82)
2026-04-20 10:54:40 +0000divlamir_divlamir
2026-04-20 10:54:06 +0000divlamir(~divlamir@user/divlamir) (Ping timeout: 244 seconds)
2026-04-20 10:53:49 +0000divlamir_(~divlamir@user/divlamir) divlamir
2026-04-20 10:53:22 +0000 <[exa]> distinguished
2026-04-20 10:53:20 +0000 <[exa]> ...I'm writing a network app, each single thing has to manage like 10 different timeouts. I don't want to completely rely on green threads (instead I'd love to have actual event handlers etc.), so I'd have once somewhat central place where all timeouts and events would get processed and dispatched. Now, scheduled alarms to time-outs are the same "type" of event and I'd love to have them somehow
2026-04-20 10:51:50 +0000 <[exa]> is there some nice way to have type-level marks on various events that come to a program? I
2026-04-20 10:45:29 +0000divlamir_divlamir
2026-04-20 10:45:15 +0000divlamir(~divlamir@user/divlamir) (Ping timeout: 265 seconds)
2026-04-20 10:43:38 +0000divlamir_(~divlamir@user/divlamir) divlamir
2026-04-20 10:41:24 +0000archking(~archking@2404:7a83:23e1:9700:34ce:6eff:fea6:7b59) (Ping timeout: 246 seconds)
2026-04-20 10:34:12 +0000archking(~archking@2404:7a83:23e1:9700:34ce:6eff:fea6:7b59)
2026-04-20 10:32:24 +0000CloneOfN-(~CloneOfNo@user/CloneOfNone) (Ping timeout: 244 seconds)
2026-04-20 10:31:13 +0000CloneOfNone(~CloneOfNo@user/CloneOfNone) CloneOfNone
2026-04-20 10:23:48 +0000CiaoSen(~Jura@p549cbfb1.dip0.t-ipconnect.de) CiaoSen
2026-04-20 10:23:19 +0000 <probie> gentauro: my intuition says you that you're probably doing the "wrong thing" if you want this function for lists (arrays, vectors, bytestrings and possibly text it makes some sense for)
2026-04-20 10:22:22 +0000archking(~archking@2404:7a83:23e1:9700:a812:17ff:fe6e:b27) (Ping timeout: 276 seconds)
2026-04-20 10:21:38 +0000xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 248 seconds)
2026-04-20 10:16:59 +0000fp1(~Thunderbi@wireless-86-50-141-149.open.aalto.fi) (Ping timeout: 245 seconds)
2026-04-20 10:14:16 +0000archking(~archking@2404:7a83:23e1:9700:a812:17ff:fe6e:b27)
2026-04-20 10:01:25 +0000archking(~archking@2404:7a83:23e1:9700:ec83:3ff:fe20:5a7e) (Ping timeout: 245 seconds)
2026-04-20 09:54:05 +0000archking(~archking@2404:7a83:23e1:9700:ec83:3ff:fe20:5a7e)
2026-04-20 09:53:36 +0000divlamir(~divlamir@user/divlamir) divlamir
2026-04-20 09:53:14 +0000acidjnk_new(~acidjnk@p200300d6e700e528fc1f390accc80343.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
2026-04-20 09:50:35 +0000dpk(~dpk@jains.nonceword.org) (Ping timeout: 245 seconds)
2026-04-20 09:50:33 +0000acidjnk_new3(~acidjnk@p200300d6e700e5655d8f1f6a4acafa55.dip0.t-ipconnect.de) acidjnk
2026-04-20 09:44:33 +0000CiaoSen(~Jura@p549cbfb1.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
2026-04-20 09:43:37 +0000divlamir(~divlamir@user/divlamir) (Ping timeout: 248 seconds)
2026-04-20 09:40:09 +0000archking(~archking@2404:7a83:23e1:9700:1cc6:bff:fe8c:df07) (Ping timeout: 246 seconds)
2026-04-20 09:33:02 +0000archking(~archking@2404:7a83:23e1:9700:1cc6:bff:fe8c:df07)
2026-04-20 09:27:33 +0000fp1(~Thunderbi@wireless-86-50-141-149.open.aalto.fi) fp
2026-04-20 09:19:14 +0000archking(~archking@2404:7a83:23e1:9700:4417:bff:fe77:7fb8) (Ping timeout: 248 seconds)
2026-04-20 09:14:38 +0000sa(sid1055@id-1055.tinside.irccloud.com) sa
2026-04-20 09:14:29 +0000jmct(sid160793@id-160793.tinside.irccloud.com)
2026-04-20 09:12:04 +0000archking(~archking@2404:7a83:23e1:9700:4417:bff:fe77:7fb8)
2026-04-20 09:11:25 +0000jmct(sid160793@2a03:5180:f::2:7419) (Ping timeout: 245 seconds)
2026-04-20 09:11:00 +0000sa(sid1055@id-1055.tinside.irccloud.com) (Ping timeout: 245 seconds)
2026-04-20 09:08:50 +0000doyoueee(~duduonmy@2405:4803:c803:e7f0:f5ab:34e5:bb70:4792) (Quit: Leaving)
2026-04-20 09:01:22 +0000kuribas(~user@2a02-1810-2825-6000-8fe3-9553-464-1f7d.ip6.access.telenet.be) kuribas
2026-04-20 08:56:22 +0000srazkvt(~sarah@user/srazkvt) srazkvt
2026-04-20 08:55:14 +0000koz(~koz@121.99.240.58)
2026-04-20 08:54:27 +0000koz_(~koz@121.99.240.58) (Quit: ZNC 1.8.2 - https://znc.in)
2026-04-20 08:49:45 +0000archking(~archking@2404:7a83:23e1:9700:9c39:afff:feeb:79e) (Ping timeout: 248 seconds)
2026-04-20 08:44:08 +0000archking(~archking@2404:7a83:23e1:9700:9c39:afff:feeb:79e)
2026-04-20 08:43:59 +0000puke(~puke@user/puke) puke
2026-04-20 08:43:34 +0000puke(~puke@user/puke) (Remote host closed the connection)
2026-04-20 08:34:18 +0000 <gentauro> oh, I guess it's this one -> https://hackage-content.haskell.org/package/MissingH-1.6.0.3/docs/Data-List-Utils.html#v:subIndex (Maybe type insted of Int)
2026-04-20 08:33:20 +0000sord937(~sord937@gateway/tor-sasl/sord937) sord937
2026-04-20 08:33:09 +0000gentauroif no occurence exists, the returned values should be -1
2026-04-20 08:32:57 +0000sord937(~sord937@gateway/tor-sasl/sord937) (Read error: Connection reset by peer)