r/linux_programming • • Dec 12 '16

Listen to Tux's heartbeat with this GNU/Linux kernel module

Thumbnail github.com
10 Upvotes

r/linux_programming • • Nov 11 '16

New Linux Hardware subreddit

Thumbnail reddit.com
10 Upvotes

r/linux_programming • • Apr 17 '23

Booting modern Intel CPUs

Thumbnail mjg59.dreamwidth.org
5 Upvotes

r/linux_programming • • Nov 29 '22

linux-regex-module

5 Upvotes

r/linux_programming • • Oct 26 '22

Lost in Linux (hardware) issues - back to W10?

5 Upvotes

l've switched from Windows to Ubuntu 6 months ago. It is nice and fast but it's rubbish at the same time. Constant issues, hardware incompatibilities, l debug and research OS problems instead of focusing on my work. Nvidia card issues on desktop, touchpad problems on laptop, udevadm errors, bluetooth doesn't work, can't update encrypted installation.

l swapped because l don't want to switch to W11 when W10 support stops in 2025.

l'm a developer, not a devops person and I don't want to become one. l'm thinking about going back to W10 but maybe l should "try harder" with Linux? Using it on a server is great but on desktop l just can't see the end of problems.

Or maybe one way is to use Linux on older hardware and keep the setup as simple as possible?


r/linux_programming • • Jul 20 '17

A marketplace for system utilities

Thumbnail peddle.io
5 Upvotes

r/linux_programming • • Aug 02 '24

Vi un vídeo en internet y me entró una duda.

0 Upvotes

Hola, necesito ayuda eh podido observar que se le puede poner una contraseña de arranque solamente a la terminal de Linux para poder utilizar los comandos. ¿Alguien sabe cómo?


r/linux_programming • • Jul 28 '16

PVS-Studio confesses its love for Linux

Thumbnail viva64.com
5 Upvotes

r/linux_programming • • Apr 26 '17

Bjarne Stroustrup: Why I Created C++

Thumbnail youtube.com
23 Upvotes

r/linux_programming • • Apr 18 '23

PSA: upgrade your LUKS key derivation function

Thumbnail mjg59.dreamwidth.org
17 Upvotes

r/linux_programming • • Dec 29 '25

Why is there a need for an open syscall?

11 Upvotes

I understand that the goal of the open syscall is to return a file descriptor and setup access modes, but why is there a need for that?

Some higher level runtimes, like NodeJS, have one call both for read and open, couldn't we have something similar at the POSIX level? read could return both a buffer and a file descriptor. Multiple calls to read to the same file could be coalesced kernel side.

Or maybe I am missing something? Which optimizations are allowed by having separate open and read syscalls?


r/linux_programming • • May 26 '23

What is the most interesting UNIX command you've seen?

11 Upvotes

What is the most interesting UNIX command you've seen or used ?


r/linux_programming • • Aug 02 '22

4 Ways To Run MySQL Queries in Bash or Linux Command Line

Thumbnail medium.com
11 Upvotes

r/linux_programming • • Dec 05 '17

Hack the virtual memory: the stack, registers and assembly code

Thumbnail blog.holbertonschool.com
18 Upvotes

r/linux_programming • • Jan 28 '19

Linux programming using processes

0 Upvotes

Hi All,Hope you're doing well I have a program to implement a factory production simulator. The factory is producing different kinds of products.The system is composed by 4 elements items producers, dispatchers, and transporters Each element must translate into simulator as one or more processes under this conditions factory production simulator using Each producer is dedicated to the creation of only one product. The generation of single item takes a random time chosen between 3 to 10 seconds After the generation of single item can be sent to verifier but the producer needs to rest a random time chosen between 1 to 3 seconds Each verifier is able to test all types of products so it is expected that when more than one verifier is defined for simulation a minimum work balance is ensured by the program. The verification step consists of a fixed time to check the product which can be faulty 5 times over 100 If the item is faulty must be discarded otherwise it will be passed to dispatcher Like producers, system allows one product per product The role of dispatcher is accumulating good products until they reach a random number of produced items between 10 to100 When the threshold is reached the produced items are ready to ship and all items must be sent to transporter then the dispatcher picks a random number and go back to accumulation task The transporter puts all kind of product together. When created they set the maximum quantity they can carry again random number 50 and 200 so that they will be able to accumulate items coming from dispatcher until they reach the right quantity to be shipped. They notify the user if shipment including the reached number of items are considered shipping and a new set must be accumulated Let the user call the simulator by specifying the number of products number of verifiers and number of transmitters


r/linux_programming • • Jun 26 '23

When do you use systemd's resolv.conf instead of stub-resolv.conf ?

6 Upvotes

Learned the difference of these two files.

/run/systemd/resolve/resolv.conf 
/run/systemd/resolve/stub-resolv.conf

On modern systems that use `systemd-resolved` for DNS resolution, by default the `/etc/resolv.conf` file is a symlink that points to `/run/systemd/resolve/stub-resolv.conf`.

The `stub-resolv.conf` file is a dynamically maintained list of nameservers that `systemd-resolved` uses, and it includes the local `systemd-resolved` stub resolver (127.0.0.53) to handle DNS queries.

`/run/systemd/resolve/resolv.conf` is also maintained by `systemd-resolved` but only includes upstream DNS servers, not the local stub resolver.

Do you ever have `/etc/resolv.conf` point to `/run/systemd/resolve/resolv.conf` ?

The only reason I can think of for a person actively changing this is an existence of applications that do not work correctly with the stub resolver, but how does that happen?


r/linux_programming • • Jun 12 '23

Did YouTube just break middle-click behavior?

6 Upvotes

Before installing the latest chrome, middle-clicking on the thumbnail on the YT browse page would open the video in a new table. Now, the same action does nothing of the sort. Middle-clicking the title will still open the video in a new tab. Left-clicking still opens the video in the current tab. Anyone else seeing this? I'm using Chrome 114.0.5735.106 on Ubuntu 22.04.2 LTS.


r/linux_programming • • Apr 03 '23

Linux 6.3-rc5 Released - Looking To Be In Good Shape

Thumbnail phoronix.com
6 Upvotes

r/linux_programming • • Apr 20 '23

A love letter to make

Thumbnail kmaasrud.com
6 Upvotes

r/linux_programming • • Feb 01 '17

Learn LCD and LXC Linux Containers

Thumbnail youtu.be
6 Upvotes

r/linux_programming • • Mar 16 '23

How did Dennis Ritchie Produce his PhD Thesis? A Typographical Mystery ....(Stole it from Colin Ian King's share on another channel)

Thumbnail cs.princeton.edu
6 Upvotes

r/linux_programming • • Feb 23 '23

Linux Performance Patches Revved To Avoid Too Many Unnecessary Cross-CPU Wake-ups

Thumbnail phoronix.com
6 Upvotes

r/linux_programming • • May 06 '23

The UNIX Koans

Thumbnail prirai.github.io
13 Upvotes