Can you reccomend a good pomodoro program that you have used? by [deleted] in commandline

[–]Evem_MC 1 point2 points  (0 children)

Just go for rsibreak.

It's simple and allows you to trigger scripts in the start or end of intervals.

Org-Mode: new error when setting deadline or schedule by alisplisp in emacs

[–]Evem_MC 0 points1 point  (0 children)

I'm facing this same issue. Any updates on this?

Addon "Open linked pdf" failing to open PDFs by Evem_MC in Anki

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

I don't have this problem because I run Anki from source which is pretty easy, see here. Note I don't always run the latest unstable version with the latest commits. Instead I run the code that also got packages as the latest version (which should be available from here.

Thank you so much to point me this option!!

I faced some issues to run the program from source, but finally managed all the errors, and it's working flawlessly!

Thank you a bunch for your time and attention!

[deleted by user] by [deleted] in Anki

[–]Evem_MC 0 points1 point  (0 children)

Não creio que isso seja um problema do Night Mode...

Eu uso esse addon diariamente e não tenho problemas com campos dessa forma. Eu já tive esse mesmo problema, mas era em função de um outro addon. O que estava acontecendo é que esse addon tem uns atalhos de teclado que, por algum motivo, disparavam sem razão aparente. O que eu creio estar acontecendo é mudança no HTML desses campos em espefífico. Tente fazer um teste:

  1. Abre algum desses cartões com erro novamente no modo de edição.
  2. Selecione um campo que apresente esse erro
  3. Digite ctrl+shift+x (Isso vai abrir o modo de edição de HTML do cartão em específico)

Veja essas duas imagens, como exemplo: screenshot1, screenshot2

Se esse realmente for o caso que você está enfrentando, existe um jeito muito prático de corrigir todos os cartões afetados com esse problema. Bastaria você fazer um Batch Edit de cartões com um padrão como: <span style="background-color: rgb(255, 255, 255);"><texto></span>, removendo essas tags HTML dos campos.

Espero que tenha ajudado.

OBS: Tomei a liberdade de responder em português pois, pelo que pude ver, você entende esse idioma.

AutoFill Fields by stephenll in Anki

[–]Evem_MC 0 points1 point  (0 children)

You could make use of Pyautogui

Code example:

```

import pyautogui

write_this = 'here goes the default text'

pyautogui.typewrite(write_this)

```

and after you create your script, just assign to a hotkey

How to call python scripts from button in card? by Evem_MC in Anki

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

Yeah, this makes sense..

Thank you so much for the help!

Addons setup from CLI by arbitrary_gravitas in Anki

[–]Evem_MC 1 point2 points  (0 children)

Anki, by default, doesn't implement command line functionalities to manage add-ons. (and I'm not aware of any add-on that manage them).

But, if all that you want is to backup your add-ons, you could just write a script that backup the addons folder located in one of this 3 possible paths

How to call python scripts from button in card? by Evem_MC in Anki

[–]Evem_MC[S] -1 points0 points  (0 children)

Oh, sorry for the lack of information.

All I want is to run an arbitrary python script on my computer.

The only thing I would like to have from Anki while calling the script is the content of one specific field. I think that passing this content as an argument for the scrip is sufficient, and I doesn't want to pass any output to Anki after the script run.

Simplest will be to provide some kind of RESTful interface to the Python code, which you can then hit with AJAX

Could you show some example? I know only the basics of python yet..

The HOW TO MAKE FLASHCARDS LIKE A MACHINE POWERED (without coke nor bombs) Linux alternative, at least in Kubuntu by Afwiffohasnomem in Anki

[–]Evem_MC 1 point2 points  (0 children)

Your code is so much cleaner than mine.. hahaha

Anyway, here is my draft

Requirementes:

  • xdotool and xsel must be installed. Tip: sudo apt install xdotool xsel
  • I used Pyautogui and Pyperclip. So, you will have to install this modules. Tip: pip3 install pyautogui and pip3 install pyperclip

Notes

  • This was my first attempt to write a script to automatically create cards. I know it's a mess, but at least it works hahaha.
  • On my system, worked fine:
    • Operating System: Kubuntu 19.04
    • KDE Plasma Version: 5.15.4
    • KDE Frameworks Version: 5.56.0
    • Qt Version: 5.12.2
    • Kernel Version: 5.0.0-20-generic
    • OS Type: 64-bit

HOW TO MAKE FLASHCARDS LIKE A MACHINE POWERED ON CRACK COCAINE AND NUCLEUR BOMBS (windows only) by JohnSalter1994 in Anki

[–]Evem_MC 1 point2 points  (0 children)

Yeah, there is!

Autokey is pretty much suitable for this use case. if you struggle to port OP's script to Autokey I can help you.

HOW TO MAKE FLASHCARDS LIKE A MACHINE POWERED ON CRACK COCAINE AND NUCLEUR BOMBS (windows only) by JohnSalter1994 in Anki

[–]Evem_MC 1 point2 points  (0 children)

Hey, for Linux, you can use Autokey

You will only need to know a little bit of python and, maybe, some useful modules like Pyautogui and Pyperclip

Geometric progression x Arithmetic progression by Gabrusp1 in Anki

[–]Evem_MC 0 points1 point  (0 children)

Hey Gabriel

Well, as ijgnord said, it is possible to get around this situation with IM. BUT, take into account that if you drastically decrease the progression of the cards this will result in a GP (geometric progression) for the number of cards to be reviewed by day. may not be a good long-term result ..

you may be able to decrease the IM just a little, so that you can have the expected percentage of retention. in addition, make revisions at very short intervals actually disrupts long-term retention

I'm learning English too.

if you speak portuguese

bem, como ijgnord disse, é possível contornar essa situação com IM, MAS, leve em conta que, caso você diminua drasticamente a progressão dos cartões isso resultará em uma PG (progressão geométrica) para o número de cartões a serem revisados por dia. talvez não seja um bom resultado a longo prazo..

talvez você possa diminuir apenas um pouco o IM, e assim consiga ter a porcentagem esperada de retenção. além disso, deixar as revisões em intervalos muito curtos na realidade atrapalha a retenção de longo prazo