Hi! I'm Andinus, I like learning.
@Algot Yes, I try to solve it by myself first. I don't reply when I solve it with the program (should I?). But I do check it every week!
> Have you gotten any feedback on the program from anybody.
No, I have only shared it on here.
I've been using ivy for incremental completion for like half a decade now, and only today I discovered that M-o on an item displays a list of additional actions available for it.
#Emacs seems to be a never-ending story of discovering and learning trivia. Still, my brain likes it. Craves it, almost.
through #perl (a language) one can do web development (mojolicious), and user interface programming (tk) creating applications; access systems such as databases (dbi) and operating systems (eg. unix user management), do network programming (socket, dns, smtp), and many other really interesting things related to computers (eg. logging, date, automation, orm)
Octans found "prognostication", which covers the whole puzzle except for a single cell.
re: OCTANS Question
@Algot I had to change the code to make it work on 6 letter words but now it can be passed as an option (`--length=6'). I released v0.1.3 with this change.
Octans found 4 words in this puzzle when I change the minimum length to 6 & made every square a gray square.
Words: confusion, fusion, fungic, reigns.
I think you were looking for "reigns".
I was surprised by it's performance, adding extra starting positions didn't slow it down by much. It's probably because we are performing binary range search on words & once they're loaded in memory, it's very fast.
> I do hope you are having fun with your code. Don't let it become a PIA chore at any point.
Octans is fun! Thanks for making these puzzles otherwise I probably wouldn't have worked on this.
@Algot Those words do look uncommon. I plan to write a word search puzzle generator too... someday.
Do you know about tildeverse.org? tildes are pubnixes, anyone can ask for an account.
You don't have to setup Raku on your system, you could ask for an account on one of the tildes & use it there!
@Algot Thanks ,
> including the ability to solve more generic wordsearch puzzles of many different sizes?
Actually that was possible in the online version I linked but not in the program because there octans had to get the starting points by itself.
But since you mentioned it, I fixed the program. There are 2 ways of giving it a puzzle, one is via a file & other, linking to your posts. Both ways, it can solve puzzles of any input size. (see attached image).
Also, you don't have to input the @gray-squares manually, it'll automatically set it. ( sample input file: https://github.com/andinus/octans/blob/master/resources/sample_input )
> I am, in fact using Kubuntu.
Ah, that's nice. It'll be easy to get Raku setup on there. You can use octans right after you get rakudo setup, even without installing zef & the dependency.
> Hope you are getting enough sleep while you devote so much time to this project.
Hah... I should goto sleep . Night o/
While testing I found another puzzle that has multiple solutions: https://mastodon.art/@Algot/105333136907848390 (see attached image for solutions, some are repeated because there are multiple paths to that word)
@Algot If you want to look at the source then follow this link: https://git.tilde.institute/andinus/octans/tree/lib/Octans/CLI.rakumod
GitHub hasn't added syntax highlighting for `.rakumod' yet. `CLI.rakumod' is where octans enters the script.
The file is small because I moved all functions to their own modules, you can find that in the `lib/' directory itself.
Also an interesting thing about Raku: You can use non-ascii characters as variable names, search for `my %𝒻𝒶𝓃𝒸𝓎-𝒸𝒽𝒶𝓇𝓈' in that file. It's a hash map which uses non-ascii characters as variable name.
This version includes a dictionary with it: https://git.tilde.institute/andinus/octans/tree/resources/mwords
It's taken from the Moby Project: https://en.wikipedia.org/wiki/Moby_Project and contains 354,984 words.
And here is the distribution: https://modules.raku.org/dist/octans:cpan:ANDINUS
That means you can install it with zef (Raku module installer), just run `zef install octans' and start using it!
If you have a Linux/BSD machine nearby then I could help you setup Raku. Latest binaries are available for ubuntu, should be the same for any other popular distro.
@Algot :) Yeah I could follow some more people.
As mst < http://www.trout.me.uk> puts it:
> Perl is a wonderful language once you get over the fact that a slightly quirky set of syntax and embedded regular expressions have a tendency to make it look like line noise in the wrong light.
The same can be said for Raku. If you wish to get started then checkout https://raku.org/resources
I released Octans v0.1.0, I implemented the new algorithm as discussed here: https://tilde.zone/@andinus/105559855006590792
Next step would be to solve each starting position concurrently. I'll implement that some time later along with the CGI script!
Got it from previous haiku, it was right below the puzzle! Octans was also able to solve it.
Hi! I'm Andinus, I like learning.
masto instance for the tildeverse