Linux is a popular, open source operating system kernel. Linus Torvalds started development of the kernel in 1991.

learn more… | top users | synonyms

2
votes
2answers
100 views

How to port cli c++ program with GNU libraries from windows to Linux

I need to implement some graph partitioning algorithms for my thesis. I have mostly Windows experience. I would like to know if it is hard to migrate c++ cli program to Linux. I want to program it on ...
-1
votes
0answers
74 views

Linux/Unix programming book or tutorial for begginers? [closed]

I'm currently a junior student major in Computer Science. I am looking for an internship this summer but mostly in the job descriptions, they require "Experience developing on or using the Linux ...
2
votes
2answers
123 views

Hardware running gpl code

Let's say I am selling hardware that uses the linux kernel. Do I have to state somewhere that it is running linux(or other gpl code)? The reason I am asking this is because I bought a television, ...
0
votes
0answers
65 views

So I'm a developing a workflow with vagrant+git…does this make sense?

Relevant Background Details We've got two types of VMs (Utility Boxes & Web Servers) that developers need. We are going to be using git for version control. We have developers who have ...
4
votes
3answers
188 views

How hard is it to migrate if one has practiced C/C++ only on Windows & never in Unix-like OSes like Linux? [duplicate]

I was confused about whether to post it on Meta or here, but then decided the latter. In compliance with SO T&C, I don't intend to debate which is better. I only need an objective & technical ...
0
votes
0answers
90 views

Writing a script to tell which users are currently typing? [closed]

I'm working on a lab for a cyber-security class and need to find out when certain users are communicating with each other (through named pipes). The users use: python gameProgram.py And then that ...
3
votes
1answer
92 views

Protocol for closing a socket connection

I'm rolling my own application protocol on top of TCP. I'm using Linux and C. I'm wondering whether there is an advisable sequence to closing a socket connection. The client will always initiate ...
4
votes
3answers
305 views

How to implement better security in Linux?

I'm just investigating the security and control of the Linux platform in comparison to Android. In Android there seems to be a huge development around security - Applications are required to ask for ...
-3
votes
0answers
56 views

Tilera linux development [closed]

I'm looking into buying a Tilera server for development, i'm wondering if it is possible at all to develop in tilera/linux without buying the MDE (Multicore Development Environment). A recent quote of ...
-2
votes
0answers
37 views

Journals/magazines to follow the news/updates on Linux [closed]

I've seen a journal called "Linux Magazine" on the shelves of news agencies recently and I liked it quite a lot. Now I'm thinking I should subscribe to this one (or not) to keep myself informed about ...
0
votes
0answers
15 views

How do I make PHP load files from the server root home folder? [migrated]

So I built what I thought would be this awesome reporting page in PHP that loads data from some CSV text files and creates nice Google charts and tables for our clients. I then thought it would be ...
-3
votes
1answer
213 views

Best IDE for Linux (Ubunutu) [closed]

I would like to have my default OS as Linux. But the reason I'm still using windows is because of Eclipse IDE. I have installed Eclipse IDE in Ubunutu but it is not showing any auto suggestion when I ...
2
votes
1answer
205 views

Application Architecture

first of all I am new here and I hope that this is the right place for my question. I have a question about the recommended architecture of a project. IDEA: Automate some calculations concerning to ...
1
vote
0answers
84 views

Handling timeout in network application

How can I handle timeouts in a network application. I'm implementing a provisioning system on a Linux server, the code is huge so I'm going to put the algorithm, it works as like this Read ...
2
votes
2answers
347 views

Is bash “finished”? [closed]

Should bash be expected to change in ways that break non-trivial amounts of existing scripts at some point in the (near/<5y) future? How much change has it gone trough in the last ten years ...
5
votes
4answers
606 views

Is it possible to create a 2d game for both linux and windows with next to no changes?

I'm starting a project with friends which would preferably reach both audiences of windows and linux. The only problem is that none of us have any experience of linux porting or linux coding any way. ...
0
votes
2answers
267 views

Where to find the source code for the Linux command line functions [closed]

