2025/02/28

Newest at the top

2025-03-01 00:12:32 +0100 <haskellbridge> <Liamzee> i mean it can be done on a function level
2025-03-01 00:11:49 +0100takuan(~takuan@d8D86B601.access.telenet.be) (Ping timeout: 244 seconds)
2025-03-01 00:10:06 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 272 seconds)
2025-03-01 00:08:33 +0100michalz(~michalz@185.246.207.222) (Remote host closed the connection)
2025-03-01 00:07:40 +0100 <c_wraith> obelisk's trick is to change the libraries grabbed by a particular name depending on what it's targeting
2025-03-01 00:07:08 +0100 <c_wraith> It doesn't *really* work that way, thanks to needing to compile eagerly
2025-03-01 00:06:29 +0100 <haskellbridge> <Liamzee> erm, don't have to evaluate the backend server actions
2025-03-01 00:06:18 +0100 <haskellbridge> <Liamzee> whereas you're looking at macros and tokens (which require ADTs to be remotely reasonable) in other languages
2025-03-01 00:05:43 +0100 <haskellbridge> <Liamzee> whereas in Haskell, due to lazy evaluation and a concept of action, you don't have to evaluate the datatype parts, and this is completely native and idiomatic to haskell (well, not the object aspect)
2025-03-01 00:05:28 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-01 00:05:07 +0100 <haskellbridge> <Liamzee> they have to be fully evaluated, or rendered as tokens
2025-03-01 00:04:50 +0100 <c_wraith> But I think it's not really maintained anymore
2025-03-01 00:04:46 +0100 <haskellbridge> <Liamzee> because in a strict language, if you have the server components of objects
2025-03-01 00:04:40 +0100 <c_wraith> like https://github.com/obsidiansystems/obelisk is along those lines
2025-03-01 00:04:16 +0100 <haskellbridge> <Liamzee> due to lazy evaluation
2025-03-01 00:04:10 +0100 <haskellbridge> <Liamzee> honestly this might be something haskell is good for
2025-03-01 00:03:59 +0100 <c_wraith> there are attempts in that direction, but they're all still pretty awkward to use.
2025-03-01 00:02:48 +0100 <haskellbridge> <Liamzee> as in, you define your program in objects / datatypes, then you use different compile functions to render the objects / datatypes to backend, frontend (multiplatform)?
2025-03-01 00:02:18 +0100 <haskellbridge> <Liamzee> hope this is not too obnoxious, but do single-library webapp applications exist?
2025-03-01 00:01:09 +0100misterfish(~misterfis@84.53.85.146) (Ping timeout: 248 seconds)
2025-02-28 23:57:49 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-02-28 23:54:54 +0100messewix(~jmc@user/messewix) (Read error: Connection reset by peer)
2025-02-28 23:52:38 +0100tomboy64(~tomboy64@user/tomboy64) tomboy64
2025-02-28 23:50:48 +0100 <c_wraith> Ok, found it. false alarm.
2025-02-28 23:49:40 +0100Smiles(uid551636@id-551636.lymington.irccloud.com) Smiles
2025-02-28 23:49:21 +0100azenna(~azenna@76.78.190.77) (Client Quit)
2025-02-28 23:49:06 +0100azenna(~azenna@76.78.190.77)
2025-02-28 23:48:55 +0100 <c_wraith> Some other dependency is at fault
2025-02-28 23:48:50 +0100 <c_wraith> ah, it's not.
2025-02-28 23:48:30 +0100 <c_wraith> also... Diagrams hasn't been updated to build on current GHC since 9.0 came out? Is that really the case?
2025-02-28 23:47:34 +0100tomboy64(~tomboy64@user/tomboy64) (Ping timeout: 260 seconds)
2025-02-28 23:45:28 +0100k_hachig_(~k_hachig@2605:b100:12d:f432:30da:d313:60c:c771) (Ping timeout: 244 seconds)
2025-02-28 23:39:18 +0100Unicorn_Princess(~Unicorn_P@user/Unicorn-Princess/x-3540542) (Quit: Leaving)
2025-02-28 23:39:05 +0100petrichor(~znc-user@user/petrichor) petrichor
2025-02-28 23:36:06 +0100k_hachig_(~k_hachig@2605:b100:12d:f432:30da:d313:60c:c771) k_hachig
2025-02-28 23:36:04 +0100petrichor(~znc-user@user/petrichor) (Ping timeout: 260 seconds)
2025-02-28 23:35:23 +0100fp(~Thunderbi@87-92-155-24.rev.dnainternet.fi) fp
2025-02-28 23:34:45 +0100k_hachig_(~k_hachig@138-51-74-124-lsn-2.nat.utoronto.ca) (Ping timeout: 246 seconds)
2025-02-28 23:32:47 +0100 <Leary> c_wraith: Good question; I had much the same one recently. I investigated all the graphics libraries I could find but there was no answer among them, so I'm currently in the process of rolling my own with cairo and sdl2. My 'cairo-declarative' wrapper is pretty much done, but the rest is very much a WIP. Still, I'll see about putting them on github soon and send you links when I do.
2025-02-28 23:23:39 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 260 seconds)
2025-02-28 23:21:14 +0100synchromesh(~john@2406:5a00:24cf:bb00:bc6d:a873:1cc2:c331) synchromesh
2025-02-28 23:20:20 +0100synchromesh(~john@2406:5a00:24cf:bb00:2c32:43e6:1cbf:396a) (Read error: Connection reset by peer)
2025-02-28 23:19:04 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-02-28 23:16:23 +0100 <c_wraith> huh. Is there something in the space of "gloss, but with enough features to be useful"? Like, Gloss would be good enough for me if I could just query the current bounds of a Picture, but it doesn't allow even that much
2025-02-28 23:14:16 +0100bilegeek(~bilegeek@2600:1008:b083:f9b:4ea6:8944:ad90:a41f) bilegeek
2025-02-28 23:09:50 +0100__jmcantrell__(~weechat@user/jmcantrell) (Ping timeout: 252 seconds)
2025-02-28 23:09:24 +0100k_hachig_(~k_hachig@138-51-74-124-lsn-2.nat.utoronto.ca) k_hachig
2025-02-28 23:08:42 +0100Lord_of_Life(~Lord@user/lord-of-life/x-2819915) Lord_of_Life
2025-02-28 23:07:48 +0100k_hachig_(~k_hachig@138-51-74-124-lsn-2.nat.utoronto.ca) (Ping timeout: 246 seconds)
2025-02-28 23:07:46 +0100target_i(~target_i@user/target-i/x-6023099) (Quit: leaving)