2025/03/16

Newest at the top

2025-03-16 22:11:56 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 268 seconds)
2025-03-16 22:11:19 +0100MyNetAz(~MyNetAz@user/MyNetAz) (Remote host closed the connection)
2025-03-16 22:10:28 +0100 <c_wraith> it's just not implemented with the non-threaded runtime. I suggested an implementation and was told "that's a feature request, not a bug"
2025-03-16 22:09:46 +0100 <merijn> oof
2025-03-16 22:09:29 +0100 <c_wraith> merijn: https://hackage.haskell.org/package/stm-2.5.3.1/docs/Control-Concurrent-STM-TVar.html#v:registerDe…
2025-03-16 22:08:29 +0100 <EvanR> library best viewed in internet explorer
2025-03-16 22:08:21 +0100 <merijn> c_wraith: Which function is crashing?
2025-03-16 22:08:14 +0100 <jle`> (/s)
2025-03-16 22:08:10 +0100 <jle`> what if you added -threaded to your library cabal stanza
2025-03-16 22:07:48 +0100 <c_wraith> you just get to hack around one function always crashing when the non-threaded runtime is chosen. With code that should just be in the library
2025-03-16 22:07:24 +0100 <c_wraith> as a library author, you don't get to choose the runtime.
2025-03-16 22:07:22 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-16 22:07:00 +0100 <merijn> c_wraith: People still using the non-threaded runtime is a bug ;)
2025-03-16 22:06:51 +0100 <jle`> lisan al gaib
2025-03-16 22:06:40 +0100 <c_wraith> I wish I could convince the GHC maintainers that a function crashing with the non-threaded runtime is in fact a bug.
2025-03-16 22:06:37 +0100 <merijn> Clearly I'm a prophetic visionary with impeccable taste
2025-03-16 22:06:19 +0100 <merijn> c_wraith: Only to a decade later which the GHC list discuss how to implement what I asked for
2025-03-16 22:05:59 +0100 <merijn> c_wraith: I wrote a library because some GHC maintainers thought my suggestion was silly and no one would want that
2025-03-16 22:05:49 +0100 <jle`> my libraries had a user once
2025-03-16 22:05:20 +0100michalz(~michalz@185.246.207.201) (Remote host closed the connection)
2025-03-16 22:05:19 +0100 <mauke> data-default
2025-03-16 22:05:15 +0100 <c_wraith> much to my surprise, that library even has a user now.
2025-03-16 22:05:07 +0100 <merijn> Which lib is that?
2025-03-16 22:05:05 +0100 <c_wraith> I once wrote a library because I didn't like a blog post.
2025-03-16 22:04:57 +0100 <merijn> mauke: ;)
2025-03-16 22:04:41 +0100 <mauke> and now it's 17 years old and has 841 direct, 14225 indirect reverse dependencies
2025-03-16 22:04:21 +0100 <mauke> I once had a cute idea for a silly little haskell library
2025-03-16 22:03:07 +0100takuan(~takuan@d8D86B601.access.telenet.be) (Remote host closed the connection)
2025-03-16 21:48:21 +0100robertm(robertm@lattice.rojoma.com) robertm
2025-03-16 21:48:05 +0100joeyadams(~joeyadams@syn-162-154-010-038.res.spectrum.com) (Quit: Leaving)
2025-03-16 21:47:16 +0100 <merijn> No, just A Doctor :p
2025-03-16 21:47:01 +0100 <EvanR> are you The Doctor now
2025-03-16 21:46:41 +0100robertm(robertm@lattice.rojoma.com) (Quit: ...)
2025-03-16 21:46:38 +0100 <merijn> I just realised some libraries I wrote are now a decade old :O
2025-03-16 21:46:23 +0100 <merijn> EvanR: I already got that part down
2025-03-16 21:46:16 +0100 <EvanR> not yak hair per second xD
2025-03-16 21:45:49 +0100 <EvanR> optimize for long term maintainability
2025-03-16 21:45:31 +0100 <joeyadams> I'm the devil on your left shoulder.
2025-03-16 21:44:53 +0100 <merijn> joeyadams: Your doing a lousy job at convincing me not to yak shave :p
2025-03-16 21:44:03 +0100 <joeyadams> If CApiFFI is better, why not contribute that to direct-sqlite, then write your interface on top of Database.SQLite3.Bindings or Database.SQLite3.Direct ?
2025-03-16 21:43:17 +0100 <merijn> joeyadams: Sure, but I think iff I do significant work on it, I probably just want to also do something like base it on ResourceT
2025-03-16 21:42:29 +0100 <joeyadams> merijn: What if you simply rewrite the direct-sqlite FFI bindings to use CApiFFI? I did a lot of work on this module (10 years ago) to separate those out.
2025-03-16 21:42:22 +0100 <[exa]> merijn: re time tracking, didn't some of these pomodoro timer tools do that? I recall one that actually asked what you're doing, which is for me WAY more reliable than trying to remember to run that single terminal command
2025-03-16 21:41:31 +0100 <EvanR> are all problems equally weighted (in lieu of suspecting some of them don't really exist)
2025-03-16 21:41:28 +0100 <merijn> EvanR: That last one isn't a problem and more a "description" of why it's not being used :p
2025-03-16 21:40:51 +0100 <merijn> But by now it's been in GHC for over a decade so I think it's safe to say "screw anyone who can't work with it" :p
2025-03-16 21:40:51 +0100 <EvanR> you're reporting so many problems now I'm starting to get incredulous
2025-03-16 21:40:07 +0100 <merijn> joeyadams: CApiFFI is great, the main "problem" it has is that it was "too new" when direct-sqlite and stuff was actively hacked on
2025-03-16 21:40:00 +0100 <joeyadams> Had an interesting chat with my boss (who has never heard of Haskell) why this mysterious program named "cabal" was flagging the virus scanner on my work laptop.
2025-03-16 21:39:28 +0100 <joeyadams> CApiFFI seems interesting. One fun thing I learned about hsc2hs is that virus scanners *really* don't like programs that use every win32 function, such as the win32 package.