0
votes
0answers
10 views

What happened to all the compilers? [on hold]

In various articles and here are Stack Exchange I'll occasionally find old references (usually 2009 or earlier) to compilers that seem to no longer be used. Don Clugston's FastDelegate article ...
1
vote
1answer
28 views

Is this a commonly encountered situation in C++? Is there a pattern to handle it?

I am writing a game in C++, and something I have noticed is that I have many resource files which need to be loaded after a particular point in initialization. For example, OpenGL textures and VAOs ...
1
vote
1answer
20 views

Who provides hardware resources in private cloud?

I find myself confusing to understand the concept of private cloud. If a company has an offshore data-center, and now if the company wants to move into a private cloud, what does the company has to ...
0
votes
1answer
31 views

Static methods vs Interface implementation

Here is my problem: I stared to create a e-commerce web sites info collector. So i created a parser for each site. The parser class is state less. got methods like: getItemPrice(WebElement page) ...
-1
votes
0answers
16 views

How can I use Mongodb with the capabilities for graph databases like neo4j?

How can I use Mongodb with the capabilities for graph databases like neo4j? I want to create a application like Linked In, MongoDB seems to be a promising database for this kind of application in ...
0
votes
3answers
64 views

Why is no default constructor generated if you define an explicit constructor?

class Employee{ String name; int id; //No explicit constructors } Now i can invoke the following statement Employee e1=new Employee(); Now the compiler( i'am not sure about who ...
-1
votes
0answers
11 views

About on licenses available to create and publish an Android Application

I want to know if there are any restrictions on licenses for my application, have thought about having my application under the license Creative Commons. I want to protect my application of ...
3
votes
4answers
173 views

Do we need to test 32 bit software in 64 bit Windows?

I'm working in a software development team as software developer. I've been working on the same project for 3 years now. The software is a 32 bit desktop based C# application in .NET 4. Our target ...
-3
votes
0answers
20 views

Google Sheets Conditional Formating - If date has match

I need help accomplishing this: If a date in Column A has a matching a date found in Column C, apply green formatting. I've toyed with VLOOKUP but something isn't working: Help!
0
votes
3answers
59 views

What do you call the line/s of code that declare that a class or function is a template?

I'm writing some macros which declare template types and I'm a bit stumped for terminology. To illustrate, take the following example: // template class declaration template <typename A, typename ...
2
votes
0answers
19 views

CouchDB and document versioning

I'm currently working on a wiki-esque application using CouchDB and am trying to implement a document versioning scheme. The way I see it there are two ways of doing this: Store each version as a ...
-4
votes
0answers
21 views

Find n nodes farthest away from each other [on hold]

I'm looking for an algorithm that gives me the n nodes that are the farthest away from each other. Can this be accomplished relatively efficiently?
-7
votes
0answers
26 views

Integrate a codeigniter website into a core PhP website with no framework? [on hold]

I am getting a website built. Actually, this has been going on for a couple years now unfortunately and I can see why now reading about all the bugs that are created when no framework is used. The ...
-2
votes
0answers
15 views

Restrict Access to Page Options

So I've yet to find a simple tutorial/library to implement oAuth with Coldfusion without the complexity of a userbase. I literally have an LTI tool where I set the app secret and all I need is a page ...
2
votes
0answers
49 views

Understanding Boyer-Moore Algorithm

I'm trying to implement Boyer-Moore algorithm according to this. I'm not sure if it is part of a book or if it's just some university notes. According to it (just before Theorem 0.2.4): ...
0
votes
2answers
189 views

FizzBuzz on Large Scale

So I was asked to create FizzBuzz at an interview... Easy enough but then they say what if there is a million data points. ie. divisible by 3 divisble by 5 divisble by 6 up until a billion. What is ...
-2
votes
0answers
17 views

Search user-created lists for element [on hold]

Given a (very large) set of user-created lists (of strings, for simplicity), can one string be found in real time in all lists, returning the lists that contain the string? Is it doable if there is ...
2
votes
3answers
130 views

Is there a 'standard' SQL that can replace all the various custom versions?

I have been writing SQL for over 10 years now. I am extremely proficient at it and have experience working in SQL Server, Oracle, MySQL, PostgreSQL, etc. While there are multiple standards out there, ...
5
votes
5answers
1k views

When writing object-oriented code, should I always be following a design pattern?

Is there a conceivable design pattern for any object-oriented program? I ask this because recently I saw an implementation of a Door class with a Lock. It was part of a test and the answer said that ...
15
votes
3answers
877 views

Should test data be checked into version control?

I'm writing some test code for a feature which processes PDF files. The basic idea behind the tests is that I point them towards some PDFs I've selected specially, they process them and I check that ...
1
vote
3answers
96 views

Should I denote that a method satisfies an interface?

When writing a class which has ("satisfies") 1 or more interfaces, should I note somehow (e.g. in an XML comment, or with an attribute) that a particular method was added for one of the interfaces? ...
4
votes
4answers
272 views

When does it make sense to compile my own language to C code first?

When designing an own programming language, when does it make sense to write a converter that takes the source code and converts it to C or C++ code so that I can use an existing compiler like gcc to ...
0
votes
3answers
125 views

How do I design my application to use REST for itself?

I'm not sure how to ask this. I know this is simplistic, but I understand (I think): REST is an architecture, not required, simply a way to build REST is a style and a community standard for ...
0
votes
0answers
21 views

Reliable way to generate a token in a SOAP webservice

Legacy SOAP service here at work use a token authentication. The flow is: As first step I call the startSession method passing username (say myUser) and password (say myPWD) as parameter. At this ...
0
votes
1answer
52 views

Do I need EventAggregator here?

I'm learning MVVM pattern with C#, WPF and .NET Framework 4.5.1. I'm using MVVM Light framework to do it and now I have a doubt. Reading the book Windows 8 MVVM Patterns Revealed I see that the ...
-6
votes
0answers
28 views

If you had a choice debugging deadlock problem or a liverlock problem [on hold]

If you had a choice debugging deadlock problem or a liverlock problem,Which would you choose?Why?How would you proceed?
6
votes
2answers
264 views

What is the difference between uninitialized object variable and object variable initialized to null in Java

I have the following two object variables Date a; Date b=null; Definitely both 'a' and 'b' are not referring to any objects. Now if I invoke following statement System.out.println(a.toString()); ...
-3
votes
1answer
27 views

eshop cart saved per user [on hold]

I'm developing eshop and was thinking about the cart session and how to increase lifetime of cart session or if I should choose another approach. My problem When user puts items in his cart and wont ...
-3
votes
0answers
51 views

What to consider in coding guidelines for C++11/14? [on hold]

My company recently decided to fully switch to C++11 standard. It means that we have to update our C++ coding guidelines. What rules / recommendations should we add to the guidelines document so that ...
0
votes
0answers
30 views

Git Workflow for multiple sites sharing common functionality [duplicate]

Apologies if you've heard this question or variants of it multiple times before. However, I have the following situation: We develop a site using Drupal/Wordpress - let's call it Site Foo_A. We're ...
-2
votes
0answers
32 views

Point on a rectangle perimeter [on hold]

In order to build a graph editor I want to link properly two nodes represented by rectangles. I am looking for the coordinates of the p0 and p1 points on the rectangles. I know the coordinates of ...
-2
votes
0answers
103 views

Is it possible to change out an image src=“” before the original image loads [migrated]

I've been looking at Javascript that can change the src of an image. I'm simply wondering if this can be done before the browser attempts to fetch the original image. Example. Src="Large-Image" ...
0
votes
0answers
24 views

How can I aggregate data from separated databases in more efficient way?

Firstm I'm using PostgreSQL 9.3. I'm solving the problem which is to retrieve a data from a separated databases and to render it into a web page. The web project is on the Java (JSF 1.2). Presently ...
-3
votes
0answers
17 views

Code igniter uri routing with id [on hold]

=======controller class Event extends CI_Controller { public function index($id = null) { $this->load->view('header'); $this->load->model('get_event'); $data['results'] = ...
0
votes
1answer
21 views

design for buffering or queuing data streams to replace database

We have a system (ms stack, .net, sql) that receives data from thousands of remote devices (several independent readings/min). We currently save all the data to a db as it arrives and a second service ...
-3
votes
0answers
23 views

kineticjs vs raphaeljs vs bonsaijs vs paperjs [on hold]

I will start a project and I have to choose one of this libraries. I already have done some projects in kinecticjs, but I'm concerned that it will stop to be supported. Does anyone now why this page ...
-3
votes
1answer
88 views

How can I test a method which aggregates data from a database? [on hold]

I'm developing the web Java application and come across the following issue: I'm using jUnit 4.5. Suppose that I have a method which aggregates data from a database for the rendering their to a ...
-2
votes
0answers
43 views

Logging approaches (procedural vs semantic vs…) [on hold]

While some approaches to requirements of an application seem to change at a daily pace (think persistence -> from flatfiles to cavemens SQL to repositories to ORM to NoSQL), I've got the feeling that ...
-4
votes
1answer
65 views

Is it worth to bother with iPhone 4 when developing a new application? [on hold]

[EDIT] Moved question to AskDifferent : http://apple.stackexchange.com/questions/148011/is-it-worth-to-bother-with-iphone-4-when-developing-a-new-application As it seems off topic on this site. I'm ...
0
votes
0answers
32 views

How to scrub Twitter and Facebook posts for many users

I'm making an Rails app that in theory should scrub new posts from the users facebook and twitter accounts and put them in a timeline for an analyst to analyze and determine if they are good or bad ...
-4
votes
0answers
39 views

looking for PHP framework, but not MVC [on hold]

I'm looking for a collection of classes or framework that doesn't force me to use his MVC structure I would like to add class to my project as regular include where i need
0
votes
2answers
55 views

Optimal Database design for 3-way relationship

All right, I know this sounds complicated, but all relationships are, lemme clarify. Well, I have three entities in my database which are tied to each other in a string of relationships, the app is ...
-2
votes
0answers
38 views

Making a website with user login [on hold]

I'm trying to make a website as quickly as possible. Basically the requirements are: A few pages with static content, some pages will have forms to submit (I'm fine with using Google forms or ...
-4
votes
0answers
17 views

Best practice for creating custom UIViews [on hold]

I'm working on an iOS app that relies heavily on custom uiviews and I am not sure whether laying out the views via a nib in interface builder would be a better option than doing the entire process ...
16
votes
7answers
3k views

What is the benefit of a function without parameters which only calls another function

A tutorial (for Javascript) I'm doing suggests we write a function like this one: function sayHello() { //Some comments explaining the next line window.alert("Hello"); } Other than ...
-4
votes
0answers
42 views

Understanding Code Help! [on hold]

I dont know if it is okay to ask this type of question here. I have a project of developing an online chess game (multiplayer; no AI). However I am completely new at coding and the supervisors are ...
-2
votes
0answers
18 views

where to place jquery code? [on hold]

i am loading an HTML page (say b) into another page's (say a) div element using AJAX. After loading I want to dynamically modify some html elements present on the page being loaded i.e. b using ...
1
vote
2answers
90 views

When should I implement authentication in a database?

I'm currently embarking on a MongoDB project (a simple user login system), and I notice that there is an option for authentication. Here is the server string, with the userinfo shown as optional ...
-5
votes
0answers
37 views

Looking for suggestions on git workflows [on hold]

I am trying to figure out a good workflow for our development team. We have several project teams that require to work in isolation on their respective branches. (a project here consists of a set of ...
-2
votes
2answers
65 views

Debug symbols change application execution [on hold]

I have to set up remote debugging for a multi threaded application running on a embedded device. C++ is the language. I've gotten so far and got the remote debugging working for a simple application, ...

15 30 50 per page