All Questions

7
votes
7answers
504 views

What should I learn more about debugging?

To debug my programs I mainly use the following methods: Use printf (or equivalent in other languages) to check the value of a variable after a particular statement or to check whether the program ...
3
votes
3answers
229 views

Patterns for Maintaining Model State in Real Time

While some platform in some languages already address this issue, I would like to keep this semi-language agnostic and to focus on patterns associated with this issue. I have a data model that ...
0
votes
3answers
710 views

How can I prototype my app better? [closed]

A few weeks ago I saw a story about a master app designer showing how he worked with good old pen and paper to do effective prototyping before writing code. I'm unable to dig up that story (and I ...
1
vote
5answers
960 views

Is placing self taught programming experience in a (computer science) university CV a good idea?

I wish to know if putting my attempts at programming in my university CV is a good idea. On the one hand it could show I'm willing and eager to learn, but on the other it could make it appear tacky ...
2
votes
2answers
260 views

Putting it all together

I've been reading a few books on c# development over the last few months (clr via c#, architecting applications for the enterprise, c# 4 in nutshell just to give you an idea). I really feel it's been ...
2
votes
4answers
2k views

New to Back End Development where to start? [closed]

I am an student learning web development by my own, I am very interested in back end development where can i start to learn?
3
votes
3answers
527 views

How to structure an application which reads UPC barcodes

I have no previous experience on creating a project for a seller which will use barcode reader. I am trying to put together a small project but I cannot figure out how the pieces should glue together. ...
14
votes
6answers
1k views

Is it a good habit to use C expressions in C++ code?

At school we started learning C this year, despite the fact I'm way ahead of class, and I learned Java, C++ and C while the class is at the base of C. Anyhow, I've been documenting myself, reading ...
6
votes
2answers
438 views

Ignoring unit tests - good and bad reasons when and why?

Recently I began a new project to re-implement a core part of automation. Since it is very important, I'm TDDing it so that I can tests various basic scenarios as well as things we know the old system ...
54
votes
24answers
16k views

How can I explain the difference between NULL and zero?

Working on a problem that uses the percent change formula: percent change = 100 * [(new value - old value) / old value] How would I explain the difference if new value or old value = NULL, rather ...
2
votes
1answer
495 views

What is the difference between distributed and non-distributed version control?

What are the internal structural differences between distributed (e.g Git & Mercurial) and non distributed (Subversion) version control? The question came from a discussion group where a tool was ...
42
votes
11answers
9k views

What characteristics or features make code maintainable? [duplicate]

I used to think I knew what this was, until I really started thinking about it... "maintainable"... what exactly makes code maintainable? To me, if code must be maintainable that means we can expect ...
2
votes
1answer
117 views

Versioning Within a Platform

I work with a few different web platforms, and my actual projects are typically quite small, and live within those platforms. The project files are scattered throughout the platform tree, which makes ...
4
votes
1answer
569 views

PHP Aspect Oriented Design

This is a continuation of this Code Review question. What was taken away from that post, and other aspect oriented design is it is hard to debug. To counter that, I implemented the ability to turn ...
3
votes
2answers
322 views

Available options for classifying words in text?

I am researching ways to classify words in text and I'm wondering what options there are and which are best suited to this job. I'm mostly interested in keywords which are most often nouns. So far I ...
3
votes
4answers
244 views

How can I design an application so that it works well with a database selected by the customer?

I want to write an ASP.NET 4.0 application with IBM DB2 Express-C as its back-end. One thing that worries me, is hosting this application on a remote server. I don't know any hosting provider who ...
0
votes
2answers
310 views

any website monitoring library/modules to use in my website?

I'm trying to build a site which user can add their websites which should be monitored and can view a detailed report and statistics of it. And also it should be able to monitor local webservices ...
2
votes
1answer
82 views

Collaboratively working with a WebDesigner - Best practices

I'm a programmer. I have always worked by myself. I usually do only back-end, but now I have a webproject that I want to hand the "View" part to a designer to make it beautiful. What I'm looking for ...
2
votes
2answers
799 views

Right design pattern to use StopWatch class

I have to measure execution time for a blocks of code. I had implemented simple StopWatch class like http://www.goldb.org/stopwatchjava.html. If I will invoke methods of StopWatch class directly ...
1
vote
1answer
4k views

Why should I use JAX-RS REST instead of normal servlets?

I'm teaching myself J2EE technologies using Glassfish as my webserver and EJB container. I'm very interested in learning REST as well, and developing an application that is adherent to the rules of ...
2
votes
2answers
236 views

Find feature in NetBeans (or even Eclipse, or others) excluding comments

Is it possible to use the find feauture in NetBeans or other Java IDE excluding commented code from the results? How?? Given a project I'd like to find all the occurrences of a word without getting ...
15
votes
5answers
5k views

In an MVC system, where should the database persistence code sit?

I've seen multiple configurations for persisting information to the database. Generally, three types of designs seem common in my corner of the world: Controller manages the persistence Model ...
3
votes
3answers
604 views

Is an 8 second (incremental) build time common?

My current project takes 8 seconds to build one C++ file. Is this common? Other files take 12-15 seconds but most at the moment are about 8 seconds. I use Visual Studio to tell me the time. I have ...
3
votes
1answer
1k views

Which licenses are free for commercial use?

I'm lost in a mass of licences - GPL, LGPL, Creative Commons, BSD, Apache, etc, and looking for a beginners guide. When using a component under a popular licence like these, what are the restrictions ...
7
votes
2answers
1k views

Is chartership important for software engineers?

I'm based in the UK and have been developing software for over 10 years so think I am a reasonable way through my career. On and off in various jobs I have had I have been members of various ...
0
votes
2answers
116 views

