like this
reshared this
like this
reshared this
Development is not something that one finishes learning. As it is with most academia, learning in general is not something we ever finish. We just keep building onto our knowledge base and sometimes refactoring our knowledge to meet new ideologies and principles. With that said there are many great books that teach us valuable skills though they were written 5 to 10 years ago and their tool chains are outdated by today's standard. Sometimes the changes are mild enough for us to still work with the book despite the older tool chains. Sometimes the changes are so radical that it is more work to try to adapt the source to our modern tool chains then to just get a different resource. Though, not all books are of the same quality. So when you find a good one it is nice to use that book. Learn the techniques and then worry about adapting those techniques to a modern tool chain once they are fully understood.
In this day and age this challenge has never been easier for a developer to overcome. I am a Fedora user so I use podman in these examples though you could just as easily use docker if you feel it necessary to do so. Okay, so we are looking at the Packt book 'C++ Programming for Linux Systems: Create robust enterprise software for Linux and Unix-based operating systems' Upon examining the introduction we realize that the book is showing its age and the authors used Mint 21 with the gcc 12.x tool chain. Yeah, that is a bit old for today's standards though still completely usable. There is nothing taught in the book that will not be valuable by today's standards. Yet trying to work with the books source on a modern system could be a challenge one does not wish to accept while learning the material. Our solution? Build an OCI container with the author's suggested tool chain installed so that we know the book source should build without issues.
It is a good DevOP practice to setup containers for development in any case. So we can effectively reduce the 'It worked on my machine' phenomenon. So let us setup a Container for our book. First you should navigate to the books source code, in this case it is on GitHub, and clone it to a directory on your system. We are going to reference this directly in our Container so we will want it prepared before we begin. For our book in this example the source is here.
Okay, we have the source ready in a directory so let us build a container for working with the book source code! The following is a Containerfile (which can also be named Dockerfile as podman will accept either).Containerfile
# Use the official standalone Linux Mint 21 base runtime image
FROM docker.io/linuxmintd/mint21-amd64:latest
# Prevent interactive prompts during package installations
ENV DEBIAN_FRONTEND=noninteractive
# Update repository lists and install the explicit GCC 12 toolchain and utilities
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
gcc-12 \
g++-12 \
make \
git \
gdb \
valgrind \
sudo \
&& echo "developer ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers \
&& rm -rf /var/lib/apt/lists/*
# Link system compiler targets explicitly to the version 12 toolchain
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
# Create a non-root development user matching standard Linux host UID 1000
RUN useradd -m -u 1000 -s /bin/bash developer
# Establish the persistent volume target folder
WORKDIR /workspace
RUN chown developer:developer /workspace
# Relinquish root execution and switch permanently to the non-root profile
USER developer
# Set the default shell behavior
CMD ["/bin/bash"]podman build -t mint21-gcc12-env .podman run -it --name mint21-book-dev \
-v /path/to/your/local/book-code:/workspace:Z \
mint21-gcc12-env/path/to/your/local/book-code with the path to the directory that you cloned the repository to. The :Z in the bind mount line is used by SELinux (Or other LSM ACL provider), if your system does not use SELinux (Or other LSM ACL provider) or you do not have it in enforcing mode then you can skip that attribute.We now have a fully provisioned OCI container that can be used with either podman or docker to provide the tool chain our book uses. This will allow us to focus on the content of the book rather than adapting code examples to our tool chain. That is a project we can work on after the concepts in the book are properly understood. If you would like to learn more about building your own containers for your development needs then I highly recommend the book Podman for DevOps
Unus Nemo
like this
reshared this
I have upgraded the Instance to the most recent version of Friendica. I had to disable the Smiley Button addon due to it not playing nice.
I had hopes that this upgrade would fix the image upload issues that have been a nuisance though the JS_Uploader addon that I disabled last upgrade still is not working properly so it remains disabled.
I have enabled the QuickPhoto and QuickComment addons. We will see how well they work. I also turned the StartPage addon back on as it became functional again.
Unus Nemo
like this
like this
reshared this
like this
reshared this
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Yes, this medium is compliant with this ideology.
1) You share only what you choose to and nothing else. At most an Instance will require an e-mail to verify you though that e-mail does not need to tie you to an actually identity.
2) There is no centralized control structure. Every Instance on the Fediverse is controlled only by their administrator(s).
3) Algorithm on the Fediverse (and yes they exist as that is a natural part of software development and not something evil) are geared toward showing you more of what you interact with. You choose what gets prioritized by what you ignore or respond to. Not by an algorithm designed to show you promoted content that the centralized structure wants you to see.
I cannot tell you that there is no tracking on the Fediverse, because no one person or agency controls the content of the Fediverse. There are tracking bots that point out tracking urls on a regular basis but those bots are limited in scope to the parts of the Fediverse their Instance federates with. Though that tracking is not an internal feature of the Fediverse it is the link placed on the post.
I administrate a Friendica Instance and there is nothing I have seen thus far in the code base that indicates any type of tracking. Though I do not have time to audit the code base of ever possible type of Fediverse network server type. I am sure there are those that do. To that point one of the Fediverse's values has always been anonymity if you choose it. You share only what you choose to share.
If you noted the GPS coordinates in my shares on other posts you might be lead to believe that is tracking. Well, not really, it tells you to coordinates of the Data Center that hosts my Virtual Private Server (VPS) not my location. This would be the same location that would be attributed to any user on my Instance. So the only information it shares is where my VPS is located not anything personal about anyone using the Instance. I could block this though the propagation of this information helps to fine tune the Fediverse so I see no compelling reason to do so.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
like this
reshared this
Script Kiddie likes this.
WERE YOU AWARE THAT HITLER WAS "ELECTED" in a German Democracy?
Elections were held in Germany on 5 March 1933, after the Nazi seizure of power. The election saw Nazi stormtroopers unleash a widespread campaign of violence against the Communist Party (KPD), left-wingers, and the Social Democratic Party. They were the last multi-party elections in a united Germany until the all-German vote in 1990.
The 1933 election followed the previous year's two elections and Hitler's appointment as Chancellor. In the months before the 1933 election, Hitler displayed "terror, repression and propaganda ... across the land", and Nazi organizations "monitored" the vote process. In the German state of Prussia, 50,000 members of the SS, SA and Der Stahlhelm were ordered to monitor the votes by acting Interior Minister Hermann Göring, as auxiliary police.
Please tell me that what Trump is doing was not done less than 100 years ago by Hitler!
I love Open Source. It frees you to fix issues and not just file bug reports and hope someone fixes the problem that is keeping you from being productive. I recently installed Eloquent proofreader from flathub to help with some tasks. Well it turns out that one of Eloquent's baked in dependencies fastText was an older version and was crashing on launch from the flatpak version of the app. But that did not stop me.
I did some searches and forked Eloquent on GitHub. I then also retrieved its two main dependencies, fastText and languagetool. I did not have to have a local languagetool, but I like working completely local when possible. So I built the three projects, put them together and installed them on my system. Which is a lot more solid than the flatpak version. I also now have a local languagetool to use with LibreOffice to boot 😉.
You do not get to have all this fun fixing your issues on proprietary systems. You just wait to see if anyone else will fix it for you. Which often just does not happen.
like this
Plan-A̵̛͈̬̥̿͋̓͛̕ reshared this.
THE SIMILARITIES ARE TOO SIMILAR! TRUMP IS COPYING HITLER TO PERFECTION!
His followers are responding exactly the same!
@thepdog PDog, people haven't changed. Trump recognizes this and with money and charisma and complete understanding of the plan Hitler used, he's all in. Sure, Hitl ... oops I mean Trump has one tool that Hitler didn't, the bomb. If Hitler had "the bomb" the world would likely be much different today!
Seriously, I am not just afraid for America. I'm afraid for life on this planet. Trump like Hitler is not sane. He has no empathy and at 80 has lived his life. What is he going to do if Russia and/or China attacks us? What will he do if he realizes that he's lost the support of his base?
HE WON'T CARE!
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Coquillage Logs likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
like this
reshared this
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Alas it is to late for me to die young, no wonder my luck ran out a long time ago ... 😉
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
I gotta walk barefoot more. It feels better...
Your Feet Were Never Supposed to Look Like This
youtube.com/watch?v=jhGqPTb86j…
For over 10,000 years, the majority of humans on Earth walked barefoot — and their feet built themselves into something far more capable than anything modern...Project Atlas (YouTube)
#ScribesAndMakers 4/25 Our featured creator does "a bit of educational activism on the side." Do you do any activism through your creative work?
In most of my books, my characters fight against oppressive systems, unfair defamation or outdated traditions.
I'd say those are typical targets of activism, but they don't tie directly into anything happening here on Earth.
It's the thought that counts, huh?
“Learning about those aspects of psychology shifted how I viewed things and I wanted to know more,” Thalia Vrantsidis told the Mississippi Free Press. “I looked at my own values and things I found interesting and then started wanting to know about the idea of understanding itself."
mississippifreepress.org/perso…
Mississippi State University researcher Thalia Vrantsidis won the Psychonomic Society’s 2025 Best Article Award for her paper delving into why people favor simple solutions.Dustin Cardon (Mississippi Free Press)
Ibis is a federated encyclopedia with numerous features. If you want to start a wiki for a TV series, a videogame, or an open source project then Ibis is for you! You can register on an existing instance or install it on your own server. Then you can start editing on the topic of your choice, and connect to other Ibis instances for different topics. Federation ensures that articles get mirrored across many servers, and can be read even if the original instance goes down. Ibis is written in Rust and Webassembly, fully open source to make enshittification impossible.
After a long hiatus here is finally a new release of Ibis. The user interface received some polishing, and can now be translated to different languages. You can help with translations via Weblate.
If you already have an account and want to fill it with more articles, use the new Wikipedia import! You can import individual articles by Url on the "Create Post" page. Or write a bulk import script with curl https://ibis.example/api/v1/article/import -d 'url=https://en.wikipedia.org/wiki/Pet' -H 'Cookie: auth=my_auth_cookie'.
If you are interested what a federated wiki can do, join and give it a try. You can register on ibis.wiki, open.ibis.wiki or other instances. You can also install Ibis on your own server. It is very lightweight and can easily run on an existing server alongside other software. This release includes an additional installation method using Docker. To discuss the project, report problems or get support use the following links:
A federated online encyclopedia. Contribute to Nutomic/ibis development by creating an account on GitHub.GitHub
GOP is shorthand for hypocrisy.
youtube.com/watch?v=rnP7RoBfQ5…
No Lie episode 332: Democrats finish the Republicans’ redistricting fight with a big win in VirginiaListen to audio podcast:Apple podcasts: https://podcasts....Brian Tyler Cohen (YouTube)
The Man Who Built the Next Internet
and Then Disappeared
#internet #technology #reticulum #networking
For nearly a decade, Mark Qvist built a privacy-first protocol from scratch and gave it away for free. Then he walked away.Node Star
Unus Nemo likes this.
reshared this
@adingbatponder 👾 @Zach Perlman
The Article stated that the forks were wire-compatible.
The Rust port
The more ambitious response was the Rust port. The original Reticulum is written in Python, a programming language that is powerful and readable but slow, and particularly rough on mobile phones and small devices. Developers at Beechat Network Systems built a Reticulum implementation in Rust — a language known for running fast with very little memory overhead. A separate project called Leviculum took a similar approach, and by early 2026 had a functionally complete Rust implementation that was tested against the Python original on real hardware and found to be wire-compatible — meaning both versions speak exactly the same language over the air, and a device running one can talk to a device running the other without either knowing the difference.
Zach Perlman likes this.
So there's this guy, a musical performer. In 2024, he ran for president on the "Weed Shall Overcome" ticket. This guy got harassed and jailed by police who subsequently stole his money and belongings. He wrote and released a song mocking them, so they sued him for harassment. He won that case, became famous, and is now running for President again.
"Even though the man might kick me when I was down, my integrity tells me not to do the same."
youtube.com/watch?v=KwVEac7Xwi…
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.ReasonTV (YouTube)
Unus Nemo likes this.
reshared this
Always keep in mind that when you have nothing left then you are all right 😉.
Unus Nemo
like this
reshared this
This is intended to get a foot in the door. First they say all distributors of Operating Systems must provide an Age Signal. Just like at first only the rich had to pay income tax. It is much easier to amend legislation after you have something in place. Now, everyone pays Income tax. Eventually an Age Signal will not be enough to protect the children. So they will require more proof of Identification to verify age. Along with MS/Windows using a TPM2 to create an absolutely unique identification that can be verified for all MS/Windows users. Which will make TPM2 common place, so other OSes can as well. They are trying to remove any ability at all to maintain your privacy on the internet.
Typically privacy is not my biggest concern when I get on an international network. Except when it comes to dealing with financial institutions. Though this crosses a line that alarms even me. I have even started building my own Gnu/Linux OSes for my machines as after Jan 2027 I will likely not be able to use Fedora anymore.
Blaise likes this.
I was watching a series set in BCE time called Atlantis. It occurred to me as I watched the evil queen drive away her greatest allies that when a person tries to rule by fear then they end up with mostly cowards for allies. That is what happens when you drive away those with valor and kill off the courageous among your allies. Is it really wise to attempt to rule by fear?
Unus Nemo
Philosophy Channel reshared this.
like this
Unus Nemo reshared this.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
I am pretty sure he was referring to the ABC song taught in grade school, though that one works too 😉
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Unus Nemo likes this.
reshared this
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Unus Nemo likes this.
reshared this
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • •Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
The smiley button that used to be in comment and post dialogues is now the default friendica button. It is very usable. The addon had some extras, but as I said it is currently broken. Addons are maintained separately from core so it may take a few months for them to catch up. Though it may never, it may be unsupported at this time. When I looked at the friendica-addon github repo the smiley button addon has not seen any updates in over 6 month, that predates the last core upgrade so it may just be a lost cause as it certainly is not worth my time to start maintaining it.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • •Unus Nemo likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
Your welcome. I think this time the upgrade fixed more than it broke, that is a win
.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • •Unus Nemo likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
It seems smoother and faster to me as well. I just was not sure if it was my imagination. Though, if we both feel like things have smoothed out then it is worth considering. I remember back two versions ago when because of poor code and poor configuration I had to have a watchdog script restart the server almost constantly just to keep it up. Now, the watchdog has not had to restart a service in months. It seems the enhanced configuration and upgrades are getting us to where we want to be as an Instance.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • •Unus Nemo likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
I was also having some dbus races in my system that was slowing down my whole system that I finally nailed down today and fixed. This is my personal workstation I am talking about not the VPS. So, I was not sure if the increased speed was just due to my workstation working more smoothly or if the site was behaving better
.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • — (0.0.0.0/ 0) •Unus Nemo likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
Yes, the race conditions were on my workstation, not the VPS. It was slowing down my whole Gnome shell due to dbus always being flooded. One race condition was because localsearch was choking on my Google Drive that I have rcloned to a directory in my home directory. Which was easy enough to fix, I just stopped localsearch (formerly tracker) from indexing my home directory and gave it more specific targets to keep it away from my rcloned mount. The other was being caused by an antiquated ibus service that was simply not required anymore in Gnome and I simply disabled that service. Now a
journalctl -fis very inactive (the way we want it to be) instead of being flooded with dmesgs from failed processes.There were no race conditions on the server. The server configuration has been tightened up for a while now. Though the code base from the last upgrade had some issues that was slowing down the server. It appears that those issues have been fixed in this release. I have even re-enabled js_uploader addon and it seems to be fine. The only thing broken is the Smiley Button addon. That is probably a lost cause, it does not seem to be actively maintained and I certainly do not have the time to concern myself with it. It just is not that crucial of a feature.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
Oh and Rocky OS is a fork of RHEL not Debian. I would never use anything as unstable as Debian on a server. Well it is not unstable, it just gathers to much dust. Perhaps to stable is the issue. It is fine for a workstation but I would never consider it for a server.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
One of my many challenges has always been that I insist on running Rocky OS 9, where the Friendica developers use Ubuntu server. I refuse to have anything to do with any product from Canonical. So, I will not use Ubuntu server. Because of that I have had to research on my own as my case was often not covered in the documentation and I have had to compile a lot from scratch because a library that was available on Ubuntu server's repo just was not available on Rocky OS repo. Though, it is worth the effort. Rocky 9 is a lot more solid than Ubuntu will ever be. I do not regret my decision there.
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • •Unus Nemo likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
Rocky Linux
Plan-A̵̛͈̬̥̿͋̓͛̕
in reply to Unus Nemo • — (0.0.0.0/ 0) •Still using Silverblue btw and not workstation. I got hooked now with the pod's etc.
Daily rpm-ostree update lasts maybe 20 mins average but I'm on cutting edge OS.
I think I'll never leave RHEL products.
Unus Nemo likes this.
Unus Nemo
in reply to Plan-A̵̛͈̬̥̿͋̓͛̕ • •@Plan-A̵̛͈̬̥̿͋̓͛̕
Yes, I pretty much use Fedora on my workstations and Rocky Linux on my servers. Rocky Linux is an enterprise class OS and yes it would make a poor daily driver for a workstation or laptop.
Alma Linux is another fork of RHEL though I prefer Rocky. Rocky aims to be as compatible with RHEL as possible. I am a RHEL developer and I do use RHEL on a home server for development. I can rarely notice the difference between being logged into Rocky or RHEL.
Yes, RHEL sponsors Fedora and RHEL is owned by IBM. So unlike a lot of other distros Fedora has a large contribution to work with a paid staff not just volunteers. Some people consider this a negative attribute. I like it. Because we have the benefit of both worlds. Do not get me wrong I love Debian as a project. They are entirely volunteer maintained. Though for my uses there idea of stable translates directly to stale. Which is why I no longer use Debian. By the way, the reason I hate Ubuntu and all Canonical projects is not because they are a corporate driven distro. I use a corporate driven distro (fedora). It is because of their choices to consistently turn their back on the Open Source paradigm in preference to their profits that drove me away. For instance Unity built on Compiz verses Gnomes default Mutter. Which is why I never used Unity on Ubuntu I always installed a clean Gnome environment. The Mir v Wayland war was what chased me away. Mir would have been entirely in the control of Canonical. If it had won and not just been a failed project of Canonical then all modern desktops that did not resort to still using the legacy and really outdated X system would be controlled by Canonical, which is exactly what they were driving for in my opinion. I was all to happy to leave that type of manipulation and deception behind.
Fedora works as a staging ground for future RHEL features. Fedora is actually upstream of RHEL not the other way around. It goes Fedora -> Centos -> RHEL. RHEL aims to be a rock stable Enterprise class OS and it has achieved that. Centos has changed roles over the years since RHEL repurposed it. Which is where Rocky and Alma came in to fill the spot Centos left behind.
There are other corporately funded distros though Fedora is the only one that I know of left to their own devices to just grow. Others are always a direct product of a corporation to try to have their distro for their product line. Fedora stays committed to the FOSS ideology as their funding does not require them to support a particular corporate goal. It literally is just a play ground to raise up new projects that might someday pass down stream to RHEL.
Take care bro!
Plan-A̵̛͈̬̥̿͋̓͛̕ likes this.