Discussion:
Word Finder
Add Reply
David
2025-02-18 10:12:48 UTC
Reply
Permalink
Image!

Loading Image...

Busy today.
--
David
David
2025-02-18 10:21:24 UTC
Reply
Permalink
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
How would YOU add a dictionary?
--
David
Apd
2025-02-18 12:15:19 UTC
Reply
Permalink
Post by David
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
Good. You've got the html into a browser.
Post by David
How would YOU add a dictionary?
First you need to get one. I showed you how a while ago and you got
"permission denied".

Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
end:

sudo cp /usr/share/dict/words .

That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).

Now open the html file in a browser, click "Dictionary:" and select
the file you copied, "words". It will be loaded and you're good
to go.
Steve Carroll
2025-02-18 14:11:11 UTC
Reply
Permalink
Post by Apd
Post by David
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
Good. You've got the html into a browser.
Post by David
How would YOU add a dictionary?
First you need to get one. I showed you how a while ago and you got
"permission denied".
Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
sudo cp /usr/share/dict/words .
The reason I gave him 'cat' with the redirect is because it's possible
'sudo' may not work here due to System Integrity Protection (SIP) on
more modern versions of the macOS.
Post by Apd
That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).
Now open the html file in a browser, click "Dictionary:" and select
the file you copied, "words". It will be loaded and you're good
to go.
David
2025-02-18 14:51:29 UTC
Reply
Permalink
Post by Apd
Post by David
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
Good. You've got the html into a browser.
Post by David
How would YOU add a dictionary?
First you need to get one. I showed you how a while ago and you got
"permission denied".
Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
sudo cp /usr/share/dict/words .
Done!
Post by Apd
That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).
I entered my password - but nothing transpired. :-(
Post by Apd
Now open the html file in a browser, click "Dictionary:" and select
the file you copied, "words". It will be loaded and you're good
to go.
I obviously cannot get that far.
--
Thanks,
David
Apd
2025-02-18 15:38:57 UTC
Reply
Permalink
Post by David
Post by Apd
Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
sudo cp /usr/share/dict/words .
Done!
Post by Apd
That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).
I entered my password - but nothing transpired. :-(
Ok. SC reckons sudo might be ignored on your OS. Try using "cat",
similar to the way he showed earlier:

cat /usr/share/dict/words > ~/Documents/words

If that fails, download this:

http://www.gwicks.net/textlists/english3.zip

Unzip and use the file "english3" instead.
David
2025-02-18 15:48:10 UTC
Reply
Permalink
Post by Apd
Post by David
Post by Apd
Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
sudo cp /usr/share/dict/words .
Done!
Post by Apd
That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).
I entered my password - but nothing transpired. :-(
Ok. SC reckons sudo might be ignored on your OS. Try using "cat",
cat /usr/share/dict/words > ~/Documents/words
zsh: Permission denied!

I've found but not read this:-
https://setapp.com/how-to/zsh-permissions-denied-error
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Currently in hand!
--
David
Steve Carroll
2025-02-18 15:56:59 UTC
Reply
Permalink
Post by David
Post by Apd
Post by David
Post by Apd
Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
sudo cp /usr/share/dict/words .
Done!
Post by Apd
That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).
I entered my password - but nothing transpired. :-(
Ok. SC reckons sudo might be ignored on your OS. Try using "cat",
cat /usr/share/dict/words > ~/Documents/words
zsh: Permission denied!
LOL!

Given that system dictionaries are readable, why don't I believe you?
Post by David
I've found but not read this:-
https://setapp.com/how-to/zsh-permissions-denied-error
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Currently in hand!
Do you know *where* it is and *how* to navigate to it when the webpage's
popup appears? You're *so* close ;)
Steve Carroll
2025-02-18 15:50:04 UTC
Reply
Permalink
Post by Apd
Post by David
Post by Apd
Open a terminal in your documents folder where you have the html. Then
enter this in the terminal - note there's a space and full stop at the
sudo cp /usr/share/dict/words .
Done!
Post by Apd
That will prompt for the admin password and it should copy the file to
the current directory (the folder you opened the terminal in).
I entered my password - but nothing transpired. :-(
Ok. SC reckons sudo might be ignored on your OS. Try using "cat",
He said nothing happened, which, from my POV means he didn't get any
permission warning. IOW, being that it's probably his home dir that the
terminal app defaults to. he should actually look there first (unless he
changed it w/o telling you... he likes to 'go rogue' with this stuff).
Post by Apd
cat /usr/share/dict/words > ~/Documents/words
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Now he'll have to go find where it dl'd to... on and on it goes ;)

He should ask his 'AI buddy' to give him a list of CLI commands for a
beginner and save those somewhere (where he won't lose them on his
bi-weekly 'OS-purge').
David
2025-02-18 16:10:35 UTC
Reply
Permalink
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my
Documents folder.

What should I now do with it to complete this excercise?

=

<sigh? I thought I'd done it without further help. but it doesn't,
actually, 'work! :-(

Loading Image...
--
David
Steve Carroll
2025-02-18 16:14:32 UTC
Reply
Permalink
Post by David
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my
Documents folder.
What should I now do with it to complete this excercise?
=
<sigh? I thought I'd done it without further help. but it doesn't,
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You didn't choose a dictionary, you chose an html page (probably the one
you're looking at). Select the dictionary you just dl'd (unzipped!).
David
2025-02-18 16:27:47 UTC
Reply
Permalink
Post by Steve Carroll
Post by David
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my
Documents folder.
What should I now do with it to complete this excercise?
=
<sigh? I thought I'd done it without further help. but it doesn't,
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You didn't choose a dictionary, you chose an html page (probably the one
you're looking at). Select the dictionary you just dl'd (unzipped!).
Yes, I did! :-P

I renamed it so I could easily find it again.

Dope!
--
David
Apd
2025-02-18 16:26:20 UTC
Reply
Permalink
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my Documents
folder.
What should I now do with it to complete this excercise?
What I said earlier. Open it with the "Dictionary:" button in my web
page you downloaded from Pastebin.
<sigh? I thought I'd done it without further help. but it doesn't,
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You haven't actually loaded it but something called "dictionary.html".
You need to load the one you unzipped which you've renamed to
"Dictionary-english3".
David
2025-02-18 16:33:54 UTC
Reply
Permalink
Post by Apd
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my Documents
folder.
What should I now do with it to complete this excercise?
What I said earlier. Open it with the "Dictionary:" button in my web
page you downloaded from Pastebin.
<sigh? I thought I'd done it without further help. but it doesn't,
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You haven't actually loaded it but something called "dictionary.html".
You need to load the one you unzipped which you've renamed to
"Dictionary-english3".
Yes - DID rename it! https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif

I'll try again.

Thank you for your patience.
--
David
David
2025-02-18 16:41:07 UTC
Reply
Permalink
Post by Apd
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my Documents
folder.
What should I now do with it to complete this excercise?
What I said earlier. Open it with the "Dictionary:" button in my web
page you downloaded from Pastebin.
<sigh? I thought I'd done it without further help. but it doesn't,
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You haven't actually loaded it but something called "dictionary.html".
You need to load the one you unzipped which you've renamed to
"Dictionary-english3".
Yes - DID rename it!  https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
I'll try again.
Thank you for your patience.
Retry!

https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif

Yay! 😃
David
2025-02-18 16:45:43 UTC
Reply
Permalink
On 18/02/2025 16:41, David stuffed-up again!
Post by David
Retry!
Oops! Wrong link! (my bad!)

https://i.postimg.cc/jSp8n8d6/temp-Imagec-DKb6r.avif

Better now?
--
David
Apd
2025-02-18 17:23:58 UTC
Reply
Permalink
Post by David
On 18/02/2025 16:41, David stuffed-up again!
Post by David
Retry!
Oops! Wrong link! (my bad!)
https://i.postimg.cc/jSp8n8d6/temp-Imagec-DKb6r.avif
I'd rather you not use avif format.
Post by David
Better now?
Great, except that's not the "english3" one. Did you manage to get
"words" from your OS?
Steve Carroll
2025-02-18 17:45:05 UTC
Reply
Permalink
Post by Apd
Post by David
On 18/02/2025 16:41, David stuffed-up again!
Post by David
Retry!
Oops! Wrong link! (my bad!)
https://i.postimg.cc/jSp8n8d6/temp-Imagec-DKb6r.avif
I'd rather you not use avif format.
Post by David
Better now?
Great, except that's not the "english3" one. Did you manage to get
"words" from your OS?
This episode has me thinking that, along with maybe adding a message
telling the user the word they've inputted doesn't exist in their chosen
dictionary, you might consider checking the viability of the dictionary
itself (if it's the right format, if it's blank, etc.) and messaging
about that, too. No pressure (but we're witholding the check, for now ;)

Ya know... the 'Patterns' could actually be used as a stepping stone for
someone to learn a bit about regex. I 'kinda, sorta' can't believe ME
isn't interested in at least checking it out (for that reason alone).
Apd
2025-02-18 19:14:31 UTC
Reply
Permalink
Post by Steve Carroll
Post by Apd
Great, except that's not the "english3" one. Did you manage to get
"words" from your OS?
This episode has me thinking that, along with maybe adding a message
telling the user the word they've inputted doesn't exist in their chosen
dictionary,
Ok, but the words aren't necessarily expected to exist when you're
looking for anagrams of random letters or patterns. I could output
"nothing found".
Post by Steve Carroll
you might consider checking the viability of the dictionary
itself (if it's the right format, if it's blank, etc.) and messaging
about that, too. No pressure (but we're witholding the check, for now ;)
At the moment it accepts anything, including binary data which it
attempts to interpret as UTF-8 characters. This is the difficulty,
it's plain-text but not necessarily ASCII.
Post by Steve Carroll
Ya know... the 'Patterns' could actually be used as a stepping stone for
someone to learn a bit about regex. I 'kinda, sorta' can't believe ME
isn't interested in at least checking it out (for that reason alone).
Yes it may help, bearing in mind the regex is inspired by that used in
Perl.
Brock McNuggets
2025-02-18 19:39:48 UTC
Reply
Permalink
Post by David
Post by David
Post by Apd
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my Documents
folder.
What should I now do with it to complete this excercise?
What I said earlier. Open it with the "Dictionary:" button in my web
page you downloaded from Pastebin.
<sigh? I thought I'd done it without further help. but it doesn't,>
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You haven't actually loaded it but something called "dictionary.html".
You need to load the one you unzipped which you've renamed to
"Dictionary-english3".
Yes - DID rename it! https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
I'll try again.
Thank you for your patience.
Retry!
https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
Yay! 😃
The i.ibb.co link is now working fine for me.
--
Specialist in unnecessary details and overcomplicated solutions.
David
2025-02-18 19:48:25 UTC
Reply
Permalink
Post by Brock McNuggets
Post by David
Post by David
Post by Apd
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my Documents
folder.
What should I now do with it to complete this excercise?
What I said earlier. Open it with the "Dictionary:" button in my web
page you downloaded from Pastebin.
<sigh? I thought I'd done it without further help. but it doesn't,>
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You haven't actually loaded it but something called "dictionary.html".
You need to load the one you unzipped which you've renamed to
"Dictionary-english3".
Yes - DID rename it! https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
I'll try again.
Thank you for your patience.
Retry!
https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
Yay! 😃
The i.ibb.co link is now working fine for me.
Great! 🙂
--
David
Brock McNuggets
2025-02-18 20:05:12 UTC
Reply
Permalink
Post by David
Post by Brock McNuggets
Post by David
Post by David
Post by Apd
Post by Apd
http://www.gwicks.net/textlists/english3.zip
Unzip and use the file "english3" instead.
Deed done! The file is now stored as "Dictionary-english3" in my Documents
folder.
What should I now do with it to complete this excercise?
What I said earlier. Open it with the "Dictionary:" button in my web
page you downloaded from Pastebin.
<sigh? I thought I'd done it without further help. but it doesn't,>
actually, 'work! :-(
https://i.ibb.co/SXqqmvNt/Screenshot-2025-02-18-at-16-07-49.png
You haven't actually loaded it but something called "dictionary.html".
You need to load the one you unzipped which you've renamed to
"Dictionary-english3".
Yes - DID rename it! https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
I'll try again.
Thank you for your patience.
Retry!
https://i.postimg.cc/X7bbfJZy/temp-Imagevn5-Yx-M.avif
Yay! 😃
The i.ibb.co link is now working fine for me.
Great! 🙂
I was going to play more with a VPN but no need now.
--
Specialist in unnecessary details and overcomplicated solutions.
Brock McNuggets
2025-02-18 14:23:04 UTC
Reply
Permalink
Post by David
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
How would YOU add a dictionary?
Probably a local error with them, but another screenshot that is not showing
up for me.

Tried Safari and Chrome. Did finally get a "504 Gateway Time-out" on each.
--
Specialist in unnecessary details and overcomplicated solutions.
David
2025-02-18 14:58:05 UTC
Reply
Permalink
Post by Brock McNuggets
Post by David
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
How would YOU add a dictionary?
Probably a local error with them, but another screenshot that is not showing
up for me.
No problem for me (or Apd!)
Post by Brock McNuggets
Tried Safari and Chrome. Did finally get a "504 Gateway Time-out" on each.
Your nemesis, SC, said he used Opera and their VPN, then saw my image.

Please .....

Try this:- https://i.postimg.cc/4dMtbZdm/temp-Image-VWMYQz.avif
--
David
Brock McNuggets
2025-02-18 15:05:49 UTC
Reply
Permalink
Post by David
Post by Brock McNuggets
Post by David
Post by David
Image!
https://i.ibb.co/kRwnMLM/Screenshot-2025-02-18-at-10-08-32.png
How would YOU add a dictionary?
Probably a local error with them, but another screenshot that is not showing
up for me.
No problem for me (or Apd!)
More evidence it is local. If I have time I might try a VPN.
Post by David
Post by Brock McNuggets
Tried Safari and Chrome. Did finally get a "504 Gateway Time-out" on each.
Your nemesis, SC, said he used Opera and their VPN, then saw my image.
Please .....
Try this:- https://i.postimg.cc/4dMtbZdm/temp-Image-VWMYQz.avif
A little slow but showed up.
--
Specialist in unnecessary details and overcomplicated solutions.
Loading...