Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-18 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 18 June 2016 at 19:52:20 UTC, Observer wrote: in the context of image decoding, you're often handling untrusted data from external sources Not always though. The main case I'd use a little single-file thing is for files that I created and packaged with the application myself,

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-18 Thread ketmar via Digitalmars-d-announce
On Saturday, 18 June 2016 at 19:52:20 UTC, Observer wrote: Not convinced? no. i believe that it's all strongly overrated. don't run software with full access to your system, don't feed it with untrusted data, use sandboxes and such, etc. this is the way to go, not adding endless checks for

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-18 Thread Observer via Digitalmars-d-announce
On Friday, 17 June 2016 at 14:20:14 UTC, ketmar wrote: ah, i also put `.ptr` to array access to skip bounds checking -- i love to build my code with bounds checking on, and i don't feel that i need it in this decoder -- it should be fairly well-tested. This statement stands out as a problem.

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
On Friday, 17 June 2016 at 23:17:56 UTC, Xinok wrote: On Friday, 17 June 2016 at 22:15:47 UTC, ketmar wrote: i put it under unlicense[1], as some other works of the same author is using it, and it is basically the same PD. [1] http://unlicense.org/ Unfortunately, using unlicense is just as

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread Xinok via Digitalmars-d-announce
On Friday, 17 June 2016 at 22:15:47 UTC, ketmar wrote: i put it under unlicense[1], as some other works of the same author is using it, and it is basically the same PD. [1] http://unlicense.org/ Unfortunately, using unlicense is just as problematic as using public domain:

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
On Friday, 17 June 2016 at 13:35:58 UTC, John Colvin wrote: On Friday, 17 June 2016 at 13:05:47 UTC, ketmar wrote: finally, the thing you all waited for years is here! pure D no-frills JPEG decoder with progressive JPEG support! Public Domain! one file! no Phobos or other external dependecies!

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ag0aep6g via Digitalmars-d-announce
On 06/17/2016 04:08 PM, Kagamin wrote: Uh oh, a license is revokable? What happens when boost license is revoked? No, it's not, but you can publish stuff under multiple licenses at the same time.

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 06/17/2016 09:05 AM, ketmar wrote: finally, the thing you all waited for years is here! pure D no-frills JPEG decoder with progressive JPEG support! Public Domain! one file! no Phobos or other external dependecies! it even has some DDoc! grab it[1] now while it's hot! [1]

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
On Friday, 17 June 2016 at 14:33:41 UTC, ketmar wrote: ah, just fork it and slap Boost license on top! i myself have no objections, and i doubt that the original author will object too. p.s. i'm pretty sure that somebody *will* fork it soon to get it to code.dlang.org. i won't do that

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
On Friday, 17 June 2016 at 14:28:52 UTC, Rory McGuire wrote: Thanks for that info. I don't think it would help if ketmar made it MIT / Boost licensed or any other, if the original authors relatives chose to dispute the license it the fact that the code is based on the PD code would make it

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread Rory McGuire via Digitalmars-d-announce
On Fri, Jun 17, 2016 at 3:35 PM, John Colvin via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > On Friday, 17 June 2016 at 13:05:47 UTC, ketmar wrote: > >> finally, the thing you all waited for years is here! pure D no-frills >> JPEG decoder with progressive JPEG support!

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
On Friday, 17 June 2016 at 13:51:29 UTC, Andrei Alexandrescu wrote: Nice, thanks for this work. I see it has 3213 lines. I take it the source is https://github.com/richgel999/jpeg-compressor. How many lines from there are reflected in the D code? -- Andrei it's a complete port of

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
On Friday, 17 June 2016 at 13:35:58 UTC, John Colvin wrote: Without wanting to start a huge thing about this, see http://linuxmafia.com/faq/Licensing_and_Law/public-domain.html and http://www.rosenlaw.com/lj16.htm and please at least add an optional licencing under a traditional permissive

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread Kagamin via Digitalmars-d-announce
On Friday, 17 June 2016 at 13:35:58 UTC, John Colvin wrote: Without wanting to start a huge thing about this, see http://linuxmafia.com/faq/Licensing_and_Law/public-domain.html and http://www.rosenlaw.com/lj16.htm and please at least add an optional licencing under a traditional permissive

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread John Colvin via Digitalmars-d-announce
On Friday, 17 June 2016 at 13:05:47 UTC, ketmar wrote: finally, the thing you all waited for years is here! pure D no-frills JPEG decoder with progressive JPEG support! Public Domain! one file! no Phobos or other external dependecies! it even has some DDoc! grab it[1] now while it's hot! [1]

Re: pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 06/17/2016 09:05 AM, ketmar wrote: finally, the thing you all waited for years is here! pure D no-frills JPEG decoder with progressive JPEG support! Public Domain! one file! no Phobos or other external dependecies! it even has some DDoc! grab it[1] now while it's hot! [1]

pure D JPEG decoder, with progressive JPEG support, public domain

2016-06-17 Thread ketmar via Digitalmars-d-announce
finally, the thing you all waited for years is here! pure D no-frills JPEG decoder with progressive JPEG support! Public Domain! one file! no Phobos or other external dependecies! it even has some DDoc! grab it[1] now while it's hot! [1] http://repo.or.cz/iv.d.git/blob_plain/HEAD:/jpegd.d