Pinned post

Notice: I'm moving to @yyp so please unfollow me there and follow yyp instead.

Notice: I'm moving to @yyp so please unfollow me there and follow yyp instead.

Next time you need to add a newline to a string in shell script, don't use \n. It emits two literal characters: '\' and 'n' (at least in dash).

Instead, you can write a newline in a string directly or use it as a variable for cleaner code:

CR="
"

Github is amazing

<yyp> I can't even read the changes because of this Clippy stuff going on that there's no way to disable
<yyp> Much better: patch-diff.githubusercontent.c

My experiment of writing an IRC client in shell scripts kind of failed.

The biggest issue is storage of command parameters. Arrays can't be used as this is not POSIX, $IFS doesn't work with cut and using \n as a separator failed too.

At that point I was ready to finish the TUI but this params issue was the blocker for later actions.

If anyone knows how to implement this better, please let me know

I don't know why but writing something serious in shell scripts feels like writing code in C. And I quite like the experience so far

Nobody:
Me: it's time to write another IRC client!
After ten minutes: what am I doing with my life?

I should at least 'cargo check' the code before I push to CI!

Emac (verb) - use Emacs or use Emacs-like programs.

Emacs is mostly referred to GNU Emacs.

rant, code tutorials 

Why the hell do so many people think that it's a good idea to slap code snippets into wanky tutorials without indentation? That screenshot is from a flutter tutorial, but 85% of all android tutorial content also suffer from this problem.

Seriously, whenever I see code like this, my eye starts to twitch.

@garritfra All the best for github.com/garritfra/FlutterFl. Excited to see where this goes.

Perhaps one day you make one for #Pixelfed too? 😉

Being a very curious person and a teacher always in the pursue of innovative means to convey the message and to help my students develop their skills and evolve into better human beings has been the drive for my willingness to learn more and explore new ways of doing things.

Since a very early age, around my 12 years of age, when computers started to be a thing in Portugal, I had the luck of being given one by my grandfather. It opened the door for more exploration and new discoveries.

One area that I must confess I'm very fond of is social networking. Another one is communication. Well, social networking is a form of communication. I also like photography very much! And many other things... But, let's not allow this list to grow bigger...

So, my main use of the Internet revolves around communicating with others, whether it is through social networks or any tool that allows the communication with others and also sharing/viewing photography related sites.

My WordPress has been my main anchor on the global network, as well as [Flickr](João Pinheiro | Flickr. I've also jumped on board of Facebook, Instagram and WhatsApp at some point. And I was very active using these tools until I decided that I had had enough of being robbed and exploited! So, I dropped them all at the same time and decided to explore the Internet world! I decided to go back to the true Internet, that Internet where we can use software to do what we want.

So, I started searching and I found that this force that pushes people to live inside the garden walls of #GAFAM blocks the view to the whole world outside. These platforms are designed to create the addiction to their content. They offer some services while stealing so much from us! They endanger societies and restrict our view from the world! They seem to offer freedom while restricting our capacity to use our brains.

In the beginning, software was a tool, a tool to write a document, a tool to send a message, a tool to send an email, a tool to express our opinion and to share ideas, files, a tool to share and search for information, etc.

Today, most software has become a tool to steal data from its users, to create and analyse people's "profiles"! Oh! I almost forgot, they also allow people to write documents, send messages and emails, express our ideas (provided that they don't go against the all powerful), share files and information, etc.

But there's still hope! You can still find many many tools that allow you to do what you need without being spied on, without being stolen and abused every single second and without being the victim of machines that build images of you that don't correspond to your true self.

The world of Free/Libre Open Source Software is the perfect place to start your quest to find the tools that you need to work, communicate with family and friends and share memories, ideas, moments with whomever you choose!

The needs of most people that use smartphones and PCs can be fulfilled by #FLOSS! You can use #Hubzilla, #Friendica, #Diaspora, #Pleroma, #Misskey, #Mastodon, #Write.as, #WordPress, etc., to express your ideas and connect with friends and family through nice interactive blogs; through #Pixelfed and #PeerTube you can share your photos and videos; #Nextcloud and #LibreOffice enable you to share files of all sorts and to process your office documents; and you can use #Dino, #Gajim, #blaber.im, #Element, #Quicksy, #Conversations, all based on the proved XMPP standard, #Briar, #Tox and #Jami to communicate with your family and friends in a private and secure way! You can use #Calibre to organise your eBooks, #Shotwell to organise your photos, #Audacity to record and edit your podcasts, #Shotcut and #OBS Studio to create and edit videos, #Gimp to edit your photos and #Thunderbird and #Tutanota to send and receive emails. And these are only some examples of FLOSS that you can use and support if you want to!

Therefore, dear reader, the power of changing the way we interact with the world around us is really on your hands. On yours and mine. I've made my choices. Some were made long ago. Others more recently.

The point is: If I could change the way I use these marvellous tools in order to protect my privacy and my freedom (and those of my loved ones), therefore helping protecting everybody's freedom, so can you. Are you willing to change? Failing to do so is the way to empower dictators and to see them stealing our freedom of speech from our hands. For how long are you willing to go on cooperating with them?!

As you can see, the true social networking and communicating platforms and other useful and honest tools are still out there! You just have to take your take your stance!

#security #privacy #software #GNULinux #messengers #email #Fediverse #blogs #Internet #computers #PCs #office #music #books #photos
Show older
Mastodon

A newer server operated by the Mastodon gGmbH non-profit