Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-14 15:14:42 <kuribas> Uniaika: some trace showed that it only parsing the first tag...
2021-03-14 15:14:56 <kuribas> maybe a bug in the alternative?
2021-03-14 15:14:57 <Uniaika> kuribas: first of all, put some strictness annotations in your own types. And unpack their fields as well, this will remove a level of indirection
2021-03-14 15:15:05 <Uniaika> and -> write tests
2021-03-14 15:15:08 <kuribas> hmm, right
2021-03-14 15:15:10 <kuribas> yeah :)
2021-03-14 15:15:14 <Uniaika> especially for the hand-written instances
2021-03-14 15:15:46 × idhugo quits (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net) (Ping timeout: 256 seconds)
2021-03-14 15:16:40 jeremybennett joins (~jeremyben@185.204.1.185)
2021-03-14 15:16:49 × ezrakilty quits (~ezrakilty@97-113-58-224.tukw.qwest.net) (Ping timeout: 265 seconds)
2021-03-14 15:19:06 <[exa]> is there some recommended way to install binary "assets" with cabal? (say, logo pictures)
2021-03-14 15:19:45 <sm[m]> file-embed
2021-03-14 15:20:20 <Uniaika> uh, I thought it was data-dir
2021-03-14 15:21:25 <Uniaika> ah, file-embed is a package, and data-dir is the Cabal field I was thinking of
2021-03-14 15:21:50 <sm[m]> yup. One is fragile, the other not
2021-03-14 15:22:23 × mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Ping timeout: 268 seconds)
2021-03-14 15:22:28 × timCF quits (~i.tkachuk@m91-129-99-43.cust.tele2.ee) (Ping timeout: 260 seconds)
2021-03-14 15:23:07 <Uniaika> sm[m]: care to tell which is which? :P
2021-03-14 15:23:54 <[exa]> data-dir and data-files fix it for me, thanks a lot!
2021-03-14 15:24:01 Sheilong joins (uid293653@gateway/web/irccloud.com/x-vnbzqcslxpqrrgtm)
2021-03-14 15:24:03 mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan)
2021-03-14 15:24:31 <sm[m]> :) data-dir is fragile, depending on file system state. Eg when various things happen to your .cabal dir, your pandoc breaks
2021-03-14 15:24:36 <[exa]> (I was googling it wrong with "binary", which packs a bit of bias :D )
2021-03-14 15:24:53 <[exa]> yeah, data should be listed explicitly
2021-03-14 15:27:11 hackage headroom 0.4.1.0 - License Header Manager https://hackage.haskell.org/package/headroom-0.4.1.0 (xwinus)
2021-03-14 15:28:33 × Lycurgus quits (~niemand@cpe-45-46-136-207.buffalo.res.rr.com) (Quit: Exeunt)
2021-03-14 15:28:33 × mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Ping timeout: 268 seconds)
2021-03-14 15:30:43 kenran joins (~kenran@mue-88-130-62-145.dsl.tropolys.de)
2021-03-14 15:31:19 machinedgod joins (~machinedg@135-23-192-217.cpe.pppoe.ca)
2021-03-14 15:34:25 <[exa]> whoa whoa, hackagebot is back!
2021-03-14 15:35:00 bergey` joins (~user@pool-74-108-99-127.nycmny.fios.verizon.net)
2021-03-14 15:35:48 <slack1256> Nice, then I will restart releasing packages. I only did it for the hackagebot.
2021-03-14 15:37:07 × stree quits (~stree@68.36.8.116) (Ping timeout: 265 seconds)
2021-03-14 15:38:27 × malumore quits (~malumore@151.62.115.237) (Ping timeout: 246 seconds)
2021-03-14 15:40:32 waleee-cl joins (uid373333@gateway/web/irccloud.com/x-ajfxjvyfxwkenmku)
2021-03-14 15:41:12 dfeuer joins (~dfeuer@pool-173-79-253-62.washdc.fios.verizon.net)
2021-03-14 15:43:24 idhugo joins (~idhugo@87-49-147-45-mobile.dk.customer.tdc.net)
2021-03-14 15:44:46 malumore joins (~malumore@151.62.115.237)
2021-03-14 15:45:34 <[exa]> \o/
2021-03-14 15:45:40 mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan)
2021-03-14 15:47:42 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-03-14 15:49:56 stree joins (~stree@68.36.8.116)
2021-03-14 15:50:05 kritzefitz joins (~kritzefit@212.86.56.80)
2021-03-14 15:50:28 × jrqc quits (~rofl@96.78.87.197) (Ping timeout: 245 seconds)
2021-03-14 15:54:04 jrqc joins (~rofl@96.78.87.197)
2021-03-14 15:56:10 <kuribas> Uniaika: this one hangs: parseXMLByteString (maybeP "foo" (\t -> tag t skipAttrs $ const skipTags)) (ParseOptions Nothing Nothing) "<foo></foo>"
2021-03-14 15:56:22 DavidEichmann joins (~david@234.109.45.217.dyn.plus.net)
2021-03-14 15:56:28 × raym quits (~ray@45.64.220.113) (Quit: leaving)
2021-03-14 15:56:46 <kuribas> Uniaika: better: parseXMLByteString (tag "foo" skipAttrs $ const skipTags) (ParseOptions Nothing Nothing) "<foo></foo>"
2021-03-14 15:57:26 <Uniaika> kuribas: wanna do a video call to try and debug that together?
2021-03-14 15:57:53 <kuribas> sure :)
2021-03-14 15:57:56 <Uniaika> ok 2 sec
2021-03-14 16:00:14 <fendor> does tasty have some kind of "before" combinator to execute some io action before the TestTree is run?
2021-03-14 16:01:27 CrazyPython joins (~crazypyth@98.122.164.118)
2021-03-14 16:03:07 Wuzzy joins (~Wuzzy@p57a2ecf2.dip0.t-ipconnect.de)
2021-03-14 16:04:30 × bergey` quits (~user@pool-74-108-99-127.nycmny.fios.verizon.net) (Ping timeout: 256 seconds)
2021-03-14 16:05:11 jamm_ joins (~jamm@unaffiliated/jamm)
2021-03-14 16:05:13 drdee joins (~drdee@93-33-1-171.ip42.fastwebnet.it)
2021-03-14 16:08:59 Rudd0 joins (~Rudd0@185.189.115.103)
2021-03-14 16:14:01 <mikoto-chan> Where do I report dead links on the Haskell wiki?
2021-03-14 16:14:08 <Uniaika> mikoto-chan: me
2021-03-14 16:14:16 <Uniaika> mikoto-chan: but we probably already know about them
2021-03-14 16:14:41 <mikoto-chan> Uniaika: https://wiki.haskell.org/Peano_numbers
2021-03-14 16:14:47 <mikoto-chan> > See an example implementation.
2021-03-14 16:14:50 <lambdabot> <hint>:1:31: error:
2021-03-14 16:14:50 <lambdabot> <hint>:1:31: error:
2021-03-14 16:14:50 <lambdabot> parse error (possibly incorrect indentation or mismatched brackets)
2021-03-14 16:15:27 <tomsmeding> nested parse error?
2021-03-14 16:15:57 <mikoto-chan> No I accidentally used > to specify what hyperlink was broken
2021-03-14 16:16:06 <mikoto-chan> I didn't know it spawned a ghci session
2021-03-14 16:16:26 <mikoto-chan> > succ 31
2021-03-14 16:16:28 <lambdabot> 32
2021-03-14 16:16:35 <geekosaur> tomsmeding, search functionality on ircbrowse seems to be broken
2021-03-14 16:17:09 <tomsmeding> mikoto-chan: https://web.archive.org/web/20170429173131/http://code.haskell.org/~thielema/htam/src/Number/PeanoNumber.hs
2021-03-14 16:17:13 <tomsmeding> geekosaur: interesting
2021-03-14 16:17:41 tomsmeding didn't even know of search functionality
2021-03-14 16:17:42 <geekosaur> at least in #xmonad, it's ignoring the ?q= string
2021-03-14 16:17:57 <mikoto-chan> tomsmeding: it was just the source code? oops
2021-03-14 16:17:58 conal joins (~conal@192.145.118.107)
2021-03-14 16:18:12 <tomsmeding> geekosaur: did that ever work?
2021-03-14 16:18:25 <geekosaur> I think it used to
2021-03-14 16:18:42 × Tene quits (~tene@poipu/supporter/slacker/tene) (Ping timeout: 246 seconds)
2021-03-14 16:19:02 <geekosaur> see for example https://ircbrowse.tomsmeding.com/nick/geekosaur which you can reach form the Nicks tab, then "Search logs for this nick" line
2021-03-14 16:19:03 × CoconutCrab quits (~Cua@unaffiliated/coconutcrab) (Ping timeout: 246 seconds)
2021-03-14 16:19:06 <tomsmeding> can you give an example url that you think should (have) work(ed)?
2021-03-14 16:19:11 <tomsmeding> ah
2021-03-14 16:19:13 × ByronJohnson quits (~bairyn@unaffiliated/bob0) (Ping timeout: 245 seconds)
2021-03-14 16:19:27 <geekosaur> which produces https://ircbrowse.tomsmeding.com/browse/xmonad?q=geekosaur
2021-03-14 16:19:38 tomsmeding opens source code
2021-03-14 16:20:38 × cpape``` quits (~user@static.180.18.203.116.clients.your-server.de) (Quit: ERC (IRC client for Emacs 26.3))
2021-03-14 16:20:55 cpape joins (~user@static.180.18.203.116.clients.your-server.de)
2021-03-14 16:23:53 <tomsmeding> geekosaur: heh see the _q https://github.com/tomsmeding/ircbrowse/blob/master/src/Ircbrowse/Model/Events.hs#L16
2021-03-14 16:24:26 <geekosaur> ah
2021-03-14 16:24:27 <tomsmeding> right, it apparently used an external tool at some pont, but that was intentionally disabled in this code
2021-03-14 16:25:47 <tomsmeding> somewhat related: loading a nick page is really slow in ircbrowse because it does like 5 full-table-scans on the events table
2021-03-14 16:25:57 <tomsmeding> i.e. linear in the total amount of history
2021-03-14 16:26:26 <tomsmeding> search that is linear in history size would be trivial to implement, not sure I want to figure out how to set up sphinx
2021-03-14 16:27:11 ADG1089__ joins (~aditya@106.212.74.137)
2021-03-14 16:27:31 <tomsmeding> also I have issues with ircbrowse being built on inefficient cron jobs :p
2021-03-14 16:31:40 × ixlun quits (~user@213.205.241.14) (Remote host closed the connection)

All times are in UTC.