Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-11-26

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

All times shown according to UTC.

Time Nick Message
01:02 sm maerwald: there is a lot of that, indeed, though it's getting much better
01:03 sm I would think you can disable ncurses with a flag
01:04 maerwald yeah, I had to install terminfo manually in the cabal sandbox, somehow the ghc internal version is broken
01:07 maerwald creating a "subscriber" field in the couchdb database was pretty easy... I'll just have to create a "subscribe/unsubscribe" button and make it actually send the mails
01:08 maerwald I made it just a List of account name identifiers
01:11 maerwald https://gist.github.com/hasufell/a64d2d643df77dce3d3a this is how the json looks like
01:12 maerwald I don't think that's gonna be a problem, unless an issue gets 1000+ subscribers
01:13 sm cool
01:13 sm sending mail reliably is probably the hardest part
01:14 maerwald for me the html part is probably the hardest, since I don't do that much :P
01:14 maerwald I was thinking of an equivalent of the github button... if you are subscribed it will show "unsubscribe" and vice versa
01:14 sm sounds good
01:15 sm by the way what platform and ghc version are you using ?
01:15 maerwald 7.8.4
01:15 maerwald what do you mean with platform?
01:15 sm linux, osx, ... ?
01:15 maerwald linux
01:16 sm I would expect "stack --stack-yaml stack-78.yaml build" to work without terminfo hassles
01:18 maerwald mh, I thought we already send email during registration, do we not?
01:19 sm sure, but that's to one person at a time
01:20 sm I think things will get touchy once it starts frequently sending emails to large numbers of people..
01:21 sm although, subscriber counts are going to be small I guess
01:21 maerwald we could do that via ssmtp, similar to what gogs does... so we don't really use sendmail from the darcsden host, but log into a "real" mail account
01:22 maerwald the user has to supply the information in the config file then
01:22 maerwald but that's going to be a little complex
01:24 sm keep it simple for now I guess
01:26 maerwald the current method via simpleMail/renderSendMail is fairly straight forward
01:27 sm sounds good
01:28 sm I'm hoping your work will also help me to send system notifications to everyone
01:29 maerwald waat
01:29 maerwald like libnotify stuff?
01:30 sm no, just getting an accurate list of all user email addresses and sending to them
01:30 maerwald a broadcast?
01:31 sm yes
01:31 sm last time I extracted them by hand and imported to a mailchimp list, but of course that's out of date now
01:31 maerwald we should be able to query the couchdb database for that
01:33 sm yeah
01:36 maerwald something like: getAllUserMails :: (BP bp) => User bp -> Snap ([Address])
01:39 maerwald and: getSubscriberMails :: (BP bp) => Issue bp -> User bp -> Snap ([Address])
01:39 maerwald off to bed
01:43 sm night maerwald
07:17 MasseR pointfree: There was a todo/xxx for showing images with the correct content-type. Tried my hands on it, but not too happy with the solution. Recorded it anyways
07:20 MasseR Not happy as in, should we want to just show images? How about pdfs? There are a ton of different content-types, should we support them all? Are there problems with supporting them all? etc. etc
07:36 ilbot3 joined #darcs
07:36 Topic for #darcs is now http://darcs.net/ | logs: http://irclog.perlgeek.de/darcs/ | darcs 2.10.0 is out http://darcs.net/Releases/2.10
07:42 Heffalump joined #darcs
07:48 maerwald joined #darcs
07:48 sm__ joined #darcs
07:50 aristid joined #darcs
07:52 navilan- joined #darcs
08:11 theone joined #darcs
08:17 IbnFirnas joined #darcs
08:20 Reyu joined #darcs
08:23 aristid joined #darcs
08:24 theone joined #darcs
08:24 IbnFirnas joined #darcs
09:08 theone joined #darcs
09:34 jackhill joined #darcs
09:38 maerwald joined #darcs
09:41 Heffalump joined #darcs
10:12 lelit joined #darcs
13:10 maerwald sm__: I don't really understand what function is called when you click on the "add" (for tags) button on the issue page. It's hard to follow the control flow, because it's very indirect
13:11 maerwald the form action is "javascript:void(0)" so nothing happening there
13:11 maerwald the id of the button isn't referenced anywhere else in the code
15:13 Big_G joined #darcs
15:28 mizu_no_oto joined #darcs
15:46 Big_G joined #darcs
15:49 sm__ maerwald: the real js is added to the button in main.js, I don't know why
15:56 maerwald sm: http://hub.darcs.net/ is this down?
15:56 sm no, I'm using it
15:56 maerwald I cannot connect
15:56 sm but I'm seeing intermittent slowness either from it or my connection
15:57 sm hmm I'm accessing it now, but isup.me can't
15:58 sm linode thinks they just resolved a connectivity issue: http://status.linode.com/
15:58 sm let me restart it. Can't hurt
16:00 sm same thing with joyful.com. It's not darcs hub
16:01 sm I expect linode's working on it, their IRC channel may know more
16:03 maerwald I can ping hub.darcs.net, so looks like the front proxy (or whatever they use) is misconfigured
16:03 maerwald port 80 is open too
16:03 sm weird. Also the issue they reported is in frankfurt, where my server is not
16:03 sm let me restart the webserver too
16:04 maerwald I even tried via Tor
16:05 sm I'm confused
16:05 maerwald now I have a lazy repo and want to push it... it needs to fetch the rest of the patches from http://hub.darcs.net/simon/darcsden but it can't
16:05 sm ack.. the downside of lazy repos
16:06 maerwald can I just "unlazy" it like you would do with shallow git clones?
16:08 sm maybe Heffalump knows
16:08 maerwald aah, technology is broken! :D
16:08 sm aaah!
16:09 sm maerwald: can you access http://joyful.com ?
16:09 maerwald no
16:10 sm maerwald: and where in the world are you ?
16:11 maerwald germany
16:12 sm ok, I've reported the issue
16:14 maerwald oh wait, I cannot even ping it... but I can ping it from my server (which is also in germany)
16:15 maerwald maybe DNS foo
16:18 maerwald yeah, I changed DNS server
16:18 maerwald now it works
16:18 sm aha
16:19 sm perhaps I could mention the old and new dns servers on the ticket
16:19 maerwald the old one is my router :o
16:19 maerwald the new one is google 8.8.8.8
16:20 sm does your router use your ISP's dns ?
16:20 maerwald probably
16:20 sm thx
16:22 sm bbl
16:22 maerwald darcs failed:  Bad patch bundle!
16:22 maerwald great!
17:08 lelit hi, is hub.darcs.net offline?
17:11 maerwald next one :D
17:11 maerwald lelit: try the google dns 8.8.8.8
17:14 lelit sorry to repeat the noise ;)
17:14 lelit $ host darcs.net 8.8.8.8
17:14 lelit Using domain server:
17:14 lelit Name: 8.8.8.8
17:14 lelit Address: 8.8.8.8#53
17:14 lelit Aliases:
17:14 lelit
17:15 lelit darcs.net has address 140.211.166.73
17:15 lelit
17:15 lelit host hub.darcs.net 8.8.8.8
17:15 lelit Using domain server:
17:15 lelit Name: 8.8.8.8
17:15 lelit Address: 8.8.8.8#53
17:15 lelit Aliases:
17:15 lelit
17:15 lelit Host hub.darcs.net not found: 3(NXDOMAIN)
17:15 lelit
17:17 maerwald I don't understand what you are trying to do there
17:19 lelit uhm, isn't that telling that even using google dns I cannot resolve the hostname?
17:20 maerwald sm: here is my first take http://hub.darcs.net/maerwald/darcsden-mail-notify/patch/637193e8626497fd2215f039fa9e593da14df4b0 I have to test that the mail notification actually works on my server... my local sendmail setup doesn't work
17:43 pointfree joined #darcs
17:44 pointfree Anyone have the ip address of hub.darcs.net ?
17:46 maerwald it's 173.255.219.222 here
17:51 pointfree maerwald, http://173.255.219.222 just has an html file in it index.nginx-debian.html "Welcome to nginx on Ubuntu!"
17:52 maerwald sure, because that doesn't work with the webserver
17:53 maerwald try it in your /etc/hosts file
17:53 pointfree Oh, right.
17:54 pointfree The /etc/hosts file thing worked.
18:34 ReyuZenfold joined #darcs
19:00 dino- joined #darcs
19:03 Big_G joined #darcs
19:03 haasn` joined #darcs
19:08 jackhill joined #darcs
19:08 kaol joined #darcs
19:08 notdan joined #darcs
19:08 IcyFoxy joined #darcs
19:08 thorkilnaur joined #darcs
19:09 Heffalump joined #darcs
19:09 pointfree joined #darcs
19:11 seumirem1rque joined #darcs
19:11 lispy joined #darcs
19:11 dleverton joined #darcs
19:14 sm joined #darcs
19:14 mal``` joined #darcs
19:14 Igloo joined #darcs
19:14 sea-gull joined #darcs
19:16 dino-_ joined #darcs
19:25 IbnFirnas joined #darcs
19:25 IbnFirnas joined #darcs
19:27 Big_G joined #darcs
19:29 haasn joined #darcs
19:30 mizu_no_oto joined #darcs
20:03 5EXAALNLQ joined #darcs
20:34 lelit joined #darcs
20:58 dino- joined #darcs
21:24 mizu_no_oto joined #darcs
22:39 koz_ joined #darcs
22:40 koz_ sm: hub.darcs.net seems to be down for me.
22:42 maerwald koz_: try google dns (8.8.8.8) or add "173.255.219.222 hub.darcs.net" to your /etc/hosts
22:43 koz_ maerwald: I'm not sure I understand.
23:04 mizu_no_oto joined #darcs

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