Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-11-16

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

All times shown according to UTC.

Time Nick Message
00:00 gh_ joined #darcs
01:37 carter_cloud joined #darcs
01:38 vikraman joined #darcs
02:54 mizu_no_oto joined #darcs
03:03 Big_G joined #darcs
07:11 siel_ joined #darcs
07:12 carter_cloud_ joined #darcs
07:14 carter_ joined #darcs
11:13 f-a joined #darcs
11:20 f-a there is a darcs vs. git thread on haskell-cafe
11:21 f-a I contributed a bit but some questions are over my knowledge
11:21 f-a https://mail.haskell.org/pipermail/haskell-cafe/2015-November/122221.html
11:57 mizu_no_oto joined #darcs
12:18 f-a joined #darcs
13:04 Big_G joined #darcs
13:07 f-a joined #darcs
13:58 ggherdov` joined #darcs
16:09 sm awesome!
16:10 sm haven't had one of those in ages
16:28 pointfree Looks like the "darcs" package has been promoted back to the official (community) package repositories in Arch Linux after having been dropped to AUR for a long time.
16:29 f-a what was the problem with it
16:29 f-a why did they drop it
16:29 pointfree https://www.archlinux.org/packages/?sort=&q=darcs&maintainer=&flagged=
16:32 pointfree presumably it was demoted to AUR because it was lacking in popularity ...but it's back!
16:32 f-a \o/
16:34 pointfree http://stackoverflow.com/a/465269
16:38 pointfree Trying to do a darcsden getUserChanges ...one step closer to a darcsden feed. Need to merge the changes from each of a user's repos into one list of patches.
16:52 pointfree My Haskell skills are fairly rusty.
17:01 pointfree let ps = m $ map (fromPS (\np -> (P.patch2patchinfo np, P.getdeps np)) $ R.readRepo) (getOwnerRepositories (view uName u))
17:01 pointfree Is what I'm trying to use.
17:03 f-a does it compile, pointfree
17:07 pointfree I was not able to get it to compile: http://pastebin.com/UETkYLUX
17:10 f-a and what's on 232:23
17:13 pointfree The "let ps =" line http://pastebin.com/w8hcEpe4
17:15 f-a so it is fromPS (\np -> (P.patch2patchinfo np, P.getdeps np)
17:15 f-a any way I can pull your repo?
17:16 pointfree Just a moment... (Thanks btw!)
17:21 pointfree Pushed current progress to http://hub.darcs.net/pointfree/darcsden
17:26 gh_ joined #darcs
17:26 sm boo, the darcs-git thread is mainly rehashing the ancient should-we-rewrite-history?-no!-yes! debate
17:27 sm so boring
17:27 f-a sm: should we?
17:27 sm pointfree: have you got a demo instance running ?
17:27 sm sure, I always recommend that
17:27 sm it gets people interested
17:28 sm helps you get user feedback etc.
17:28 f-a rewriting history?
17:28 sm oh sorry, I was talking about pointfree's feed work
17:29 sm yes we should in private repos, no we shouldn't in public ones :)
17:30 sm and YMMV, and letsmoveon this is 2015 :)
17:34 pointfree I think there should be a way to get branch changes/differences from other people's branches of current user's repos into the feed. (to facilitate social collaboration on darcsdens). I do have a home server that can run darcsden but it does not have enough RAM to run cabal-install a the moment :( https://github.com/haskell/cabal/issues/2396 Maybe I can compile darcsden on my laptop but install it to the server.
17:35 gh_ feeds in darcsden? great :-)
17:35 f-a glaaah I am having trouble compiling it :s
17:35 f-a pointfree: can you :t fromPS for me?
17:35 f-a :t R.readRepo too
17:35 lambdabot Not in scope: ‘R.readRepo’
17:35 lambdabot Not in scope: ‘too’
17:35 lambdabot Perhaps you meant ‘to’ (imported from Control.Lens)
17:36 f-a sod off lambdabot
17:40 pointfree How can I load darcsden into ghci to use ":t" ? (my Haskell skill are rusty)
17:41 f-a unno, mhh... sm: does stack ghci work
17:45 sm f-a: I believe it did, but I have not built in some months
17:45 f-a sm: more precisely, how can pointfree into :t
17:48 sm step 1, debug stack ghci :)
17:49 sm it looks like stack.yaml has not kept up with some new deps in the cabal file
17:50 f-a well cabal doesn't work for me
17:50 f-a spits out missing dependencies
17:50 f-a or am I doing something wrong?
17:51 sm what command are you running ?
17:51 f-a pointfree: so, do you use cabal or stack
17:51 f-a cabal repl
17:51 sm I can't support that, too much work
17:51 pointfree I'm using cabal
17:51 pointfree with a sandbox for darcsden
17:51 f-a I am not asking you to tweak it to my liking sm , but you just said stack.yaml is outdated
17:52 f-a and you use cabal build for building, right pointfree ?
17:52 sm sure, but when you run stack ghci it suggests a fix, which I was just testing (it gets it almost but not quite working here)
17:52 f-a ohhh ok
17:53 sm generally I would highly favour debugging the stack situation vs soldiering on with just cabal
17:54 sm stack fix pushed
17:54 sm now it's "/home/simon/src/darcsden/src/DarcsDen/Handlers/RepoHandlers.hs:331:15:    Not in scope: ‘annotateFileHighlighting’", probably needs a newer darcs
17:55 pointfree Yes, I'm using cabal for building...I will check out stack. (It must be new since I was last writing Haskell)
17:57 sm remember, stack also uses cabal for building. It's just better at it than we are
18:00 f-a that's a nice ad-phrase for stack
19:04 sm f-a, pointfree: update: no, alas, stack ghci does not work
19:04 f-a sm: I am building with cabal and it is taking its sweeeeet time
19:04 sm it doesn't see the HIGHLIGHTINGKATE cpp definition. I've reported it upstream
19:06 f-a gah
19:06 f-a that means cabal repl will fail too , right?
19:06 sm no I think cabal repl will be fine
19:07 f-a cool
19:07 sm but what do I know, this is the haskell ecosystem, anything is possible
19:07 f-a (once if finishes)
19:07 f-a sm: xD
19:07 f-a you should work in marketing sm
19:07 sm heh, marketing or anti-marketing
19:07 f-a marketing for hipsters
19:09 sm mind you, we also have a code bug (some unconditional code depending on a conditionally-defined function), so that would also fix it
19:11 sm all those cpp conditionals are a big pain
19:11 f-a cpp needs to go
19:11 sm we want to use highlighting kate, and still be buildable on windows
19:12 sm someone should try moving all highlighting kate stuff into separate modules, conditionally included by the cabal file
19:16 f-a Installed darcs-2.10.2
19:16 f-a Building bifunctors-4.2.1...
19:16 f-a ;_;
19:24 sm workaround pushed, stack ghci works now
19:25 f-a I am building lens
19:25 f-a and working towards peace in the world
19:25 sm :)
19:32 sm shouldn't darcs' use-time-1point5 flag be on by default now
19:35 sm I guess cabal users don't notice, because cabal-install automatically overrides the default, but stack doesn't
19:35 f-a I hate haskell ecosystem today
19:36 f-a OHMYGODITFINISHED
19:38 sm stack would have reused things from past snapshots, instead of building everything from scratch
20:11 * sm configures the email address for darcs send in the darcs mirrors on hub
20:12 sm it still says "no working sendmail instance on your machine", even though /usr/sbin/sendmail seems to work and I can use the "mail" program at the command line
20:27 pointfree sm, does this mean you are working on email notifications for darcsden?
20:30 sm pointfree: no, just trying to send darcs patches
20:42 f-a joined #darcs
20:42 f-a pointfree: argh I have come to the point where
20:42 f-a Expected type: [R.Repository p0 y10 wU0 wT0]
20:42 f-a Actual type: [Repository bp]
20:43 f-a so if anyone knows a function to go from there to there (/me looks at sm), it would be very helpful
21:01 f-a joined #darcs
21:10 Riastradh joined #darcs
21:19 siel joined #darcs
21:23 sm I don't and have used up my darcs time budget - sorry f-a!
21:23 sm notdan might
21:24 f-a okie
21:28 drostie joined #darcs
21:30 byorgey joined #darcs
21:30 byorgey joined #darcs
22:31 Heffalump f-a: I'm not sure the two are that closely related, actually
22:31 Heffalump R.Repository will be darcs's repository type, while Repository is darcsden's, and contains a bunch of darcsden-specific metadata
22:32 Heffalump oh, so you have the darcsden one and you need the darcs one, I was reading it backwards
22:34 Heffalump ok, so then I think you need to get hold of the directory with something like (\r -> (repoDir (view rOwner r) (view rName r))), and then call R.readRepo (where R comes from importing Darcs.Repository qualified as R)
22:35 f-a thanks Heffalump
22:37 pointfree So we would need to get a list of rNames of the user's repos.
22:47 Heffalump r is a Repository here
22:47 Heffalump rName is just an accessor
22:48 Heffalump so if you do have a Repository bp I think you just apply that lambda to it, then run readRepo (which requires IO)
22:59 Gowilla joined #darcs
23:00 f-a_ joined #darcs
23:07 mal`` joined #darcs
23:52 f-a joined #darcs

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