Show newer
Alexey :alpine: boosted

I created a little public chat room. It's English only, family friendly and all that. Topic is anything non-controversial, but probably mostly about geeky stuff for obvious reasons.


And why should strings be NUL-terminated in the first place? Wouldn't it be much better to have something like this instead:

struct string {
char *data;
size_t len;

* Getting the length is O(1)
* Easily converted to/from classic "strings"

* Can't be built-in in C (but it mostly is in other languages!)

Show thread

C strings (oh sorry, pointers to char) are a pain...

I need to remove all whitespace from beginning and end of a line, and I couldn't get it working. Simple solution would be just put a NUL byte for all spaces, and then just advance the pointer in-place.

I don't like this way of trashing the memory, and also you would still need to have the old pointer in case you need to free() it.

It just becomes a huge mess, maybe that's now C is supposed to be used. But, are you fine 0'ing useful memory?

Alexey :alpine: boosted

#GMail is harmful to e-mail ecosystem; its antispam blocking policy matches too many valid messages as spam.

It blocked LastPass email leak warning email, because it contained "a link" to a leaked site.

It blocked an e-mail from goverment agency addressed directly to me.

It discriminates all non-gmail servers, and it's pretty much impossible to own a private SMTP server these days, because GMail will classify everything as spam.

It's not how e-mail should work.

Consider dropping GMail.

Alexey :alpine: boosted

Google and Microsoft have really ruined how people use email. Every other person use top posting. It doesn't make any sense whatsoever.

Alexey :alpine: boosted

gamja has been deployed as an experimental IRC client on Libera Chat \o/

🎉 New release: rex 2.0.0

Mainly I was doing some polishing on the documentation side of things, but also now it can print matched lines when you exit, which allows using it as an interactive filer!

Alexey :alpine: boosted

#sway and #sway-devel have been seized by Andrew Lee on Freenode. Don't use them, use Libera Chat instead.

Alexey :alpine: boosted

andrew lee just seized over 700 channels on freenode because they mentioned in their topic.

This includes projects like openbsd, wikimedia, FOSDEM, etc. shows 720 channels that match what is being checked.

here's an example log:

boost this if you care about foss in any way.

Alexey :alpine: boosted

Well, here it is, a CLA giving Muse Group unilateral authority to relicense Audacity with no strings attached:

Quick story of my distro hopping

:windows: -> :debian: -> :ubuntu: -> :kdeneon: -> :ubuntu: -> :archlinux: -> :artix: (soon -> :alpine:)

Alexey :alpine: boosted

"Public notice to the concerned parents of C++ enthusiasts"

submitted by Komi_San

Alexey :alpine: boosted

In the last year, over 85k commits where applied to the #linux #kernel

The kernel #community clearly seems to have an awesome workflow and they scale _extremely_ good.

Alexey :alpine: boosted
Alexey :alpine: boosted

Well, it's time for another one... Oh c'mon, I know you like it:)

If you would be able to choose only one from options below and money isn't an issue, what would it be?

P.S.: as always boost is for you to get a better results;)

For some reason Writefreely wants to hide the RSS feed, it's not put in any obvious place, and the only way for me to find it was just to bruteforce common locations (eg /index.xml, /rss.xml). Eventually I found /feed and added it to the reader.

You should be proud of having an RSS feed, not hide it.

Show older

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.