Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-11-28

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

All times shown according to UTC.

Time Nick Message
00:01 sm though I can't seem to find it configured in any of my repos now
00:04 sm wish: list subscriber count and maybe usernames
00:08 maerwald well, everything that touches the UI is difficult for me :P
00:08 maerwald maybe because it's so easy, that it confuses me
00:11 * sm wonders if the posthook config(s?) was lost when recreating repos a while back to fix a disk space bug
00:35 mizu_no_oto joined #darcs
00:45 Reyu joined #darcs
01:58 pointfree sm: I've partially fulfilled http://hub.darcs.net/simon/darcsden/issue/135
02:21 pointfree I'm starting to think we should consider doing what Github does for displaying PDFs, 3D models, maps, and tabular data: just use the available javascript libraries that use canvas, webgl, etc: https://github.com/blog/1974-pdf-viewing
02:40 maerwald pointfree: you are volunterring for javascript development? :D
03:00 pointfree maerwald, javascript is not exactly pleasing to me, but darcs is, and git is far worse than javascript IMO so I'll do it for darcs' sake.
03:00 maerwald pointfree: the whole thing needs a UI overhaul, but I'm the wrong guy for that
03:23 pointfree maerwald, I do find kinda find minimalist web design to be charming and functional though. In other news, Github just got a horizontal ui refresh. I think I like it.
03:24 maerwald pointfree: I think we need more visual separation, as in lines/boxes
03:24 maerwald it's all just text on white background currently
03:24 maerwald that makes it hard for the eye imo
03:25 pointfree Yes, visual separation would be refreshing to me.
03:26 pointfree Also, the island style buttons start to look cluttered as we accumulate more of them.
03:27 pointfree ...Maybe
03:34 pointfree Hm pdf.js and whatnot is arguably more complex than using an iframe, but it's complexity that's someone else's problem: https://github.com/mozilla/pdf.js/blob/master/examples/learning/helloworld.html looks rather simple.
05:01 mizu_no_oto joined #darcs
05:06 mizu_no_oto joined #darcs
05:15 mizu_no_oto joined #darcs
05:21 mizu_no_oto joined #darcs
05:36 carter_ joined #darcs
05:37 lelit joined #darcs
05:51 Igloo__ joined #darcs
05:54 mizu_no_oto joined #darcs
05:55 haasn` joined #darcs
05:55 mal``` joined #darcs
06:00 lambdabot joined #darcs
06:25 sm pointfree: thanks! I will try it when I get a chance
06:26 sm the buttons have lost their design integrity, they need a cleanup
08:44 IbnFirnas joined #darcs
08:46 Reyu joined #darcs
08:51 IbnFirnas joined #darcs
13:54 xauth joined #darcs
15:35 Riastradh joined #darcs
16:32 maerwald how does "darcs diff" fuse multiple patches into one if I use --from-hash and --to-hash?
16:33 maerwald I want to generalize http://hub.darcs.net/maerwald/darcsden-mail-notify/browse/src/DarcsDen/Handlers/RepoHandlerUtils/Changes.hs#225 this function so it can get a list of patches
16:33 maerwald but I understand next to nothing about the darcs API
16:59 peb` joined #darcs
17:04 mizu_no_oto joined #darcs
17:14 mizu_no_oto joined #darcs
17:38 pointfree Screenshots of subscribe and unsubscribe buttons: http://www.0xffffffff.in/opds/darcs-stuff/subscribe.png   http://www.0xffffffff.in/opds/darcs-stuff/unsubscribe.png
17:39 pointfree The eyelashes are a little asymmetrical. I'll have to fix that.
17:47 Heffalump maerwald: darcs diff works by taking two trees and literally diffing them
17:47 Heffalump so it's quite different to what darcs changes does
17:48 Heffalump but, there is an alternative approach to fuse multiple patches using the "coalesce" functions
17:48 maerwald the type looks funny
17:50 maerwald I think I'm giving up on that, too much type-foo
17:52 pointfree sm, maerwald: (un)subscribe buttons with icons patch: http://hub.darcs.net/pointfree/darcsden-ui/patch/c5938ec2902223d8af7513e10ecc7c9c528b4ddf
17:56 maerwald pointfree: yeah, works... maybe you should add a line to the "unsubscribe" image indicating that the eye is actually closed... otherwise it looks like a turtle
17:56 maerwald do you know what I mean?
17:56 maerwald the eye slash
18:00 pointfree maerwald: "eye slash" ? did you mean eyeLash?
18:00 maerwald something like that probably
18:05 pointfree maerwald: The icons (screenshots: http://www.0xffffffff.in/opds/darcs-stuff/ ) have eyelashes but are they maybe not visible enough or something? (I think I need to make them more symmetrical...)
18:54 maerwald pointfree: maybe rather something like https://d30y9cdsu7xlg0.cloudfront.net/png/204724-200.png
19:02 pointfree maerwald: Oh, so a white eyelid with eyelashes on bottom and no pupil for unsubscribe AND eyelashes on top with pupil for subscribe. Looks good. I'll try it.
19:19 IbnFirnas joined #darcs
19:42 pointfree maerwald: New screenshots: http://www.0xffffffff.in/opds/darcs-stuff/subscribe2.png  http://www.0xffffffff.in/opds/darcs-stuff/unsubscribe2.png
20:03 maerwald pointfree: there is no mascara afais
20:07 pointfree hahas
20:10 sm pointfree: re viewing pdfs etc. (if we have an issue number for this, let me know), I'll merge any non-DRAFT warning-free patch that improves on the current status
20:15 maerwald sm: there are a few patches improving the notification thing
20:15 maerwald now it also gives info whether the issue has been closed and so on
20:16 sm maerwald: nice, thank you
20:16 maerwald I would really like to have a feature like http://hub.darcs.net/<user>/<repo>/patch/<patchA>..<patchB> like github has
20:17 maerwald but I don't understand the layer that connects with the darcs library
20:17 maerwald it's all just type-foo to me
20:17 pointfree Yeah, sm, don't merge anything related to the media files yet. I'm exploring pdf.js etc.
20:17 sm pointfree: ok
20:17 sm is this something people need ?
20:18 maerwald sm: do you mean me?
20:18 pointfree sm: or me?
20:18 maerwald :o
20:19 sm sorry, that was to pointfree. Your previous patch seemed like a good improvement and I wonder who is actually demanding this feature
20:19 sm (anyway, all of us hackers should be asking ourselves this question :)
20:20 pointfree Github is using pdf.js etc to display PDFs, presentations, and webgl for maps, 3D etc.
20:20 sm pointfree: (separate issue) re http://hub-dev.darcs.net/simon/darcsden/issue/135 , I've deployed it to hub-dev but don't see a difference (the url on that page isn't linked)
20:21 pointfree I tried it and it worked for me. What version of pandoc is hub-dev using?
20:22 sm 1.15.2.1
20:24 sm maerwald: mail changes have been deployed to hub-dev too, I'll deploy to hub if it looks good to you
20:25 maerwald sm: maybe pull in the new icons from pointfree
20:25 sm which repo are those in pointfree
20:25 pointfree http://hub.darcs.net/pointfree/darcsden-ui/compare/simon/darcsden
20:26 sm ah, thanks
20:29 * sm thinks splitting up RepoPages could improve rebuild times
20:29 maerwald definitely
20:31 sm icons deployed to hub-dev
20:32 pointfree Yay!
20:35 maerwald very pretty
20:36 pointfree Thanks!
20:39 pointfree btw, while I wait for darcsden-dev to build with what I think will fix issue/135, is markdown converted to html on page load or would we have to regenerate the html with the autolinking.
20:47 sm pointfree: not sure
20:48 pointfree Coolness: http://jeffkreeftmeijer.com/2011/comparing-images-and-creating-image-diffs/ I think designers would like that + darcs.
20:48 pointfree sm: well, I'll wait and see.
20:48 sm or, the code is right there :)
20:49 sm you just need a map and a lamp
20:49 maerwald pointfree: you would do image processing in haskell!
20:50 pointfree I dunno.
20:50 maerwald i've done a bit of that, very interesting, but sometimes very challenging
20:50 maerwald most of the algorithms really need in-place mutation to work fast enough
20:51 maerwald so you end up writing a lot of imperative haskell code
20:51 pointfree Maybe you could do it client-side with javascript :)
20:51 maerwald ieee
20:51 maerwald but yeah, client-side is always better imo
20:51 maerwald how would you do client-side with haskell? ghcjs?
20:52 maerwald elm?
20:57 pointfree I'd likely just use something like http://camanjs.com
21:01 pointfree Posting so I'll find it later: http://pdiff.sourceforge.net/
21:26 pointfree So the markdown is generated at page load. My darcsden binary without autolinkification does not linkify the same issue and README that my darcsden binary with autolinkification does linkify. Maybe I needed autolinkify on both halves of the #if (old and new pandoc), sm, Try this? http://hub.darcs.net/pointfree/darcsden-dev/patch/33d5add6f8b5c2bceb4b26a67016823252a9345e
21:31 pointfree (pointfree/darcsden-dev, built in a sandbox)
21:43 sm that's the one. Working now
21:44 sm great! thanks
21:45 sm heading out.. first I'll deploy the latest at http://hub-dev.darcs.net/simon/darcsden-dev/changes to production
21:45 pointfree Yay! Thanks!
21:45 sm this is the facebook style of deployment.. if it breaks, tell me :)
21:46 pointfree Yep.
21:50 sm done
21:51 sm see you
22:13 pointfree see ya
22:49 Big_G joined #darcs
22:53 Riastradh joined #darcs
22:54 lelit joined #darcs
23:16 pointfree Thinking of adding yet another button to darcsden: stats
23:17 pointfree Something like darcs-graph or the github calendar chart https://github.com/akerl/githubchart
23:19 maerwald excellent use case for the diagrams library I think
23:19 pointfree Maybe other visual breakdowns too. I could use d3.js with "darcs changes --xml-output"
23:19 maerwald DarcsDen/Handlers/RepoHandlerUtils/Changes.hs is the worst file I have looked at so far in darcsden
23:19 maerwald it's impossible to understand it
23:20 maerwald you would think it must be simple to output a patch in raw format... but it isn't
23:21 pointfree I could use: (hin,hout,herr,p) <- runInteractiveCommand $ "darcs changes --xml-output --repodir " ++ path
23:21 pointfree Better to do it in pure haskell though...
23:22 maerwald good luck with that
23:22 maerwald it means you have to interact with the darcs API
23:23 pointfree Yea, I'm just sticking with "runInteractiveCommand" for now.
23:25 pointfree I think darcsden charts will be subliminal motivation for people to use darcs and hub.darcs.net more hahas.
23:30 pointfree I was interacting with the darcs API for the darcsden feed and I don't understand it yet, but I'm fairly inexperienced with haskell so I figure I'll pick a few lower hanging fruit before I finish the darcsden feed.
23:31 pointfree maerwald, you said there was a Haskell diagrams library?
23:31 maerwald yes, a very popular one
23:31 maerwald http://projects.haskell.org/diagrams/
23:32 maerwald I've used it for visualizing algorithms
23:32 maerwald but it needs some time to learn
23:33 maerwald although it isn't very complex
23:33 Big_G joined #darcs

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