@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
Andinus boosted
Andinus boosted

So many people saying they're switching from Firefox. Won't this only make the problem worse?

If you're switching to Brave or qutebrowser or UnGoogled Chromium or something, you're only strengthening Google's monopoly. If you're switching to a Webkit-based browser like Epiphany, you're shifting the monopoly towards Safari, whose parent company doesn't consider the Web a priority.

That Mozilla has bad management doesn't change the fact that Firefox is the most viable option for the open web.

Andinus boosted
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

Andinus boosted
Andinus boosted
Andinus boosted

@oa I use sct for setting the temperature.

Since it's a very simple tool, it cannot alter the temperature depending on the time of day.

openports.pl/path/x11/sct

Andinus boosted
Andinus boosted

If you put your programming article up behind the paywall on Medium.com instead of on your own blog, you are not a true hacker, and will not hear the horns of freedom when you die, and the blinkenlights of Das Komputermaschine will not shine above your grave.

:flan_announcer:​ Thanks @pamela, tilde.zone just got flans! :flan_cheer::flan_smile:

Andinus boosted
Andinus boosted
Show older
tilde.zone

masto instance for the tildeverse