Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

We have phasers, I vote we blast 'em! -- Bailey, "The Corbomite Maneuver", stardate 1514.2


devel / comp.lang.ada / Re: ANN: Ada Resource Embedder for C, Ada and Go

SubjectAuthor
* ANN: Ada Resource Embedder for C, Ada and GoStephane Carrez
`* Re: ANN: Ada Resource Embedder for C, Ada and GoStéphane Rivière
 +* Re: ANN: Ada Resource Embedder for C, Ada and GoDoctor Who
 |+- Re: ANN: Ada Resource Embedder for C, Ada and GoDoctor Who
 |`* Re: ANN: Ada Resource Embedder for C, Ada and GoStéphane Rivière
 | `- Re: ANN: Ada Resource Embedder for C, Ada and GoDoctor Who
 `* Re: ANN: Ada Resource Embedder for C, Ada and GoDmitry A. Kazakov
  `* Re: ANN: Ada Resource Embedder for C, Ada and GoStephane Carrez
   `* Re: ANN: Ada Resource Embedder for C, Ada and GoDmitry A. Kazakov
    `* Re: ANN: Ada Resource Embedder for C, Ada and GoStephane Carrez
     +* Re: ANN: Ada Resource Embedder for C, Ada and GoDmitry A. Kazakov
     |`- Re: ANN: Ada Resource Embedder for C, Ada and GoStephane Carrez
     `- Re: ANN: Ada Resource Embedder for C, Ada and GoStéphane Rivière

1
ANN: Ada Resource Embedder for C, Ada and Go

<34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5361&group=comp.lang.ada#5361

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ae9:f30f:: with SMTP id p15mr3747550qkg.151.1623418243359; Fri, 11 Jun 2021 06:30:43 -0700 (PDT)
X-Received: by 2002:a25:8191:: with SMTP id p17mr5871851ybk.405.1623418242987; Fri, 11 Jun 2021 06:30:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 11 Jun 2021 06:30:42 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=5.51.16.193; posting-account=lzjH_AoAAABq5H4FTxZ1AkonVQLbXoxB
NNTP-Posting-Host: 5.51.16.193
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
Subject: ANN: Ada Resource Embedder for C, Ada and Go
From: stephane...@gmail.com (Stephane Carrez)
Injection-Date: Fri, 11 Jun 2021 13:30:43 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 25
 by: Stephane Carrez - Fri, 11 Jun 2021 13:30 UTC

Hi all,

I created a new tool to allow embedding any file in an Ada, C or Go binary.
While embedding files, you can apply some transformations such as
running a Javascript minifier (closure), compressing the file, encrypting it, ...
The tool generates Ada, C or Go files that you compile with your program.
In its simplest form, you can access the embedded content as a:

type Content_Access is access constant Ada.Streams.Stream_Element_Array;

So the generated code only depends on Ada.Streams.

There are many modes that are explained in the documentation.
For an overview, have a look at:

https://blog.vacs.fr/vacs/blogs/post.html?post=2021/06/11/Advanced-Resource-Embedder

And don't hesitate to fork, hack, and submit pull requests to:

https://github.com/stcarrez/resource-embedder

Well, for me it was a fun project :-)

Stephane

Ps: Go has a `go:embed` but It was fun to write the Go generator :-)

Re: ANN: Ada Resource Embedder for C, Ada and Go

<s9vppo$8l8$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5363&group=comp.lang.ada#5363

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ste...@genesix.org (Stéphane Rivière)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Fri, 11 Jun 2021 15:51:52 +0200
Organization: La Maison
Lines: 15
Message-ID: <s9vppo$8l8$1@dont-email.me>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
Reply-To: stef@genesix.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 11 Jun 2021 13:51:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="707d568e90c95a8a0a0bfb7c14942a75";
logging-data="8872"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KH3tkpUPyaFnP3COauuBEzaZzoG2Revc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:m6QTEfWTWHJF+LscbI/VQ/pBU1U=
In-Reply-To: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
Content-Language: fr
Autocrypt: addr=stef@genesix.org; keydata=
xsFNBF0SLdYBEAC2vNiEXrwEbtLmIf92tON00ECRsQL/VIf40iujfddE7T5wQMIxNFmYm26m
1m54ludBEJgjfHv8GNJrBQIN6fKTrxtLTlY43H/WEy3z4DOXbOK2sU0CIkG3u1wtAi/9jdJK
GpnHPgPxhU1Q7SVlQCsOMUpEGN8ZUiF6IkAIOY+DLRgHW1qh8xfYSIiDUJIcZ4cn0Ccf/7QN
rTmGHXe3AU7DxsooDm4+Wf29tlujA6F6kbwGqrqFfUmTImpNTvafr15pK3zZHoCpJiR4Y1jM
mHCj20cQ2l+BsL5L4T+ErKg9Wd2eAOthPw7oJ6V5Lb/ZyGdCLUjOx081S/Km3xpACNGXoKMx
OgMGwJiOulN2FsRRWN2hMIZBQmwL2q79WTI4ITq39ibewARkZmfbq/tdIPMedoVBRvEnSZ8y
TD0at42/62sjJx3tds2J7JhFMBrLHMWqawKOFVbioc4vXz/rbH23SpV5qWHZ4AiPRP+IMFnB
o8ZLPkQXR0S7ajUNTvlYp0e+62X0kW9VOOObnLC4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4HQzz40CmOOT2yXN1GgTtAuYuNhkZpBJbGFwZzTbOUddRJ+xQyhIjYztPwRCicEWN4ULz2h
hZQuU8JR0mwSl4nGblWBCgVQGIkJ68KY8HEm1BkIZm3wzvtd+BCw6tngAphewKkk4ITyBHcx
/AWocJv/r0rpbifsUSPzIV9vJG/2ZBBp19aKicjdh0LhPmWUXg9nFyFKxiw62r2dmpNlK2SN
yidj34sEgsTeIHdD1fpA2z0QtStCVW1Y3djxt4R6ln5sLo4j2XNGHCFOUoTd9gltjFYmlqQE
zGbpfztpHPy/kHc2lz13afFREj12/RcOkkk9i2K2SA69YsgDdMm4vwSPuEFLziKt9mXwAobP
GRCA0uF8Rbj4zoVWJlpGQQqCaSNSpNmXsU3FoyF7fE589eCYGnNVIPU940Dq9CE=
 by: Stéphane Rivière - Fri, 11 Jun 2021 13:51 UTC

Hi Stephane,

> I created a new tool to allow embedding any file in an Ada, C or Go binary.

This is typically what I needed to improve my current AIDE v2 project
(Ada Instant Development Environment - source GNAT CE 2019 2020 2021 -
target Debian / Ubuntu with subtarget station (with GNATStudio, HAC,
libs, debug aware RTS, and goodies) or server (bare minimal).

Many thanks !!!

--
Be Seeing You
Number Six

Re: ANN: Ada Resource Embedder for C, Ada and Go

<vv07cg1edinluohdipvj11omjevn981c36@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5364&group=comp.lang.ada#5364

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: doc...@tardis.org (Doctor Who)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Fri, 11 Jun 2021 17:41:31 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <vv07cg1edinluohdipvj11omjevn981c36@4ax.com>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com> <s9vppo$8l8$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="2aabbefe9c8e903029e1c739fcc7523f";
logging-data="32219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+u33u25g9gKySd+tcyjaTq"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:7YkSbdTgaLa++3C3r2MBxdlTw7I=
 by: Doctor Who - Fri, 11 Jun 2021 15:41 UTC

On Fri, 11 Jun 2021 15:51:52 +0200, Stéphane Rivière
<stef@genesix.org> wrote:

>Hi Stephane,
>
>> I created a new tool to allow embedding any file in an Ada, C or Go binary.
>
>This is typically what I needed to improve my current AIDE v2 project
>(Ada Instant Development Environment - source GNAT CE 2019 2020 2021 -
>target Debian / Ubuntu with subtarget station (with GNATStudio, HAC,
>libs, debug aware RTS, and goodies) or server (bare minimal).
>
>Many thanks !!!

Your projects are very interesting, can I have the link for AIDE ?

Thank you.

Re: ANN: Ada Resource Embedder for C, Ada and Go

<sa02e1$133o$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5365&group=comp.lang.ada#5365

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org.POSTED!not-for-mail
From: mail...@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Fri, 11 Jun 2021 18:19:15 +0200
Organization: Aioe.org NNTP Server
Lines: 26
Message-ID: <sa02e1$133o$1@gioia.aioe.org>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me>
NNTP-Posting-Host: 5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Dmitry A. Kazakov - Fri, 11 Jun 2021 16:19 UTC

On 2021-06-11 15:51, Stéphane Rivière wrote:
> Hi Stephane,
>
>> I created a new tool to allow embedding any file in an Ada, C or Go binary.
>
> This is typically what I needed to improve my current AIDE v2 project
> (Ada Instant Development Environment - source GNAT CE 2019 2020 2021 -
> target Debian / Ubuntu with subtarget station (with GNATStudio, HAC,
> libs, debug aware RTS, and goodies) or server (bare minimal).

I considered embedding into relocatable libraries similar to Windows'
resource, e.g. for versioning plugins etc, but then decided to use an
easier and more universal method.

I simply put an Ada constructing function into the library. The function
is exported. The address returned by GetProcAddress or dlsym goes to
Unchecked_Conversion to an access to subprogram, and here you are.

The obvious advantage of this method over embedding is that the object
can be tagged of any derived type, which no embedding can do. And you
can add whatever further initialization or checks you might need.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Re: ANN: Ada Resource Embedder for C, Ada and Go

<ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5366&group=comp.lang.ada#5366

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:734f:: with SMTP id q15mr5059726qtp.146.1623432777483;
Fri, 11 Jun 2021 10:32:57 -0700 (PDT)
X-Received: by 2002:a25:6d82:: with SMTP id i124mr7455774ybc.165.1623432777164;
Fri, 11 Jun 2021 10:32:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 11 Jun 2021 10:32:56 -0700 (PDT)
In-Reply-To: <sa02e1$133o$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=5.51.16.193; posting-account=lzjH_AoAAABq5H4FTxZ1AkonVQLbXoxB
NNTP-Posting-Host: 5.51.16.193
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <sa02e1$133o$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com>
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
From: stephane...@gmail.com (Stephane Carrez)
Injection-Date: Fri, 11 Jun 2021 17:32:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Stephane Carrez - Fri, 11 Jun 2021 17:32 UTC

Hi Dimitry,

Le vendredi 11 juin 2021 à 18:19:18 UTC+2, Dmitry A. Kazakov a écrit :
> On 2021-06-11 15:51, Stéphane Rivière wrote:
> > Hi Stephane,
> >
> >> I created a new tool to allow embedding any file in an Ada, C or Go binary.
> >
> > This is typically what I needed to improve my current AIDE v2 project
> > (Ada Instant Development Environment - source GNAT CE 2019 2020 2021 -
> > target Debian / Ubuntu with subtarget station (with GNATStudio, HAC,
> > libs, debug aware RTS, and goodies) or server (bare minimal).
> I considered embedding into relocatable libraries similar to Windows'
> resource, e.g. for versioning plugins etc, but then decided to use an
> easier and more universal method.
>
> I simply put an Ada constructing function into the library. The function
> is exported. The address returned by GetProcAddress or dlsym goes to
> Unchecked_Conversion to an access to subprogram, and here you are.
>
> The obvious advantage of this method over embedding is that the object
> can be tagged of any derived type, which no embedding can do. And you
> can add whatever further initialization or checks you might need.
>

Can you elaborate a little?
I don't see what you put in your Ada constructing function.
I do see how you use it but not how and where you put the original content or file.

Let's suppose you have some documentation file 'config/example.conf'.
How would you integrate it in a binary with your solution?

Best regards,

Stephane

Re: ANN: Ada Resource Embedder for C, Ada and Go

<sa09rh$f4p$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5367&group=comp.lang.ada#5367

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org.POSTED!not-for-mail
From: mail...@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Fri, 11 Jun 2021 20:25:55 +0200
Organization: Aioe.org NNTP Server
Lines: 65
Message-ID: <sa09rh$f4p$1@gioia.aioe.org>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <sa02e1$133o$1@gioia.aioe.org>
<ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com>
NNTP-Posting-Host: 5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Dmitry A. Kazakov - Fri, 11 Jun 2021 18:25 UTC

On 2021-06-11 19:32, Stephane Carrez wrote:

> Le vendredi 11 juin 2021 à 18:19:18 UTC+2, Dmitry A. Kazakov a écrit :
>> On 2021-06-11 15:51, Stéphane Rivière wrote:
>>> Hi Stephane,
>>>
>>>> I created a new tool to allow embedding any file in an Ada, C or Go binary.
>>>
>>> This is typically what I needed to improve my current AIDE v2 project
>>> (Ada Instant Development Environment - source GNAT CE 2019 2020 2021 -
>>> target Debian / Ubuntu with subtarget station (with GNATStudio, HAC,
>>> libs, debug aware RTS, and goodies) or server (bare minimal).
>> I considered embedding into relocatable libraries similar to Windows'
>> resource, e.g. for versioning plugins etc, but then decided to use an
>> easier and more universal method.
>>
>> I simply put an Ada constructing function into the library. The function
>> is exported. The address returned by GetProcAddress or dlsym goes to
>> Unchecked_Conversion to an access to subprogram, and here you are.
>>
>> The obvious advantage of this method over embedding is that the object
>> can be tagged of any derived type, which no embedding can do. And you
>> can add whatever further initialization or checks you might need.
>
> Can you elaborate a little?
> I don't see what you put in your Ada constructing function.
> I do see how you use it but not how and where you put the original content or file.

In my case I do not deal with files, it is always objects. In the
simplest case it could be a record type like:

type Library_Data is record
Do_This : not null access procedure;
Get_That : not null access function return That'Class;
end record;

That the library provides.

> Let's suppose you have some documentation file 'config/example.conf'.

The documentation would be an object ready for rendering. Say the
documentation renderer is GTK text view widget. Then that would require
a text buffer:

type Library_Data is record
Do_This : not null access procedure;
Get_That : not null access function return That'Class;
Documentation : not null Gtk_Text_Buffer;
end record;

The caller will drop the text buffer Documentation into a Gtk_Text_View
widget to show the documentation.

I usually use programmatically generated content. E.g. HTML
documentation would be a set of subprograms with parameters that put a
portion of HTML into a stream/string. I then decorate their output as
necessary, e.g. <tr>...</tr> if that must be a table cell etc.

The point that documentation is almost never a static text, but has all
sorts of parameters the provider of does not know in advance.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Re: ANN: Ada Resource Embedder for C, Ada and Go

<1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5368&group=comp.lang.ada#5368

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:8346:: with SMTP id j64mr6250728qva.16.1623437070413;
Fri, 11 Jun 2021 11:44:30 -0700 (PDT)
X-Received: by 2002:a5b:448:: with SMTP id s8mr7424519ybp.363.1623437070120;
Fri, 11 Jun 2021 11:44:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 11 Jun 2021 11:44:29 -0700 (PDT)
In-Reply-To: <sa09rh$f4p$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=5.51.16.193; posting-account=lzjH_AoAAABq5H4FTxZ1AkonVQLbXoxB
NNTP-Posting-Host: 5.51.16.193
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <sa02e1$133o$1@gioia.aioe.org>
<ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com> <sa09rh$f4p$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com>
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
From: stephane...@gmail.com (Stephane Carrez)
Injection-Date: Fri, 11 Jun 2021 18:44:30 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Stephane Carrez - Fri, 11 Jun 2021 18:44 UTC

Thanks Dimitry for the clarification.

Different requirements leads to different solutions.

With ARE, I want to embed a Javascript file (such as jQuery), minify it with closure, compress it with gzip
and make it available as raw content so that the web server can service it without reading any file.
The content being accessible through either an Ada generated variable or through a function,
it is mapped in memory (we avoid an open, read, close system call plus the gzip stuff) and
the server only has to return the buffer content.

Best regards,

Stephane

Re: ANN: Ada Resource Embedder for C, Ada and Go

<sa0ev0$nj0$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5371&group=comp.lang.ada#5371

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org.POSTED!not-for-mail
From: mail...@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Fri, 11 Jun 2021 21:53:07 +0200
Organization: Aioe.org NNTP Server
Lines: 23
Message-ID: <sa0ev0$nj0$1@gioia.aioe.org>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <sa02e1$133o$1@gioia.aioe.org>
<ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com>
<sa09rh$f4p$1@gioia.aioe.org>
<1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com>
NNTP-Posting-Host: 5WHqCw2XxjHb2npjM9GYbw.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Dmitry A. Kazakov - Fri, 11 Jun 2021 19:53 UTC

On 2021-06-11 20:44, Stephane Carrez wrote:
> Thanks Dimitry for the clarification.
>
> Different requirements leads to different solutions.
>
> With ARE, I want to embed a Javascript file (such as jQuery), minify it with closure, compress it with gzip
> and make it available as raw content so that the web server can service it without reading any file.
> The content being accessible through either an Ada generated variable or through a function,
> it is mapped in memory (we avoid an open, read, close system call plus the gzip stuff) and
> the server only has to return the buffer content.

Same here. In the case of an integrated HTTP server I simply store the
HTTP pages as a set of string constants and functions generating dynamic
portions of. The HTTP server uses no external files. Most pages never
exist in any moment of time, because the server generates portions of
them and sends away chunks as soon as possible. For this reason I do not
compress any pages. It would waste too much resources on a small
embedded system and does not really matter for a large PC.

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Re: ANN: Ada Resource Embedder for C, Ada and Go

<4d308948-f3ba-483f-b46d-55bcb9d3299en@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5373&group=comp.lang.ada#5373

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a37:693:: with SMTP id 141mr7000946qkg.453.1623478531273;
Fri, 11 Jun 2021 23:15:31 -0700 (PDT)
X-Received: by 2002:a25:4009:: with SMTP id n9mr10532115yba.73.1623478530966;
Fri, 11 Jun 2021 23:15:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Fri, 11 Jun 2021 23:15:30 -0700 (PDT)
In-Reply-To: <sa0ev0$nj0$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=5.51.16.193; posting-account=lzjH_AoAAABq5H4FTxZ1AkonVQLbXoxB
NNTP-Posting-Host: 5.51.16.193
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <sa02e1$133o$1@gioia.aioe.org>
<ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com> <sa09rh$f4p$1@gioia.aioe.org>
<1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com> <sa0ev0$nj0$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4d308948-f3ba-483f-b46d-55bcb9d3299en@googlegroups.com>
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
From: stephane...@gmail.com (Stephane Carrez)
Injection-Date: Sat, 12 Jun 2021 06:15:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Stephane Carrez - Sat, 12 Jun 2021 06:15 UTC

Le vendredi 11 juin 2021 à 21:53:09 UTC+2, Dmitry A. Kazakov a écrit :
> On 2021-06-11 20:44, Stephane Carrez wrote:
> > Thanks Dimitry for the clarification.
> >
> > Different requirements leads to different solutions.
> >
> > With ARE, I want to embed a Javascript file (such as jQuery), minify it with closure, compress it with gzip
> > and make it available as raw content so that the web server can service it without reading any file.
> > The content being accessible through either an Ada generated variable or through a function,
> > it is mapped in memory (we avoid an open, read, close system call plus the gzip stuff) and
> > the server only has to return the buffer content.
> Same here. In the case of an integrated HTTP server I simply store the
> HTTP pages as a set of string constants and functions generating dynamic
> portions of. The HTTP server uses no external files. Most pages never
> exist in any moment of time, because the server generates portions of
> them and sends away chunks as soon as possible. For this reason I do not
> compress any pages. It would waste too much resources on a small
> embedded system and does not really matter for a large PC.

Not the same. ARE takes a static content and converts it in an Ada source that you compile.

Compression can help even on embedded systems because it reduces the size of data transfer.
A jquery-3.4.1.js file is arround 273K. Minified by closure it is reduced to 89K.
If you also compress it, it reduces to 31K.

On slow networks these size reduction make a difference.

There is no waste of resource because the compression is made during the build process not at runtime.
I would say the opposite: what you get is smaller in size.

Best regards,

Stephane

Re: ANN: Ada Resource Embedder for C, Ada and Go

<sa25un$1ri$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5375&group=comp.lang.ada#5375

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ste...@genesix.org (Stéphane Rivière)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Sat, 12 Jun 2021 13:31:35 +0200
Organization: La Maison
Lines: 8
Message-ID: <sa25un$1ri$1@dont-email.me>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <sa02e1$133o$1@gioia.aioe.org>
<ecc22bac-2f66-44ac-9496-3a2f46adbf32n@googlegroups.com>
<sa09rh$f4p$1@gioia.aioe.org>
<1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com>
Reply-To: stef@genesix.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Jun 2021 11:31:35 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7ceaa03eacbd0465214285ae01ff84fe";
logging-data="1906"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q+cMR0kOEXo0vQ7KlsghBPwbR8gW+/so="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:VWokfcgtOWnpp9JamoFHQCt9mHQ=
In-Reply-To: <1ded0c7a-f8b6-43e2-8402-5666561615b0n@googlegroups.com>
Content-Language: fr
Autocrypt: addr=stef@genesix.org; keydata=
xsFNBF0SLdYBEAC2vNiEXrwEbtLmIf92tON00ECRsQL/VIf40iujfddE7T5wQMIxNFmYm26m
1m54ludBEJgjfHv8GNJrBQIN6fKTrxtLTlY43H/WEy3z4DOXbOK2sU0CIkG3u1wtAi/9jdJK
GpnHPgPxhU1Q7SVlQCsOMUpEGN8ZUiF6IkAIOY+DLRgHW1qh8xfYSIiDUJIcZ4cn0Ccf/7QN
rTmGHXe3AU7DxsooDm4+Wf29tlujA6F6kbwGqrqFfUmTImpNTvafr15pK3zZHoCpJiR4Y1jM
mHCj20cQ2l+BsL5L4T+ErKg9Wd2eAOthPw7oJ6V5Lb/ZyGdCLUjOx081S/Km3xpACNGXoKMx
OgMGwJiOulN2FsRRWN2hMIZBQmwL2q79WTI4ITq39ibewARkZmfbq/tdIPMedoVBRvEnSZ8y
TD0at42/62sjJx3tds2J7JhFMBrLHMWqawKOFVbioc4vXz/rbH23SpV5qWHZ4AiPRP+IMFnB
o8ZLPkQXR0S7ajUNTvlYp0e+62X0kW9VOOObnLC4UqGxSZYeJ3ca4+vpeut6s2SX7Pu6D9wo
xSPVMuSJf3NT0AoCJyDktULrix6jdjTR/HfCIK2fpricDafdDj7oXLQWa8cPoh+q7SSLLMA6
46ZmzqAvKpBXTwYGM5wlT8Owwtq+JzjMtTLyLrD/fwWEJFFF5wARAQABzSVTdMOpcGhhbmUg
Uml2acOocmUgPHN0ZWZAZ2VuZXNpeC5vcmc+wsGrBBMBCAA+FiEE2UmcilPuBGK9hWmqb9Sw
H8cda1sFAl0SLdYCGyMFCQlmAYAFCwkIBwIGFQgJCgsCB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c2lz13afFREj12/RcOkkk9i2K2SA69YsgDdMm4vwSPuEFLziKt9mXwAobP
GRCA0uF8Rbj4zoVWJlpGQQqCaSNSpNmXsU3FoyF7fE589eCYGnNVIPU940Dq9CE=
 by: Stéphane Rivière - Sat, 12 Jun 2021 11:31 UTC

> With ARE, I want to embed a Javascript file (such as jQuery), minify it with closure, compress it with gzip
> and make it available as raw content so that the web server can service it without reading any file.

Really cool ! :)

--
Be Seeing YouNumber Six

Re: ANN: Ada Resource Embedder for C, Ada and Go

<fb79cgp7cg786m72l3v7eod2fskj7f1kmv@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5376&group=comp.lang.ada#5376

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: doc...@tardis.org (Doctor Who)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Sat, 12 Jun 2021 13:41:59 +0200
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <fb79cgp7cg786m72l3v7eod2fskj7f1kmv@4ax.com>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com> <s9vppo$8l8$1@dont-email.me> <vv07cg1edinluohdipvj11omjevn981c36@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="ad11d8dc02778dd1eec5fb0cd3efed60";
logging-data="7745"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fqBJ+gb++l7UsTkzKRi/z"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:e661A02A+wvYK8X+4uHvHahxkLA=
 by: Doctor Who - Sat, 12 Jun 2021 11:41 UTC

On Fri, 11 Jun 2021 17:41:31 +0200, Doctor Who <doc@tardis.org> wrote:

>On Fri, 11 Jun 2021 15:51:52 +0200, Stéphane Rivière
><stef@genesix.org> wrote:
>
>>Hi Stephane,
>>
>>> I created a new tool to allow embedding any file in an Ada, C or Go binary.
>>
>>This is typically what I needed to improve my current AIDE v2 project
>>(Ada Instant Development Environment - source GNAT CE 2019 2020 2021 -
>>target Debian / Ubuntu with subtarget station (with GNATStudio, HAC,
>>libs, debug aware RTS, and goodies) or server (bare minimal).
>>
>>Many thanks !!!
>
>
>Your projects are very interesting, can I have the link for AIDE ?
>
>Thank you.

Thank you again , you have been very quick to reply........

https://stef.genesix.org/aide/aide.html

Re: ANN: Ada Resource Embedder for C, Ada and Go

<sa27qu$fn0$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5377&group=comp.lang.ada#5377

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ste...@genesix.org (Stéphane Rivière)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Sat, 12 Jun 2021 14:03:41 +0200
Organization: La Maison
Lines: 36
Message-ID: <sa27qu$fn0$1@dont-email.me>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com>
<s9vppo$8l8$1@dont-email.me> <vv07cg1edinluohdipvj11omjevn981c36@4ax.com>
Reply-To: stef@genesix.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 12 Jun 2021 12:03:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7ceaa03eacbd0465214285ae01ff84fe";
logging-data="16096"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JV6EEPOWLTjf3I3r5TiMIq0bAR5Q0lPY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:TojlPcIlSc8YQ4vw4rlRIolpF6U=
In-Reply-To: <vv07cg1edinluohdipvj11omjevn981c36@4ax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jnqgUbcFv/3
rl0Mi9pyadiO1Etr4eJvIhYbdNXhrmXm7icJ7OE5+q+1uCH+8JWRlYM9F49peHv1oWtjBuBS
CxczpXraWOk5lrzI2rdxKZwFlO515ULKtixiu2CJ3xDWps3zwLScw9wxE6QQUT88aYSeAqbj
1w+s+vGHBMEitC7dxk5aGQDkXwNjzve4rRgSWq7ME1ZyteoqY/0AEQEAAcLBkwQYAQgAJhYh
BNlJnIpT7gRivYVpqm/UsB/HHWtbBQJdEi3WAhsMBQkJZgGAACEJEG/UsB/HHWtbFiEE2Umc
ilPuBGK9hWmqb9SwH8cda1shDA/+PxaAM1PgWec8Pdg4+U/FEfku3z9aZN4es2ofMA4IGSqi
tLM2pwnrkM6tbyGIaLzK4/LaxnsUPy4FV5GEiel23zgZel+KvuqyXz4EpRg0hGQJbKAocD0U
KumEP3UiHXE2x/2U5/fy0IrdBz0XVWByhaJCQqoqjZUVHIY2E7osgYVB9bGH1frHL05jqffd
vw2FSuH5RCs6NmpdgMt3VoNe981MQ3WJ+HRLG5QViNZRMc26c45l1kH9iwjexz+CVH8lTBcR
z4HQzz40CmOOT2yXN1GgTtAuYuNhkZpBJbGFwZzTbOUddRJ+xQyhIjYztPwRCicEWN4ULz2h
hZQuU8JR0mwSl4nGblWBCgVQGIkJ68KY8HEm1BkIZm3wzvtd+BCw6tngAphewKkk4ITyBHcx
/AWocJv/r0rpbifsUSPzIV9vJG/2ZBBp19aKicjdh0LhPmWUXg9nFyFKxiw62r2dmpNlK2SN
yidj34sEgsTeIHdD1fpA2z0QtStCVW1Y3djxt4R6ln5sLo4j2XNGHCFOUoTd9gltjFYmlqQE
zGbpfztpHPy/kHc2lz13afFREj12/RcOkkk9i2K2SA69YsgDdMm4vwSPuEFLziKt9mXwAobP
GRCA0uF8Rbj4zoVWJlpGQQqCaSNSpNmXsU3FoyF7fE589eCYGnNVIPU940Dq9CE=
 by: Stéphane Rivière - Sat, 12 Jun 2021 12:03 UTC

Hi Doctor,

> Your projects are very interesting, can I have the link for AIDE ?

Github is coming - watch https://github.com/sowebio in july
Alpha is here https://stef.genesix.org/pub/ada/aide

Don't read v2.14 but v0.14 :) The v1 was a completely different beast. I
just keep the numbering...

aide - binary
aide-2.14.zip - sources
v20-0.3.zip is the GP library used for AIDE

All this stuff is KISS¹ but very usable :)

sow - AIDE for Debian & Ubuntu Manual v34.pdf - read issues and to do
list at the end. You should *wait for v2.15* release to test it, even
the 'big view' already works. I have little bugs to fix for a 'full
flown experience' :)

sow - v20 Ada Library User Manual v28.pdf - API ref (a must read to
understand AIDE code) and more (methodology101 for kids and new coders).

HAC Ada Compiler User Manual v82.pdf manual for HAC (HAC is included in
AIDE. It's a very capable Ada subset interpreter, replacing Bash on all
our servers cluster) HAC is a Gautier de Montmollin project (refs in
doc). HAC is seven times faster than Bash, more productive and strongly
typed !

¹ According to the "Keep It Simple Stupid" theory

--
Be Seeing You
Number Six

Re: ANN: Ada Resource Embedder for C, Ada and Go

<seb9cgh8m1tqg3938p01gjl5vpfeoeiufm@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5379&group=comp.lang.ada#5379

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: doc...@tardis.org (Doctor Who)
Newsgroups: comp.lang.ada
Subject: Re: ANN: Ada Resource Embedder for C, Ada and Go
Date: Sat, 12 Jun 2021 14:51:51 +0200
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <seb9cgh8m1tqg3938p01gjl5vpfeoeiufm@4ax.com>
References: <34845325-0cb5-43ee-a03f-df95a8df1f22n@googlegroups.com> <s9vppo$8l8$1@dont-email.me> <vv07cg1edinluohdipvj11omjevn981c36@4ax.com> <sa27qu$fn0$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="ad11d8dc02778dd1eec5fb0cd3efed60";
logging-data="2494"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BoR/kfuXvOcDd9uob4EcF"
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:xvKGe3bcbl21ojMALG+wUP/U+RY=
 by: Doctor Who - Sat, 12 Jun 2021 12:51 UTC

On Sat, 12 Jun 2021 14:03:41 +0200, Stéphane Rivière
<stef@genesix.org> wrote:

>Hi Doctor,
>
>> Your projects are very interesting, can I have the link for AIDE ?
>
>Github is coming - watch https://github.com/sowebio in july
>Alpha is here https://stef.genesix.org/pub/ada/aide
>
>Don't read v2.14 but v0.14 :) The v1 was a completely different beast. I
>just keep the numbering...
>
>aide - binary
>aide-2.14.zip - sources
>v20-0.3.zip is the GP library used for AIDE
>
>All this stuff is KISS¹ but very usable :)
>
>sow - AIDE for Debian & Ubuntu Manual v34.pdf - read issues and to do
>list at the end. You should *wait for v2.15* release to test it, even
>the 'big view' already works. I have little bugs to fix for a 'full
>flown experience' :)
>
>sow - v20 Ada Library User Manual v28.pdf - API ref (a must read to
>understand AIDE code) and more (methodology101 for kids and new coders).
>
>HAC Ada Compiler User Manual v82.pdf manual for HAC (HAC is included in
>AIDE. It's a very capable Ada subset interpreter, replacing Bash on all
>our servers cluster) HAC is a Gautier de Montmollin project (refs in
>doc). HAC is seven times faster than Bash, more productive and strongly
>typed !
>
>¹ According to the "Keep It Simple Stupid" theory

Thank you very much.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor