Neuere anzeigen

And that's how it looks like now (I've also added some padding, because I felt the badges were too cramped):

Zeige Konversation

Finally got that weird font metrics bug sorted out. 🥳 Turns out I was using the wrong font height to calculate where the font shall be centered to. Fix is shipping soon in ./badges v2.0.0. But first, I have to see if the library is working as expected with ./badges web.

With the CLI rewritten, the first release candidate of ./badges v2 is ready. Highlights include parameter declaration, stdin/stdout support and simpler CLI invocations. Still TODO: Fixing font metrics, writing a script to generate the generic badges (since batch rendering was dropped) and adapting ./badges web.

With the modifications in library code for ./badges v2 done, now it's time to update the CLI.

A new #blog post appears!

We're beginning a new series, "Let's write a compiler." In part 1, we'll introduce what a compiler is, select a language for our compiler, and do some high-level (no code) planning.

At the end of the series, you will have written a complete compiler from scratch! It won't be the world's fanciest compiler, but it will be correct. And it will be fast! Good for beginners.

#coding #code #program #programming #compiler #compile #compilers

The advantages of #CellBroadcasts in short:

✅ reduced bottlenecks due to high efficiency sending
✅ established standard since 1990
✅ relatively cheap
✅ everyone is warned, even short-term tourists
✅ independent from mobile internet
✅ works even if telephony/SMS/internet is overloaded
✅ no apps required

➡️ Warning apps are a useful *extension*, but not the *basis*. [2/2]

Zeige Konversation

Good #software #documentation is a key to make your work reusable for others and lower the barrier for contributors to join the project.

Join the Codeberg #Docuthon starting today till July 17 and help improve the docs for your project or assist us with the Codeberg Docs.

Read more on the blog:

#FLOSS #Git #Codeberg

Did someone say "interactive badge generation tool"? :ablobcool:
Sources for ./badges web v1.0.0 are now available at
Live deployment coming soon, if everything works out, thanks to the nice folks at @codeberg

./badges web service backend: ✅
It was an interesting challenge to build the entire service using only Go's standard library (+ x/image for the actual badge generator).
Now, all that's missing is a nice GUI and then it'll be ready for deployment :ablobcool:

Are your friends still on #GitHub and other proprietary services?
Tell them about #Codeberg and other free alternatives to monopolistic SaaS solutions - they exist, and they improve with every user who joins them!
#FreeSoftware #UserFreedom

I really would like to provide a GUI for dot-slash-badges though. But I would need to set up and maintain a server for that, which is not really worth it for just that service alone. But maybe @codeberg would be interested in getting a "" tool? 😉

Zeige Konversation

Yesterday, I tried to build a WebAssembly version of dot-slash-badges. While compilation succeeded, the resulting binary had a size of almost 5 MB. That's too much for an application that, for the average user, likely yields far less than 100KB overall output (about 10KB per badge). Unfortunately, it didn't compile with TinyGo. So, it seems, a purely client-side GUI for dot-slash-badges won't be feasible. 🙁

In June, we launched REUSE Booster to share legal advice with #FreeSoftware projects on copyright.

We interviewed Torsten Grote, who stressed the need to Free our #Androids early on.

In The Netherlands, digital autonomy is undermined; meanwhile, demands for Free Software are rising

In our June Newsletter.

Photo: FSFE spot in a non-profit hacker-camp. The Netherlands, 2017.

I have just released KISStokens v0.3.0, a library for handling JWS/JWT authentication tokens, on @codeberg

Version 0.3.0 marks a significant release for KISStokens, as it brings a major
API redesign, including extensive refactorings and the introduction of a
low-level API in addition to the previous high-level API.

Check it out at

With the new API written and the test suite ported over from the old version, implementation of KISStokens v0.3.0 can now begin.

A cloudy sunday - the perfect time for some coding. Today I'll have a look at the API of KISStokens, which is a JWS/JWT library that I wrote. I'm not very happy with the way the API works at the moment, which is, ironically, very non-KISS. So I'll refactor that today.

Ältere anzeigen - Mastodon

Mastodon ist ein soziales Netzwerk. Es basiert auf offenen Web-Protokollen und freier, quelloffener Software. Es ist dezentral (so wie E-Mail!).