systems

Solving a linear equation

I need to programmatically solve a system of linear equations in C, Objective C, or (if needed) C++. Here's an example of the equations: -44.3940 = a * 50.0 + b * 37.0 + tx-45.3049 = a * 43.0 + b * 39.0 + tx-44.9594 = a * 52.0 + b * 41.0 + tx From this, I'd like to get the best approximation for a, b, and tx....

Is it wrong to get feedback from Stack Overflow on a live system architecture?

I am the technical director at a startup, and I will eventually be tasked with implementing a "real" system architecture when we hire more programmers. Right now our clients are small enough, and it is just me, so documented deployments, source control, unit tests and quality assurance servers are non-existent. Eventually I will need to ...

Are there any Technical Advantages on Mainframe (or any other legacy systems)?

Background: I believe most of the major financial institutes and major retailers still have many critical business processes and data relied on the legacy systems, such as Mainframe. Many developers still write code on those terminal windows without a debugger to add enhancements to their Mainframe systems, which I call the stone age o...

A Career in Operating Systems?

I'm currently taking a class in operating system development. I really enjoy the course work and find myself doing extra credit on every assignment. I have also been working on some open source OS projects in my free time. I can't really find anyone on Monster.com looking for OS programmers though. Has anyone out there gone down this ...

What is the best resource for learning about Safety Critical Systems Development (C/C++)

I'm looking to locate a good resource (book or otherwise) on safety critical systems development techniques/methodologies, especially something that will cover both hardware and software . I have a sound working knowledge of C/C++, so even if it is just code on SourceForge etc I would still appreciate a link to it to have a browse. Than...

How to track System Dependencies?

Introduction In my current organisation, we have many desktop and web applications all feeding into each other at some point. When looking after older applications or creating new applications, it's proving very difficult to try and remember which system rely on other systems in order to work. I'm not talking about software dependencies...

Do you design/sketch/draw a development solution first and then develop it? If so how?

I work a lot with decision makers looking to use technology better in their businesses. I have found that a picture is worth a thousand words and prototyping a system in a diagram of some sorts always lends a lot to a discussion. I have used Visio, UML (somewhat), Mind Maps, Flow Charts and Mocked Up WinForms to start the vision for th...

Improving really bad systems

How would you begin improving on a really bad system? Let me explain what I mean before you recommend creating unit tests and refactoring. I could use those techniques but that would be pointless in this case. Actually the system is so broken it doesn't do what it needs to do. For example the system should count how many messages it s...

Given this expectations, what language or system would you choose to implement the solution?

Here are the estimates the system should handle: 3000+ end users 150+ offices around the world 1500+ concurrent users at peak times 10.000+ daily updates 4-5 commits per second 50-70 transactions per second (reads/searches/updates) This will be internal only business application, dedicated to help shipping company with worldwide ship...

monitor which process modified a file under FreeBSD/Linux

From time to time, a file that I'm interested in is modified by some process. I need to find out which process is modifying this file. Using lsof will not work, nor does kqueue. Is this possible under FreeBSD and Linux? ...

Joining 2 Sockets?

Is it possible to join two sockets? For example, if a process is acting as a router of messages between 2 other processes at some point being able to step aside would save a bunch of socket IO. This seems like it should be possible, but I've never even HEARD of it being done! If it is possible, is it possible on Linux AND Windows? If ...

Ignoring SIGCHLD in some cases but not others

In my program, I fork() several times depending on user input. In certain instances, I want to handle SIGCHLD and say something like "Process # Finished". In other cases though, I want to ignore this signal. How can I do this? ...

How can I use fprintf and write to a pipe?

I created a pipe and I used dup2() to overwrite streams 1 & 2 (stdout & stderr) into those pipes. Now I wish to use fprintf to write to stream 1 or 2, but my program doesn't seem to be receiving anything on the other side of the pipe. I've tried using printf(), but I'm not sure if this writes to stdout or stream 1 by default. If it writ...

An example project for network-programming written in C/C++

Are there good open-source projects on P2P file-sharing systems or distributed file systems written in C/C++ ? I need a project to start with network-programming. Can anyone give me any suggestions? ...

Semaphore queues

I'm extending the functionality of a semaphore. I ran into a roadblock when I realized I don't know the implementation of an actual semaphore and to make sure my code ran correctly, I needed to know this. I know a semaphore works by blocking threads that are waiting on it when they call sem_wait() and another thread currently has it lo...

Handling repeated events in a log

I have a logging system where some events are repeated infinitely. for example: 12:03 - Restart attempted 12:03 - Restart failed 12:02 - Restart attempted 12:02 - Restart failed 12:01 - Restart attempted 12:01 - Restart failed This might go on for days. I imagine there are standard ways that systems deal with spammy events like this. ...

What is the significance of having high pgfree/s on a linux system?

I am seeing high pgfree/s values in sar for an application. Generally is this an issue I should be concerned about? If so, what is generally the cause, spending time lots of time in GC? ...

How do you define a software component?

How do you define a software component and what kind of relationship is there between OOP and component programming? What are the pros and conns and what is the "golden ratio" of these paradigms? ...

How do you handle internal systems development?

We regularly convince our clients of the values of having a good quality intranet and systems, but within my organisation it doesn't seem that we're "eating our own dogfood". We have really lacklustre intranet systems - a hastily thrown together sharepoint install that no one really oversees. An additional cobbled-together legacy intran...

Can anybody suggest me a book on embedded system design?

Please suggest me a book on embedded system design which covers advance design of embedded sofware design of hardware to build efficient system I know, its difficult to learn all the things from books still do suggest me some books. ...