All Entries (Page 34)

hopfen-dies-last

Entry created on 2021-08-11 Authors: struki (46) Categories: Reply (1) Languages used: de (90) edit

Hmm?

Manchmal fehlt hier die Kommentarfunktion

Aber ich schätze, wenn es sie gäbe, dann wäre dies hier unser beider Telegchat.

Comment via email

Erinnerungen sind nicht vegan?

Entry created on 2021-08-11 Authors: struki (46) Categories: Exploding (1) Getit? (1) Silly (32) Languages used: de (90) edit

Gerade erst gecheckt, dass Scott Pilgrim & Vergissmeinnicht die gleiche Story sind

Mit gleicher Haarfarbwechselquote -

Comment via email

Hope Dies Last

Entry created on 2021-08-09 Authors: steeph (376) Categories: Hope (1) Thoughts (73) Languages used: en (257) edit

I will never forgive her for doing that to meeveverybody!

Comment via email

ANALYSE

Entry created on 2021-08-02 Authors: Andrea Reinhardt (14) Categories: Gedichte (10) Languages used: de (90) Topics: Poetry (12) edit

küssen ist eigentlich gar nicht so einfach
wann kriege ich schon mal einen wirklich guten kuß?
einen der mich mitreißt, fesselt
einen der sagt "ich will Dich"
oder "ich liebe Dich"
oder einfach nur "komm her
mit Deiner ganzen Seele"
f****** ist da viel einfacher

Copyright 1998 Andrea Reinhardt

Backmatch - A Simple Dual-N-Back-Inspired Performance Task Trainer For Bash

Entry created on 2021-07-31 Authors: steeph (376) Categories: Bash (31) Brain Training (1) Code (31) Computer (78) Scripts (28) Software (53) Languages used: en (257) Topics: Projects → Code → Bash Scripts (23) edit

Here is a script that I wrote as a short side project because I wanted my own n-back trainer. I'm aware that the practical memory improments of n-back training, even when using a proper audiovisual dual n-back trainer, is not as great as it's often said to be. I just wanted to try it and see whether I like the training.

Usage

Execute the script and pass it a number that resembles the difficulty level. For example bash backmatch 3 starts the script with a 3-back task. On your keyboard press the key of the letter that was displayed n letters ago (in this example 3 letters ago). When you press a key the next letter is presented immedietly. If you don't press a key for 3 seconds (the time value can be changed by changing the variable sec) the next letter is presented and you don't get a point for this letter. When you exit the script by pressing ctrl+c your keypresses get compared to what was presented and you get your score.


#!/bin/bash

if [[ ${#} -ge 1 ]] && [[ ${1} =~ ^[0-9]*$ ]]
then
  n=${1}
else
  echo "'${@}' is not a number, is it?"
  exit 1
fi

echo "Ctrl+C pressing is for quitters."
npo=$((n+1))
sec=3

end() {
  echo -en "           \n"
  if [[ ${#str} -ge ${npo} ]]							# If enough characters had been generated
  then
    for i in $(seq $n); do echo -n "-"; done					# offset by $n dashes
    echo ${str}
    echo ${you}
    got=0
    for i in $(seq ${#str})
    do
      [[ ${str:$i:1} == ${you:$((i+n)):1} ]] && got=$((got+1))
    done
    echo -e "\n${got} out of $((${#str}-npo)) correct"
  else
    echo "Not enough data to judge you."
  fi
}

trap end EXIT

while true
do
  str+=$(cat /dev/urandom | tr -dc 'A-Z' | head -c 1)				# Get a random new letter.
  echo -en "\r       \r${str: -1}"						# Print the last character in the string (the new letter).
    read -n 1 -t ${sec} key							# Get a single character input, timeout $sec seconds.
    [[ -n ${key} ]] && you+=${key^^} || you+="-"
    [[ ${key^^} == ${str: -$npo:1} ]] \
      && echo -en "\r       good" \
      || echo -en "\r        bad"						# Check if uppercase input char is the same as the nth char from the back.
done

end

exit 1
Comment via email
Entry created on 2021-07-16 Authors: steeph (376) Categories: Silly (32) Thoughts (73) Work (3) Languages used: de (90) edit

µ-d! Arbeit. µ-d! 🔁

Comment via email

Leben im Konjunktiv

Entry created on 2021-07-16 Authors: Andrea Reinhardt (14) Categories: Gedichte (10) Poetry (9) Languages used: de (90) Topics: Poetry (12) edit

wäre es anders?
wären wir verheiratet
miteinander
nicht mit anderen,
oder würde es uns fehlen
das Spiel mit dem
wenn......

Copyright 1998 Andrea Reinhardt

zu alt

Entry created on 2021-07-10 Authors: Andrea Reinhardt (14) Categories: Gedichte (10) Poetry (9) Languages used: de (90) Topics: Poetry (12) edit

Mußte ich erst soo alt werden
einen Mann kennen lernen, der noch 10 Jahre länger gelebt hat
um festzustellen, daß es das wirklich gibt
wovon die Frauenzeitschriften in ihren
Berichten über Männergruppen schreiben
einen Mann, der über Gefühle sprechen kann?
Eines ist klar:
ein solcher Mann ist unwiderstehlich,
wenn sich das rumspricht,
gibt es für die Frauen,
kein halten mehr.

Copyright 1998 Andrea Reinhardt

Go To Navigation Page
Show/Hide Navigation
Mastodon