2024/10/05

Newest at the top

2024-10-05 14:15:16 +0200 <Square> Thanks for the input on web jackdk, probie
2024-10-05 14:14:31 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 264 seconds)
2024-10-05 14:11:38 +0200 <kaol> I could write the executable name every time or set up some script to call to type less but I'd write "cabal repl" half the time from muscle memory. It'd be convenient to change this.
2024-10-05 14:09:53 +0200 <kaol> cabal repl --help tells me that running "cabal repl" uses "default component". I have several components in my cabal file and looks like it's defaulting to the first library but it'd be much more useful for my project to default to the first executable instead. Is there some knob I could turn?
2024-10-05 14:09:28 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-05 14:05:58 +0200kaol(~kaol@94-237-45-144.nl-ams1.upcloud.host) kaol
2024-10-05 14:01:04 +0200identity(~identity@user/ZharMeny) identity
2024-10-05 13:59:46 +0200 <jackdk> Which is what yesod-static is using under the hood. Depends on what level you are embedding at
2024-10-05 13:59:05 +0200 <jackdk> There's also https://hackage.haskell.org/package/file-embed
2024-10-05 13:58:31 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds)
2024-10-05 13:57:32 +0200 <kqr> Ah, it comes with an example. Sometimes the Yesod documentation is a little difficult and sometimes it hits just the right spot!
2024-10-05 13:55:58 +0200CrunchyFlakes(~CrunchyFl@ip1f13e94e.dynamic.kabel-deutschland.de)
2024-10-05 13:54:28 +0200 <kqr> Just gotta figure out how to use it.
2024-10-05 13:54:15 +0200 <kqr> Yeah. This looks promising: https://hackage.haskell.org/package/yesod-static-1.6.1.0/docs/Yesod-EmbeddedStatic.html
2024-10-05 13:54:02 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-05 13:52:53 +0200 <Hecate> kqr: you mean, bundle external assets in the final binary?
2024-10-05 13:49:13 +0200 <kqr> And by "in Haskell" I mean "in Yesod", sorry
2024-10-05 13:47:29 +0200 <kqr> Does anyone know if it's possible to compile in external resources in Haskell, similar to how Shakesperean templates are compiled in? For ease of deployment when depending on specific fonts.
2024-10-05 13:47:26 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-10-05 13:45:56 +0200connrs(~connrs@user/connrs) connrs
2024-10-05 13:43:30 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
2024-10-05 13:43:24 +0200CrunchyFlakes(~CrunchyFl@ip1f13e94e.dynamic.kabel-deutschland.de) (Ping timeout: 260 seconds)
2024-10-05 13:41:05 +0200connrs(~connrs@user/connrs) (Quit: ZNC 1.9.1 - https://znc.in)
2024-10-05 13:39:24 +0200rosco(~rosco@183.171.111.24) rosco
2024-10-05 13:38:59 +0200mantraofpie(~mantraofp@user/mantraofpie) (Quit: Leaving)
2024-10-05 13:38:37 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-05 13:34:43 +0200DigitteknohippieDigit
2024-10-05 13:33:03 +0200 <probie> It's easy enough to produce a Haskell library that can be called from JS or run in wasmtime (for example https://github.com/RubenVerg/tinyapl), but I don't know if anyone is using it to "replace" JavaScript
2024-10-05 13:29:58 +0200ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Client Quit)
2024-10-05 13:29:07 +0200 <jackdk> AIUI things are still in transtion. The reflex FRP people mostly talk on Matrix these days and I think work continues but I don't think they're not on modern JS-backend GHC stuff yet
2024-10-05 13:28:49 +0200alp_(~alp@2001:861:e3d6:8f80:1186:cef5:4906:f210) (Ping timeout: 252 seconds)
2024-10-05 13:28:14 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
2024-10-05 13:26:48 +0200ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en
2024-10-05 13:25:31 +0200Digit(~user@user/digit) (Ping timeout: 252 seconds)
2024-10-05 13:25:06 +0200Digitteknohippie(~user@user/digit) Digit
2024-10-05 13:25:00 +0200ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
2024-10-05 13:23:06 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-05 13:22:33 +0200 <Square> Isn't Yesod just a server side framework. I was hoping for something that lets me compile .hs to javascript/wasm.
2024-10-05 13:18:49 +0200ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) ash3en
2024-10-05 13:18:34 +0200CiaoSen(~Jura@2a05:5800:227:c200:ca4b:d6ff:fec1:99da) CiaoSen
2024-10-05 13:18:28 +0200ash3en(~Thunderbi@2a03:7846:b6eb:101:93ac:a90a:da67:f207) (Quit: ash3en)
2024-10-05 13:14:45 +0200mari-estel(~mari-este@185.238.219.52) (Quit: incoming)
2024-10-05 13:14:43 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-10-05 13:12:10 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds)
2024-10-05 13:09:53 +0200 <mari-estel> cheers!
2024-10-05 13:09:17 +0200 <kqr> mari-estel, if you're asking about my link it's a small Yesod application. https://git.sr.ht/~kqr/fishers-fountain/tree/master/item/app/Main.hs
2024-10-05 13:09:02 +0200gioyik(~gioyik@gateway/tor-sasl/gioyik) gioyik
2024-10-05 13:07:34 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-05 13:06:57 +0200L29Ah(~L29Ah@wikipedia/L29Ah) (Ping timeout: 248 seconds)
2024-10-05 13:06:16 +0200JuanDaugherty(~juan@user/JuanDaugherty) ()