I would like to study the source code of the standard command line functions in Linux such as ls, echo, cat, etc. But I have been unable to find the source code (a Google search was useless). Does ...
2
votes
3answers
480 views

Lowercase in Linux file names

As I find that UpperCase are really readable for first letter word separation in long complex names, I tend to give some of my Linux files names with some UpperCase. Mostly executables, some ...
-1
votes
1answer
33 views

Is it possible to build packages for multiple versions of Red hat Linux on a single server? [closed]

I have a set of programs for analyzing radiation data and I want to build packages for Red Hat Linux versions 4.x - 6.x. Is it possible to build these packages on a single build server running a ...
0
votes
0answers
185 views

What is the current state of OpenGL & OpenCL? [closed]

I've just read this exchange with huge interest: Why do game developers prefer Windows? And now I'm worried about the current state and future of OpenGL & OpenCL, because I don't want history to ...
79
votes
10answers
18k views

Is Ken Thompson's compiler hack still a threat?

Ken Thompson Hack (1984) Ken Thompson outlined a method for corrupting a compiler binary (and other compiled software, like a login script on a *nix system) in 1984. I was curious to know if modern ...
1
vote
1answer
53 views

Need some input on storing stdin, stdout, stderr information for debugging

I am working with a legacy system that is not too bad, but I thought of making some improvements to it, and I wanted to solicit your feedback to help me make good decisions. The platform is Linix ...
5
votes
5answers
324 views

Is it necessary to learn Makefiles when you have an IDE?

I have recently began studying Makefiles in Linux. I have ample experience developing applications with advanced IDEs, such as Visual Studio. My first impression and query after reading a few ...
3
votes
2answers
623 views

Low Latency Unix/Linux

Most low latency/high frequency programming jobs (based on job specs) appear to be implemented on unix platforms. In a lot of the specs they make particular request for people with "low latency linux" ...
3
votes
1answer
284 views

C++ on Windows vs Linux - common issues? [closed]

So far all my development in C++ has been targeted to Windows, however I have always had it in the back of my mind that I will someday be targeting Linux. I am aware therefore of the need to select ...
7
votes
4answers
497 views

Git-friendly spreadsheet format?

We're trying to move our project documentation process from Google Documents to a set of self-hosted Git repositories. Text documents are Git-friendly enough, since we usually do not need any fancy ...
4
votes
2answers
190 views

What is the lifecycle for loading a Linux Desktop Environment?

I'm looking into delving into a bit of custom OS work (and yes I understand that doing any development at the DE level or lower on an OS is extremely complex and not a light thing to undertake, ...
4
votes
1answer
160 views

unseen/unknown function definition in linux source

Can any one please explain this piece of code I found in the linux kernel source. I see a lots of code like this in linux and minix kernel but dont seem to find what it does (even if C compilers ...
0
votes
3answers
232 views

Which language is more suitable heavy file tasks?

I need to write a script (based on basic functions) to process /image/audio/video files. The process is mainly filesystem tasks and converts. The database of files has been stored by mysql. The script ...
2
votes
0answers
127 views

Unreasonable Mono documentation [closed]

Why is Mono's documentation non-existent, in a form of XML-Documentation within the Framework (I'm talking about the Gtk and Gdk namespaces)? Sometimes its way of operation is very counter-intuitive, ...
3
votes
1answer
133 views

Is this possible to re-duplicate the hardware signal on Linux?

Since that every things is a file on the UNIX system. If I have a hardware, for example, a mouse, move from left corner to right corner, it should produce some kinds of file to communicate with the ...
7
votes
9answers
573 views

What is the way to understand someone else's giant uncommented spaghetti code? [duplicate]

Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? I have been recently handled a giant multithreaded program with no comments and have been asked to understand ...
0
votes
1answer
112 views

How to develop a menu for Linux apps [closed]

I want to create a python panel for Linux like pypanel or tint2 just for fun and to do practice with python development. Now the problem is: I want to create an auto-generated menu, but I don't know ...
0
votes
1answer
242 views

Why does Windows not trust the administrator [closed]

