serhii.net
In the middle of the desert you can say anything you want
Home page
Blog
Work log
Journal
Link blog
Projects
About
tags: Zc/It
Git ignoring files local-only without gitignore
GPT4 is much better than gpt 4o
git-sizer analyses local git repos for problems
Yay better/faster compression algos
yay don't ask for confirmation + the `yes` command to answer prompts
Google My Maps for shared maps
Black unstable features
mypy notes
Setting up pylint as external tool in pycharm
VTK and ITK etc
File is not reserved in python anymore
flake8 and docstrings
3D Slicer reloading a scriptedCLI module
Developing a 3D Slicer extension
3dslicer extension deployment options
rsync on file changes with inotifywatch
Boltctl monitor exists
Quarto CSS grid to better position absolute elements
Quarto vertical align one last time
quarto positioning SVG absolute
You can enter svg code as html and animate graphviz like this
leaderline.js in a neat library to draw arrows between HTML elements
Animating plots in quarto
Quarto sizes of graphviz etc figures
Git config commentchar for commits starting with hash
Notes on annotating nii 3d files
First python 3d slicer interactions
Notes on 3d-slicer
Animating diagrams and graphs in quarto
Hovercode is the best QR code generator, DDG second
Notes on GraphViz
Notes in converting PPTX powerpoint presentations to quarto markdown reveal
Cropping PDF files with Latex and inkscape
Dia is dead, alternatives
Kitty close terminal window
Dowgrading AUR packages to an older version in arch using yay cache and pacman pinning
More quarto reveal presentation notes for lecture slides
Ways to add CSS to a Quarto reveal presentation
Downloading single directories from GitHub repo
MRI Medical imaging benchmark datasets
NII MRI annotation tools
Arch cron
Fish adventures in noglob, calculators and expressions
PDF forms in Linux
Fish shell bits
Previewing quarto websites locally
Quarto --no-clean creates html.md files and errors
Quarto error title.trim() is not a function in qmd front-matter YAML
Quarto multilanguage website
EJS comments
Quarto publications page and adding anchors
Arch linux xlock before suspend service
DDG feeling lucky custom search engine in qutebrowser
Screenshots in qtile with maim
Most minimal CSL citation style
And back to exporting obsidian to hugo
Quarto multilingual website options
Quarto website creation notes
New Linux install notes
Inkscape bullet points
NII files
Hack for quarto roughnotation and speaker view
Inkscape not exporting to PDF after crash
Inkscape poster video notes
More inkscape bits learned doing posters
Presentations with Quarto and Reveal.js
Better Posters notes
Latex footnotes in descriptions don't work
Zathura is awesome
Footnotes inside table latex
Latex centering wide tables
i.e. and e.g. and commas
Insights on my writing with Grammarly
CLI webservice for easy sharing of files via curl
Latex automated title case in titles
Seaborn barplot ordering gotcha
In LaTex you can put multiple labels to the same object
Latex margin notes
Latex quotations
Masterarbeit final checklist
More latex tricks for spacing and references
Latex trivial TODO command
Locally debugging Huggingface Dataset scripts
Huggingface Hub prefers zip archives because they support streaming
Latex has paragraphs and subparagraphs
Things I'll do different next time when creating datasets
Huggingface dataset build configs
JSONL to JSON conversion with jq
python random sample vs random choices
DBnary is a cool place I should look into further
Huggingface Hub full dataset card metadata
LMentry improving words and sentences by frequency
CBT Task filtering instructions (Masterarbeit)
Pandas adding prefix to columns and making metadata out of column subsets
Rancher setting up gitlab registry secrets
Spacy has both Token.lemma_ and Token.norm_
rich inspect
Sorting Ukrainian words in Python
Spacy has an attribute_ruler to force specific changes in matches
CBT Story correction instructions (Masterarbeit)
Evaluating Google Gemini models in lm-eval harness for Masterarbeit
CBT Story proofreading for Masterarbeit
Human baselines creation for Masterarbeit
Using Google Bard to generate CBT stories for Masterarbeit
Formatting floats as strings inside a list comprehension
pytest approx as almostequal
Connecting to a Rancher pod with kubectl terminal
Setup for Dockerfiles where you can look around before running
Dive for looking inside docker images
LLM playgrounds online
Poetry installing packages as -e ditable
Dumping pretty cyrillic UTF YAML and JSON files
Promptsource
Writing evaluation code for my Masterarbeit
Uninstalling garbage from my android phone
What I learned about Google Sync of apps and F-Droid
Pre-factory-reset checklist for my Android phone
UA-CBT story generation Masterarbeit notes
I am not forced to do dict.items() all the time
New vim and jupyterlab insert mode mappings
RU interference masterarbeit task embeddings mapping
Things I'll do differently for my next thesis
A quick historical primer on the Ukrainian language
Latex algorithms bits
LaTeX best practices and compression
Rounding rules and notations
Yet another jupyter pandas template thing
More adventures plotting geodata
Notes in creating a tale motif ontology for my Masterarbeit
Converting markdown thesis to pdf and stuff
Ideas for annotating glosses in my Masterarbeit
Markdown collaboration tools
Text representation of graphs with graphviz
Glosses markdown magic
Perceptual image hashes
GBIF iNaturalist plantNet duplicates
Obsidian has an Outline core plugin
Poetry add spacy model to requirements
Hierarchical tree list of running processes in linux
Asking ChatGPT to make its own prompts is a superpower
Masterarbeit benchmark task for Russian-Ukrainian interference
Ukrainska Pravda dataset
Backing up a wordpress installation with wp-cli
poetry running scripts after building python package
Pytest logging output through CLI
Tenacity: a retrying library for python
GBIF API bits
Notes to self and lessons learned, OOP and programming in general
Python filtering logging logs and warnings
requests and urllib333 exceptions adventures
You can add notes to exceptions
Overengineered solution to retrying and exceptions in python
Latex floating figures with wrapfig
Notes from paper review
Overleaf moving or copying projects
Overleaf plugins
Zotero pinning citation keys and Overleaf export
Masterarbeit evaluation task new UA grammar and feminitives
Masterarbeit eval task LMentry-static-UA
How to read and write a paper according to hackernews
Pip can easily install packages from github
Passing booleans to python argparse as str
pytest and lru_cache
Rancher secrets and config maps
Krita awesomeness
'Roter Faden'
Export all papers of an author from Google Scholar to BibTex
python progressbar2
llm python module for CLI llm or chatGPT use
ChatGPT is awesome to generate dummy data!
Wowchemy basics
Master thesis task CBT
Tqdm and logging
Speedtest-cli and cloudflare's cooler alternative
tqdm for iterators with known lengths; manual updating
Overleaf zooming in in the PDF
poetry add version requirements
poetry and pyenv
python library for parsing human dates dateparser
Custom ordering-sorting in pandas
Jupyterlab can have side-by-side tabs
Adventures in UTF8
Masterarbeit Tagebuch
My current workflow for Zotero + Obsidian citations
Pandas json_normalize to parse list/dict into pandas thing
Masterarbeit evalUAtion logo ideas
Pandas aggregation with multiple columns and/or functions
Pandas formatting, suppressing scientific notation and display()-ing stuff
Matplotlib extend limits to fit text
Removing Gitlab tasks from issues thorugh search filter
~~My own evaluation harness for Masterarbeit notes~~ eval harnesses notes
Masterarbeit toread stack
Meta about writing a Masterarbeit
Python self type
Useful literature for Masterarbeit
Ideas for Ukrainian LM eval tasks
LM Benchmarks notes
MASTERARBEIT (Master thesis) DRAFT
Random side quests about the Masterarbeit
Very first notes on my Master thesis - Evaluation benchmark for DE-UA text
seaborn label bars in histogram plot
German NLP resources
Latex print or not the entire bibliography from a file
Latex page-breaks
Everything I know about saving plots in matplotlib, seaborn, plotly, as PNG and vector PDF/EPS etc.
Vaex iterate through groups
Overleaf bits
Zotero web version for better tabs + split view
OSM data sources
GBIF data analysis
Timing stuff in jupyter
Using a virtual environment inside jupyter
Vaex as faster pandas alternative
You can add underscores to numbers in Python
Docker unbuffered python output to read logs live
jupyter notebook, lab etc. installing extensions magic, paths etc.
pip force reinstall
Dia save antialiased PNG
Useful writing cliches
Radar plots
Google spreadsheets basics and conditional formatting
Plant datasets taxonomy prep
Seaborn matplotlib labeling data points
Black for jupyter notebook
Pandas seaborn pretty correlation code
Seaborn how-to guide
Seaborn distributions and KDE plots
Huggingface datasets can become pandas dataframes
More matplotlib color fun with cycler package
matplotlib datetime axes indexing
Pandas categorical types weirdness
Pandas joining and merging tables
Pandas seaborn plotting groupby can be used without reset_index
Pandas set column value based on (incl.groupby) filter
Pie Charts Considered Harmful
Seaborn setting titles and stuff through matplotlib's axis .set() function
seaborn things built on FacetGrid for easy multiple plots
jupyter pandas interactive tables
Pandas add colums to dataframe based on dictionary inside a column
Plants paper notes
Zotero and Obsidian
Zotero basics and group syncing
Gitstats for git project statistics
Python 3.10 has a case statement
pycharm reformat file
Obsidian hide specific tag from graph view
Pandas and jupyter basics I keep looking for: display all rows/cols and make cells 100% wide
Seaborn basics
seaborn plotting pandas pd.Timedeltas
pandas drop non-numeric rows
Sorting lines in vim
Black failing with error about safe mode
vim iskeyword to change definition of what is a word
CLI preserve colored output by making programs think they are running interactively
Latex recap
Make files downloadable in an Apache webserver and HTML
Python collections, typing etc.
Gitlab container registries etc.
Re-running commands with fc
Running scripts in linux without chmod-ding them
Latex adding Inputs and Outputs to an algorithmsx environment
M paper bits
Detecting letters with Fourier transforms
My link wiki's rebirth into Hugo, final write-up
matplotlib labeling pie-charts
Notes after writing a paper
json diff with jq, also: side-by-side output
micro is a simple single-file CLI text editor
xlsxgrep for grepping inside xls files
Rancher and kubernetes, the very basics
Things I learned at a hackathon^W onsite working sessionâ„¢
Cleaning printer printheads
git diff to find differences in file between revisions
Python Callable Protocols for complex Callable typing
Python ellipsis (...)
Python state machine
Gitlab has a git graph
pytest skipif
Windows has case-insensitive filenames and using fnmatch for not-filenames fails
Git commit empty directories
pyenv basics
Anki Image Occlusion extension
Small update to my keyboard layout
Eight-level keys
List of all xkbmap configuration options
LaTex and IEEE garden
pandoc standalone option
Knuth et al. and others on writing style in mathematics
Philosophy of your should be able to fix it yourself
Untitled
Docker using custom Dockerfile name
Interesting blog with explanations of ML stuff
Sparse language models are a thing
Redis basics
Gitlab code review works better inside merge requests, not commits
Google scholar automatically shows new papers
LM paper notes
NN basics and resources
Enums in python - set by name and value
HF token-classification pipeline prediction text
pytorch dataloaders and friends
Python raise_or_log function
frp proxy using docker (-compose)
self-hosting with docker compose resources
Using cloudflared tunnels as proxy in docker
You can use screen or tmux for your normal editing things
Burn iso onto usb with dd
Debian linux install hangs on configuring network + debugging linux install issues
Python blending abstractmethod and staticmethod (or other decorators)
Python typing annotating functions and callables
Vaultwarden Bitwarden Yunohost creation procedure
Yunohost command log display share UX
Yunohost let's encrypt certbot manual certificate process
Yunohost UX show read articles
Make incoming pings visible
OpenSSH version
Options to access a host from behind NAT and firewall
Ping with timestamp
Router in repeater mode
Python path .resolve() doesn't expand ~, only .. and symlinks!
jq iterate through key names with to_entries
Python logging filters
Python logging to file and screen with different loglevels
Pycharm ideavimrc adding closing and reopening tabs
Python @property decorator
Python logging change level through context manager
Python pattern fail on multiple conditions
Gimp open PDFs to clean them
Python pathlib Path check if directory is empty
Omegaconf and python configs
Setting up again Nextcloud, dav, freshRSS sync etc. for Android phone
Taskwarrior better use of default values
Spacy custom tokenizer rules
Pycharm shelf and changelists and 'Unshelve silently'
Python fnmatch glob invalid expressions
Running modules with pdbpp in python
Huggingface utils ExplicitEnum python bits
Creating representative test sets
Pycharm pytest logging settings
Python sorted sorting with multiple keys
Huggingface datasets set_transform
Slurm pyxis using a docker
Huggingface dataset analysis tool
Inter-annotator agreement (IAA) metrics
Python dataclass libraries, pydantic and dataclass-wizard
Python typing classmethods return type
Python for..else syntax
Python interval libraries
Python str lower bug - callable function vs function return value
Dataset files structure Huggingface recommendations
Python argparse pass multiple values for argument
Python set operations
Docker cleaning up everything
Slurm blues
Slurm jobs crash due to OOM
Pycharm code code completion suggestions and references
Huggingface Datasets metadata
Directory structure for python research-y projects
Python unpacking operator to get list of dictionary keys from dict_keys
Pycharm drop into the debugger on failed tests
Pytest fixtures that yield instead of return for better cleanup code
Docker adventures
Disable mouse while typing blues part N
Telegram Desktop official bindings keyboard shortcuts
pytest-print to print strings when running pytests
Python parse library that's the opposite of formatted strings
Linux toggle touchpad
qtile lazy functions
qtile logging
Three libraries for explaining/inspecting/debugging/diagnosing ML
Qtile replacing countdown-notification mechanism
Plotly updating graphs
git delete branch; git delete commit
Huggingface HF Custom NER with BERT: tokenizing, aligning tokens, etc.
Debugging general linux problems + listing files by modification date
inxi for getting basic info about a system
Linux changing password delay
Noise cancelling and pipewire
git bisect
HF datasets intro google colab
pycharm nagging me about TODOs before committing might actually be useful
python sanitizing filenames with external library
python defaultdict
Using pytest markers in pycharm
Python add duplicate function names for backwards compatibility
pytest temporary files
Pycharm explicitly calling breakpoint() during debugging
Python running modules inside modules from CLI
Pycharm use requirements.txt
Streamlit for small python demos
Use tqdm only if the list is large
Gitlab 'you cannot push commits for ..' error
google colab can download .py files preserving the comments
Hugo better summary code
Linux CLI find out where disk space went
Git HTTPS save credentials in plain text
argparse does prefix matching
pytest sharing data between test files through pytest.configure
Spacy is neat
Taskwarrior can have lower-case tags
Git adding another remote
python asserts
python run pdb on exception
python walrus operators for debugging and output
linux pkill autocompletes only running processes
Personal script directory
timewarrior lengthening last task to now through a hint; representing dates
Adding output of a shell script to qtile statusbar
Fn+Esc turns on FnLock function keys on my Thinkpad
Hugo sorting posts by filename
qtile open directory using the default file browser
qtile-i3-awesomeWM warning on low battery level
taskwarrior getting currently active task
Fix for pycharm being slow
Notes about IBM Lotus Notes password prompt
FUNSD dataset with annotated forms
Setting up pycharm for poetry, black etc.
Taskwarrior python bindings
Basics of NLP and Language modeling course / explorable
Obsidian show trailing spaces in editor through custom CSS
Hugo use page permalinks to map Days from different folders to the same section in URL
jq return raw values without quotes
taskwarrior modify tasks' hierarchical project names using taskwarrior filters and export
zsh and bash iterate for each line in command or in file
pytest fixture to make pytest-datafiles return a pathlib.Path
pytest use conftest.py to run python code before the tests
Using pytest-datafiles for assets in pytest
Easier python logging setup with argparse's 'dest' parameter
Git and execution of shell commands
Python package import patterns link + __init__ stuff
Changing screen brightness on linux, on hardware and software level
poetry pytest takes too long to collect + tell it to ignore certain directories
python logging explanation of the relationship between root logger and submodule ones
gitlab creating branch from Issue
Order of directories inside a python project
python pdb stops on keyboard interrupt
installing noisetorch on Mint with permissions and setuid and CAP_SYS_RESOURCE
vnstat for monitoring traffic
pdppp instead of pdb and ipdb for python debugging
Python expanding a list by assigning multiple elements to a slice
First use of python 3.8 walrus operator!
kitty terminal size issues
python None in slice notation
representing empty strings in ini files
vim automatically use the last search in search and replace
mypy disabling individual warnings
nvim
Python best practices for 2021
Python click getting default values from config file
Python dotenv and python-decouple to separate configs from code
Blues in setting qutebrowser as default browser
Making a script into an application
Obsidian illegal names don't allow sync
Exporting Pycharm settings
Port forwarding through ssh config
Screen tips
sshfs configs
When backing stuff up, check if there are any symlinks!
Inverted index
IPDB move through individual frames
IPython
pycharm already running fix
Python Union typing
Git sparse checkout
Options for adding search to Hugo
python import this
Python pytest workshop part 2
Convert nested OrderedDicts into dict
Getting screenshots to work in qtile
qtile scripting through callables; switching to specific layout
Restarting qtile when you mess up config file
211209-1354 Python testing basics with poetry and pytest
Adding a new WM to startup with GDM
211208-1509 qtile WM first impressions
211207-1822 Three ways to return None in python
211207-2031 Obsidian starring a search
Obsidian embedding parts of other document
211206-0353 Python multiline regexes
Advanced search in Obsidian
211203-1523 Bitbucket open branch files from PR or commit
211203-1941 Obsidian link to headers and internal blocks
211203-2305 New obsidian Templates + hotkeys for Garden (IT, RL) and personal notes
211202-0008 Hugo and HTML anchors
211201-1637 mypy and python typing
211130-1751 git rebase on branch vs origin-branch + git fetch
211130-1925 providing user and pass to wget through teamcity
211129-0023 obsidian console
211128-2120 simple-scan for scanning
211126-1301 pycharm pinning tabs
211124-1731 python logging setup
211124-1744 argparse notes
211123-1558 nix data science overlay
211123-2122 obsidian undeleting files
211123-2333 python scopes
211123-2345 python packaging
211123-2348 poetry for package management
211122-0256 quickly forming an URI in markdown
211122-0905 detectron Instances initialization
211121-2123 git undoing git add unstaging files
211121-2137 replace a string in all files recursively
211121-2201 vim opening more than 10 tabs
211118-0024 python namedtuple
211118-1832 mob programming and mob review
211117-1127 python simple TTL time-based caching
211117-1251 etcher is a program to burn ISOs on usb drives
211117-1304 delete all empty files in folder
211117-1309 obsidian plugin footnote shortcut
211117-1415 Pycharm / intellij reopen closed tab + current keymap
211117-1803 pycharm debugging scrolling
211117-1926 python staticmethods and self
211117-2107 added sort by size alias
211117-2112 df for current filesystem or speficied file
211117-2327 python annotating number of elements in Tuple, Sequence, List in typing
211110-1520 Historical document processing, dhSegment
211109-1539 Git tracks executable bit of files
211108-1203 RabbitMQ
211108-1212 nvidia-smi has a python library (bindings)
211108-1246 Hugo groupBy to group stuff by days
211108-1316 Syntax highlight of Hugo templates in code listings
211108-1405 Hugo create shortcode or template for Day
211103-1811 Handwriting text generation GAN by Amazon
211102-0111 python defining own types for typing
211102-1811 python pip and wheel
211101-2011 Git reset types
211101-2111 bash - Find the size of all files of a certain type
211101-2211 NixOS and nix
211101-2311 git push all local branches to remote or to different branch
211028-1110 Python staticmethod vs classmethod
211020-1410 ML starter kit resources website
YAML Norway issues
211018-1510 Python rounding behaviour