2024/11/14

Newest at the top

2024-11-14 21:33:01 +0100 <sm> https://github.com/simonmichael/hledger/blob/master/Shake.hs
2024-11-14 21:32:12 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2024-11-14 21:31:58 +0100 <c_wraith> But it's not like I'm short on free time these days. I should take another shot at it.
2024-11-14 21:31:48 +0100 <sm> but anything I have implemented in it has been rock solid and I never had to worry about it again
2024-11-14 21:31:19 +0100 <sm> c_wraith I hear that. Even if you know make, Shake is not exactly a walk in the park to program, especially if you're not using regularly.
2024-11-14 21:30:33 +0100 <haskellbridge> <Bowuigi> Yeah that's easier, otherwise try https://github.com/ggerganov/whisper.cpp which is not Python but C++
2024-11-14 21:30:00 +0100 <guy_> im going afk for ~20 mins to give people time to listen through, see you at about 10 too
2024-11-14 21:29:13 +0100 <guy_> never mind! it would be most simple if people could just listen to the recording, save the the hassle! https://vocaroo.com/14nNu3Nm5FaV
2024-11-14 21:28:42 +0100 <guy_> says it only builds out of the box with nixos... https://gitlab.com/ludflu/vad-audio
2024-11-14 21:28:04 +0100 <c_wraith> also, I never really used make, so the process of learning how to use shake seemed large. Much of shake's documentation is very "you already know how to use make"-oriented.
2024-11-14 21:26:14 +0100 <guy_> python*
2024-11-14 21:26:09 +0100 <guy_> https://www.reddit.com/r/haskell/comments/102bxc1/voice_assistant_app_in_haskell/
2024-11-14 21:26:09 +0100 <guy_> hmm.. whisper is in pythos so thats inaccessible to me, i can find this blog post about a sort of haskell port
2024-11-14 21:26:07 +0100 <sm> with a few caveats, like you can have only one shake file in a project directory and can run it only once at a time
2024-11-14 21:26:03 +0100 <shapr> I am using pandoc to convert org-mode to html, but it's not pulling in warp, whew.
2024-11-14 21:25:29 +0100 <sm> shake is what I switched to, I love it
2024-11-14 21:25:13 +0100guy(~guy@2a01:4b00:d007:ed00:81c3:85aa:e2c9:6027) (Ping timeout: 256 seconds)
2024-11-14 21:25:08 +0100 <c_wraith> I thought about using shake instead of hakyll, but even for a small amount of code the porting process seemed huge.
2024-11-14 21:25:03 +0100 <haskellbridge> <Bowuigi> There's a faster whisper project somewhere, lemme find the link
2024-11-14 21:24:29 +0100 <guy_> thanks haskellbridge, ill have a see if i can find an easy interface to see if i can get a trascript together
2024-11-14 21:24:03 +0100 <guy_> yeah, sorry about the format, thats currently the only available description i have
2024-11-14 21:23:59 +0100 <sm> c_wraith: similar - I abandoned hakyll and now always use pandoc via cli rather than importing
2024-11-14 21:23:55 +0100ash3en(~Thunderbi@193.32.248.167) (Quit: ash3en)
2024-11-14 21:23:53 +0100 <haskellbridge> <Bowuigi> guy_ The Whisper models are good
2024-11-14 21:23:34 +0100 <c_wraith> shapr: you might luckily be on an older version of hakyll that didn't accidentally build warp for a single data type import!
2024-11-14 21:23:33 +0100 <shapr> I don't have such a tool handy.
2024-11-14 21:23:21 +0100 <guy_> it would be good to see what a GPT has to say on the subject
2024-11-14 21:22:51 +0100 <guy_> shapr: not currently! it would be good if i had a voice to text tool, does anyone have a good tool for this?
2024-11-14 21:22:43 +0100shaprworriedly checks his blog dependencies
2024-11-14 21:22:22 +0100 <c_wraith> pandoc and hakyll are... yeah. I patched hakyll to not accidentally build warp in CI (why did that need a patch?) and ripped pandoc out of the build pipeline entirely.
2024-11-14 21:22:22 +0100 <shapr> guy_: I comprehend text the fastest, is there a transcript?
2024-11-14 21:22:07 +0100 <guy_> (here for anyone that cant see the scrollup https://vocaroo.com/14nNu3Nm5FaV)
2024-11-14 21:21:41 +0100 <sm> more stack trivia: don't miss `stack script --compile`, which will auto (re)compile the script, or run the compiled version if it already exists, for instant startup
2024-11-14 21:21:38 +0100 <guy_> feel free to open up a dm conversation if your listening along and i can answer any questions you might want to keep off the main channel, otherwise i guess ill wait for about 20 mins to see if anyone makes it to the end of the voice note, and if anyone enjoys the theory and is interested in the work im doing
2024-11-14 21:21:35 +0100guy15guy_
2024-11-14 21:21:17 +0100guy15(~guy@2a01:4b00:d007:ed00:81c3:85aa:e2c9:6027)
2024-11-14 21:21:12 +0100 <shapr> sm: good point
2024-11-14 21:20:56 +0100 <shapr> `nix-shell -p cabal-install ghc` is what I used to test this.
2024-11-14 21:20:43 +0100 <shapr> oops
2024-11-14 21:20:43 +0100 <sm> `stack script` can also take minutes, possibly many minutes, the first time you run a script, and it might appear hung for part of that time; adding --verbosity=info to the shebang line shows more progress output. Like cabal it could be building half of hackage (say your script uses pandoc or hakyll :). Unlike cabal it could be installing GHC, as well.
2024-11-14 21:20:41 +0100 <shapr> Yeah, since I'm using NixOS and a just-created empty environment with `nix
2024-11-14 21:20:06 +0100 <hellwolf> most likely, it was building packages that you hadn't built for that version of GHC
2024-11-14 21:19:35 +0100 <hellwolf> or -v2
2024-11-14 21:19:20 +0100 <hellwolf> shapr, you can use "#!/usr/bin/env -S cabal run -v1"
2024-11-14 21:19:16 +0100 <lambdabot> Unknown command, try @list
2024-11-14 21:19:16 +0100 <hellwolf> @shapr, you can use "#!/usr/bin/env -S cabal run -v1"
2024-11-14 21:19:13 +0100 <c_wraith> two minutes is not improbable for `cabal update` with no previous state to add to
2024-11-14 21:18:53 +0100 <shapr> sm: I'd guess it's doing `cabal update` and then `cabal build` but I wouldn't expect it to take that long?
2024-11-14 21:18:29 +0100 <shapr> sm: I haven't looked, and I didn't see anything obvious in the docs for `cabal run`
2024-11-14 21:17:18 +0100 <sm> shapr: nice post. What's cabal doing in the two minutes ?