When working on both Windows and Linux servers, I've noticed one difference between them that seems to keep coming up. 2 examples that come to mind: Deleting a file: In Linux, if you are root, and ...
6
votes
1answer
274 views

How is the Linux repository administrated?

I am amazed by the Linux project and I would like to learn how they administrate the code, given the huge number of developers. I found the Linux repository on GitHub, but I do not understand how it ...
3
votes
1answer
248 views

Can Win32 message loops survive being ported to native linux?

I would like to port a large Win32 DLL to native linux in C++. I don't think I can use Wine for a DLL like mine, because users of the DLL would then also have to be in Wine, and then they would all ...
0
votes
1answer
132 views

What topics do I need to study for *web* client server programming? [closed]

I know about client server programming through sockets in C/C++. What topics do I need to study for website related client server programming? The database which we'll be using will be either MySQL ...
-3
votes
2answers
2k views

Install Ubuntu on MacBook Pro without a CD [closed]

Trying to install Ubuntu server on my MacBook however the CD drive is not working. All the guides I have seen so far use the bootcamp process (same as for windows) to achieve this. I currently have a ...
2
votes
1answer
116 views

Setting source IP with posix sockets

Is it possible for an application to request a socket (tcp) and have it set the source address without using raw sockets? (the addresses would be bound to the interfaces. [no spoofing]). This would be ...
0
votes
2answers
365 views

Is it possible to execute keyboard input programmatically in Linux? [closed]

For example is there a Linux command or way that I could from a program (c++ | python| or other) enter a series of keyboard inputs that are interpreted as though they are keyboard inputs. I have a ...
1
vote
3answers
1k views

Difference between Windows and Linux development environments? [closed]

I have an interview coming up soon for a Business Analyst position and the recruiter mentioned some feedback from a prior candidate that was interviewed who said the interviewers asked him what the ...
3
votes
3answers
308 views

What are the options for setting up a UNIX environment to learn C using Kernighan and Richie's The C Programming Language?

I'm a novice programmer and have been experimenting with Javascript, jQuery and PHP but felt I wasn't getting a real depth of understanding of what I was doing. So, after reading Joel Spolsky's ...
2
votes
4answers
536 views

Is it possible to keep only one Database for both web and desktop applications?

I'm experiencing a trouble with my business model, let me explain better. I'm developing a software for 1 year and few months, it's for the food industry, more exactly a software to: Delivery, Take ...
5
votes
5answers
904 views

Is there a way to publish IOS app from windows/Linux?

I have been using Linux (especially, Ubuntu) and Windows 7 for a long time. I want to publish iOS apps, but I don't have a Mac or an iPhone. I don't have anyone near me who will lend me a Mac, and I ...
1
vote
1answer
409 views

Belkin device runs Linux, how can I create my own custom firmware for it?

The Belkin N300 F9K1002 firmware is located here. It does not appear to be encrypted. How can I upload my own custom Linux firmware to this device. How would I go about hacking it?
2
votes
2answers
707 views

What is the relationship between OpenGL, GLX, DRI, and Mesa3D?

I am starting out doing some low-level 3D programming in Linux. I have a lot of experience using the higher level graphics API OpenInventor. I know it is not strictly necessary to be aware of how ...
2
votes
2answers
387 views

Shared FIFO file descriptor

is ok to open fifo with one FD and share it with multiple threads? or is it better to have multiple fds opened for the same fifo and share these fds with the threads? BTW, I'll be doing write and ...
2
votes
2answers
234 views

Issues with time slicing

I was trying to see the effect of time slicing, and how it can consume significant amount of time. Actually, I was trying to divide a certain task into a number of threads and see the effect. I ...
3
votes
2answers
367 views

Linux OpenGL programming, should I use GLX or any other?

I'm new to OpenGL and found that there are a lot of libraries to do that in C, and I also found that glx is most friendly with Linux X Server, I just want to do basic stuff, and I cannot find any ...
3
votes
2answers
341 views

What are the advantages of programming to under an OS as opposed to bare metal executive?

Assume you are presented with an embedded system application to program, in C, on a multi-core environment (think a Cavium or Tilera) and need to choose between two environments: Code the application ...

1 2 3 4