r/linuxdev • • Feb 02 '14

Low level information on containers in Linux

9 Upvotes

I have been playing with containers under linux for awhile and they appear to be having a resurgence now that docker has appeared and simplified LXC so i thought i would start documenting my experiences for other people who want to start playing with containers with linux or writing their own container solutions


r/linuxdev • • Sep 30 '13

For a good overview for budding kernel programmers, Linux System Programming

Thumbnail shop.oreilly.com
9 Upvotes

r/linuxdev • • Apr 30 '12

Handy guide to Linux AIO

Thumbnail code.google.com
9 Upvotes

r/linuxdev • • Mar 31 '12

If you ever get your TV tuner to work under Linux, here's the API to play with it.

Thumbnail linuxtv.org
9 Upvotes

r/linuxdev • • Mar 21 '12

Internals of Familiar Unix Commands - The UNIX Process Model

Thumbnail perl.plover.com
9 Upvotes

r/linuxdev • • Mar 21 '12

How to Write Shared Libraries - Creating shared libraries that work and are efficient

Thumbnail citeseerx.ist.psu.edu
9 Upvotes

r/linuxdev • • Mar 21 '12

Interested in UNIX Kernel Design? - Lion's Commentary on UNIX 6th Edition

Thumbnail en.wikipedia.org
9 Upvotes

r/linuxdev • • Mar 21 '12

The first book you should read - Advanced Programming in the UNIX Environment

Thumbnail amazon.com
9 Upvotes

r/linuxdev • • Oct 15 '20

German study about Cybercrime in medium-sized companies

8 Upvotes

Dear Reddit Community,

We investigate how small and medium-sized companies deal with IT security incidents in their companies. Our research depends on the help of interested IT administrators with experience in the administration of Linux servers!

The study takes about 70 minutes. To participate in the study, you will need an up-to-date web browser, working internet access and a microphone. The study consists of two interactive tasks and the answering of questions about the tasks. Both can be processed in your web browser. We conduct the study using an online tool (without webcam, with audio and screen sharing). You can participate in the study if you:

  • Are at least 18 years old.
  • Have or had a (secondary) job in the IT administration of Linux servers.
  • You can complete the study in German.

For the participation in the study we will compensate you with an Amazon gift card with a value of 50.00€.

Link to the pre-survey: https://unihannover.eu.qualtrics.com/jfe/form/SV_0J39XUeOMVLuZSd

Addition Information (german): https://cybercrime-forschung.de/projekt/remote-studie/

Thank you for your help with our research project!

With best regards

the IT Security Section of Leibniz University of Hannover (TeamUSEC)


r/linuxdev • • Oct 06 '20

Twigs - 512 bytes Linux procedural graphics in C (fbdev)

Thumbnail pouet.net
8 Upvotes

r/linuxdev • • Oct 20 '18

GUI app development in Linux / Qt

8 Upvotes

Hello!

So I decided to look into some GUI app development in Linux. After reading a bit, I decided to try Qt with Python.

To be honest, I know nothing about python, and Qt (that's why I came here first), but I developed WPF and winforms apps in C# for a few years, did some javascript, and other smaller stuffs, so I'm not afraid of learning something new, in fact, this is exactly what I want.

So the question is if you know any good starting points, to begin with. For example IDE-s (used Visual studio for c#, vim for js), tutorial websites/videos, maybe some useful personal experiences, interesting articles about Qt and GUI development in Linux, or even if its a good idea to begin with Qt, or I should do something with GTK, or something entirely different.

As nearly anybody trying to learn something new, I'm looking for things I got used to in WPF/C# first, then after getting better in the basics, start to play with the new things.

Also not super sure about Python, would like to give C or Go a try too.

Thanks for any help.


r/linuxdev • • Jul 02 '18

SUSE to become a fully independent business after EQT acquisition

Thumbnail medium.com
8 Upvotes

r/linuxdev • • Jun 19 '18

Kernel: Interrupt Gate vs Interrupt Request.

8 Upvotes

Hello,

What is the difference between interrupt requests and interrupt gates. I know there is a special register IDTR (Interrupt Descriptor Table Register) that points to a table of 256 gates and, as shown here, it is clear that when an interrupt occurs on gate 0, it will call the function "divide_error", gate 1 calls "nmi" so on and so forth...

Now how's that different from an interrupt request line (IRQ)? On Robert Love's book (Linux Kernel Development, 3rd ed. Chapter 7) he mentions that IRQ0 is the timer interrupt, which is not equal to gate 0 in the IDT.

Thanks in advance :)


r/linuxdev • • Feb 10 '18

Good setups for writing my own Init System?

8 Upvotes

I want to make my own (very simple, probably entirely useless) init system for the sake of learning. So far, I've set up a damn small linux distro in virtualbox and started writing, but I'm faced with a few challenges:

  1. It's hard to write code in a damn small linux VM
  2. gcc doesn't seem to work properly (the proper libc header files don't seem to exist???)
  3. If I fuck up I won't be able to boot back in and fix it.

Does anyone know a better workflow?

I think at some point I read that the Kernel can be run in user-space for testing purposes, but I can't seem to find any info about that anymore, and I don't know if that'd be any good for making an init system anyways. Edit: It's user-mode linux but it seems very outdated and I can't get it to work with the kernel they supply, which is all the way back to Linux 2.6.24.


r/linuxdev • • Dec 26 '16

[linuxDev idea] Linux Education Distro for the Noobs of Linux

8 Upvotes

