Giter Club home page Giter Club logo

fla.sh's Introduction

fla.sh's People

Contributors

anntnzrb avatar eriteric avatar gnstaxo avatar jenvigo avatar jsnal avatar kankaristo avatar macxcool avatar shubhamshah14102 avatar tallguyjenks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fla.sh's Issues

user story for not pulling the same card sequentially

This is a nice beginner program to shell scripting, really. Write a script to randomly select lines from a .txt file and pull the answers from the next tab. Really a good idea. Tell it to never select the same line twice, nor to select lines in sequential order.

so have script store and check the last 5 answers and not repeat them

but also have a check for how many cards their are and if below something like 5 dont implement the behavior?

More Anki Like behavior --- Overhaul point system

instead of a point system, utilize date time and actually perform date math to space the repetition of cards.

involves several parts:

  • remove point system
  • insert date time values for records
  • change the menu selections for how many days/times to add to each card (new cards 1,3,5 days etc. while mature cards could be like 7,11,15,20, etc.)
  • Perform date math to have the date time updated with the new increment of time to be added to it
  • institute new logic to take each day, only gather the pool of cards with date times that are in the past from the moment of execution i.e. if now it is 2020-09-23 23:46 then cards from 2020-09-22 13:43 will be gathered
    • from this new pool you still use shuf to shuffle them
    • might need a new value to indicate if the card is new, young, mature, etc. using anki terminology
    • change new space values for each card based on maturity like new cards get options to space it (1,3,5) and young get (3,5,7,11) etc.

Sorting number never updates

I'm always getting the same cards, I checked the deck file add the fourth arguments are still 0. I gave it a time as I though it may be that I was just being anxious, but its been 2 weeks and they are still all in 0.

The only thing I did was add the deck, I don't know if maybe I'm misinterpreting how this works.

My deck contains cyrillic characters, I don't know if that may cause any problems

is there a place where we can swap decks?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

keep track of studying data points

add a log file for each study session with a date stamp so user can see their study habits and display an average cards reviewed number for display in the interface

add hardstop if bash version isnt at least 4.4

add this to fail and inform users of need to update bash:

#*ย Fail if Bash version is below 4.4
bash_version_major=${BASH_VERSINFO[0]}
bash_version_minor=${BASH_VERSINFO[1]}
if [[ "$bash_version_major" -lt 4 ]] || [[ "$bash_version_major" == 4 && "$bash_version_minor" -lt 4 ]]; then
	echo "ERROR: Bash 4.4 or later is required (you are using Bash $bash_version_major.$bash_version_minor)."
	echo "       Consider upgrading your distribution to get a more recent Bash version."
	exit 1
fi

Changing flash card format from CSV

Describe the solution you'd like
Currently I feel like the project is being limited by the use of CSV as its storage format since even when multiple lines can be supported it would be really difficult to read the question. This also limits how much formating the question/answer can have.

Describe alternatives you've considered
Currently I was thinking of something like markdown. I also think making each flash card as a file would make the parsing a lot easier.

Add newline support in question/answer fields

Hi !
It could be great to add the support of multiple lines on the question or answer fields.
For some of my cards, I need to insert a lot of informations.
I tried to add \n in csv fields, but it is not applied by the script.
I also tried to add the -e parameter to the echo commands on the script, but it changes nothing.
Any idea ?

Thanks in advance !

from another repo about OSx dependencies

This script depends on GNU shuf, which comes bundled on any sane Linux distro, but not on OSX. You can install it through Homebrew with brew install coreutils, but then shuf will be installed as gshuf, so you'll need to either alias it (alias shuf='gshuf') or edit the script locally to change the shuf call to gshuf.

travis ci

  • add to travis
  • setup badge
  • add shellcheck to travis build
  • go through shell check for script in depth

implement point system for cards to anki-ize them

utilizing grep and awk to get the lines where they meet an awk condition, find min and max values, take the bottom few or a percent of them (bottom 10%) of cards then shuf them and return to user, recalculate each draw this variety of cards so that the user gets frequent draws of the items they score lowest on so they learn them and then the least familiar items are constantly shuffled into the draw for the user.

also need to add functionality to gather user input on the items difficulty and then implement a way to add the point values to existing lines.

likely heavy use of awk as it was meant for CSV manipulation

Updations in the readme file

@tallguyjenks
Hi ,
There are minute errors and scope of improvements in the first paragraph of the readme that are subtle but vivid.
Can you assign this issue to me?
Otherwise I would mention them here and you can correct it yourself

Slashes (/) will prevent the card from adding up points.

Describe the bug
If you have a slash (/) in a card's answer or question, its points field won't the altered.

To Reproduce
Steps to reproduce the behavior:

  1. Add a card like this to one of your decks:
    Vocabulary:burst out laughing/crying:to suddenly start laughing/crying. I walked in and everyone burst out laughing:0
  2. Start the deck from fla.sh normally.
  3. When the card containing slash shows up, press enter and press 4 or 5.
  4. Exit the program.
  5. Open the deck file.
  6. And so you see the error, the field that's supposed to be 1 or 2 didn't change (it's 0).

Expected behavior
To add up points.

Desktop (please complete the following information):

  • OS: Arch Linux
  • st
  • mksh (tried in bash too)

By filing an issue to this repo, I promise that

  • I have provided the necessary information about my bug report
  • I have downloaded the latest version of this repo and reproduced my issue with the latest version
  • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

cat `--` options illegal on macOS

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Terminal Emulator [e.g. st, kitty, etc]
  • Shell [e.g. bash, zsh, fish]

Additional context
Add any other context about the problem here.


By filing an issue to this repo, I promise that

  • I have provided the necessary information about my bug report
  • I have downloaded the latest version of this repo and reproduced my issue with the latest version
  • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.