2024/06/26

Newest at the top

2024-06-26 12:28:26 +0200cfricke(~cfricke@user/cfricke) (Quit: WeeChat 4.2.2)
2024-06-26 12:24:44 +0200vizimajac(~Rodney@97e7368c.skybroadband.com) (Ping timeout: 268 seconds)
2024-06-26 12:18:03 +0200aaronv(~aaronv@user/aaronv) (Ping timeout: 260 seconds)
2024-06-26 12:14:04 +0200lortabac(~lortabac@2a01:e0a:541:b8f0:55ab:e185:7f81:54a4) (Quit: WeeChat 4.2.2)
2024-06-26 12:11:17 +0200xff0x(~xff0x@125x103x176x34.ap125.ftth.ucom.ne.jp) (Ping timeout: 252 seconds)
2024-06-26 11:58:08 +0200aforemny(~aforemny@i59F516D5.versanet.de)
2024-06-26 11:57:54 +0200 <lxsameer> __monty__: let's say I need to create 4 list of jobs, each list runs in a thread, I need a 5th thread to act as a coordinator. receive certain errors from the threads and decide what to do with it. (local errors that are trivial can be handled in the theard)
2024-06-26 11:57:46 +0200aforemny_(~aforemny@2001:9e8:6cc2:bc00:8b6d:59f0:33e:e82a) (Quit: ZNC 1.8.2 - https://znc.in)
2024-06-26 11:54:37 +0200 <__monty__> But if each thread needs the results of the previous computation why are there threads and what would not be thread safe?
2024-06-26 11:50:39 +0200 <lxsameer> hc: I want to have a few threads all running a list of computation. on error, i want to know which thread and which computation raised that error. so some sort of coordination between threads is needed
2024-06-26 11:46:53 +0200 <hc> What exactly do you mean by "thread safe" in this context?
2024-06-26 11:46:14 +0200aaronv(~aaronv@user/aaronv)
2024-06-26 11:45:57 +0200 <lxsameer> thank you
2024-06-26 11:45:50 +0200aaronv(~aaronv@user/aaronv) (Remote host closed the connection)
2024-06-26 11:45:01 +0200 <ncf> ExceptT
2024-06-26 11:44:44 +0200 <lxsameer> ncf: what about the error handling part
2024-06-26 11:44:04 +0200poscat(~poscat@user/poscat)
2024-06-26 11:43:24 +0200tzh(~tzh@c-76-115-131-146.hsd1.or.comcast.net) (Quit: zzz)
2024-06-26 11:43:19 +0200 <ncf> oh, pass the result. then foldr (>=>) pure i guess?
2024-06-26 11:41:49 +0200 <ncf> traverse
2024-06-26 11:40:41 +0200poscat(~poscat@user/poscat) (Quit: Bye)
2024-06-26 11:39:45 +0200econo_(uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2024-06-26 11:39:15 +0200 <lxsameer> hey folks, is there any ready to use functionality to collect a list of computations run them and pass the result of each of them after an automatic error handling to the next one? it should be thread safe
2024-06-26 11:34:08 +0200poscat(~poscat@user/poscat)
2024-06-26 11:33:53 +0200poscat(~poscat@user/poscat) (Quit: Bye)
2024-06-26 11:30:26 +0200Miroboru(~myrvoll@178-164-114.82.3p.ntebredband.no)
2024-06-26 11:27:20 +0200talismanick(~user@2601:644:937c:ed10::ae5)
2024-06-26 11:24:22 +0200ubert(~Thunderbi@2a02:8109:ab8a:5a00:f376:2bd9:f376:d9df)
2024-06-26 11:24:10 +0200ubert(~Thunderbi@2a02:8109:ab8a:5a00:1824:df35:e28:ab6b) (Remote host closed the connection)
2024-06-26 11:22:49 +0200poscat(~poscat@user/poscat)
2024-06-26 11:20:26 +0200gehmehgehgmg
2024-06-26 11:19:36 +0200ubert(~Thunderbi@2a02:8109:ab8a:5a00:1824:df35:e28:ab6b)
2024-06-26 11:16:10 +0200gehmehgeh(~user@user/gehmehgeh)
2024-06-26 10:57:23 +0200causal(~eric@50.35.88.207)
2024-06-26 10:56:37 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-06-26 10:56:06 +0200euleritian(~euleritia@dynamic-176-007-144-132.176.7.pool.telefonica.de) (Read error: Connection reset by peer)
2024-06-26 10:53:01 +0200Unicorn_Princess(~Unicorn_P@user/Unicorn-Princess/x-3540542)
2024-06-26 10:52:27 +0200__monty__(~toonn@user/toonn)
2024-06-26 10:52:16 +0200poscat(~poscat@user/poscat) (Quit: Bye)
2024-06-26 10:46:32 +0200YoungFrog(~youngfrog@2a02:a03f:c9db:fc00:51d9:348e:70e7:cc59)
2024-06-26 10:39:47 +0200rosco(~rosco@175.136.155.137)
2024-06-26 10:35:53 +0200cfricke(~cfricke@user/cfricke)
2024-06-26 10:29:45 +0200aaronv(~aaronv@user/aaronv)
2024-06-26 10:27:41 +0200danse-nr3(~danse-nr3@151.43.199.86)
2024-06-26 10:26:57 +0200aaronv(~aaronv@user/aaronv) (Ping timeout: 268 seconds)
2024-06-26 10:25:47 +0200chele(~chele@user/chele)
2024-06-26 10:23:22 +0200generalbigm(~generalbi@2001:250:3c0f:2000::e751)
2024-06-26 10:21:32 +0200lxsameer(~lxsameer@Serene/lxsameer)
2024-06-26 10:16:58 +0200RiXSon(~rixson@77-234-86-141.pool.digikabel.hu)
2024-06-26 10:13:51 +0200talismanick(~user@2601:644:937c:ed10::ae5) (Remote host closed the connection)