2025/11/28

Newest at the top

2025-11-28 19:53:17 +0100 <milan> Yes computing state is pure I got it... but then You need to render right? And this is pure or not?
2025-11-28 19:52:58 +0100 <EvanR> however you write the code, assuming you don't cause side effects in the HTML generating code, it's implementing a pure function
2025-11-28 19:52:23 +0100 <EvanR> I pointed this out long ago while doing PHP
2025-11-28 19:52:16 +0100 <milan> EvanR: Yes look here https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering
2025-11-28 19:52:05 +0100 <EvanR> an HTML UI component can be a pure function of its source data
2025-11-28 19:50:09 +0100 <EvanR> hydration?
2025-11-28 19:49:57 +0100 <milan> What does not make sense for me is that ReactJS claims (computing new state of components and drawing to screen is pure function) In haskell however even printing to terminal is in IOMonad. How could displaying something be pure and impure at once? I bet ReactJS is lying here.
2025-11-28 19:49:49 +0100ZLima12(~zlima12@user/meow/ZLima12) (Ping timeout: 260 seconds)
2025-11-28 19:49:34 +0100ZLima12_(~zlima12@user/meow/ZLima12) ZLima12
2025-11-28 19:48:19 +0100 <milan> EvanR: This isomorphism looks to me like next.js hydratation. Like prerender on server send prerenderd html then run rest on browser. I am more interested in "Function components" and composability as is in ReactJS.
2025-11-28 19:46:37 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-28 19:40:43 +0100trickard_(~trickard@cpe-91-98-47-163.wireline.com.au)
2025-11-28 19:40:29 +0100trickard_(~trickard@cpe-91-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-11-28 19:35:03 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 252 seconds)
2025-11-28 19:33:58 +0100 <EvanR> haskell-miso.org claims that it is "isomorphic" so I'm finding it hard not to check out
2025-11-28 19:23:08 +0100 <milan> Guyz! I have yet another question! I know I can read docs but bothering you with stupid quesitons is so much more fun. So has anybody tried ReactJS and Miso? How do they compare. React is pushing "pure functions" for composing GUI which haskell might employ for GUI too right? Is this what MISO does?
2025-11-28 19:19:19 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-11-28 19:17:40 +0100tromp(~textual@2001:1c00:3487:1b00:9176:7929:ae5a:d4f6) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-11-28 19:13:05 +0100trickard_(~trickard@cpe-91-98-47-163.wireline.com.au)
2025-11-28 19:12:51 +0100trickard(~trickard@cpe-91-98-47-163.wireline.com.au) (Read error: Connection reset by peer)
2025-11-28 19:03:37 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 264 seconds)
2025-11-28 18:53:15 +0100jmcantrell(~weechat@user/jmcantrell) (Ping timeout: 245 seconds)
2025-11-28 18:48:46 +0100jmcantrell(~weechat@user/jmcantrell) jmcantrell
2025-11-28 18:47:25 +0100bggd(~bgg@2a01:e0a:fd5:f510:81e5:516f:14c0:9e92)
2025-11-28 18:44:16 +0100sindu(~sindu@2.148.32.207.tmi.telenormobil.no)
2025-11-28 18:41:49 +0100tv(~tv@user/tv) (Read error: Connection reset by peer)
2025-11-28 18:41:35 +0100jmcantrell(~weechat@user/jmcantrell) (Ping timeout: 240 seconds)
2025-11-28 18:40:12 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) humasect
2025-11-28 18:36:10 +0100vardhan(~vardhan@122.172.83.239) (Ping timeout: 246 seconds)
2025-11-28 18:34:43 +0100chele(~chele@user/chele) (Remote host closed the connection)
2025-11-28 18:32:09 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-11-28 18:31:07 +0100L29Ah(~L29Ah@wikipedia/L29Ah) L29Ah
2025-11-28 18:30:12 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-28 18:27:14 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 256 seconds)
2025-11-28 18:21:12 +0100bgamari(~bgamari@64.223.170.198)
2025-11-28 18:19:42 +0100bgamari_(~bgamari@64.223.158.105) (Quit: ZNC 1.8.2 - https://znc.in)
2025-11-28 18:18:55 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-11-28 18:14:22 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-28 18:12:26 +0100FirefoxDeHuk(~FirefoxDe@user/FirefoxDeHuk) (Quit: Client closed)
2025-11-28 18:07:34 +0100ljdarj(~Thunderbi@user/ljdarj) ljdarj
2025-11-28 18:06:36 +0100mniip(mniip@libera/staff-emeritus/mniip) mniip
2025-11-28 18:06:36 +0100mniip(mniip@libera/staff/mniip) (Changing host)
2025-11-28 18:04:48 +0100FirefoxDeHuk(~FirefoxDe@user/FirefoxDeHuk) FirefoxDeHuk
2025-11-28 18:04:45 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection)
2025-11-28 18:03:15 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-11-28 18:02:33 +0100Googulator(~Googulato@team.broadbit.hu) (Ping timeout: 250 seconds)
2025-11-28 17:58:20 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-28 17:53:11 +0100ouilemur(~jgmerritt@user/ouilemur) ouilemur
2025-11-28 17:52:49 +0100Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Ping timeout: 264 seconds)
2025-11-28 17:49:38 +0100Googulator63Googulator