Andinus boosted
Andinus boosted

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.

Andinus boosted

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)

@Algot If you want to look at the source then follow this link: git.tilde.institute/andinus/oc

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: git.tilde.institute/andinus/oc

It's taken from the Moby Project: en.wikipedia.org/wiki/Moby_Pro and contains 354,984 words.

And here is the distribution: modules.raku.org/dist/octans:c

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.

Show thread

Hi @Algot,

I released Octans v0.1.0, I implemented the new algorithm as discussed here: tilde.zone/@andinus/1055598550

It's a lot faster now & I improved the output to return the solution grid. Also, this was my first upload to CPAN (collection of + modules).

And it found 10 solutions to this puzzle: mastodon.art/@Algot/1054133121 - asciinema.org/a/385598

You can try this version here: tio.run/##rVnNjuPGEb7rKcqS4pW8

Next step would be to solve each starting position concurrently. I'll implement that some time later along with the CGI script!

Hi @Algot, I wrote a program to solve your Word-search puzzles.

Octans: github.com/andinus/octans

It performs a Depth-First search on all possible matches from the dictionary.

Andinus boosted

> Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.
>
> These are virtues of passion. They are not, however, virtues of community. The virtues of community sound like their opposites: diligence, patience, and humility.
>
> They're not really opposites, because you can do them all at the same time.… These are the virtues that will carry our community into the future, if we do not abandon them.

β€” Larry Wall

tilde.zone

masto instance for the tildeverse