What licence for a FOSS that would sell packages on Mac and Windows but give them away on Linux?

The code should remains as open as possible, but I'm planning to sell it on Windows and Mac, and make free rmp/deb. Does the licence even matter? It feels like I'm just selling the service of ...
3
votes
2answers
277 views

Non-viral open source license but with clause for source disclosure?

I'm looking for a license (for a C library) which basically says: "Redistributions in binary form must be accompanied by the source code of Larger Work (My code + Your code)" i.e., L = M + Y, with ...
4
votes
2answers
390 views

Program more professionally (planning, notation, …)

I program a data-analysis framework for my company (20000LOCs by now). There are 2 programmers who help writing individual module for interfaces I have predefined. So far I haven't used much planning ...
10
votes
4answers
6k views

The term “interface” in C++

Java makes a clear distinction between class and interface. (I believe C# does also, but I have no experience with it). When writing C++ however there is no language enforced distinction between class ...
1
vote
1answer
206 views

Team Parallel development in ASP.NET

I am developing an application written in ASP.NET (C#) which heavily use on Master Page and Session. As there will be enhancement in the same web application, and will be done by my teammate. is ...
35
votes
8answers
5k views

Is it a good practice to use branches to maintain different editions of the same software?

We have a product that has a few different editions. The differences are minor: different strings here and there, very little additional logic in one, very little difference in logic in the other. ...
53
votes
7answers
42k views

What's the difference between simulation and emulation

I frequently see Simulation and Emulation in computer science. These two terms seem synonymous. Is there any difference between Simulation and Emulation?
2
votes
2answers
892 views

Ruby Drag-n-Drop IDE and Ruby programming related [closed]

I am writing a small desktop GUI application using Ruby and Gtk2. I am using RubyMine 3 on Linux (Fedora). I created a simple class to create a Gtk Window but now I feel it takes more time to just ...
16
votes
7answers
5k views

Java IDE written in pure Java? [closed]

Is there a Java IDE written in Java? I just got my year 9 DET laptop today at school, and there are all sorts of restrictions set in place. Somewhat annoyingly, you cannot run any executable other ...
5
votes
1answer
468 views

Good open source projects to master Python concurrency [closed]

Concurrent programming in Python is very colorful (and confusing too). There's just too many options with each having it's pros and cons... Thread based (threading module) Process based ( ...
12
votes
2answers
494 views

How should I handle negative campaigns against my application? [closed]

I developed an app a few years back: while it's outdated and useless compared to what's available today, it was helpful for people when it was first released. I recently searched for my own name on ...
1
vote
1answer
1k views

What is the best design pattern for asynchronous message passing in a Chrome extension?

I have a background script that is responsible for getting and setting data to a localStorage database. My content scripts must communicate with the background script to send and receive data. Right ...
1
vote
3answers
712 views

How do large-scale applications handle GUI creation?

I'm interested in developing GUI-based Windows applications in C++, but I'm not sure how it's done in professional or large-scale settings. It seems it would take a lot of development time to describe ...
9
votes
6answers
604 views

Is it important for a solution to be an efficient one?

I solve many problems, mostly from Top Coder. I will get answers for many, but most times I end up with an inefficient solution. In real-world implementations - does it really matter that a solution ...
3
votes
2answers
162 views

How can I teach Java theoretically from distance?

I will be in the position of teaching Java theoretically, (it will not contain a screen and typing, all things that I will have is a paper and a camera so they can watch my hands while I am writing). ...
5
votes
4answers
352 views

Can I advance my career in the USA if I lack local networking? [closed]

I'm a web developer with 10 years of experience in the Microsoft stack. I was brought to the US by my company, but my contract has ended. I want to continue pursuing a career in the US, but it seems ...
1
vote
2answers
430 views

Learning to program by immersion? [closed]

I've long realized that the best way to go about learning another (natural) language is by immersion - you can learn Spanish in a classroom, but you'll never be as fluent as someone living in Spain ...
0
votes
1answer
1k views

How should a student go about extra-curricular activities involving programming? [duplicate]

Possible Duplicate: How can I find a good open source project to join? I'm currently a student in high school, and my passion is in programming and computer science. I love it, and I think ...
7
votes
3answers
2k views

Which is the most permissive open-source license? [closed]

Which is the most permissive open-source license available? "Permissive" would be defined as "the minimal requirements about how the software can be redistributed".
2
votes
1answer
226 views

Sharding with IoC

I've come across a situation where I need to shard a database (Oracle, but that doesn't particularly matter). The gist of the problem is I have written a large-scale system in a fairly standard ...
17
votes
8answers
3k views

In Scrum, should tasks such as development environment set-up and capability development be managed as subtasks within actual user stories?

Sometimes in projects we need to spend time on tasks such as: exploring alternate frameworks and tools learning the framework and tools selected for the project setting up the servers and project ...
-1
votes
1answer
603 views

How to design classes in right way (sending messages)

Trying to design small project in right way and have a trouble in it:\ about task: need to realize multiplication of big numbers, using fft First, i have classes class LargeNumber{}; class Field{}; ...
6
votes
4answers
17k views

How can I get into C++ graphics library? [closed]

I have been programming for a year so far and I know 2 languages: C and C++. I've covered the basics, I've written functional windows programs, and I've written complicated bits of code. When I was ...
3
votes
4answers
560 views

What factors should I consider when choosing names for identifiers?

What factors do I need to consider when choosing names for identifiers such as variables? I am concerned about space issues, i.e. extra memory consumption when choosing longer names. As an example, ...
0
votes
1answer
398 views

Can anybody recomend a good SEO book? [closed]

Im currently developing a ASP MVC site. Is there any book out there for ASP MVC SEO or just SEO in general?

15 30 50 per page