1
vote
0answers
11 views

What to do when you are faced with programming task that you have never done?

I started my career as a .NET developer 3 months ago and after a long training plan on diverse technologies, patterns and concepts the developers who were supervising me have decided that I am ready ...
0
votes
0answers
7 views

Production or Custom Test Data for Unit Testing?

I've recently had a little disagreement with fellow developers. We're transforming various ontologies from the original source format (Pica+, RDF, etc) into our data format and have several converters ...
-4
votes
0answers
26 views

Virtual function in C++

I have some doubts regarding inheritance in C++ language. What is a virtual function? Why does one need to define virtual functions in a class? If I define/declare a virtual function in a base ...
0
votes
1answer
18 views

What is the difference between implementation and realization in Mythical Man Month?

In Fred Brook's Mythical Man Month chapter 4 (Aristocracy, Democracy, and System Design) page 49, he says: As Blaauw points out, the total creative effort involves three distinct phase: ...
0
votes
2answers
36 views

What Does “The Program Must Process Each Character Before Reading the Next One” Mean?

From the book Think Like a Programmer (emphasis mine) The Luhn formula is a widely used system for validating identification numbers. Using the original number, double the value of every other ...
2
votes
0answers
15 views

Where is it appropriate to do input validation in Erlang?

I'm writing a module that runs a finite state machine* based on the contents of an array of records passed in at initialization. Each record describes a state and includes instructions on how to act ...
2
votes
2answers
76 views

foreach over multiple lists at once

