There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

@christos@lemmy.world cover
@christos@lemmy.world avatar

christos

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

christos OP ,
@christos@lemmy.world avatar

Oh, the FUN parts.

I initially tried to incorporate past attempts to generate a sudoku 9x9 matrix, even added a backtracking routine that would detect and exclude duplicate solutions. Unfortunately, the whole process of generating a new puzzle was taking about 30". What is more, the outcome, although symmetrical and all, was not what I wanted. The routines were in c. You can have a look if you like:

https://gitlab.com/christosangel/c-sudoku

christos OP ,
@christos@lemmy.world avatar

Hahaha, it never entered my mind!

christos OP ,
@christos@lemmy.world avatar

Do you have this problem from the start? Is this the only problem you are facing? Have you installed the dependecies?

christos OP ,
@christos@lemmy.world avatar

Thanks!

christos OP ,
@christos@lemmy.world avatar

Oh the word list issue is a matter of great debate. I opted for using the default word list just to avoid this matter (thinking that this list is something fixed and undebatable). It might be a good idea to make the word list configurable, so that each user may use their prefered word list. Stay tuned, I might do it the very near future.

christos OP ,
@christos@lemmy.world avatar
  • As mentioned above, this script is using the word list contained in /usr/share/dict/words.

    If your distro doesn’t include this installed, you can install the respective package (wordlist, words) using the respective command (apt, pacman).

  • ADDITIONALLY, if someone wishes to play the game using a different word list, they can do so, editing LINE 17of the wordy.sh


<span style="color:#323232;">WORD_LIST="/usr/share/dict/words"
</span><span style="color:#323232;">
</span>

change to


<span style="color:#323232;">WORD_LIST="/path/to/prefered/wordlist"
</span><span style="color:#323232;">
</span>
christos OP ,
@christos@lemmy.world avatar

If someone wishes to play the game using a different word list, they can do so, editing LINE 17of the wordy.sh


<span style="color:#323232;">WORD_LIST="/usr/share/dict/words"
</span><span style="color:#323232;">
</span>

change to


<span style="color:#323232;">WORD_LIST="/path/to/prefered/wordlist"
</span>

I have already considered this before. I know that what you propose is quite easy. However I do not want to impose any other word list (that might even be considered “proprietary”) to anyone, when the majority of the users’s systems already have the default word list. So, whoever user want any other list, they can easily edit that line and go on enjoy the game using the list they like.

Another solution is a config file instead of editing line 17. It is just as easy, but having a config file to configure just one parameter sounds not great.

christos OP ,
@christos@lemmy.world avatar

Another alternative is to provide the user a few word lists (as you mentioned, they should be quite light), and from then on each one is free to choose their prefered one.

It could be done with curl as well, but then if we did that, we would have another dependency: curl.

I forgot to thank you for the feedback, and for your willlingness to help, it is appreciated.

older laptop distro recommendarion

Recently I’ve gave up Windows for Linux and installed Ubuntu with KDE Plasma desktop on my pc and laptop from 2007. It’s an i7 Intel processor with 8gb ddr ram so I thought it would be fine, but it seems quite sluggish. What distro could I use that would be faster and still fully functional? Thanks for your help in advance.

christos ,
@christos@lemmy.world avatar

Linuxmint with xfce, perfect.

christos ,
@christos@lemmy.world avatar

It is, no doubt. xfce is lower though. In my 10 yo system xfce uses less ram than cinnamon.

christos ,
@christos@lemmy.world avatar

I use both in my mint machine. I love both. However you see it, xfce is lighter in resources.

christos OP ,
@christos@lemmy.world avatar

This is very annoying, especially in wordle.

For this I chose the word list as is contained in /usr/share/dict/words, minus words with upper-case letters, words with apostrophe and words containing letters with accent marks. One minor thing I have to do is “grep” rid of latin numerals that pop up, like xxxvi,xxiv etc.

christos OP , (edited )
@christos@lemmy.world avatar

Thanx for pointing out, it is now fixed in the repo and in the script, however I cannot update the preview image here on Lemmy… so this spelling error will stick out like a sore thumb.

Update: Fixed.

christos OP ,
@christos@lemmy.world avatar

Thanks for this, I had no idea. I will add this to README. Which command did you use?

christos OP ,
@christos@lemmy.world avatar

Hey nobody’s prefect.

christos OP ,
@christos@lemmy.world avatar

