Zelphir Kaltstahl

@zelphirkaltstahl
86 Followers
112 Following
936 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

For example the methods at https://www.chessprogramming.org/Flipping_Mirroring_and_Rotating are all working with 8x8 bitboards. There is a note about "generalize":

> A parametrized flip, mirror or reverse (mirror and flip) might be generalized to let the compiler produce mentioned routines with flip or mirror as constant (or template) parameter. Otherwise, without compile time constants, the division at runtime is too expensive.

But no code for the generalized calculation and badly readable code for the 8x8 case, based on U64.

Flipping Mirroring and Rotating - Chessprogramming wiki

On the topic of #bitboards :
I have come across https://www.chessprogramming.org which has hacks to do things with 8x8 bitboards. In one of my blog posts I explain how I used bitboards in an AoC puzzle. It got me thinking, that I would like to write a little library, that supports some more operations like flipping and rotating bitboards. But not only 8x8, as it is not a chess library.

Do you know a well explaining resource about general methods for bitboards of arbitrary sizes?

#programming #coding

Chessprogramming wiki

Had an idea and wrote a little tool to recursively check my website for broken links in #guile: https://codeberg.org/ZelphirKaltstahl/guile-link-checker Glad to have found ... none!

On the way I got some help on the IRC channel solving some issues I already had previously using guile's web client. Now I can also use that from a #guix shell, nicely reproducibly.

#computerprogramming #freesoftware #coding

guile-link-checker

guile-link-checker

Codeberg.org

Wrote a longer blog "Optimizing a Grid Thing" post about my solution for an #adventofcode puzzle from 2024 (day 14, part 1): https://web.xiaolong-hosting.com/blog/post/optimizing-a-grid-thing

#guile #functionalprogramming #bitboard #computerprogramming #coding

Hans-Werner Roitzsch

Personal website of Hans-Werner Roitzsch

Hans-Werner Roitzsch

Jetzt schnell sein! 😃🎉 Am Freitag, 10. Juli steigt das erste Retronom-Turnier in Super Streetfighter 2 Turbo auf dem #SNES! Nur 16 Plätze sind verfügbar, Anmeldung ab HEUTE 17 Uhr unter [email protected]! 📨
Auf geht's! 💪😃 💥

#retronomarcade #supernintendo #streetfighter #retrogames #Retro #retrogaming #gaming #wochenende

OK Linux gurus! I'm quite new to linux, having been using Mint for a few weeks now. Loving it but one thing I haven't been able to fix is the mis-reporting of the battery life. The % charge is fine but the minutes left is aout by afactor of about 10! AI cahtbots haven't been able to solve it for me

#linux #linuxmint

I finally got around to rebuilding my website using #Python #Django and #reStructuredText . It is now allows me to easily write about projects and write blog posts.

One of my biggest and most useful (to me) hobby projects is my language learning tool #xiaolongdictionary . The last couple of days I have written about the tool and its features extensively [1].

I think I will still improve the writing and extend it in the future.

[1]: https://web.xiaolong-hosting.com/projects/project/xiaolong-dictionary

#coding #programming #blog

Hans-Werner Roitzsch

Personal website of Hans-Werner Roitzsch

Hans-Werner Roitzsch

Don’t say Antifa!

Wie Meta den Rechtsstaat und die europäische Medienregulierung herausfordert.

‚Meta hat angekündigt, „Antifa-Inhalte“ auf #Instagram und #Facebook künftig als Risikoinhalte einzustufen, die schneller Gefahr laufen, sanktioniert zu werden.

Damit reiht sich der Konzern in den Kampf der Trump-Regierung gegen „die“ Antifa ein und zeigt erneut, welche direkten Auswirkungen dieser Kampf auf #Deutschland und #Europa hat…..‘

https://verfassungsblog.de/antifa-meta-dsa/

#Antifa #Antifaschismus #Repression #USA #Meta #Trump #socialMedia #Antireport

Don’t say Antifa!

 

Verfassungsblog
Addendum: Now I realized, that there is a version without continuations, that is simpler. Instead of building the continuations, one could write the code so that recursive calls return result values for sub-problems, but also return updated lookup tables (multiple value return) and then first make the recursive call for the first arg to `min` then with the resulting values make the second arg call, and so on. Wondering if there are situations in which only CPS will work as more general approach.

Recently I read a post by some jackhole techbro who wants a default automatic feed algorithm here just like Big Socialâ„¢.

Opening the door for AI bullshit is not even the worst part of this idea.

Folks, all of us here ARE the algorithm. Personal curation is a feature, not a bug.

We make Mastodon awesome by following people and boosting what we find meaningful, significant or just cool. That's how it works.

Let's keep making friends. Let's keep sharing. Let's keep Mastodon alive. Together. 💖