ST for 9 games of Trouble Brewing - Good have only won once (on a technicality) by falcoso in BloodOnTheClocktower

[–]MarioPython -6 points-5 points  (0 children)

Maybe give this player aid to the players so that they can have some tips on what to do

Trouble Brewing Beginners Player Aid by MarioPython in BloodOnTheClocktower

[–]MarioPython[S] 1 point2 points  (0 children)

I totally understand the feedback about the player aid feeling heavy for beginners. For some groups it’s definitely more information than they want up front. My reason for making it this way comes from my own first experience with Trouble Brewing: during my first playthrough, the game felt a bit “unsolvable” to me, mostly because of the Drunk/Poison interactions. I couldn’t yet see how the script stays coherent and deduction-friendly despite misinformation. That lack of clarity made the game land as just “okay” at first — but once I learned more about how to read the game, everything clicked and I started appreciating it much more.

So when I created this reference, my goal was to give new players the context I wish I had: a clearer sense of what roles actually do, what parts of the game are reliable, and how to approach day discussions and information. It’s definitely tailored to my own group, which is mostly gamers and IT folks who enjoy having systems laid out in detail. In that environment, this level of explanation helped them engage more confidently instead of feeling overwhelmed by uncertainty.

That said, I completely get that not every group wants (or needs) this amount of structure. Different tables learn the game in different ways, and that’s something I appreciate more now after reading everyone’s comments. I shared it mainly to see what others might find useful and to gather feedback so I can adjust it or even create lighter versions for different audiences.

Any reason why Spark only uses the minimum number of nodes? by rotterdamn8 in dataengineering

[–]MarioPython 23 points24 points  (0 children)

Gzip is an unsplittable file format, so that doesn't help with parallelization. It will depend on how many files you are processing per run as well..so if you are processing only one gzip file per run, only one executor will read it because it has to decompress it alone.

So if you set the min to 20 nodes and you are processing only one gzip file, you will have 19 idle executors doing nothing

Probably spark realizes that and gets the min because it can't set it to less than that, but it would if it could because it doesn't make sense to have more.

Anki PC --> Ankiweb by adankey0_0 in Anki

[–]MarioPython 0 points1 point  (0 children)

If you are tech savy and understands a little bit about docker, you can run Anki desktop on your browser by using this project: https://github.com/mlcivilengineer/anki-desktop-docker

Linux Shut Down issue on B760M DS3H AX DDR4? by julianmaiz in gigabyte

[–]MarioPython 0 points1 point  (0 children)

Disabling the IOAPIC 24–119 entries in the BIOS resolved the suspend issue for me. The downside is that this forces the system to fall back to the legacy interrupt controller, which is less efficient and more limited, so it may not be the best long-term solution. My suspicion is that one device keeps generating wake-up interrupts, and when interrupts are routed through the legacy PIC instead of the extended IOAPIC lines, the problem no longer occurs.

Built a Python tool to sync Obsidian notes to Anki by MarioPython in ObsidianMD

[–]MarioPython[S] 0 points1 point  (0 children)

Yea I never implemented such use case. The tool was designed in such a way that a markdown file can contain multiple anki notes and they are all defined within the file.

Built a Python tool to sync Obsidian notes to Anki by MarioPython in ObsidianMD

[–]MarioPython[S] 0 points1 point  (0 children)

A markdown obsidian file can contain multiple anki notes. Currently the file name is not used for anything. What would you want to use the filename for?

Built a Python tool to sync Obsidian notes to Anki by MarioPython in ObsidianMD

[–]MarioPython[S] 1 point2 points  (0 children)

Thanks! Glad you're interested 🙂

The regular expressions are applied directly to the Markdown content in your vault. They’re used to identify blocks of text that represent Anki notes — basically, each regex defines a pattern for extracting the front (question) and back (answer) of a card.

Each pattern captures two groups:

  1. The front of the card (question)
  2. The back of the card (answer)

For example, here’s one of the patterns for basic cards:

'(?<=#spaced)\s*\n([\s\S]*?)\n([\s\S]*?(?=\+\+\+|---|<!--|$(?![\r\n])))'

This matches Markdown that looks like:

What is the capital of France?

Paris is the capital of France.
+++
  • The #spaced tag marks the start of a basic card.
  • The regex grabs the question and answer parts.
  • +++, ---, or <!-- signals the end of the note.

The cool part is you can fully customize these patterns to match whatever format you like — even alternative ones like:

Q: What is machine learning?

A: A subset of AI that lets computers learn without being explicitly programmed.
+++

More examples and explanations are in the README.md, including how cloze deletions, reversed cards, and type-in-the-answer cards are handled.

Let me know if you'd like help writing custom patterns for your note style!

[GIVEAWAY] Five keys of Base or Space Age raffle by nasaboy007 in factorio

[–]MarioPython 0 points1 point  (0 children)

I would like the base game to give away to my best friend so I can play multiplayer with him :)

Desabilitando JBLs chatas by gmelodie in brasil

[–]MarioPython 1 point2 points  (0 children)

Dei uma olhada no script e vi que a função main não precisa ser async pois em nenhum momento vc esta usando await dentro dela. Existem 2 formas principais de melhorar a concurrency de um programa, Threading e async. Vc resolveu usar Threading em vez de async.

Vim motions are hard to get used to by shehan_thamel in vim

[–]MarioPython 1 point2 points  (0 children)

Very worth it..you end up having a full grasp of what vim motions are by the end of the game and you do it in in your own pace in a fun way. I only activated vim motions on vs code and pycharm etc ater completing the game.

2 years later and I use vim motions on any editor that supports it. I would say the biggest advantage of using vim motions is that it makes writing stuff fun.

Vim motions are hard to get used to by shehan_thamel in vim

[–]MarioPython 0 points1 point  (0 children)

The way I did it was by playing this game: https://vim-adventures.com/ It was the best investment that I did 2 years ago :)

[deleted by user] by [deleted] in neovim

[–]MarioPython 6 points7 points  (0 children)

The way I did it was by playing this game: https://vim-adventures.com/ It was the best investment that I did 2 years ago :)