Thank you for this response. I will mention /use/share/dict/words as a dependency for this script in the README. However, as I am not an Arch user, and thus not familiar with aur and respective commands, and as installing this dependency would be beyond the scope of this project, I will ommit giving precise instructions on how to install this package.

christos OP ,
@christos@lemmy.world avatar

A couple of interesting features:

  • The selection of letters is random, so, the number of words - solutions is also random. However the user can configure the range of the number of words - solutions, editing the ~/.config/spelion/spelion.config file. That means that the puzzle can have e.g. between 10 and 30 solutions, or between 50 and 100 etc.
  • The user can avoid the frustration of not ever knowing the right answers when no other solutions come to mind: with the W option the user can browse the list of all possible solutions to the puzzle.

Thank you for your feedback, any other suggestion/correction/input is most welcome.

christos OP ,
@christos@lemmy.world avatar

I already updated the README, mentioning the dependency.

Thank you very much for the feedback and the kind words!

christos OP ,
@christos@lemmy.world avatar

Update: Another feature has been added to the script, lolcat helps show the Highscores in color, and therefore more fun.

https://lemmy.world/pictrs/image/81fa787e-3ce7-44d3-9b4f-469627a33896.png

The user can configure whether the highscores are shown in color or not.

This is done again by editing the value HISCORE_COLOR (yes / no) in $HOME/.config/spelion/spelion.config

christos OP ,
@christos@lemmy.world avatar

UPDATE:

The word list now is configurable.

By editing the WORD_LIST line in $HOME/.config/spelion/spelion.config, the user can play the game using another word list.

christos OP , (edited )
@christos@lemmy.world avatar

Well, these things happen, especially if english is a foreign language.

Thanx for pointing out, it is now fixed.

christos OP ,
@christos@lemmy.world avatar

Thank you!

christos OP ,
@christos@lemmy.world avatar

A couple of interesting features:

  • The selection of letters is random, so, the number of words - solutions is also random. However the user can configure the range of the number of words - solutions, editing the ~/.config/spelion/spelion.config file. That means that the puzzle can have e.g. between 10 and 30 solutions, or between 50 and 100 etc.
  • The user can avoid the frustration of not ever knowing the right answers when no other solutions come to mind: with the W option the user can browse the list of all possible solutions to the puzzle.

Thank you for your feedback, any other suggestion/correction/input is most welcome.

christos OP ,
@christos@lemmy.world avatar

Update: Another feature has been added to the script, lolcat helps show the Highscores in color, and therefore more fun.

https://lemmy.world/pictrs/image/81fa787e-3ce7-44d3-9b4f-469627a33896.png

The user can configure whether the highscores are shown in color or not.

This is done again by editing the value HISCORE_COLOR (yes / no) in $HOME/.config/spelion/spelion.config

christos OP ,
@christos@lemmy.world avatar

UPDATE:

The word list now is configurable.

By editing the WORD_LIST line in $HOME/.config/spelion/spelion.config, the user can play the game using another word list.

christos ,
@christos@lemmy.world avatar

Looks great. Can you send a link for the wallpaper?

01001000 01101001 00101100 00100000 01001001 00100111 01101101 00100000 01000010 01100101 01101110 01100100 01100101 01110010 (gitlab.com)

01100010 01101001 01110100 01100101 00100000 01101101 01111001 00100000 01110011 01101000 01101001 01101110 01111001 00100000 01101101 01100101 01110100 01100001 01101100 00100000 01100001 01110011 01110011 00100001...

christos OP ,
@christos@lemmy.world avatar

01010011 01101000 01110101 01110100 00100000 01110101 01110000 00100000 01100010 01100001 01100010 01111001 00100000 01001001 00100000 01101011 01101110 01101111 01110111 00100001

christos OP ,
@christos@lemmy.world avatar

😂 😂 😂 😂

christos OP ,
@christos@lemmy.world avatar

01110010 01101111 01100110 01101100

christos ,
@christos@lemmy.world avatar

mxlinux? Debian based, works fine in an old mac I have

christos ,
@christos@lemmy.world avatar

Do you have synaptic in your applications?

christos ,
@christos@lemmy.world avatar

What?

Yes!

I need to check the source though.

OP correct the spelling: Ελλάδα, not Ελάδα.

christos OP ,
@christos@lemmy.world avatar

I was considering being full “offline”, it is perfectly doable, working with yt xml requests.

The downside is that this process (so far for me) takes longer, gives less info, and mostly, although there is no image support there, is done better by terminal rss feeders like newsboat.

You cannot do everything at the same time. I may revisit this approach in the feature and put up something else.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines