daco

joined 1 year ago
[–] daco@lemm.ee 1 points 3 days ago

I use Nikola and it hasn't let me down. It just works and supports all the ways I write content: markdown, asciidoc, rest, Jupiter Notebooks, html and so on. It does not have so many themes, but the default one works and it's not hard to customise if needed. If you like to use python it's also easy to extend. I've written a bit about Nikola here in case it picks your interest.

I've deployed it to CloudFlare pages, but GitHub pages, Gitlab pages and any other provider also work.

[–] daco@lemm.ee 1 points 2 months ago (1 children)

Ok. Thank you for the explanation!

I'm just now thinking out los here, but would it make sense to use a PowerShell script to silently install miniconda and create a venv with a specific version?

Something like

@echo off
REM Download Miniconda installer (replace URL with the latest version)
powershell -Command "Invoke-WebRequest https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe -OutFile miniconda.exe"

REM Install Miniconda silently
start /wait "" miniconda.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\Miniconda3

REM Create a new environment with the specific Python version
call %UserProfile%\Miniconda3\Scripts\activate.bat
call conda create -y -n py39 python=3.9

REM Optional: Set permissions for multi-user access
icacls %UserProfile%\Miniconda3 /grant:r Users:(OI)(CI)F /T

More on that here https://docs.anaconda.com/anaconda/install/silent-mode/

Again, this is just an idea, but if this works then you won't have a problem anymore (maybe?).

[–] daco@lemm.ee 1 points 2 months ago (3 children)

I get your points!

But just out of curiosity, did you try using miniconda to install older python versions? That works wonders for me, also on windows 11.

[–] daco@lemm.ee 7 points 2 months ago* (last edited 2 months ago) (1 children)

If you don't need CI/CD I don't see any reasons to choose Gitlab over gitea. But I'm still testing gitea so take my words with a grain of salt :)

[–] daco@lemm.ee 14 points 2 months ago (6 children)

At work we selfhost gitlab (paid) and I'm checking gitea for my own projects. They have a good comparison table at https://docs.gitea.com/installation/comparison

Do you also need CI/CD?

[–] daco@lemm.ee 2 points 10 months ago

Wow. That’s a great idea! Death is Sleep and Exile is You are grounded!

I will elaborate on this when I get to this situations and update the article accordingly.

[–] daco@lemm.ee 4 points 10 months ago (1 children)

Hi. Thank you for your feedback!

In the case of 3-years-old I would also recommend removing the creatures with strong graphics. In my case, with my 6-years-old, I remove all the black cards, as they mostly have graphics with death, corruption and destruction.

I didn’t thought of playing memory with MTG. It’s actually interesting 🤔

[–] daco@lemm.ee 3 points 10 months ago

Hi! Thank you for your feedback! 😋

[–] daco@lemm.ee 6 points 10 months ago

Hi! I’m aware of Magic Jr. https://magic-jr.com

I checked that but I had the feeling it was to different from the normal game.

In the reddit post someone posted a link to this video,https://www.reddit.com/r/magicTCG/s/ZSzT7xjIWi and its some tu Ing similar or the same (it is also called Magic Junior).

I wanted to keep using the cards I already have instead of creating new one (or printing them from the Magic Jr. website), as I think it will be easier to transition to the full game. Instead of learning new card my daughter will just have to read and understand new parts of the same cards.

I think they are two different approaches with the same goal. I will update the article as soon as I have time to mention this alternative. That way the reader can choose between both alternatives.

Thanks for your feedback! Best,

Diego

 

Adapt/ simplify MTG rules for Kids

Hi! I wrote an article on my blog about adapting MTG rules for kids and I thought it would be interesting for some parents with small kids who have yet to learn how to read.

To get in context, I have a 6-years-old daughter who wanted to play with me. I tried to teach her some rules but, given that she can’t read yet, was a little hard to explain everything. Then I also realized that she didn’t like some concepts (like graveyard), so I adapted the rules in a way that, I hope, will be easier for her to understand the real rules when she grows up (and that it will be easier for me to explain).

The result is that we have played many times since and we have had fun :)

If you have improvements to the article, such as other rules, I would be happy to read them.

Cheers, and happy game :)

FYI: I also posted this on Reddit

[–] daco@lemm.ee 1 points 1 year ago

GoatCounter works great, has a free hosted plan and is open source (and you can self-host it). You can export all your data, manage privacy settings, manage users and so on. Made in Go.

[–] daco@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

I’m happy it helped.
I tried many systems (paperless and it’s derivatives as well) and I found docspell is a lot easier to use and has all the features I need.

  • I can archive emails by moving them to a category and docspell converts it to pdf and saves it to the database.
  • I can choose a file system storage or a database storage. I chose database storage (Postgres, which is also the default) because is a lot easier to backup)
  • I love the way I can categorize the files by adding recipient and sender. That way I can filter all the files related to a specific person.
  • I can export all the files in a filter to a zip file.
  • I can batch edit.

That as a summary :)

My only recommendations are

  • to deploy it using a tag in docker and not using automatically the latest version. That way you are in control of the updates.
  • And always do database backups :) (using a tag in docker means you can always redeploy a specific version.
[–] daco@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (3 children)

I use docspell and I find it great. I run it on VM on an old microserver running proxmox.

There is also Mayan edms based on Django, but it has to many features for my use case.

view more: next ›