jcr

u/jcr@jlai.lu
0 posts · 113 comments

Recent posts

No posts.

Recent comments

Sms is now so developped, sending pictures and videos, calling is one click away, no need to install or update : it is surprisingly useful. Then you have the same issue with Wechat for Chinese communities

I agree : I ran Void with joy for 2 years, very stable and usable, makes you learn how the init/daemon system works in a very sensitive and easy way (runit).

However, if you try to find GNU packages or Gpl packages, it just does not exist (Exim, Mailutils, and some others).

So dumped it and back to Devuan/Debian

Even if I am against this kind of "defaults", today I learned how you customize this for any folder in the home directory !

For linux based system, you do like told in https://www.freedesktop.org/wiki/Software/xdg-user-dirs/

~/.config/user-dirs.dirs specifies the current set of directories for the user. This file can also be modified by users (manually or via applications) to change the directories used. Note: To disable a directory, point it to the homedir. If you delete it it will be recreated on the next login.

So at last I disabled Music, Templates, Pictures and Videos . Cleaner Home !

I first built a dice roller : the core is just a call to random.randint module, but you need to have the terminal interface to get the instruction ( like "4d6" means you need to have 4 times random generation between 1 and 6). You can do it only with regexp, and if you want to get fancy you can try and find solutions to have compounded formulas, try to have the results stored during a game session, etc.

Second project was a small game: the idea was to have a map of coordinates (xy), and each game has random spawning of 2 goblins and 3 gold within the map ; the goal is to move around (nswe) getting the 3 gold without hitting a goblin.

So also no graphic representation of the map, you just have the game running at each keystroke.

You just need to be able to define functions and do string manipulation ; for logic you can stay with if-then-else and while loop.

And good luck with the learning !

If you know the "dd" command, you are already engaging in non-trivial stuff... It is just "point & click" using daemon tools, and you just need an image of the CD, which is not inherently "cracked" ; the crack is needed to bypass security (or you get a developper cd registration number, which is how it was done for old games like diablo or starcraft). Anyway, cracks for software that is not anymore published or maintained do not constitute an economic loss to said publisher, so of course it is a solution. You just risk yourself (your computer) by using modified software for which nobody else is held accountable for.