Perl 6 - the future is here, just unevenly distributed

IRC log for #darcs, 2015-09-15

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

All times shown according to UTC.

Time Nick Message
01:59 aristid_ joined #darcs
02:09 mempko joined #darcs
02:18 mempko joined #darcs
03:03 mizu_no_oto joined #darcs
03:30 vikraman joined #darcs
03:30 vikraman joined #darcs
04:03 vikraman joined #darcs
07:47 gh_ joined #darcs
08:18 gh_ we may have one surprise attendee at the sprint on saturday or sunday :]
08:18 gh_ Heffalump, re: http://irclog.perlgeek.de/darcs/2015-09-14#i_11216581 : awesome!
08:19 gh_ Heffalump, some changes you did may be useful to implement "darcs undo" too
10:26 maerwald joined #darcs
10:29 maerwald joined #darcs
12:49 mempko joined #darcs
13:59 fr33domlover hey sm
13:59 fr33domlover can I ask a question about the source code of rss2irc?
13:59 fr33domlover some magic is unclear to me :P
14:00 sm sure fr33domlover
14:01 fr33domlover I wrote a package named feed-collect and my IRC bot uses it to collect feed items. When a feed contains long characters (more than 1 byte) the use of ByteString unpack caused them to be split into separate ASCII chars, which is a bug in my code. However, rss2irc does display correct UTF8 strings in its IRC announcements
14:01 fr33domlover I'm trying to compare my code to yours and find how it works :P
14:02 fr33domlover looks like B.unpack should split (i.e. bug) but magically it does work correctly
14:02 sm I'm slightly afk, can you paste a link to the code ?
14:04 fr33domlover sure, http://dev.rel4tion.org/fr33domlover/feed-collect/browse/src/Web/Feed/Collect.hs
14:05 maerwald joined #darcs
14:08 sm and where are you looking in rss2irc ?
14:14 fr33domlover sm, Feed.hs and Irc.hs. But I think I found a possible reason: By default the network package gives you a Binary mode handle, while what I use in my code is a UTF8 aware mode
14:15 sm aha
14:15 fr33domlover rss2irc uses the binary handle so Chars probably get written as single bytes
14:15 fr33domlover and I use UTF8 so ironically i get the errors :P
14:16 fr33domlover (i still need to test this and confirm of coursE)
15:15 maerwald joined #darcs
15:18 maerwald joined #darcs
15:24 maerwald joined #darcs
15:32 maerwald joined #darcs
15:33 maerwald joined #darcs
15:35 maerwald joined #darcs
15:40 maerwald joined #darcs
16:52 notdan`` joined #darcs
16:52 notdan`` Hi
16:53 notdan`` Just booked my train tickets to the sprint -- very inefficient planning on my part, but confirmed the housing just yesterday
16:54 notdan`` Any ideas what are we going to hack on during the sprint?
17:11 Heffalump notdan``: great! We can hack on whatever we want individually or collectively - personally I'd really like to look at darcsden with you, think about what we can do with record and beyond.
17:11 Heffalump I also have plenty of other stuff on the go, e.g. the 'darcs stash' command I just prototyped
18:56 dolio sm: Nothing's been done so far with respect to the feature we talked about way back, where you could have branches of a hub repo by giving them a common prefix in their name, right?
18:56 dolio Or something along those lines.
18:56 sm dolio: right
18:56 dolio Okay. Just making sure.
19:18 pointfree dolio, I'd be thrilled to see that become a real thing!
19:57 Riastradh joined #darcs
20:42 dolio Actually, I was thinking about it, and I still think it makes more sense to just have hub let you manage branches for a project without having some naming scheme between repositories.
20:43 dolio Which I think was my original position.
20:43 dolio Like, if darcs ever got a concept of branches, it'd have to manage how it presents those in the same way.
20:44 dolio Which would probably involve a directory-per-branch internally anyway, because you have to be able to persistently access each branch.
21:00 Heffalump dolio/pointfree: so you just want to be able to edit the parent for a given repo?
21:03 dolio Ultimately I want branches of a project to look like branches of a project look like branches of a project on hub, instead of two separate top-level repositories. Locally I'm fine with using directory structures for that.
21:03 dolio Oops, I edited that poorly.
21:04 dolio I would use separate directories locally even if darcs had a concept of branches.
21:06 dolio So this is mainly about what the best UI on something like hub.darcs.net would be, I guess.
21:07 dolio Maybe there's some degree of command-line UI, too. Like, could you push a new branch without creating it with hub somehow?
21:08 dolio Unsure.
21:24 sm it's certainly clunky to manage repo relationships on darcs hub right now
21:26 sm making the "current upstream" field in repo settings editable seems like a small but useful improvement
22:19 mempko joined #darcs
22:44 pointfree Heffalump: http://irclog.perlgeek.de/darcs/2015-08-13#i_11050753
22:44 pointfree I was thinking of just adding a "darcs isolate" which would hide all but the selected patches and their dependencies from the working directory. They could be selected with -n N-M, --matches=PATTERN, -p REGEX, -t REGEXP, or -h HASH
22:44 pointfree A feature like that would give the uncluttered working area feeling that we have with git/hg branches -- without the (I think) naturally consequent complications of git-style branches.
22:44 pointfree So basically some sugar for spontaneous branches.
22:52 pointfree A "darcs isolate" command sounds like it would expose the patch dependencies (and explicit dependencies) system to darcs users more than now. Probably for the better..
22:56 pointfree On a darcsden we could "bookmark" these subsets of patches.
22:57 pointfree Or clone arbitrary sets of patches with darcs.
22:59 pointfree I think that feature already exists not in darcs but in the "den" tool(?) notdan?
23:24 mempko joined #darcs
23:58 mempko joined #darcs

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