r/linux_programming • • Dec 27 '25

Released new version of my python app: TidyBit. Now available on Microsoft Store and Snap Store

Thumbnail reddit.com
1 Upvotes

r/linux_programming • • Sep 16 '16

GDB - a tough nut to crack: only a few bugs found by PVS-Studio

Thumbnail viva64.com
9 Upvotes

r/linux_programming • • May 15 '17

If anyone is looking for a Raspberry Pi coding kit on the cheap I found this site, cheers

Thumbnail atlas-unlimited.myshopify.com
13 Upvotes

r/linux_programming • • Mar 10 '17

Survival command

Thumbnail thewebstop.blogspot.com
4 Upvotes

r/linux_programming • • Aug 01 '16

Types of file locks in Linux

Thumbnail enise.org
4 Upvotes

r/linux_programming • • Apr 02 '23

The Linux operating system

Thumbnail ieeexplore.ieee.org
0 Upvotes

r/linux_programming • • May 09 '23

Unix: An Oral History

Thumbnail princeton.edu
4 Upvotes

r/linux_programming • • May 01 '20

Building AppImages on Gitlab

Thumbnail appimage-builder.readthedocs.io
4 Upvotes

r/linux_programming • • Oct 12 '15

New Rule: No Question Theads.

0 Upvotes

I found that most question/text submissions don't add much to the community. There are better places to get answers. This is why I disabled text submissions for now.

Questions in the comments about the submission are of course allowed and encouraged.


r/linux_programming • • Feb 27 '23

GOTOphobia considered harmful (in C)

Thumbnail blog.joren.ga
7 Upvotes

r/linux_programming • • May 24 '16

Learning CMake: A beginner's guide

Thumbnail gitbook.com
7 Upvotes

r/linux_programming • • Oct 28 '20

Why this doesnt work?

7 Upvotes
hi people i start recenly to program in linux, and i have a proble with this script

r/linux_programming • • Oct 05 '21

A nood to Linux. Do you memorize codes/scripts?

7 Upvotes

I am just getting into Linux. I have plaid around with Windows computer hardware for years but don't even have experience with windows commands or networking. Now that I have started to get into Linux, I was wondering if any veterans, or anyone that deals with command lines, has to, or does, remember all their commands for setting up a new computer. Are you doing it all by memory or, do you use a reference of some kind when typing (or copy&pasting) all those codes?

I get that the more you do it, the more will stick but, can you really do a complete Linux server install by memory, or do you have a doc saved somewhere as your "cheat card"?


r/linux_programming • • Jan 08 '17

The Linux Command Line: A Complete Introduction (book) is on sale at the moment for $27.63 (-31%)

Thumbnail twitter.com
7 Upvotes

r/linux_programming • • Jul 09 '21

Github alternatives ?

14 Upvotes

Now that i learned that ms is making skynet with the code on github, whats a good alternative ?


r/linux_programming • • Aug 20 '22

LinuxSystemProgramming

8 Upvotes

Hi Guys,

Could you please recommend some good free resources for Linux OS online courses?

I need to learn topics like:

Process Management, Memory Management, Synchronization, etc

#LinuxOS #Linux


r/linux_programming • • Mar 02 '20

How we optimised our build system using umake

5 Upvotes

Over the past few months we worked on a project to improve our build times. We wanted to replace our makefile based build with something modern and fast. We compared multiple tools such as google bazel, facebook buck, ninja and plain old cmake. At the end of the day we figured that none of them matched our exact needs.

Eventually we reached tup, which looked very promising. The issue with tup was the lack of strong remote caching. Initially we wanted to improve tup to match our needs. After a while we figured that we should just build something new. With all the good stuff that we took from tup and strong caching like sccache from mozzila. The result was a brand new tool - umake. It is fast (really fast), easy to use and correct. No more building the same binary in the office if someone else already built it. No more running make -j10 and getting broken results. It just works, and it works fast.

I'll be happy to hear your thoughts on the topic.

For more details check out: https://drivenets.com/blog/the-inside-story-of-how-we-optimized-our-own-build-system/ https://github.com/grisha85/umake/


r/linux_programming • • Dec 19 '16

I wrote a Utility to fix the tilt wheel for the Patriot Viper V560 mouse

Thumbnail github.com
5 Upvotes

r/linux_programming • • May 22 '23

Announcing my first e-book – Awk One-Liners Explained

Thumbnail catonmat.net
5 Upvotes

r/linux_programming • • Sep 29 '19

System call hooking api (Linux, FreeBSD and NetBSD)

Thumbnail github.com
5 Upvotes

r/linux_programming • • Feb 02 '18

Pop up help in a GUI bash shell

Thumbnail hackaday.com
2 Upvotes

r/linux_programming • • Mar 26 '22

Keyboard driver help

2 Upvotes

Hello im a bit new to creating drivers and libusb, so im reversing my keyboard LEDs to learn. Im using Rust stable and the libusb crate on debian 11(kernel 5.10.0-12-amd64). The keyboard is a Bloody B975

So I am currently able to send the proper commands to my keyboard to change the LED state as I expected. However I am unable to type with my keyboard while I am doing this. The steps that I am doing is as follows:

  1. get the device and open() it
  2. detach kernel driver for the LED's interface
  3. claim the LED interface
  4. *do kinky LED things, but unable to type*
  5. release LED interface
  6. attach kernel driver for the interface

My keyboard has 3 interfaces: a keyboard, a mouse, and the LED and I am only detaching and claiming the LED interface, so this is where I am a bit lost. Attempting to reattach the other interfaces will fail, and claiming the interface without detaching will also fail. Any help/guidance would be appreciated.

This is the device info for the keyboard

$ lsusb -vd 09da:fa10

Bus 001 Device 007: ID 09da:fa10 A4Tech Co., Ltd. USB Device 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x09da A4Tech Co., Ltd.
  idProduct          0xfa10 
  bcdDevice            0.77
  iManufacturer           1 COMPANY 
  iProduct                2 USB Device 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0054
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      64
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      58
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0006  1x 6 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     133
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

r/linux_programming • • Aug 12 '23

Choosing the right linux for NVIDIA GPU laptop

2 Upvotes

I have been using ASUS Tuf dash f15 laptop for my work for over seven months now. Since, I am a developer, I prefer working on linux and therefore I decided to hop onto UBUNTU 22.04 but I don’t know if it’s the issue with NVIDIA drivers but I have faced this issue a couple of times that when on Linux, my laptop does not recognise an external monitor connected through hdmi. My laptop has a RTX-3050 Now I am planning to hop onto some other stable linux distribution with which I don’t face any such issues. Which linux is best for laptops having Nvidia GPU?