eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

225
active users

#golang

12 posts11 participants2 posts today

TIL: You can have a reference to an unreachable commit in a `go.mod` file and get no warnings or errors in the build process. tl;dr: The build will work until that commit gets GC'd at some point in the future.

Cool story, #golang. Yes, package management is hard. But, come on. You should get a warning from `go mod tidy` if you're pointing to a GC eligible commit. Even if you're vendoring, it's important to know you may be incompatible with upstream in a way that's likely _NOT_ documented since the commit was never merged.

Just created a simple but useful CLI tool based on amazing gh-standup by Sean Goedecke.

It generates commit messages using staged git changes from current repository. It uses free GitHub Models for inference, so you don't need to do any token setup - your existing GitHub CLI token will do!

Again, all props to Sean - I just slightly modified his code for my use case. Hope it will be useful not only for me.

github.com/hazadus/gh-commitms

A GitHub CLI extension for generating an AI-assisted commit message - hazadus/gh-commitmsg
GitHubGitHub - hazadus/gh-commitmsg: A GitHub CLI extension for generating an AI-assisted commit messageA GitHub CLI extension for generating an AI-assisted commit message - hazadus/gh-commitmsg
#git#github#llm

Perhaps I should take some bigger examples of my private programming history. Those are often similar or better than my professional projects using these languages. And then AI should rate #style, #readability and #maintainability, perhaps room for optimization without loosing these criteria. The languages here would be #pascal, #perl, #python, #java, #smalltalk, #erlang and #golang. Should be interesting. And beside the different languages I would expect a reflection of my personal experience.

Replied in thread

@timbray in my previous life I also spent literally decades in J2EE sweatshops (my term, not yours) and, then, the last few years building microservice architectures with #golang and #python. Definitely leaps forward for lots of reasons, some language-related and others performance-related, but my overall takeaway was the reduction in clutter (vis à vis lines of code) and complexity.

prompts

Introducing `prompts`, the latest breakthrough in smoltech AI research. A terminal prompt roulette that will make your panel moderation much more exciting (and cheaper).

git.bleu255.com/prompts/files.

So far `prompts` has been successfully deployed in artistic research panel moderation (true story 🍷). It will be intensively re-trained on a new thematic next week in Brussels to help moderate a digital art panel discussion at @imal for their 25 years anniversary and the launch of the introspective exhibition "I am vertical (but I would rather be horizontal)".

imal.org/en/events/i-am-vertic

doors open at 18:30, starts at 19:00 Tuesday 1st July