Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2014-02-19

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

All times shown according to UTC.

Time Nick Message
01:30 heath joined #darcs
01:30 heath joined #darcs
01:38 alexei joined #darcs
03:13 alexsuraci__ joined #darcs
03:15 donri joined #darcs
03:23 mizu_no_oto joined #darcs
04:34 alexei_ joined #darcs
04:49 favonia joined #darcs
05:21 dolio joined #darcs
07:01 lelit joined #darcs
08:19 raichoo joined #darcs
13:00 whaletechno joined #darcs
13:37 lambdabot joined #darcs
14:41 gh__ joined #darcs
14:46 mizu_no_oto joined #darcs
15:59 alexei_ joined #darcs
16:31 xymox joined #darcs
17:00 raichoo joined #darcs
17:14 raichoo joined #darcs
17:38 alexei_ joined #darcs
18:01 alexei_ joined #darcs
18:34 Heffalump sm: is the --port option to darcsden important? I'd like to move it to compile-time configuration only at least for now.
18:39 mizu_no_oto joined #darcs
18:39 sm Heffalump: why's that ? as an admin I expect that in any well-designed daemon
18:39 sm I use it frequently eg to run test instances on the same machine
18:41 Heffalump well, for one thing it's broken: the links are still to :8900
18:41 Heffalump unless I'm confused completely by the code - I haven't actually tested that
18:41 sm I haven't noticed that, I thought it got fixed somehow
18:42 Heffalump I can't see how it would - baseUrl is hardcoded in DarcsDen.Settings
18:42 Heffalump unless Snap does something clever
18:42 sm see eg http://hub.darcs.net:eightnineohtwo/
18:43 Heffalump I shall investigate further :-)
18:44 sm great, sorry I can't remember more just now
18:45 Heffalump I was a bit surprised by the sheer prevalence of absolute links in the source
18:46 sm yeah, I guess it's assumed to be running at / eh
18:46 Heffalump /settings has at least one link to a non-8902 URL
18:47 Heffalump ah, but that's in the page template where it sort of pmakes sense
18:47 sm where's that ?
18:48 Heffalump at the bottom, in the link to the issue tracker
18:49 sm ah, I put an unnecessary hard-coded url there, good catch
18:49 sm but you're right it makes sense anyway
18:50 Heffalump what's in your DarcsDen.Settings file?
18:51 sm else <% <li>report problems to <a href=("mailto:"++adminEmail++"?subject=darcsden:%20")><% adminName %></a> or <a href="irc://irc.freenode.net/#darcs">#darcs</a> or the <a href="http://hub.darcs.net/simon/darcsden/issues">issue tracker</a></li> %>
18:52 Heffalump no, I mean in general
18:52 Heffalump particularly for baseUrl
18:56 sm Heffalump: https://gist.github.com/simonmichael/9099055
18:57 Heffalump and what's DEBUG?
18:57 Heffalump (could you perhaps run that server on 8903 to see what happens, given that 8902 is explicitly mentioned in the source?
18:58 sm ...a flag set in dev builds by the Makefile
18:58 sm sure, running
18:59 sm ack
18:59 Heffalump ahah
18:59 Heffalump it does indeed link to 8902
18:59 sm you broke it! :)
18:59 Heffalump :-
18:59 Heffalump p
18:59 sm fair enough
18:59 sm why do you want to remove the runtime option ?
19:00 Heffalump because the port is currently specified in two places, in darcsden.hs and in Settings.hs, and as we've just seen the two are not consistent
19:00 sm ok
19:00 Heffalump I'd like to enforce consistency, but it's harder to do that at runtime than at compile-time
19:00 sm consistency first I guess
19:01 Heffalump it's not that much harder, but I'm replacing DarcsDen.Settings with a structure passed around with implicit parameters (like with the backend info I already did) and I am reluctant to get too clever with them.
19:01 Heffalump also it seems to me like the right fix is to use relative links everywhere instead of passing around the baseUrl like this
19:02 sm +1 for simple code, clever is constly
19:02 sm costly
19:02 sm sounds good
19:04 Heffalump right, shall continue my quest to make the test harness work (safely)
19:04 sm awesome
19:06 sm my darcsden hacking right now is "haven't been there this week, let's see if we've reached 1000 repos"
19:38 notdan joined #darcs
20:59 favonia joined #darcs
21:29 lelit joined #darcs
21:38 mizu_no_oto joined #darcs
21:49 favonia joined #darcs
22:31 mizu_no_oto joined #darcs
22:55 alexei_ joined #darcs

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