Predictive text in Rust
I learned a neat trick from ag_dubs to come up with ports for your application. They used it during various RustBridge events.
The trick is to take a word that is relevant for your application and looking at the keypad of a phone.
By Sakurambo - Created using Adobe Illustrator CS2, Public Domain, https://commons.wikimedia.org/w/index.php?curid=2048341
Lookup the corresponding number for each letter and that will be your port number.
Let's take the word rust
. Looking at the a keypad we find the following numbers
| Letter | Number | |--------|--------| | r | 7 | | u | 8 | | s | 7 | | t | 8 |
To the port number for your application would be 7878
.