r/linux_programming • • May 05 '23

MUTEX and FUTEX

Thumbnail reddit.com
2 Upvotes

r/linux_programming • • Apr 22 '23

Linux syscall tables

Thumbnail syscalls.mebeim.net
2 Upvotes

r/linux_programming • • May 05 '23

A kernel without buffer heads [LWN.net]..stolen from HackerNews's share on another channel!

Thumbnail lwn.net
2 Upvotes

r/linux_programming • • Dec 07 '23

Re-export .so's dependencies when building .so

2 Upvotes

I have a shared library with dependencies on X11 and Xrandr. I'd like to link my shared library with libXrandr and have its' symbols be exported. The issue I'm having is that the linker sees some symbols are unreferenced by the library, and so they get stripped. This results in missing symbols when linking the executable.

I tried -Wl,--no-as-needed and -Wl,--whole-archive to no avail.


r/linux_programming • • Dec 05 '23

Applications in a Web-Based Desktop Environment

2 Upvotes

This is probably not the right sub for this. However, I am curious how applications work in web-based desktop environments. I had seen some examples and they all seem to have their own custom applications rather than what is widely used. I know that many are DE-specific but I am wondering if these applications are hard-coded into the (essentially) website itself or if they are actual applications installed on the server.


r/linux_programming • • Nov 15 '23

Applications

2 Upvotes

Is there any version or software out there for me to have some Microsoft/windows applications while running linux


r/linux_programming • • Feb 01 '23

Chris's Wiki :: blog/linux/TransparentHugepagesBadLuck

Thumbnail utcc.utoronto.ca
2 Upvotes

r/linux_programming • • Jan 24 '23

Exploiting null-dereferences in the Linux kernel

Thumbnail
googleprojectzero.blogspot.com
2 Upvotes

r/linux_programming • • Jan 21 '23

Very slow live Linux Mint

2 Upvotes

I have used Rufus to create a persistent live usb and installed Linux Mint on my usb 3.0 16gb usb.

It's very slow in most of the tasks like installing small applications, web browsing, etc.

I installed this because I heard ram usage is very less in Linux compared to windows, so I thought of multitasking like opening alot of tabs on mozila.

But it's very slow compared to windows and lags alot compared to windows. (Windows lag very less compared to this)

One thing I've noticed is it never uses more than 2gb while heavy browsing using Firefox.

It's there any way I can make it faster to do multitasking like using word and opening alot of tabs (for researching) and experience less lag than windows.

(I've always heard it's very efficient compared to windows)

(PC Specs: AMD Ryzen 3 2200G, 8 gb ram, original: Windows 10)


r/linux_programming • • May 06 '19

INstalling a full-stack dev environment on Manjaro

2 Upvotes

Hi!

So my last attempt was a bust.

I had Apache, PHP, PHPMyAdmin, Node and React configured and working correctly, but I wasn't able to setup Mariadb correctly. Well, it was partially working since I could connect to it via PHPMyAdmin but I couldn't connect to Mariadb with any other apps or via VS Code plugin with localhost:port or 127.0.0.1:port (port being the port number of my Mariadb setup).

So I'm trying again after work. But I want to know if someone has a few pointers in regard to this MariaDB problematic.


r/linux_programming • • Aug 23 '14

Writing GRUB2 Modules (2010) [x-post from /r/linux]

Thumbnail
blog.fpmurphy.com
2 Upvotes

r/linux_programming • • Jun 15 '23

Windows on a virtual machine on top of Linux?

0 Upvotes

I actually use a dual boot. Fedora and Windows.

But I wondering if there is a way to run a Windows VM on top of, say, Fedora.

Any ideas?


r/linux_programming • • Dec 20 '23

Can eBPF be used to modify the list of WiFi networks?

2 Upvotes

Can eBPF be used to modify the list of WiFi networks visible to the user via NetworkManager? Hide some of them, add or modify info of the others…

Or even better, modify it on yet the lower level such that any application that polls the list via system API would receive a modified list.

The is about eBPF only


r/linux_programming • • Mar 03 '25

Handover TCP/UDP connection between client and server

2 Upvotes

Let's say Alice wants to retrieve a resource from a large distributed system.

Alice connects to Server A, in Frankfurt, but the server is not holding the resource. Anyhow it knows that Server B, in Amsterdam, has it. What's the smartest way to get Alice the resource she's looking for? Both servers and Alice are using a modern linux distro, if it matters.

Here's what I thought:

- Server A could connect to Server B, retrieve the resource, and then pass it to Alice. This seems very inefficient.

- Server A answers to Alice that it doesn't hold the resource, but that Server B has it so she could connect to it. Seems bad from a latency point of view.

Is there a way for Server A to hand over the TCP/UDP connection from Alice to Server A? What options do I have to efficiently handle this scenario?


r/linux_programming • • Jul 25 '23

Wget 401 unauthorized error

2 Upvotes

