Balance
2023-10-07   dejbug.github.io

Balance

Thus to foresee the modification of the hierarchy of strategic factors is nothing other than to be able to define critical positions. — Iossif Dorfman

Lichess

Put this into the URL field of a bookmark and put the bookmark on the toolbar. Click it when you're playing/watching games on Lichess.
javascript:(() => {
    document.querySelectorAll(".time")
        .forEach(e => e.style.display="none");
    document.querySelectorAll(".bar")
        .forEach(e => e.style.backgroundColor="grey")
})()
It will make the board somewhat more distraction-free by removing the redundantly big clocks and dimming the bars. The following will dim the whole page.
javascript:(() => {
    const style = document.body.style;
    style.filter = style.filter ? "" : "brightness(.7)"
})();

Profiles

Instead of their names, I wanted to show a little photo of each player in the seatings view of the still #todo swiss pairer. Since we don't really do photos at our club, I decided to finally jump on the generative AI bandwagon and try to talk up a couple visual approximations in lieu of the actual facial facsimiles. deepai.org But writing prompts is a minor artform. wiki arxiv.org One of our players has a Santa beard so I started with this low hanging fruit. Alas, to sobering results. Once you've said "Santa" it's difficult to get him to wear anything but Santa clothes. "Santa in plaids..." got me nowhere. "Homeless Santa..."? Zilch. It's the full Santa or bust. Could be Santa is a package deal? stablehorde.net gh dbzer0.com deepai.org docs.midjourney.com wiki gh howtogeek.com howtogeek.com howtogeek.com gh gh gh wiki wiki wiki wiki wiki wiki deeplearning.ai gh udacity.com pytorch.org huggingface.co

GNU

In most cases, it is a bad idea to take advantage of this feature. — GCC Manual: "Self-Referential-Macros" gcc:gnu

Interalia

Here's a snapshot of my .gitconfig. Writing comments is the difficult part. So I quit writing them.
[alias]
    a   = add
    aaa = add --all
    s  = status -s -uall
    s- = status -s
#   ....
    ignored      = "ls-files -o"
    ignored-     = "ls-files -o --directory"
    ignored--    = "ls-files -o --directory --no-empty-directory"
    tracked      = "ls-files -c"
#   modified     = "ls-files -m"
    modified     = "! git s  --porcelain | sed -En '/^.[^ ?]/s/.*? (.*)$/\\1/p'"
    modified-    = "! git s- --porcelain | sed -En '/^.[^ ?]/s/.*? (.*)$/\\1/p'"
    re-modified  = "! git s  --porcelain | sed -En '/^[^ ?][^ ?]/s/.*? (.*)$/\\1/p'"
    re-modified- = "! git s- --porcelain | sed -En '/^[^ ?][^ ?]/s/.*? (.*)$/\\1/p'"
    untracked    = "! git s  --porcelain | sed -En '/^[?][?]/s/.*? (.*)$/\\1/p'"
    untracked-   = "! git s- --porcelain | sed -En '/^[?][?]/s/.*? (.*)$/\\1/p'"
    staged       = "! git s  --porcelain | sed -En '/^[^ ?]./s/.*? (.*)$/\\1/p'"
    staged-      = "! git s- --porcelain | sed -En '/^[^ ?]./s/.*? (.*)$/\\1/p'"
    not-staged   = "! git s  --porcelain | sed -En '/^[ ?]./s/.*? (.*)$/\\1/p'"
    not-staged-  = "! git s- --porcelain | sed -En '/^[ ?]./s/.*? (.*)$/\\1/p'"
    su           = untracked    # not tracked, not ignored
    su-          = untracked-   # not tracked, not ignored (compact folder)
    sm           = modified     # modified, not staged
    sm-          = modified-    # modified, not staged (compact folder)
    ss           = staged       # staged, not modified since
    ss-          = staged-      # staged, not modified since (compact folder)
    sr           = re-modified  # staged, modified since
    sr-          = re-modified- # staged, modified since (compact folder)
    sn           = not-staged   # inverse of "ss"
    sn-          = not-staged-  # inverse of "ss-"
# Unstage staged files.
    unstage = "! for f in `git staged`; do git restore --staged -- $f; done"
# Stage all tracked but modified files.
    aa      = "! for f in `git modified`; do git a -- $f; done"
# Stage only the staged files that were modified since.
    aa-     = "! for f in `git mod-staged`; do git a -- $f; done"
    restage = aa-
Please, please! No more! We shall find a shrubbery. — MPatHG sacred-texts.com

Porphyrian Tree

wiki
      all files
            \
         git files
          /     \
   untracked   tracked
        /         \
  ignored         modified
                    \
                    staged
                      \
                      re-modified
🥀
A #stream of bits your life compiles / Substrings of which you call your #files / Subsets of #which you'll #track with git / The world's a stage #you can't commit

bbpPairings-wagi

It will be a minor challenge to remove all exception handling. Maybe longjmp. Using std::optional might not be enough. We might need to fallback on std::pair and some long error code enum in an --include globals.h. But rewriting everything will have the side-effect of getting to fully understand the code, which I wanted to avoid since all I need is a quick tool. I wasn't planning on becoming an expert on this particular subset of the universe. Neither does it's coding style appeal to me, not particularly.

Exceptions

emscripten.org emscripten.org gh webassembly.org dev:moz

Todo

gh pyodide.org pyodide.org pygame So So gh kivy.org gh python-for-android:rtd python-for-android:rtd gh nightly.renpy.org love2d.org love2d.org gh gh gh gh gh gh gh gh gh gh gh gh Android SDK (exactly API 31 for 11.4) Android NDK (exactly version 21.3.6528147 or r21d for 11.4). API Levels developer.android.com gh appimage:gh

You take the high road

gh

Synthaera

Bop - Lucid Dreaming (feat. Elsa Esmeralda) yt Lapalux - Flower yt Shiny Objects - Outerlimits yt Kodak To Graph - Zagroz yt Machinedrum - Infinite Us yt Audiokonstrukte - Dusty Atmosphere yt Trentemoller & Trentemoller - Silver Surfer, Ghost Rider Go !!! (Andrew Weatherall Prinz Mix) yt Martin Sturtzer - Third Planet yt Ascendant - Radiance yt One Arc Degree - Jellyfish Ballet - The Glow Beneath yt Spinnet - Centroid yt
If for one of the players the static balance is negative, he must without hesitation employ dynamic means and be ready to go in for extreme measures. — Iossif Dorfman