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
1k 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 ...
2
votes
2answers
589 views

Work flow when editing files in /var/www. Constantly needing to input “sudo” commands

I installed Apache2 and PHP5 last night on my fresh Linux Mint machine. I created a folder and created a simple index.php file with a call to phpinfo() to test out the installation and every works ...
2
votes
3answers
960 views

Why rpm and deb package formats are not unified into one standard system?

I had this question asked on stackoverflow, but it was closed "as not a real question". So i decided to remove all rumbling and post that question here, assuming that this stackexchange is for ...
1
vote
1answer
140 views

Side-by-side Configuration on Linux/ELF

One of the best/worst Microsoft software innovations (great for compatibility; terrible for efficiency) has been Windows' Side by Side Configuration. This allows, among other things, for different ...
0
votes
1answer
229 views

What are some feasible ideas for building a smart-device/console development portfolio? [closed]

I would like to start getting more contracts in the mobile, smart-device, and console development space and, having little prior work experience in the field, I need to build a portfolio of example ...
1
vote
1answer
262 views

hash with file instead of array

Is it possible to use hash function but with File instead of Array, and it's gonna be saving the record in a file position and then search will fseek to that position, but I'm not sure how to open a ...
3
votes
2answers
641 views

Where Should I Put Configuration Files?

I'm creating a project that I want to be able to distribute across platforms. I'm writing in Java and AWT which already gives me a pretty large range of devices, but I'm mostly interested in Windows ...
1
vote
1answer
676 views

Multiple readers on FIFO

I've asked a question here before about multiple writers on a FIFO, and I know now that the write is thread safe as long as I write less than the PIPE_BIF, here is the link for that limit. What about ...
7
votes
1answer
1k views

“Read” a file without using a file pointer

I was asked this question in an interview. I'm somehow supposed to "read" a file into my C program as input without using a file pointer (including "f" functions, e.g. fgets, fscanf etc.). I'm also ...
9
votes
3answers
1k views

Lock-free IPC in Linux for multi-core processors

I'm trying to find a way to write an application with lock-free IPC on Linux, in C, with multi-core processors. Let's assume I have process 1 and process 2 that write to a FIFO or shared memory. Then ...
2
votes
2answers
475 views

Multi cores/CPUs with locks

I'm not sure how the locks will work with multi processors/cores, I'm going to use shared memory in my application or FIFO, what worries me is the locks, I have a server with 2-CPU, how the lock will ...
29
votes
10answers
5k views

Is it worth moving from Microsoft tech to Linux, NodeJS & other open source frameworks to save money for a start-up? [closed]

I am currently getting involved in a startup, I am the only developer involved at the moment, and the other guys are leaving all the tech decisions up to me at the moment. For my day job I work at a ...
1
vote
2answers
918 views

How do you accept arguments in the main.cpp file and reference another file?

I have a basic understanding of programming and I currently learning C++. I'm in the beginning phases of building my own CLI program for ubuntu. However, I have hit a few snags and I was wondering if ...
2
votes
2answers
529 views

IPC linux huge transaction

I'm building and application that requires huge transactions/sec of data and I need to use IPC to for the mutithreaded mutliprocceses communication, I know that there are a lot of methods to be used ...
2
votes
2answers
2k views

memory and time intensive php task

Sorry if this question has been asked before, but I couldn't find anything usable. I'm working on a project for a client and currently I have to loop through the users table which is about 3000 ...
1
vote
2answers
948 views

How to make custom libraries accessible?

I am trying to compile and install every custom module under it's own designated folder. (ex: /myApps/myLinux/compiled_app) I had luck with Python so far, where my Python is compiled from source and ...
3
votes
1answer
536 views

How to unit test with lots of IO

I write Linux embedded software which closely integrates with hardware. My modules are such as : -CMOS video input with kernel driver (v4l2) -Hardware h264/mpeg4 encoders (texas instuments) -Audio ...
4
votes
3answers
3k views

Reasons for either 32-bit or 64-bit as development machine

