1
vote
1answer
570 views

How can I maintain a SQL schema upgrade that goes out to our users on a regular basis?

I work on a project that uses a SQL database as a back end, and a desktop app as a front end. We do releases on a regular basis, and as part of a release, our client needs to update their SQL server. ...
2
votes
1answer
650 views

Source code of jar.exe - is it available

This may seem an odd question, but I want to create an executable which runs under Windows written in C++. The program needs to be able to update a jar file even if Java is not installed on the ...
8
votes
2answers
1k views

When would I require a Macro instead of a function?

I am new to Clojure, I am new to Macros and I have no prior background in Lisp. I went on to create my own switch case like form and ended up with this: (defmacro switch-case [v cases default] (if (...
0
votes
1answer
533 views

How to store an object state/data for later processing?

What do you think would be the most effective solution to maintain an object status through a life cycle? The goal to be able to be continue from any state any time. During the life cycle likely to ...
2
votes
1answer
43k views

Difference between functional and technical specification [duplicate]

I'm writing a specification for a project, and am struggling with separating functional specification from technical specification (see http://www.joelonsoftware.com/articles/fog0000000035.html). ...
21
votes
5answers
7k views

Efficient way to shuffle objects

I'm writing a program for some quiz software. I have a question class containing the ArrayLists for the question, answer, options, marks and negative marks. Something like this: class question { ...
2
votes
1answer
170 views

Appropriate License for Available-Source, No-Unauthorized-Distribution

I have a program (technically an addon to a program) whose code I want to be freely available for educational purposes or to create derivatives for personal use. However, I do NOT want to allow ...
1
vote
2answers
4k views

Anemic Domain Model vs. DDD by definition example(s)?

What is an example of "Business Logic" that should reside in the DomainModel i.e. inside an Entity instead of inside a (Domain) Service, as well as some example logic that should be in a service. ...
-1
votes
1answer
131 views

Design suggestion required to create an Export plugin

I am trying to create Export Module for our application, this seems to me a bit complex so I am posting it here to get some guide lines. In our database we have a list of Products, which can be ...
1
vote
1answer
376 views

Is there a time bomb in sequential process id allocation when the `unsigned` wraps?

I'm designing and implementing a multiprocessing postscript interpreter ("lightweight" processes simulated by a single OS-thread), and I need to generate a unique identifier for each process in the ...
3
votes
1answer
300 views

Architecture For Mockable DAL On Large Projects

I have recently been reading an article about creating a blog using ASP.NET and MVC, and in the article the user splits the Data Access Layer into a separate Class Library, and creates an interface ...
1
vote
1answer
446 views

Does this violate the using exceptions for flow control “rule”?

I plan to make use of this interface in a plug-in architecture. /// <summary> /// Generic interface allowing you to react to an event. /// You can block the event or just use it for ...
13
votes
2answers
1k views

How did Strassen come up with his matrix multiplication method?

The famous Strassen's matrix multiplication algorithm is a real treat for us, as it reduces the time complexity from the traditional O(n3) to O(n2.8). But of all the resources I have gone through, ...
4
votes
1answer
532 views

Java language constructs to enforce design decisions

What constructs in OOP languages (specifically Java) allow you to enforce design decisions and intent? I think some examples would be the 'final' keyword, access modifiers, template methods, perhaps ...
4
votes
3answers
727 views

Javascript behavior depends only on browser or browser + OS?

Generally for a javascript application, compatibility is mentioned in terms of browser types and browser versions it supports. Frameworks/Libraries like ExtJs also mention about the browser versions ...
1
vote
1answer
211 views

Idea of the binary search main theorem

This link really provided some insights into the idea that binary search implications into the optimization problems by giving the main theorem. I am not really confident that I get the idea of the ...
3
votes
3answers
7k views

What does 'enumerable' mean?

My background in mathematics is very poor (i.e. last relevant math class taken was high school Trigonometry two years ago - another story for another time). I'm reading 'Javascript: The Definitive ...
8
votes
5answers
662 views

Is it a good idea to read compiler source code? [closed]

I'm a junior in college majoring in Computer Science. Apart from writing lots of code, I want to start reading source code written by others to improve my coding skills and learn better/different ways ...
5
votes
2answers
12k views

How can I send data without POSTFIELDS in PHP curl?

I'm using a REST API through PHP and I'm a bit confused on the CURL_POSTFIELDS behavior, which implies that I must send a querystring or array, but what I'm seeking to do is just to send a string of ...
4
votes
4answers
1k views

How to rotate an array of bits

I currently have a PIL Image object which I store as an array of bits (1's and 0's). However I now would like to be able to rotate that image 45 degrees. One way to do it is take the original PIL ...
2
votes
4answers
561 views

Is Objective C a reasonable way to learn C? [closed]

I want to learn C but I tend to learn best when I have a project to work on. I've never done iPhone development, so I'm hoping to kill two birds with one stone. Will learning objective c also teach me ...
4
votes
1answer
1k views

Untyped lambda calculus: Why is call-by-value strict?

I'm currently reading Benjamin C. Pierce's “Types and Programming Languages”. Before really getting into type theory it explains lambda calculus and evaluation strategies. I am a bit confused by the ...
2
votes
1answer
1k views

DDD/SOA in (.NET) MVC and Message pattern(s) / Request Response

We're currently considering whether it makes sense (or if the benefits are worth the added code) to introduce a Message based pattern (such as Request Response) into a Domain Driven Design / Service ...
3
votes
1answer
268 views

Finding maximum number of congruent numbers

Let's say we have a multiset (set with possible duplicates) of integers. We would like to find the size of the largest subset of the multiset such that all numbers in the subset are congruent to each ...
3
votes
2answers
568 views

How do I collect a list of rss feeds? [closed]

I am developing a rss reader where users search and follow blogs. But, how will I collect and store the feeds of thousands of blogs? Manual process of adding individual feeds is painful. Is there an ...
5
votes
1answer
293 views

Does software in a professional environment need to be licensed?

Background: I'm writing in-house software - it has absolutely no contact with the world outside the company - but I'm using various libraries, which themselves do have some license structure. So for ...
3
votes
1answer
111 views

Handling ground-breaking changes in a production system - Insert intermediate level Management object

As our client request, we are proceeding to change the base of our system. We already have the following structure: A class has many students. (simple typical one - to - many) Now we must change ...
3
votes
1answer
121 views

Verification for value of test standards

We are currently developing a concept for our tests standards. Up until now, we don't have standards. All we do is to tell the developer to write tests. Now we have the following basic idea: We will ...
9
votes
2answers
776 views

Does SOA service composition actually work in practice?

One of the main SOA service design principles is Service Composability principle (https://en.wikipedia.org/wiki/Service_composability_principle). The idea is that by composing new services using ...
5
votes
1answer
4k views

Homogeneous vs. heterogeneous AST representation

What are the reasons to choose a homogeneous vs. a heterogeneous AST representation for implementing a complex domain-specific programming language? Just to be very clear about what I'm asking, here ...
3
votes
2answers
2k views

Saving user profiles in SQL database

So, I got a table UserProfiles in my database, that, similar to C#'s Settings file, holds a property with the appropriate datatype and the specified setting in the profile. Now each time I add a new ...
0
votes
1answer
280 views

Where should I put my method

I am writing a Java program using the MVC design pattern. I have classes Item and Supplier. In the database they are connected through a item_supplier table. I'm writing a method which will give me ...
7
votes
3answers
401 views

Change of the complexity class through compiler optimization?

I am looking for an example where an algorithm is apparently changing its complexity class due to compiler and/or processor optimization strategies.
9
votes
3answers
1k views

Why don't computers come with specialized hardware such as sorting networks?

Instead of programming the way we do, why don't we make specifications of common tasks such as "sorting", and then let the environment compile it to make best use of it's hardware? This way, we could ...
1
vote
2answers
1k views

MVC pattern with JSF-Spring-MyBatis webapp

I've a Java webapp with these frameworks and I want to know if my implementation meets with MVC pattern: Controller Layer (V) I'm using JSF @ManagedBean public class Controller{ @...
7
votes
3answers
372 views

How will writing the transaction part in Java benefit the security of the application, when all other parts are being written in PHP?

A friend of mine while working on a PHP application asked me to write one part of the application in Java. The part that involved transactions. He said it will be better to write this portion in Java. ...
9
votes
3answers
2k views

Is there a loophole in the GPL that allows proprietary software to be linked with GPL libraries?

Let’s examine a hypothetical scenario: Company X writes a proprietary program (A) that dynamically links with a proprietary library (B). Company Y wants to use a replacement library (C) licensed ...
12
votes
2answers
7k views

Summarize changes (insertions and deletions) in Git [closed]

I want to look at how my code base has grown over time. GitHub has a nice +/- display along the list of checkins which gives a sense of this. Is there something similar I can use with my Google Code ...
0
votes
1answer
278 views

Is there an equivalent to Build-Operate-Transfer for software development?

Is there an equivalent to Build-Operate-Transfer or Build-Lease-Transfer in software development? Does it even make any sense to operate such a project in software? Do you know of any projects in your ...
1
vote
1answer
3k views

Why does DataContractJsonSerializer not include generic like JavaScriptSerializer?

So the JavaScriptSerializer was deprecated in favor of the DataContractJsonSerializer. var client = new WebClient(); var json = await client.DownloadStringTaskAsync(url); // http://example.com/api/...
0
votes
1answer
71 views

How to record/store edits?

In many programs and web apps (stack exchange included) the program is able to backtrack what edits where made to the piece. My issue is similar: I want to be able to store a "timeline" of edits, ...
1
vote
1answer
2k views

Simple way to deploy Winform application to website

First of all, I know there is no perfect answer to my question. It is a bit personnal, but I'm sure many programmers face the same dilemma when they get from regular desktop applications to client/...
5
votes
6answers
2k views

Should I allow my client to self host?

I'm just starting out as a web designer. I'm trying to build up a portfolio for my own website. I'm concerned about designing a site and handing it over to the client. Once I do this I could lose ...
0
votes
1answer
234 views

How does one start mocking up a mobile app? [closed]

I have this idea for the "best app in the world". I know what it's going to do, the need it's going to fill, a high to mid-level idea of the code, and who i'm going to target. Now i'm ready to begin: ...
4
votes
2answers
165 views

Difference between sending a message and emitting it

Halfway through the RabbitMQ tutorial, I noticed that the tutorial stops referring to producers "sending" messages and starts using the verb "emit" instead — and pretty consistently, too; after the ...
4
votes
3answers
623 views

What's an incorporated software developer?

I saw a job posting asking for "incorporated software developers" and asking them to state their "incorporated rate" when applying. What's the difference between an incorporated developer and a ...
1
vote
4answers
3k views

How to design a good receipt number [closed]

I am developing a web application, this application will need to generate receipt number for every confirmed transaction. What is a good receipt number? I think a receipt number should not be just a ...
1
vote
2answers
527 views

Making a class pseudo-immutable by setting a flag

I have a java project that involves building some pretty complex objects. There are quite a lot (dozens) of different ones and some of them have a HUGE number of parameters. They also need to be ...
2
votes
5answers
518 views

Tracking progress via a burndown chart when sprints overlap

Our team has adopted some agile practices to help us develop and deliver our software to our client. We adopt practices as needed (as problems/challenges were identified) rather than jumping wholesale ...
1
vote
1answer
220 views

Good way to manage database test data?

Standard LAMP stack: CentOS, Apache, PHP, MySQL plus Java (via Google Web Tools), eclipse, mercurial Currently we have a manual integration step where a feature branch is pushed to a staging server ...

15 30 50 per page