Deutsch English Français Italiano |
<usgrse$262lt$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: DFS <nospam@dfs.com> Newsgroups: comp.os.linux.advocacy Subject: Re: OT programming challenge: fastest/best/shortest C program to jumble a sentence, then restore it Date: Sat, 9 Mar 2024 00:25:35 -0500 Organization: A noiseless patient Spider Lines: 25 Message-ID: <usgrse$262lt$1@dont-email.me> References: <65e9cad3$0$4689$882e4bbb@reader.netnews.com> <l4ufsbF9kdnU4@mid.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 9 Mar 2024 05:25:34 -0000 (UTC) Injection-Info: dont-email.me; posting-host="bd0cd99499b1364606b6e597c9f2633e"; logging-data="2296509"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/X0HQCc6gHQjPqMbo++p85" User-Agent: Betterbird (Windows) Cancel-Lock: sha1:eGCQglWt3YOmMvoyXdy/aVENlz0= In-Reply-To: <l4ufsbF9kdnU4@mid.individual.net> Content-Language: en-US Bytes: 2011 On 3/7/2024 1:38 PM, rbowman wrote: > On Thu, 7 Mar 2024 09:10:27 -0500, DFS wrote: > >> I haven't started yet, but I figure it's about 5-8 lines in python. Too >> easy. So it has to be written in C. > > https://nostarch.com/impracticalpythonprojects > > I couldn't work up too much interest in the anagrams and cryptography > chapters but one exercise is the Union route Cipher. > > https://programmingpraxis.com/2012/03/06/union-route-cipher/ > > Spice up your challenge! A point he makes with one of the more complex > ciphers is while code can do the grunt work human intervention is needed > to sort the fly shit from the pepper since you'll get grammatically > correct sentences like Chomsky's 'Colorless green ideas sleep furiously'. I did one like this 22 years ago: https://programmingpraxis.com/2009/08/07/adfgx/ Wrote a working VB app to demo it. https://imgur.com/a/A4FPlOC