Re: How to represent multiple files in a forum post?

2018-02-20 Thread Basile B. via Digitalmars-d
On Tuesday, 20 February 2018 at 18:41:08 UTC, Seb wrote: On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? ... and now it's available on run.dlang.io

Re: How to represent multiple files in a forum post?

2018-02-20 Thread Seb via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? ... and now it's available on run.dlang.io: https://run.dlang.io/is/ZHm2Xe This means that it can be used

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Jonathan Marler via Digitalmars-d
On Sunday, 18 February 2018 at 23:46:05 UTC, Sönke Ludwig wrote: Am 14.02.2018 um 19:33 schrieb Jonathan Marler: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? Why not multipart/mixed? Since this is NNTP based, wouldn't

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Jonathan Marler via Digitalmars-d
On Monday, 19 February 2018 at 01:26:43 UTC, Jonathan M Davis wrote: Okay. Maybe, I'm dumb, but what is the point of all of this? Why would any kind of standard be necessary at all? Good question. Having a standard allows computers to interface with the archive as well as humans. It's not

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, February 14, 2018 18:33:23 Jonathan Marler via Digitalmars-d wrote: > @timotheecour and I came up with a solution to a common problem: > > How to represent multiple files in a forum post? > > So we decided to take a stab at creating a standard! (queue links > to ht

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Timothee Cour via Digitalmars-d
On Sun, Feb 18, 2018 at 4:46 PM, Sönke Ludwig via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > Am 14.02.2018 um 19:33 schrieb Jonathan Marler: >> >> @timotheecour and I came up with a solution to a common problem: >> >> How to represent multiple

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Sönke Ludwig via Digitalmars-d
Am 14.02.2018 um 19:33 schrieb Jonathan Marler: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? Why not multipart/mixed? Since this is NNTP based, wouldn't that be the natural choice? That it, assuming that forum.dlang.org

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Jonathan Marler via Digitalmars-d
On Sunday, 18 February 2018 at 21:40:34 UTC, Martin Nowak wrote: On Sunday, 18 February 2018 at 04:04:48 UTC, Jonathan Marler wrote: If there is an existing standard that's great, I wasn't able to find one. If you find one let me know. Found ptar (https://github.com/jtvaughan/ptar) and shar

Re: How to represent multiple files in a forum post?

2018-02-18 Thread Martin Nowak via Digitalmars-d
On Sunday, 18 February 2018 at 04:04:48 UTC, Jonathan Marler wrote: If there is an existing standard that's great, I wasn't able to find one. If you find one let me know. Found ptar (https://github.com/jtvaughan/ptar) and shar (https://linux.die.net/man/1/shar), both aren't too good fits, so

Re: How to represent multiple files in a forum post?

2018-02-17 Thread Jonathan Marler via Digitalmars-d
On Saturday, 17 February 2018 at 22:11:28 UTC, Martin Nowak wrote: On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? Oh, I thought it already was a standard

Re: How to represent multiple files in a forum post?

2018-02-17 Thread Martin Nowak via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? Oh, I thought it already was a standard, but [.har](https://en.wikipedia.org/wiki/.har) is JSON based

Re: How to represent multiple files in a forum post?

2018-02-14 Thread Jonathan Marler via Digitalmars-d
On Wednesday, 14 February 2018 at 20:16:32 UTC, John Gabriele wrote: Can the har file delimiter be more than three characters? Yes. So long as the delimiter is the consistent across the whole file, i.e. file1 file2 (See

Re: How to represent multiple files in a forum post?

2018-02-14 Thread John Gabriele via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? So we decided to take a stab at creating a standard! (queue links to https://xkcd.com/927) We're calling

Re: How to represent multiple files in a forum post?

2018-02-14 Thread Jonathan Marler via Digitalmars-d
On Wednesday, 14 February 2018 at 18:52:35 UTC, user1234 wrote: On Wednesday, 14 February 2018 at 18:47:31 UTC, Jonathan Marler wrote: On Wednesday, 14 February 2018 at 18:44:06 UTC, user1234 wrote: how does it mix with markdown, html etc ? They'll have to use escapes to be compliant, haven't

Re: How to represent multiple files in a forum post?

2018-02-14 Thread user1234 via Digitalmars-d
On Wednesday, 14 February 2018 at 18:47:31 UTC, Jonathan Marler wrote: On Wednesday, 14 February 2018 at 18:44:06 UTC, user1234 wrote: how does it mix with markdown, html etc ? They'll have to use escapes to be compliant, haven't they ? Works great with mardown. ``` --- file1 Contents of

Re: How to represent multiple files in a forum post?

2018-02-14 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? I've been using: https://github.com/CyberShadow/misc/blob/master/dir2bug.d Looks pretty similar to har

Re: How to represent multiple files in a forum post?

2018-02-14 Thread Jonathan Marler via Digitalmars-d
On Wednesday, 14 February 2018 at 18:44:06 UTC, user1234 wrote: how does it mix with markdown, html etc ? They'll have to use escapes to be compliant, haven't they ? Works great with mardown. ``` --- file1 Contents of file1 --- file2 Contents of file2 ```

Re: How to represent multiple files in a forum post?

2018-02-14 Thread Jonathan Marler via Digitalmars-d
On Wednesday, 14 February 2018 at 18:45:59 UTC, Seb wrote: On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? What's wrong with https://gist.github.com

Re: How to represent multiple files in a forum post?

2018-02-14 Thread Seb via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? What's wrong with https://gist.github.com? FYI: I have it on my agenda to work with Vladimir to add

Re: How to represent multiple files in a forum post?

2018-02-14 Thread user1234 via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? So we decided to take a stab at creating a standard! (queue links to https://xkcd.com/927) We're calling

How to represent multiple files in a forum post?

2018-02-14 Thread Jonathan Marler via Digitalmars-d
@timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? So we decided to take a stab at creating a standard! (queue links to https://xkcd.com/927) We're calling it "har" (inspired by the name tar). Here's the REPO: https://