Zelphir Kaltstahl

@zelphirkaltstahl
83 Followers
106 Following
908 Posts

Software developer from Germany.

Computer programming is an endless journey of learning. One never knows it all.

I am interested in computer programming concepts. Often those concepts are associated with specific programming languages or paradigms.

I like free/libre software. All things I code in my free time are free software. Usually I have many projects going on.

#programming #scheme #racket #python #gnu #technology #privacy #guile #emacs

repositorieshttps://notabug.org/ZelphirKaltstahl/
repositorieshttps://codeberg.org/ZelphirKaltstahl
websitehttps://web.xiaolong-hosting.com

I desperately want to switch to Linux but I'm terrified of breaking my computer still. I'm sitting on a GTX 980 and Windows 10 (computer is old and I'm very poor).

EDIT: To clarify, I have used a bootable USB stick before to test Linux Mint. It gave me a good impression but was kinda laggy (10 year old USB ports aren't very fast).

Anyone out there willing to poke me in the right direction?

I am dependent on Discord for friends and Microsoft Teams (no matter how much I hate it) for many job search reasons. #linux #windows

In my #python project #xiaolongdictionary I had need for generating example data. I did not want to add more dependencies for that, so I took some time to create a function, that takes a TypedDict type and a dictionary of "constraints" to constrain the produced values and output a "factory", that can be called and outputs example values.

https://codeberg.org/ZelphirKaltstahl/xiaolong-dictionary/src/commit/9437f974e8f59a77e0052d26ee6cc10641052313/test/factories.py

It does not cover all the cases that one could imagine, but seems to cover all of mine.

#test #pytest #factory #programming #coding

xiaolong-dictionary/test/factories.py at 9437f974e8f59a77e0052d26ee6cc10641052313

xiaolong-dictionary - Xiaolong Dictionary — A GUI application to help you learn vocabulary of (probably) any language. It is written in Python using tkinter, and runs on GNU/Linux, Windows, and probably also MacOS.

Codeberg.org

So it's not based on standard type hints. Pydantic is a huge dependency. If they are advertising for the user to do things with standard type hints, then I don't understand it either: You get pydantic through the rear, as a dependency of FastAPI and I can use standard type hints by default, if I am not doing something very bad. What is the positive point here?

Compare that with Falcon, which has zero dependencies.

#python #falcon #fastapi

[2/2]

I just took a look at FastAPI and what all the hype is about. Having used API frameworks like Falcon before, I was wondering, what does it do more or different. Apparently one gets Swagger API docs out of the box and that's it. Then I took a look at the git repo and readme. It states: "FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints." -- But in its dependencies is pydantic ... [1/2]

Der deutsche Staat möchte Airline-Konzernen die biometrischen Passdaten von Fluggästen übergeben. Beworben wird das ganze mit einer Zeitersparnis beim Reisen, die sich allerdings als minimal erweist.

"Bisher ist die Verarbeitung dieser verpflichtend erhobenen Daten ausschließlich der Polizei sowie Pass- und Meldebehörden vorbehalten. Mit dem Vorstoß würde erstmals die Privatwirtschaft Zugriff auf diese Informationen erhalten. Das Verfahren sieht vor, dass Fluggäste vor Ort fotografiert und biometrisch erfasst werden, woraufhin die Airline einen Abgleich mit dem im Pass gespeicherten Bild vornimmt."

Auch mit den digitalen Identitäten wie der EUDI wollen Staaten die privatwirtschaftlichen Zugriff auf biometrische und andere private Daten der Bevölkerung aus profitorientierten Gründen weiter ermöglichen.

https://www.golem.de/news/biometrie-daten-airlines-sollen-zugriff-auf-pass-chips-erhalten-2603-206936.html

#Überwachung #Biometrie #Deutschland #Reisen #Grenze #Kapitalismus #Antireport

Biometrie-Daten: Airlines sollen Zugriff auf Pass-Chips erhalten - Golem.de

Die Bundesregierung will privaten Fluglinien erlauben, biometrische Fotos von RFID-Chips im Ausweis auszulesen - für eine Minute Zeitersparnis.

Golem.de
Indian film board blocks release of Oscar-nominated Gaza drama The Voice of Hind Rajab

Distributor says authorities warned screening Tunisian film-maker Kaouther Ben Hania’s docudrama could harm India–Israel relations

The Guardian

The newest improvement in my language learning tool #xiaolongdictionary is, that one can now comfortably enter special characters, that one might not have as keys on standard keyboard layouts. Since I use it to learn #mandarin / #chinese and I use US keyboard layout, those special characters are the pīnyīn vowels with diacritics.

This looks as shown in [1].

Currently, the shortcut is `ctrl+i`, "i" for "insert". The special chars can be configured in the config file.

#python #tkinter #coding

Just created a new release of my language learning tool #xiaolongdictionary [1] packing a massive improvement of usability for non-technical users. The change list can be found in the release notes as well. Most of the improvements are about exposing functionality for creating and editing words via the UI. Actions that previously only could be done by editing text files.

#computerprogramming #code #codeberg #coding #python #tkinter #language #learn #freesoftware

[1]: https://codeberg.org/ZelphirKaltstahl/xiaolong-dictionary/releases/tag/v0.6.0

v0.6.0 - ZelphirKaltstahl/xiaolong-dictionary

# Changes This release packs a lot of new features, that make it easier for non-technical users to use Xiaolong Dictionary to create and manage their vocabulary. Previously, some of the now available features were only possible to perform manually, by editing the vocabulary file. Furthermore, ...

Codeberg.org

I wrote a little program in GNU #guile for renaming files in the directory of the program[1].

The idea of that script is to remove all special characters and remove diacritics (marks above letters). It is kind of opinionated, because as it is now, it should leave diacritics of Pinyin intact. This is because I learn Mandarin and want diacritics of Pinyin to be kept. But you could very easily adapt the code to not keep those.

#computerprogramming #coding #scheme

[1]: https://codeberg.org/ZelphirKaltstahl/renamer-script

renamer-script

This repository contains a script for renaming files.

Codeberg.org

I released 2 new versions[1] (v0.5.0 and v0.5.1) of my #xiaolongdictionary language/vocabulary learning software today, with new features and improvements.

One new feature is, that one can now plot progress and daily training of words for any search result, as well as result of saved search.

Another is the main window status bar.

An accessibility improvement is behavior of tabbing through widgets in the main window.

[1]: https://codeberg.org/ZelphirKaltstahl/xiaolong-dictionary/releases

#python #tkinter #tk #programming #release

xiaolong-dictionary

Xiaolong Dictionary — A GUI application to help you learn vocabulary of (probably) any language. It is written in Python using tkinter, and runs on GNU/Linux, Windows, and probably also MacOS.

Codeberg.org