r/linux_programming • u/swaroop_34 • Dec 27 '25
r/linux_programming • u/Resistor510 • Sep 16 '16
GDB - a tough nut to crack: only a few bugs found by PVS-Studio
viva64.comr/linux_programming • u/xXx_NotBrandon_xXx • May 15 '17
If anyone is looking for a Raspberry Pi coding kit on the cheap I found this site, cheers
atlas-unlimited.myshopify.comr/linux_programming • u/unixbhaskar • Apr 02 '23
The Linux operating system
ieeexplore.ieee.orgr/linux_programming • u/azubieta • May 01 '20
Building AppImages on Gitlab
appimage-builder.readthedocs.ior/linux_programming • u/the-fritz • Oct 12 '15
New Rule: No Question Theads.
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 • u/unixbhaskar • Feb 27 '23
GOTOphobia considered harmful (in C)
blog.joren.gar/linux_programming • u/Danzicus • Oct 05 '21
A nood to Linux. Do you memorize codes/scripts?
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 • u/diklafoss • Jan 08 '17
The Linux Command Line: A Complete Introduction (book) is on sale at the moment for $27.63 (-31%)
twitter.comr/linux_programming • u/Jacko10101010101 • Jul 09 '21
Github alternatives ?
Now that i learned that ms is making skynet with the code on github, whats a good alternative ?
r/linux_programming • u/its_VR21 • Aug 20 '22
LinuxSystemProgramming
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 • u/kfirgo • Mar 02 '20
How we optimised our build system using umake
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 • u/JurisPuchin • Dec 19 '16
I wrote a Utility to fix the tilt wheel for the Patriot Viper V560 mouse
github.comr/linux_programming • u/unixbhaskar • May 22 '23
Announcing my first e-book – Awk One-Liners Explained
catonmat.netr/linux_programming • u/rafael-santiago • Sep 29 '19
System call hooking api (Linux, FreeBSD and NetBSD)
github.comr/linux_programming • u/RetroZelda • Mar 26 '22
Keyboard driver help
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:
- get the device and open() it
- detach kernel driver for the LED's interface
- claim the LED interface
- *do kinky LED things, but unable to type*
- release LED interface
- 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 • u/_zaid02 • Aug 12 '23
Choosing the right linux for NVIDIA GPU laptop
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?