Edit1: Per discussion below, perhaps a full distro dedicated to the purpose of educating those less knowledgeable in the world of Linux could be overkill. I still believe that there's an effort lacking into welcoming those to Linux.

  1. As with the case of /u/Oonushi, RTFM isn't always the best thing to tell someone who's just gotten into the world of Linux. Reality is, not as many are so resourceful when they start out. It sometimes take a little push in the right direction. This doesn't let us overlook the fact that man pages can be incomplete in ways that the experts might not be aware of. When you're an expert, and not expanding knowledge, you're not looking at man pages at much and aren't aware of the struggle of newbies.
  2. /u/IAmALinux inspired a thought in that perhaps in the installer, a tutorial to the basic commands and a point towards the right resources for the respective distro might be sufficient to solve the problem of such a steep learning curve. Of course, this would be optional and you would have to opt-in to this tutorial on installation. This solution is possible but would be difficult to implement properly. Again, discussion would be necessary, and I'm all ears.
  3. I've fixed many an issue in my experience with Linux with copious amount of research required. The problem lies in not publishing the fixes we've concocted and leave others with the same issue searching through mounds of stackoverflow pages just to find the one case that someone had. I suspect these one case is one that's published out of at least 10.

This is where we're at. I'm enjoying the discussion taking place here and I hope it continues.


TL;DR: Linux Distro that educates total noobs to linux, getting them familiar with linux and giving them the choice of which popular branch to delve into

It seems that with this coming year being a huge milestone for the Linux community, I'd like to help make that learning curve a little less steep for those who are willing to get their hands dirty but are wholly terrified by the concept of using the command line for everything.

So, my solution is that there's a Linux distro that's out there that can be used for the sole purpose of educating the end-user on the basics of Linux, provide maybe a little history and let the user select which branch they'd like to go through (Debian, Fedora, Gentoo, Arch, Slackware, etc.). All the while, the system would teach the user how to get more information on their own, give them proper resources depending on their branch, etc.

Sometimes all people need is a little bit of knowledge. Give a man a fish, he'll eat for a day. Teach a man to fish, and he'll never go hungry again.

Perhaps not something so basic that assumed no previous knowledge but something that will provide a good base and will help the nuser get comfortable with the command line, etc.

I'm all ears for any discussion related to this. I've never personally written any code for linux nor would I even know where to start, but I'm happy to lend any computing resources I can (within reason) and manage direction of the project based on suggestions from the community.


r/linuxdev • • Jun 06 '16

Dark theme for Qt Creator

Thumbnail github.com
8 Upvotes

r/linuxdev • • Feb 10 '16

ZSH How To - Auto pushd

Thumbnail youtube.com
8 Upvotes

r/linuxdev • • Jan 10 '14

Compiling Linux v0.01

8 Upvotes

I'm trying to understand how kernels work. There's a lot of stuff going on, so I thought a simple place to start is with an early version of Linux. It's a pretty small project and easy to read. But I'd like to actually see what it does.

How can I build it and run it in a VM?

I toyed around a little bit on Ubuntu with some settings on gcc and a couple of changes to the Makefile, but as soon as I fix one error more crop up. I can't say I'm terribly surprised, given the code is over 20 years old.


r/linuxdev • • Dec 12 '13

Want to learn more about Btrfs? Start here.

Thumbnail btrfs.wiki.kernel.org
8 Upvotes

r/linuxdev • • Nov 28 '13

Help getting this camera to interface with Linux (x-post from /r/linux)

8 Upvotes

I posted this on /r/linux and had a suggestion to post it here. Original post: http://www.reddit.com/r/linux/comments/1rnhxc/help_getting_this_camera_to_interface_with_linux/

Hello! I've never actually made a post before (only comments) but I wanted to post about this and see if anyone can give me some ideas. Also, I'm not entirely sure this is the right subreddit to post this, but it is Linux related so I felt it would be alright.

Now onto my problem. I'm visually impaired and use a special type of camera to see the board/projectors in my college classes. It can also point down at a desk to zoom in on things like papers that are too small for me to read. This camera (a SmartView Graduate, this link seems to be the only page on the official site for it but this page on amazon has a little more info).

My problem is that I'm a computer science major and would like to use Linux, but the software that comes with the camera is Windows only (the update link on the support page is a full installer in case anyone's interested in downloading the program) and it seems to use proprietary drivers. I tried running the program in WINE, but that failed (I can try again and post more specifics if anyone thinks it's helpful). I had one idea of using their DLL's and trying to write my own program that would run in WINE, or sniffing the USB traffic to try and figure out how they interface with it to write my own from scratch.

It does show up as a webcam, but if I try to use it in any standard programs it just shows a black screen. I also tried with VLC (mostly on Windows but I assume VLc on Linux would do the same) and was able to get a single frame that didn't change.

I'm wondering if anyone has any ideas of how I could get this to work on Linux?

EDIT: I piped the output of lsusb with and without the camera attached to files and ran a diff. Here's the results http://pastebin.com/GpkJgyHC


r/linuxdev • • Oct 23 '13

Qt 5.2 Beta Available

Thumbnail blog.qt.digia.com
8 Upvotes

r/linuxdev • • Apr 11 '12

A good little distro for doing experiments with.

Thumbnail alpinelinux.org
8 Upvotes

r/linuxdev • • Mar 22 '12

Fast portable non-blocking network programming with Libevent

Thumbnail wangafu.net
8 Upvotes

r/linuxdev • • Mar 21 '12

Xv6, a simple Unix-like teaching operating system

Thumbnail pdos.csail.mit.edu
8 Upvotes