Programming Leftovers
-
Game of Trees 0.92 released
Version 0.92 of Game of Trees has been released (and the port updated): [...]
-
Go 1.22's (likely) new reflect.TypeFor() generic function
I'm always interested to see what the Go developers are doing with generic types in the standard library. One such development I've noticed recently is a new generic function in the 'reflect' package, reflect.TypeFor(); this will likely appear as part of Go 1.22. What TypeFor() does is relatively straightforward; it returns the reflect.Type of its type, which you can then use either for further reflection or to compare it to some other type (which you will likely have obtained through reflection).
-
Brainstorming a syntax for a word usage query language
This weekend I experimented with using word surprisals -- given a corpus of text, how "surprising" is it that a given word appears -- for text prediction. I ended up with a neat context-aware autocomplete tool that, given a blog post, will recommend how to complete a word. I made a user interface that lets you press the tab key to accept a suggestion.
-
12 Best Media Server Software for Linux in 2023
A media server is simply a specialized file server or computer system for storing media (digital videos/movies, audio/music, and images) that can be accessed over a network.
In order to set up a media server, you need computer hardware (or perhaps a cloud server) as well as software that enables you to organize your media files and makes it easier to stream and/or share them with friends and family.