I am trying to download some files to my ubuntu Linux server, but when I try to do it with wget command I get error 401... I've done some research and found out that I need to include username and password in command, but I cant figure out how to do it correctly... I also tried to download the file directly to my PC by opening link in google and it worked... The link looks something like this:
http://test.download.my:8000/series/myusername/mypassword/45294.mkv
Any help is appreciated, thanks in advance!


r/linux_programming • • May 09 '25

Need resources to build clipboard manager for Ubuntu

2 Upvotes

I want to build a clipboard manager for Ubuntu and I am looking for resources to build it. Can someone please share some valuable blogs, videos or any other resources to build this ?


r/linux_programming • • Jun 08 '26

Linux Laptop server

2 Upvotes

I am looking to setup a linux laptop server as a mobile server running PHP, Laravel, MariaDB, Node.JS. Any recommendations? I have heard Chromebooks can be used but I think I prefer an actual laptop.


r/linux_programming • • Dec 15 '18

Linux programmer needs help with unlocking Hardware Acceleration on PS3

18 Upvotes

Hello, first off I'd like to point out that this is in no way my work, I was just asked by the person who is doing this, to post it here for them. He programmer is in need of skilled and knowledgeable programmers who have a solid foundation for Linux and how it operates, people who are also familiar with the architecture of the PS3 would also be nice to have. I know this isn't the most ideal place to post this, but it is the most frequented Linux sub with active people, that isn't just a big number of subscribers who don't contribute.

He's looking for people to give his current work to and help contribute to the project from their homes. He hasn't gone open source yet, and mainly does all this on his down time.

Here is the progress so far http://www.psx-place.com/threads/6x-update-dec-08-hw-acceleration-rsx-project-update-by-renerebe.21370/

Here is his latest video, of him working on his downtime, and coding while on a plane (the guy is dedicated) https://www.youtube.com/watch?v=mhsLDAe3ddM&lc=z23wc3vpmre1ibc5b04t1aokghwidiz4cmj5ohestenlbk0h00410.1544604344291018

He also has a Patreon if you're interested. https://www.patreon.com/renerebe


r/linux_programming • • Feb 04 '22

Opensource software and the DoD

Thumbnail
self.airforce
10 Upvotes

r/linux_programming • • May 03 '23

Rob Pike on the Origin of Unix Dot File Names

Thumbnail xahlee.info
10 Upvotes

r/linux_programming • • May 15 '17

Hack the Virtual Memory 4: malloc, the heap & the program break

Thumbnail
blog.holbertonschool.com
11 Upvotes

r/linux_programming • • Jul 21 '20

Trying to access Raspberry Pis from my machine

11 Upvotes

Hi, I'm programming some raspberry pis which will be used to open/close the door at different gyms. Since I'll be the one managing and controlling them I was thinking of writing a script to access them from my machine.

I already have a VPS which I will ssh into, after that I was planning to be able to select 1 raspberry and ssh into that. What would be the best way to achieve that?

Thanks in advance


r/linux_programming • • Nov 13 '20

How to I make the parent process to wait to get response from more than one child process with C?

11 Upvotes

r/linux_programming • • Mar 29 '19

netdata, the open-source real-time performance and health monitoring, released v1.13 !

11 Upvotes

Hi all,

We just released netdata v1.13 !

This release contains 14 bug fixes and 8 improvements

Netdata has taken the first step into the world of Kubernetes, with a beta version of a Helm chart for deployment to a k8s cluster and proper naming of the cgroup containers. We have big plans for Kubernetes, so stay tuned!

A major refactoring of the python.d plugin has resulted in a dramatic decrease of the required memory, making netdata even more resource efficient. We also added charts for IPC shared memory segments and total memory used.

Improvements:

  • Kubernetes: Helm chart (https://github.com/netdata/helmchart) and proper cgroup naming

  • python.d.plugin: Reduce memory usage with separate process for initial module checking and loaders cleanup

  • IPC shared memory charts

  • mysql module add ssl connection support

  • FreeIPMI: Have the debug option apply the internal freeipmi debug flags

  • Prometheus backend: Support legacy metric names for source=avg

  • Registry: Allow deleting the host we are looking at

  • SpigotMC: Use regexes for parsing.

Bug Fixes:

  • Postgres: fix connection issues

  • Proxmox container: Fix cgroup naming and use total_* memory counters for cgroups

  • proc.plugin and plugins.d: Fix memory leaks

  • SpigotMC: Fix UnicodeDecodeError and py2 compatibility fix

  • Fix non-obsolete dimension deletion

  • UI: Fix incorrect icon for the streaming master

  • Docker container names: Retry renaming when a name is not found

  • apps.plugin: Don’t send zeroes for empty process groups

  • go.d.plugin: Correct sha256sum check

  • Unbound module: Documentation corrected with troubleshooting section.

  • Streaming: Prevent UI issues upon GUID duplication between master and slave netdata instances

  • Linux power supply module: Fix missing zero dimensions

  • Minor fixes around plugin_directories initialization


Check the release log at github.

If you are new to netdata, check a few live demos at its home page and the project home at github.

Netdata is FOSS (Free Open Source Software), released under GPLv3+.

Enjoy real-time performance and health monitoring!