Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

HELP!!!! I'm being held prisoner in /usr/games/lib!


devel / comp.lang.ada / Re: ADA program

SubjectAuthor
* ADA programDirrm
+- Re: ADA programAdaMagica
`* Re: ADA programJeffrey R.Carter
 `- Re: ADA programviviane ghada

1
ADA program

<b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:d6ce:0:b0:4c6:fc1e:6201 with SMTP id l14-20020a0cd6ce000000b004c6fc1e6201mr45893725qvi.81.1670876470631;
Mon, 12 Dec 2022 12:21:10 -0800 (PST)
X-Received: by 2002:a37:f515:0:b0:6fa:ab2b:b78d with SMTP id
l21-20020a37f515000000b006faab2bb78dmr82239803qkk.388.1670876470426; Mon, 12
Dec 2022 12:21:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Mon, 12 Dec 2022 12:21:10 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=198.7.243.135; posting-account=GFoGIQoAAADm7bKFK-inXb325eTQPD3J
NNTP-Posting-Host: 198.7.243.135
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com>
Subject: ADA program
From: eonchagwa2345@gmail.com (Dirrm)
Injection-Date: Mon, 12 Dec 2022 20:21:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1534
 by: Dirrm - Mon, 12 Dec 2022 20:21 UTC

I need help on writing this code? any pointers on where to begin
" go through a set of .txt and use them to develop a pattern of appearances of letters. You will need to make every lowercase letter into its uppercase equivalent and count the letter appearances. Using your results, you are to go through an encrypted file and try to decrypt it using letter substitution. Then decrypt the same encrypted file using the standard table. You also have access to the original text. Output should go to a .txt file"

Re: ADA program

<62fcf074-3408-4ba8-a2e5-63c1325dcc89n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:404c:0:b0:4c7:46f2:a132 with SMTP id r12-20020ad4404c000000b004c746f2a132mr23178514qvp.61.1670924958517;
Tue, 13 Dec 2022 01:49:18 -0800 (PST)
X-Received: by 2002:a05:620a:1524:b0:6ff:b61f:97f4 with SMTP id
n4-20020a05620a152400b006ffb61f97f4mr59491qkk.309.1670924958372; Tue, 13 Dec
2022 01:49:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 13 Dec 2022 01:49:18 -0800 (PST)
In-Reply-To: <b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=94.31.100.23; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf
NNTP-Posting-Host: 94.31.100.23
References: <b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <62fcf074-3408-4ba8-a2e5-63c1325dcc89n@googlegroups.com>
Subject: Re: ADA program
From: christ-usch.grein@t-online.de (AdaMagica)
Injection-Date: Tue, 13 Dec 2022 09:49:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1295
 by: AdaMagica - Tue, 13 Dec 2022 09:49 UTC

First step:
So you need for each letter a number how often it occurs on average in (say) English texts. How do you do this. (Suppose fullstops, commas, question marks etc are ignored.)

Re: ADA program

<tna1vo$2h8km$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: spam.jrcarter.not@spam.acm.org.not (Jeffrey R.Carter)
Newsgroups: comp.lang.ada
Subject: Re: ADA program
Date: Tue, 13 Dec 2022 15:24:56 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <tna1vo$2h8km$1@dont-email.me>
References: <b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Dec 2022 14:24:57 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="dfabc231d260008da73d2ee44dba7975";
logging-data="2663062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Wavy5rqmFx2UcRn6XJSJnd6rqbzN2LOs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:oIdWB6ukUSo2a0/J5qHYkzavEfQ=
Content-Language: en-US
In-Reply-To: <b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com>
 by: Jeffrey R.Carter - Tue, 13 Dec 2022 14:24 UTC

On 2022-12-12 21:21, Dirrm wrote:
> I need help on writing this code? any pointers on where to begin
> " go through a set of .txt and use them to develop a pattern of appearances of letters. You will need to make every lowercase letter into its uppercase equivalent and count the letter appearances. Using your results, you are to go through an encrypted file and try to decrypt it using letter substitution. Then decrypt the same encrypted file using the standard table. You also have access to the original text. Output should go to a .txt file"

First you need to know how to read a text file. Familiarity with the standard
library (http://www.ada-auth.org/standards/aarm12_w_tc1/html/AA-A.html) is helpful.

--
Jeff Carter
"Measure before making 'efficiency' changes."
Elements of Programming Style
202

Re: ADA program

<266bba4d-a451-4558-b1b3-428f3c43b7e1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a0c:eecd:0:b0:4c6:d796:1b0f with SMTP id h13-20020a0ceecd000000b004c6d7961b0fmr59603450qvs.122.1670944526876;
Tue, 13 Dec 2022 07:15:26 -0800 (PST)
X-Received: by 2002:a05:620a:1524:b0:6ff:b61f:97f4 with SMTP id
n4-20020a05620a152400b006ffb61f97f4mr114468qkk.309.1670944525761; Tue, 13 Dec
2022 07:15:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 13 Dec 2022 07:15:25 -0800 (PST)
In-Reply-To: <tna1vo$2h8km$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=154.124.188.240; posting-account=sDOQCQoAAABaKV_4TS_FSa68WN1mwjoe
NNTP-Posting-Host: 154.124.188.240
References: <b91d0c7c-a121-4c63-95ee-71eb8b9e1974n@googlegroups.com> <tna1vo$2h8km$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <266bba4d-a451-4558-b1b3-428f3c43b7e1n@googlegroups.com>
Subject: Re: ADA program
From: vghada88@gmail.com (viviane ghada)
Injection-Date: Tue, 13 Dec 2022 15:15:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2119
 by: viviane ghada - Tue, 13 Dec 2022 15:15 UTC

On Tuesday, December 13, 2022 at 2:24:59 PM UTC, Jeffrey R.Carter wrote:
> On 2022-12-12 21:21, Dirrm wrote:
> > I need help on writing this code? any pointers on where to begin
> > " go through a set of .txt and use them to develop a pattern of appearances of letters. You will need to make every lowercase letter into its uppercase equivalent and count the letter appearances. Using your results, you are to go through an encrypted file and try to decrypt it using letter substitution. Then decrypt the same encrypted file using the standard table. You also have access to the original text. Output should go to a .txt file"
> First you need to know how to read a text file. Familiarity with the standard
> library (http://www.ada-auth.org/standards/aarm12_w_tc1/html/AA-A.html) is helpful.
>
> --
> Jeff Carter
> "Measure before making 'efficiency' changes."
> Elements of Programming Style
> 202


devel / comp.lang.ada / Re: ADA program

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor