Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2017-03-23

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 leg joined #darcs
00:25 leg joined #darcs
01:19 sm @tell jeltsch, I'm thinking showing markdown documents as source is the wrong default. It made me cram darcshub news and roadmap docs into darcshub-docs/README.md so that I could link and format. Github renders them, eg https://github.com/simonmichael/hledger/blob/master/hledger/doc/commands.m4.md.
01:19 lambdabot Consider it noted.
01:21 sm Gitlab also renders them
01:21 sm for source view, you have to click Raw
03:05 mizu_no_oto joined #darcs
04:39 leg joined #darcs
06:05 diskie joined #darcs
06:13 peb`_ joined #darcs
07:26 mornfall sm: well, that's easy -- do you syntax highlight by default? if yes, you should render markdown as well... if you serve text/plain by default, same should probably hold for markdown
07:38 sm mornfall: the other sites give markdown files this special treatment, because showing it rendered is too useful it seems
07:47 mornfall sm: I don't really see any difference between rendering source code as colored html vs rendering markdown as html
07:50 sm of http://hub.darcs.net/simon/hledger_old/browse/DOCS.md and https://github.com/simonmichael/hledger/blob/master/site/docs.md, the latter is much more presentable
07:50 mornfall (it's a good idea to make sure that raw html is disabled in the renderer, otherwise you are in for a security mess)
07:52 sm yes, we do escape html tags in markdown, except on the front page where access is restricted
09:59 gal_bolle joined #darcs
12:27 gh_ joined #darcs
12:30 gh_ hi
12:44 gal_bolle hello
12:55 Riastradh joined #darcs
13:09 ThomasLocke joined #darcs
14:18 leg joined #darcs
14:41 gh_ joined #darcs
14:51 ThomasLocke joined #darcs
17:42 Cthulhux hmm... "stack install darcs" fails while linking on windows 10, hscurl.o claims to have undefined linker references to a number of curl_easy functions. why?
18:08 Heffalump Cthulhux: try -f-curl
18:08 Cthulhux Invalid option `-f-curl'
18:16 Heffalump ok, I don't really know stack
18:16 Cthulhux nor do i :-)
18:16 Cthulhux the website says i should use it
18:16 Cthulhux obviously, i shouldn't.
18:16 Heffalump darcs supports a flag 'curl' which you can turn off, otherwise you need to supply the curl library which is a pain on Windows
18:17 Heffalump with cabal it would be cabal install -f-curl
18:18 Cthulhux ha, yes. curl on windows... i had fun trying to use it in my c++ blog.
18:18 Cthulhux never again :x
18:18 * Cthulhux installs cabal
18:26 Heffalump I didn't know it was possible to get stack without cabal, I thought it actually uses cabal internally
18:26 Cthulhux it doesn't seem to
18:26 Cthulhux it doesn't even seem to use ghc
18:26 Cthulhux (i don't have ghc in py PATH)
18:26 Cthulhux *my
18:39 Heffalump I think it does something weird with ghc, like grabbing its own private copy
18:43 Cthulhux hooray.
19:08 Cthulhux hmm.. cabal does not work too well on windows without a shitload of dependencies
19:08 * Cthulhux compiles
19:14 Cthulhux yup. "cabal install -f-curl darcs" fails without a full-blown posix toolchain
19:14 Cthulhux you should provide a stack build without curl :-)
19:23 Heffalump what failed?
19:24 Cthulhux cabal can't compile a number of dependencies (e.g. network)
19:24 Heffalump oh, right. Did you install the Haskell platform? That should come with network.
19:24 Cthulhux it notifies me that i'll need to have sh in my PATH
19:24 Cthulhux yay, more dependencies. :|
19:24 Heffalump that's the standard way to install on Windows AFAIK
19:24 Heffalump btw there is a binary on the wiki if you prefer..
19:24 Cthulhux only if you're a haskell dev :-)
19:25 * Cthulhux sighs and downloads the binary
19:25 Heffalump I'm sure stack provides a way to pass flags, you could check it's documentation. I don't use it.
19:29 Cthulhux yup, undocumented though...
19:29 * Cthulhux tries
19:31 Cthulhux stack install darcs --flag darcs:-curl
19:32 Cthulhux ugly :- ) but works
19:32 Cthulhux thanks for the hint.
20:49 sm Cthulhux: best way, well done
20:50 Cthulhux :-)
20:51 sm cabal is known for automatically toggling flags to make things work, and the curl flag looks like a toggleable one - I wonder if stack prevents that
20:52 Cthulhux i wonder why stack lets me install darcs and cabal breaks due to missing POSIX tools.
20:53 sm stack is better at setting up build tools on windows
20:53 Cthulhux i see.
20:54 sm the darcs cabal file should perhaps just avoid curl on windows
20:55 Cthulhux the darcs stack file (?) is still on 2.12.4 btw
21:56 mizu_no_oto joined #darcs
22:31 sm Cthulhux: where do you see that ?
22:31 Cthulhux inside stack :-)
22:31 sm https://www.stackage.org/package/darcs shows 2.12.5 in stackage
22:31 Cthulhux at least it installed 2.12.4
22:33 sm stack install darcs-2.12.5 might fix it
22:36 Cthulhux darcs-2.12.4: unregistering
22:36 Cthulhux darcs-2.12.5: download
22:36 * Cthulhux waits
22:37 Cthulhux fyi
22:37 Cthulhux Package darcs uses a custom Cabal build, but does not use a custom-setup stanza
22:37 Cthulhux Not using the explicit setup deps approach based on configuration
22:37 Cthulhux Strongly recommend fixing the package's cabal file
22:37 Cthulhux :D
22:37 sm I've seen that recently, I think its harmless
22:37 sm comes from many packages
22:42 Cthulhux ok
22:42 Cthulhux 2.12.5 is installed
22:42 Cthulhux the warning is still weird. 2.12.4 didn't have it. o.O
22:59 sm I would guess it's from a newer stack, hpack, or cabal
23:00 sm hmm. Well, let us know if you figure it out
23:01 sm night
23:15 Cthulhux hmm
23:15 Cthulhux night

| Channels | #darcs index | Today | | Search | Google Search | Plain-Text | summary