Are there any languages that support foreach over multiple lists at once? Something like this: foreach (string a in names, string b in places, string c in colors) { // do stuff with a, b, c ...
0
votes
0answers
6 views

How to install Charisma Bundle in Laravel 4 [migrated]

There is a bundle called charisma for Laravel 3 but I want to use it with Laravel 4. Laravel 4 uses composer packages instead of bundles. Is there a package or a way to use charisma in Laravel 4?
-3
votes
0answers
29 views

Regarding Computer Science Degrees [closed]

I'm going to college next year (Brandeis University). There are a ton of Computer Science programs available, and I wanted to know if there was any difference in terms of jobs. There's a BA, BS, and ...
0
votes
0answers
31 views

How to persist temporal data over multiple HTTP requests?

In our webapplication we have a list of questions that have to be answered by the user. These questions are served to the user one by one and will be saved once the last question has been answered. ...
-2
votes
0answers
25 views

Educational and career path advice for a front end programmer majored with a bachelor in Graphic Design [closed]

Hi I have just realized pretty late in life I like programming and developing software for the web than doing art. As a side note I'm almost done with my MCSD: web applications certification, c# is my ...
0
votes
2answers
28 views

which open source licence to use with my project?

I am working on a software project in my college. And I want to make it open source. But I want that people to only contribute to the project. I don't want that they should also release a project ...
-4
votes
3answers
45 views

I Know Objective C, but not how to make Apps [closed]

I have gone through a course on programming Objective C, but I want to begin App Development for iOS. The only issue is that I do not know where to begin learning the necessary skills required to ...
1
vote
1answer
18 views

MorphAdorner Licensing confusion

I want to use the MorphAdorner library available free for commercial use. But it uses several other libraries that restrict commercial use (like Gate etc). Can I use this library in my application?
1
vote
1answer
71 views

What license is best for this: Software is open source and free to use as long as you don't charge your customers

I'm releasing an open-source jQuery plug-in that is free to use, modify and redistribute as long as you don't directly or indirectly charge your customers. Your software doesn't need to be ...
1
vote
2answers
108 views

Any suggestions on how to over-rely on Google? [closed]

I don't know whether you Google a lot while you coding. I discover my coding practise always rely on Googling. One of the reason why is I don't familiar with the framework, So, I will do How to XXX in ...
3
votes
1answer
123 views

Why doesn't layered architecture translate easily to tiered architecture?

Basically, I'm trying to understand why layered and tiered are that different, and why they don't translate easily to each other. I understand that layered could be 3 separate class files for UI, BL ...
0
votes
0answers
20 views

DIV's isn't flowing normally [migrated]

I have a problem with positioning div classes like normally it would be. I wanted to get the DIV boxes: li { width:200px; height:200px; background:red; float:left; ...
3
votes
2answers
83 views

Researching the growth of functional languages

In recent years it seems that functional programming languages have had a real popularity increase. Languages like Erlang, Haskell, Scala, F# and Clojure seem to be pretty well known and many popular ...
0
votes
0answers
10 views

Not defined variables display [migrated]

So here is an issue: We have a pretty large CMS for fleets and sometimes people leave some optional input fields as blank, displaying that information on the screen really doesn't help anyone, and ...
1
vote
0answers
22 views

What is a good pattern for multi language in MongoDb?

Say I want to build a website that support multiple language and use MongoDB datastore. I wonder what is a good approach to have multiple versions of the body and title of an article, one for each ...
1
vote
1answer
59 views

Web applications have “the todo list.” What analogous program is there for systems programming?

You can find many frameworks with an example todo list for demonstrating a small but full application in the framework. You don't have to consider large problems like scaling or caching, but you ...
0
votes
1answer
39 views

What should I do in AJAX or PHP?

Since I discovered the joys of AJAX, I tend to do all my requests to the server using AJAX. Is this a good idea? According to you, what should I do in PHP and what should I do in AJAX? I like to do ...
0
votes
1answer
33 views

What is expected of an intern iOS SDK programmer from self-taught arena?

To be more specific, what sample apps and background, is minimum expectations for an intern? Yes, I pass the FAQ tests with this and it is related, let me narrow it down a bit though. So, when I went ...
2
votes
1answer
53 views

design strategy pattern with null checking

When the context class can accept a null strategy, is there another way to do it without check if its null? Is this considered a good strategy design implementation? class MainApp{ static void ...
1
vote
1answer
65 views

What are the pros and cons of temporary variables vs multiple returns [duplicate]

Take the following examples: public static String returnOnce() { String resultString = null; if (someCondition) { resultString = "condition is true"; } else { resultString ...
0
votes
1answer
41 views

What is the best way to represent quantity in stock in domain model?

A Transaction contains one or more LineItem. One LineItem has a relation with an Item. Every Item has a number field that represent quantity in stock. Using this approach, every Transaction ...
0
votes
2answers
42 views

GPL v 3 & Scripts

I'm not asking for legal advice; just some rough guidance. I have a host application in Java that uses the Rhino JS engine to execute JavaScript. That JavaScript can then make calls into other Java ...
4
votes
1answer
108 views

What is the name of λx.λf.fx (like reverse apply) in lambda calculus? Does the corresponding function have a standard name in programming?

What is the name of λx.λf.fx in lambda calculus? Does the corresponding function have a standard name in functional programming languages, like Haskell? In object oriented programming, is there a ...
0
votes
1answer
32 views

How can I mirror an SVN trunk repository into a regular network folder?

Me and a small team of engineers are considering using SVN to store our electrical schematics and parts libraries; currently we just have a network folder where we put all of our files. Our company ...
0
votes
4answers
93 views

Use functions inside a loop declaration

What's the best practice? This : for ($i = 0; $i < count($array); $i++) { //stuff } Or, what I usually do : $count = count($array); for($i = 0; $i < $count; $i++) { //stuff } Is it the ...
7
votes
3answers
196 views

Is this pattern bad?

I notice that when I code I often use a pattern that calls a class method and that method will call a number of private functions in the same class to do the work. The private functions do one thing ...
-1
votes
0answers
22 views

What GSCE Edexcel subjects do I need to study Computer Science? [closed]

I am currently at school and I'm studying GSCE Edexcel at my school. I know that I want to study Computer Science as I already know how to program (node.js, python, C, C++, PHP). I will be attending ...
0
votes
1answer
43 views

Implementation of automated updates

What is the best way to implement automated updates? I've gotten as far as libcurl, I imagine I need to ping the server every now and again with the current version of the software. But then what ...
-1
votes
1answer
35 views

Writing data driven reflection based tests to ensure design completeness [closed]

When writing software I'm often forced to at some point to make a decision that involves a design pattern of "by convention" naming and behavioral patterns. This normally makes me feel kind of slimy ...
5
votes
6answers
173 views

Re-architecting a classic inheritance design

I have the opportunity to rewrite a core piece of a project (C#) that is inheritance-heavy and feels increasingly restrictive in how it is designed. The scenario is pretty simple, imagine an ...
1
vote
0answers
21 views

Re-architecting a classic inheritance design [duplicate]

I have the opportunity to rewrite a core piece of a project that is inheritance-heavy and feels increasingly restrictive in how it is designed. The scenario is pretty simple, imagine an application ...
2
votes
6answers
113 views

Ensuring that headers are explicitly included in CPP file

I think it's generally good practice to #include the header for any types used in a CPP file, regardless of what is already included via the HPP file. So I might #include <string> in both my HPP ...
-1
votes
0answers
52 views

Which 3rd party library should every Python developer be familar with? [closed]

Besides numpy, which 3rd party library should every Python developer be familiar with? I know the standard library is rich, but I would like to know what is out there. I used numpy only because it ...
1
vote
0answers
63 views

What's the best way to create a static utility class in python? Is using metaclasses code smell?

Ok so I need to create a bunch of utility classes in python. Normally I would just use a simple module for this but I need to be able to inherit in order to share common code between them. The common ...
-1
votes
0answers
41 views

How do I have a user cin an integer and convert it to binary so that the appropriate 0's and 1's are stored in a vector? [closed]

I'm trying to create a BinaryInteger class that mimics the way integers are stored in a computer, but which represents negative numbers in the ‘sign and magnitude’ form (i.e., the binary ...
-1
votes
0answers
8 views

PHP_VERSION_ID is int but not defined. (PHP-FPM 5.4.4) [migrated]

Title explains it but here's what I tried to do: if (!defined(PHP_VERSION_ID) || PHP_VERSION_ID < 50400) { trigger_error('PHP version 5.4 or above is required to run this code. Please upgrade ...
-2
votes
0answers
68 views

Mass Emails, Preventing Blacklisting [closed]

We have a membership site with user-generated content. We want to do a better job of keeping in touch with our members by sending them a daily or weekly (their choice) email that shows them content ...
2
votes
2answers
83 views

Entity to DTO Usage

Been trying to come up with a flow for a basic tiered web application, and have been reading conflicting information online. What I'm trying to figure out is if there is an advantage to still using ...
-2
votes
0answers
41 views

JavaFX Book | Learn JavaFX More In Depth [closed]

JavaFX is a constantly changing thing, but appears to have been mostly standardized by Oracle releasing most of it as open source (and the rest to follow very shortly), and JavaFX becoming part of the ...
-3
votes
0answers
59 views

Is it Wise to disconnect the ui layer from the backend in mobile web apps? [closed]

What's the future when it comes to mobile web development? I mean, traditionally, in the java world, we make use of Java EE technologies such as Spring, Hibernate and some MVC framework like Spring ...
3
votes
2answers
140 views

Single Responsibility principle VS KISS principle

Let's assume the modeling of User model in a context of a social network. User concept is composed of two notions: Authentication elements like userName/Password/Email etc... Extra data information ...
0
votes
1answer
31 views

Benefits of using XML builder vs templating language like ERB?

I'm doing a lot of work with XML, our legacy XML generators use the ruby template language ERB to create the XML files. I've been experimenting with Nokogiri and the builder model of creating XML, but ...
1
vote
2answers
111 views

Protect Database Design - SQL

Perhaps a bit of an odd question but I can't think of a way to achieve what I want. I produce a product which ends up installed on-site at clients premises. It is a business critical and high ...
1
vote
1answer
36 views

Program modules separated in different DLLs

We have an existing ERP system written in VB 6 that we are converting to .Net incrementally. Now, every module in the system is being separated into DLLs so that the product becomes customizable and ...

15 30 50 per page
1 2 3 4 5 514