I'm about to make a new Linux install, which will be primarily used for programming. I've seen benchmarks showing speed improvement of 64-bit version, however, I have hard time of telling how much ...
1
vote
2answers
191 views

In need of a divide and conquer approach for re-writing small open-source utilities [duplicate]

Preamble (Skip if you don't like to read) I've been learning C/C++ in school for a year now and all the assignments in the book, after reading through the chapters, were not too difficult to ...
2
votes
7answers
2k views

Automatically delete files after they expire

I've got this idea for some time and I was wondering if anyone has seen such a feature/app in any operating system and if you haven't, what do you think about it. Where do you think I should begin? ...
1
vote
2answers
1k views

Creating a websocket server on Linux

I want to create a websocket server and I've found a great article here. However C# will output an exe file. I'd like to have it run on a linux box. What I want to do is to connect to the server, and ...
-1
votes
1answer
2k views

An alternative for Game Maker on Linux? [closed]

Are there any alternatives to Game Maker built for Linux that get the job done using a familiar interface, similar converting scripting language(eg, Javascript) that DOESN'T export the games as either ...
0
votes
3answers
834 views

C++ “under the hood” books for advanced readers? [closed]

Are there any particularly good books for understanding how C++ works "under the hood"? My reasons for asking this are that I am very interested in C++ performance system programming (low latency ...
2
votes
3answers
847 views

How do programs like subversion detect when a file has been edited as opposed to created/deleted?

This is my first question here so I hope it is not off topic. Although I am using the Linux inotify library to listen for changes to files, and I compare use of that against the Subversion program, I ...
14
votes
9answers
4k views

Is Cygwin or Windows Command Prompt preferable for getting a consistent terminal experience for development?

The question: Which is better, installing cygwin or one of its cousins on all my windows machines to have a consistent terminal experience across all my development machines, or becoming well trained ...
0
votes
2answers
176 views

is it possible for the author to trademark the name of an open-source application? [closed]

I would like to know if the name of an open-source application can be trademarked by the original author and what it means when it comes to distributing it through major linux distros, that is, will ...
22
votes
8answers
3k views

Any basic difference between Unix and Linux in design and other aspects? [closed]

I keep reading this sentence: Linux is a Unix-like system, but it is not Unix. I don't know what's the real difference between the two. I know Linux got a lot of ideas from Unix and the licenses ...
3
votes
2answers
1k views

Who uses GnuSTEP?

This has been a big question lurking at the back of my head. From what I see, GnuSTEP nowadays is primarily a "hobby" project of a small but tightly-knit group of people. However I haven't seen a ...
2
votes
2answers
2k views

Low level Linux graphics

For educational purposes, I'd like to write an application on a Linux environment that can process keyboard events and draw graphics without huge dependencies like X or SDL. I presume that this must ...
2
votes
2answers
169 views

Where do I start in regards to making a Gnome/Unity Form Application

Ok so I am familiar with developing Form and Console applications on Windows using Visual Studio .Net with C#, but where do I start when it comes to Linux distro's like Ubuntu, is there an equivalent? ...
3
votes
4answers
1k views

Ubuntu, OpenSuse, the world of linux for a web-developer

I'm learning web development. My main OS is windows 7 but I've used Linux and currently dual-booting with Ubuntu. My Linux knowledge however, is pretty limited. I can work with the command line on ...
2
votes
1answer
450 views

Minimal linux distro for compiling arm binaries

I have this setup: A windows/x86 development box and a PandaBoard ES for testing with a linux on it. I would like to ask you for recommending a linux distribution that I would run in Hyper-V on my ...
3
votes
6answers
5k views

Best solution to run a Linux sandbox on my Windows machine? [closed]

I'd like to develop some node.js on my windows machine by using a virtual linux server that runs as a program and that I would access through ssh. I'd like this virtual linux instance to access the ...
2
votes
1answer
1k views

How can I develop a Package Manager for Embedded Systems?

I need to develop/use a package manager for an embedded Linux system with the following properties: A master fully controls which packages need to be installed (the slave has no possibility to ask ...
2
votes
1answer
1k views

How can I convert PPT files to PNG in PHP without COM?

I need to convert Powerpoint files to PNG in PHP. I can do the conversion with using COM in PHP but COM is only supported on Windows. I need to do this for both Windows and Linux. I am wondering if ...
1
vote
1answer
1k views

LUA vs Shell scripting vs C for cgi-scripting on embedded devices

I am going to try CGI scripting for implementing a web based Graphical User Interface on an embedded device. What advantages does LUA scripting have over shell scripting or C for implementing dynamic ...
0
votes
2answers
4k views

Is there a canonical book on C Programming in GNU/Linux? [closed]

I am looking for a good ebook (or two) for learning the C programming language, specifically programming in a GNU/Linux environment. I'm not a beginner programmer, but I have almost no experience in ...
0
votes
1answer
226 views

How to deploy a heterogeneous server application to customers?

We have a bigger application server which customers would like to have deployed locally. It consists of an MySQL server database, a REDIS database, multiple Web servers for sub parts, a NGINX reverse ...
0
votes
1answer
96 views

How To Handle Previously Uploaded Files

I'm new to PHP and MySQL and I've only seen posts related to this on Zend and ASP so I'm looking for some advice to point me in the right direction for a LAMP project. I'm putting together a webform ...
35
votes
9answers
72k views

Comparison of IDEs for C++ and C development on Linux: KDevelop, Eclipse, NetBeans, CodeBlocks and Anjuta [closed]

I'd like to note your experience of full scale IDEs on Linux. I personally work mostly with vim, however other programmers would like to see a real IDE. So I'd like to hear your personal opinion ...
3
votes
1answer
128 views

What are all these license types for applications?

I am thinking of making some applications for Linux (primarily Ubuntu) and I have an intention of selling some in the Ubuntu Software Center and offering a few applications for free. These free ...
4
votes
5answers
435 views

What is the starting point for Ubuntu app development? [closed]

I'm thinking of developing software for Ubuntu and other related Linux-based distros (like Linux Mint). But currently am at a loss for where to start. Would learning Python be enough/good? And what ...
13
votes
9answers
3k views

How to tackle massive Linux/makefile projects effectively?

I have been developing Windows applications in C++ for like 10 years now. And recently I've started digging into some Linux projects, and I can't stand how unproductive I am... I'm a fast learner, ...
2
votes
6answers
461 views

How do I choose a package format for Linux software distribution?

We have a Java-based application that, to date, we've been distributing as a tarball with instructions for deploying. It's mostly self-contained so deployment is fairly straight-forward: Untar on ...
4
votes
3answers
1k views

What and all the areas of Linux a PHP developer should know about? (Like just commands of it or something advanced)

I've developed a website using PHP but I implemented it on Windows OS and hosted it on Windows server. I just searched the PHP job market to know the on-going technology requirement and to keep my ...
15
votes
7answers
3k views

Is it possible to effectively develop PHP applications on Windows that will be deployed on servers running Linux?

Is it fine to code PHP on Windows and host it later on a server running Linux? Can there be any problems in the migration of such a project? I would think that there really can't be any problems, ...
8
votes
3answers
2k views

How was Git designed?

My workplace recently switched to Git and I've been loving (and hating!) it. I really do love it, and it is extremely powerful. The only part I hate is that sometimes it's too powerful (and maybe a ...
7
votes
9answers
3k views

What is the difference between being an IT in investment bank and a professional IT company? [closed]

Suppose there are two positions: IT in investment bank: developer for the infrastructure or the platform a famous IT company: embedded developer, linux As far as I understand, since in the ...
4
votes
1answer
545 views

Monitor Process

I have some previous posts talking about how to use python to "do something" when a record is inserted or deleted into a postgres database. I finally decided on going with a message queue to handle ...
5
votes
2answers
3k views

Why are all desktop environments but KDE using GTK? [closed]

I recently did some hacking with Qt, and found it quite pleasant. Then I switched distributions on my laptop a couple of time, and noted that only KDE is using Qt, all the others are using the Gnu ...