Subsurface is the open-source application developed by Linus Torvalds, himself, and other developers for being a divelog program for archiving their scuba diving adventures around the world.

Gtk to Qt - a strange journey [ 2014]:

Broadcast of opening hatches between the Soyuz MS-17 spacecraft and the International Space Station:

Broadcast of the Soyuz MS-17 spacecraft docking with the International Space Station:

The use of an "ultra-fast" two-turn rendezvous scheme allowed the spacecraft to reach the ISS in just three hours after launch.

Today's flight took exactly 3 hours 3 minutes 46 seconds.

3 astronauts left for the International Space Station today: Sergei Ryzhikov (Roscosmos), Sergei Kud-Sverchkov (Roscosmos), Kathleen Rubins (NASA).

Broadcast of the launch of the Soyuz-2.1a launch vehicle with the Soyuz MS-17 manned spacecraft from the Baikonur cosmodrome:

Neocities - create your own free website:

- free static web hosting and tools that allow you to create your own web site;
- zero ads;
- in-browser HTML editor;
- a command line tool;
- custom domain support;
- fast site performance;
- easy file uploading.

Manage your site using a shell terminal:

Alex boosted

I store the reference to a local variable in a static variable for the following reasons:

1) I don't want to store a pointer to program resources in a global variable;

2) I want the program functions to be able to call free_resources() with a *single* parameter that specifies what exactly needs to be freed.
Passing the second parameter (resource pointer) is not required, since it is already stored in the free_resources() function.

I drew a diagram to make it clearer:

Alex boosted

I figured out how to make it easier to release resources in my C pet projects.

To test the idea, I wrote such a program:

Feel free to give your opinion on this approach.

Is there a universal way for C programs to free resources before exiting?

Examples are dynamically allocated memory, open files, active DB and network connections.

I know that after the program finishes all its resources will return to the OS anyway, I just want to be sure that the data is safe.

Perhaps there is some way to simplify the release of resources, since doing it manually is tedious (especially if the resources were allocated in different parts of the program)?

The concept of a system can be used both to denote objectively existing phenomena, and as a method of studying and representing phenomena, that is, as a subjective model of reality.

An interesting point of view on the definition of the concept of a system:

- A system is a reflection in the consciousness of the subject (researcher, observer) of the properties of objects and their relationships.

- System is considered as a set of interconnected elements with an output (goal), input (resources).

The ubiquity of software products that are based on the Linux kernel has led corporations to lose profits from the sale of their proprietary programs.
Today, GNU/Linux and Android are running servers and supercomputers, smartphones and tablets.


Due to the loss of market share and profits, corporations are interested in establishing control over the further distribution of free libre open source software.
Changes in market conditions are also forcing commercial companies to restructure their business models and ways of interacting with external agents.
I am of the opinion that the "UEFI Secure Boot" and "Secured-core PC" technologies facilitate curb the continued distribution of free software.


Summing up the above, I note that for me the statement "Microsoft loves Linux" sounds like this: "We recognize the successes of GNU/Linux and are ready to take into account the interests of the community. Let's cooperate."



Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!