Создание дочернего процесса
Метод os.fork() создаёт дочерний процесс в том же месте кода, вызывая системную функцию fork(), и возвращает PID (Process Identifier), который равен PID дочернего процесса в родительском процессе и нулю в новом.
Кстати, получается интересный случай, в коде примера выполняется и блок if, и else. Если не знать про os.fork() и посмотреть вывод подобного кода, то возникнет много вопросов.
#os#fork#процессы
Раз шесть видел в больших тг-каналах скрины кривых toolbar, мол смотрите как смешно, macOS/Windows не умеют в консистентность. Понимаю, не у всех был опыт работы с такими нативными элементами OS на десктопе, но чтоб хихикать над чужими проёбами, надо минимально разбираться в вопросе. Тем более когда ты автор дизайн-канала.
Почему toolbar имеет подобные смещения?
Для ответа на этот вопрос, я пригласил одного из своих dev-бро → Юру Полуэктова, Tech Lead в SkyEng. Он простым языком расскажет нам, почему и из-за кого это происходит.
𐄂 𐄂 𐄂
P.s. Это новая рубрика #вГостях. Если вам понравилось, ставьте лайки с огоньками и перекиньте пост хихикающим дизайнерам.
#OS#apple#проUXUI
Ответ гостя 👇
🙊 “On.. went.. on..” – we are learning to distinguish swear words from terms from the crypto world!
Cryptocurrencies are an unusual and challenging market. Over the years, Cryptans have invented many words to describe what is happening around them. And we have compiled a dictionary of the most important of them for you:
➖#Wallets are a key vault for different cryptocurrencies. There is no crypt on the wallet itself, it is located in the blockchain and is assigned to your addresses. Wallets can be "cold" and "hot".
➖#DeFi – decentralized finance. Such crypto projects do not have a specific “manager” or “supervisor”. Interactions between users are managed by smart contracts.
➖#Smart contract - algorithms in the blockchain that control user actions and execute commands and conditions embedded in them.
➖#Proof-of-Work (POW, proof of work) is an algorithm for confirming transactions in the blockchain (achieving consensus) using the computing power of its participants (mining)
➖#Proof-of-Stake (POS, proof of stake) – all transactions in the blockchain are confirmed using cryptocurrency in the wallets of participants
➖#Staking – placement of POS-blockchain tokens in a wallet for a reward. The POS system needs coins to function. A more convenient and effective form is liquid staking.
➖#Gas – payment for transactions on the blockchain. When the activity on the network increases, so does the gas charge.
➖#Fork – updating/changing the blockchain: its technologies and rules
➖#Mixers are platforms that mix tokens of different users, hiding the history of transactions and previous owners.
➖#Bridges (cryptomostes, cross-chain bridges) is a service for transferring crypts from one blockchain to another. Without them, different blockchains and crypto projects cannot communicate with each other.
➖#NFT is a unique digital certificate confirming the ownership of a digital object: anything, but most often a song, a picture, an object from a game.
➖#Stablecoins are coins backed by reliable real assets (dollars, government bonds), and therefore stable in price: 1 to 1 with the dollar.
➖#Memcoins are often coins created “for fun". They are popular among speculators, but some coins “grow up” and try to create full-fledged projects.
➖#Profitability farming is earning money by providing your tokens for trading to other users in liquidity pools on a decentralized crypto exchange.
➖#Airdrop – free distribution of crypto project coins for user activity: try out the project, tell about it on social networks
#c_lang#c#drivers#gpl#hacktoberfest#kernel#operating_system#os#osdev#reactos#win32#win32api#windows#x86
ReactOS is a free, open-source operating system designed to be compatible with Windows applications and drivers, especially those for Windows Server 2003 and later versions. The latest version, 0.4.15, brings major improvements like better USB and driver support, enhanced system stability, 64-bit fixes, and new features in system tools such as Notepad and Paint. It can be tested safely on virtual machines and is ideal for users seeking a Windows-like experience without Microsoft’s software. ReactOS is still in alpha, so it’s best for testing, but it offers a promising alternative for Windows users wanting a free, open-source OS[1][2][3].
https://github.com/reactos/reactos
#javascript#cloud#cloud_os#cloud_storage#desktop#desktop_environment#dropbox#good_first_issue#gui#javascript#nas#open_source#operating_system#os#osjs#puter#remote_desktop#storage#web_desktop#web_os#webtop
Puter is a privacy-first personal cloud that lets you store files, apps, and games securely. You can access everything from anywhere at any time, making it very convenient. It's like a personal computer in the cloud, and you can use it on any device—Windows, Mac, Linux, or even your smartphone. Puter also helps you organize your work and entertainment by allowing multiple virtual desktops. This means you can keep different tasks separate but easily accessible, which helps you work more efficiently. Plus, it's open-source, so you can customize it to fit your needs.
https://github.com/HeyPuter/puter
#shell#alpine#alpine_linux#boot#distro#grub#installer#iso#linux#linux_distribution#liveos#netboot#netinst#netinstall#operating_systems#os#reinstall#shell_script#vps#windows
You can use a powerful script to easily reinstall Linux or Windows on your server with just one command. It supports 19 popular Linux versions and all Windows versions from Vista to Windows 11, automatically downloading official ISO files and drivers. It works for switching between Linux and Windows, handles different network setups without manual IP input, and supports BIOS, EFI, and ARM servers. The script is lightweight, safe, and fetches all resources live from official sources. This saves you time and effort in system installation or reinstallation, especially on low-memory or cloud servers. You can also customize passwords, SSH keys, and ports during installation.
https://github.com/bin456789/reinstall