0
votes
0answers
14 views

Learning To Program After 9-5

I'm currently working as an IT Administrator but I'm thinking of making a slight career change into programming. I want to focus my time and effort into learning some web based languages but feel is ...
0
votes
0answers
21 views

What are the main differences between Lucene and Google search engines?

There are more and more companies and organisations which build their own searching service using open source search engine like Lucene. What are the main differences between Lucene and Google search ...
0
votes
0answers
7 views

Update Boolean attributes from another controller

I have Users controller and session controller . I want to update one user attribute from session controller . How can i do that ?? I am currently using rails 4.0 . Users controller: class ...
0
votes
0answers
4 views

using geolocation data to send and receive messages

I was asked to create an application that could send messages using distance criteria. I was thinking to use GPS and push. Although I was wondering what could be the data and battery consuming. ...
-2
votes
0answers
30 views

are there compiler options in clang? [on hold]

I am trying to use mac terminal to learn compiler options. I found -frecord-gcc-switches is there a clang version of this? I need to compile a C++11 Unix executable file named main which takes f as an ...
0
votes
1answer
63 views

How to make code-review feel less like a way to *shift* the responsibility?

Sometimes it seems to me that people ask for code-reviews just so they would be able to say "Xyz reviewed my code!"(1) when something broke. Question, is that ever the case? (Or is it just my ...
0
votes
2answers
28 views

Is a Mission Oriented Architecture (MOA) a better way to describe things than SOA?

I might sound like a troll, but I would like to seriously understand this deeper. The place I work at has started to use the term MOA, versus SOA as we believe it drives more clarity and want to ...
-1
votes
0answers
44 views

Get assembly instructions from binary file

I am trying to take a binary file and understand the code used to write it. I am currently working on a research project and I have never had to do anything like this in the past. I don't know if it ...
2
votes
2answers
39 views

What are common patterns for handling possible pluralization in message properties?

Obviously users like to see text properly pluralized, and pluralization schemes vary in the various written languages one may encounter. When internationalizing an app, what pattern(s) are useful for ...
0
votes
2answers
33 views

How can I unit test that a class uses a trait in the expected manner?

A class has a trait. The class is expected to call a function provided by the trait during a certain method invocation. How do I write a unit test to ensure that that happens? The difficulty, to ...
0
votes
2answers
43 views

How can a collection class instantiate many objects with one database call?

I have a baseClass where I do not want public setters. I have a load($id) method that will retrieve the data for that object from the db. I have been using static class methods like ...
0
votes
0answers
14 views

DOMDocument programming: a lot of little dilemmas, how to solve them?

I need elegance and performance: how to decide by the "best implementation" for each DOM algorithm that I face. This simple "DOMNodeList grouper" illustrate many little dilemmas: use ...
-2
votes
0answers
21 views

Experience of some php projects.PHP PROJECT FLOW [on hold]

I'm new to the terms PHP, JS, HTML..bt now I'm willing to apply for a php developer position in a company and before I face an interview I just want to make sure that I sound confident enough to take ...
2
votes
1answer
50 views

Finding the order of a set's elements

A little rephrased, in the form of a game, real-life problem: Suppose there is a set of elements {1, 2, ..., n}. Player A has chosen a single permutation of this set. Player B wants to find out the ...
1
vote
1answer
40 views

How to Implement a Parallel Workflow

I'm trying to implement a parallel split task using a workflow system. I'm using .NET but my process is very simple and I don't want to use WF or anything heavy like that. I've tried using Stateless. ...
0
votes
1answer
63 views

Java regex patterns - compile time constants or instance members?

Currently, I have a couple of singleton objects where I'm doing matching on regular expressions, and my Patterns are defined like so: class Foobar { private final Pattern firstPattern = ...
0
votes
2answers
82 views

IL and case-sensitivity

Quoted from A Brief Introduction To IL code, CLR, CTS, CLS and JIT In .NET CLS stands for Common Language Specifications. It is a subset of CTS. CLS is a set of rules or guidelines which if ...
4
votes
4answers
127 views

How to slowly release a web application to more and more users so that too many concurrent users don't crash your site?

I have a web application that I expect to go viral pretty quickly. How can I control traffic to it so that it doesn't crash under too much load? This application doesn't require user login. It will ...
3
votes
0answers
75 views

Where do we put “asking the world” code when we separate computation from side effects?

According to Command-Query Separation principle, as well as Thinking in Data and DDD with Clojure presentations one should separate side effects (modifying the world) from computations and decisions, ...
2
votes
1answer
87 views

Are there any formalized/mathematical theories of software testing?

Googling "software testing theory" only seems to give theories in the soft sense of the word; I have not been able to find anything that would classify as a theory in the mathematical, information ...
0
votes
1answer
35 views

Class diagrams - do aggregated/composed classes automatically see each other?

Let's say that in the game, a player has a pet: Player<>------Pet Obviously player can access Pet's fields and methods, but I assume Pet does not know about the player? I need that Pet can access ...
4
votes
1answer
103 views

What Is The Relationship Between Software Architect and Team Member

I work for a small company which has less than 100 persons. Several months ago, this company offered me position of SA and I accepted. There are three teams in this company, and I work for one of ...
-3
votes
0answers
25 views

arranging Random numbers on grid 4 in VC ++ 6

I have prepared a grid of 4 by 4 using edit boxes. Now I want fill them by 15 digits ( 1 through 15) by randomly generated numbers.
24
votes
9answers
979 views

Is it reasonable to null guard every single dereferenced pointer?

At a new job, I've been getting flagged in code reviews for code like this: PowerManager::PowerManager(IMsgSender* msgSender) : msgSender_(msgSender) { } void PowerManager::SignalShutdown() { ...
-4
votes
1answer
34 views

IPC (inter-process communication) server to connect different runtimes

Couple days ago I've spoken to someone who mentioned a server product that has as its main goal the ability to create inter-runtime layer that allows sharing in-memory object between different ...
1
vote
2answers
40 views

Parallel.For Inconsistency results

I am using VB.net to write a parallel based code. I use Parallel.For to generate pairs of 500 objects or in combination C(500,2) such as the following code; but I found that it didn't always generate ...
0
votes
0answers
11 views

android app unable to connect to the hsqldb server [migrated]

I am trying to connect my android app to the hsql db server. Server runs on computer-1. I can connect to the db server from local machine through java as well as Db-visualizer. I can connect to ...
-1
votes
0answers
9 views

How to run a ant build file before running the Andriod Applicaiton using Launch group in eclipse [on hold]

I am trying to create new Launch Group in eclipse "Run Configurations" and run a ant build file and an android application together.I added my custom ant build file in the new Launch group ...
-3
votes
1answer
48 views

Stig Brautaset's JSON library - license issue

In the license for Stig Brautaset's JSON library it says: Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the ...
1
vote
2answers
60 views

How do I set up pairing email addresses?

Our team uses the Ruby gem hitch to manage pairing. You set it up with a group email address (e.g. [email protected]) and then tell it who is pairing: $ hitch james tiffany Hitch then sets your Git ...
0
votes
1answer
72 views

What are some efficient ways to set up my environment when working on a remote site?

Hello fellow Programmers, I am still a relatively new programmer and have recently gotten my first on-campus programming position. I am the sole dev responsible for 8 domains as well as 3 small sized ...
-2
votes
1answer
41 views

Python scripts link to GUI using an IDE [on hold]

I am studying python. Now I can write python scripts(codes) to some extent. I am interested in making GUI to those written programs.I like to do it using an IDE rather than using PyGTK or Tkinter. Can ...
3
votes
1answer
48 views

How to know how much detailed requirements should be?

This doubt has to do with the requirements gathering phase of each iteration in one project based on agile methodologies. It arose because of the following situation: suppose I meet with my customer ...
-3
votes
0answers
50 views

auto browsing in javascript or python? [on hold]

I would like to write a kind of spider to browse some site automatically. The target would be to simulate human browsing to confuse data collection of big providers. Do you think it's better to write ...
-3
votes
0answers
47 views

slow web loading speed / site calling bad links [on hold]

My wordpress site loads very slow and I actually know why it does that, while loading it calls some files which is linked to another server/domain which doesn't exist anymore the problem is i cant ...
-1
votes
0answers
41 views

% of bid that should be allocated for testing in mobile programming [on hold]

I am trying to develop a mobile application and I am unsure how much of our funds I should allocate for testing. In your experience, what percentage of the total cost of a bid should go to testing a ...
-2
votes
1answer
53 views

Building a simple web app with database? [on hold]

I'm building a simple airline reservation system (web app) for a class. I'm trying to find out where to start learning about implementing and integrating a sql database. User's should be able to ...
-1
votes
3answers
71 views

Find all lines segments intersections

I have a collection of lines segments, represented by an array. Ex: [3,7,13,6,9] is 4 line segments: [(3,7)(7,13)] , [(7,13)(13,6)] , [(13,6)(6,9)] , ([6,9)(9,3)] I want to find all the lines ...
9
votes
3answers
265 views

When is it appropriate to use colour in a command-line application?

Currently I have a command-line application in C called btcwatch. It has a -C option that it can receive as an argument that compares the current price of Bitcoin with a price that was stored ...
4
votes
2answers
85 views

Does the use of mongodb enhance extending/changing database driven applications?

When an application is created which need to store data, an SQL database is used very often. So did I in a lot of asp.net applications. The resulting applications have often an ORM like the entity ...
0
votes
0answers
31 views

is it possible to use shopify for just their shopping cart component or should I just roll my own

I'm working on an e-commerce site and am a rails developer; due to the nature of the items, I am managing them in their own database so I'm really looking for something that is only for the shopping ...
1
vote
1answer
108 views

How to test issues in a local development environment that can only be introduced by clustering in production?

We recently clustered an application, and it came to light that because of how we're doing SSL offloading via the load balancer in production it didn't work right. I had to mimic this functionality on ...
-1
votes
0answers
19 views

Android Testing. Espresso vs JUnit [on hold]

I am starting to do some android testing. Does anyone have suggestions on what is the best way to go? JUnit, Espresso, UI Automation, or anything else? Thanks!
-2
votes
0answers
29 views

c++, win 32 , Erase text using TextOut or DrawText [on hold]

How to erase the inputted character on the window and to write the another one on its place??? Say, for example, d d d d was inputted, I want to redraw it to d j j f I'm trying to do this in the ...
0
votes
2answers
86 views

Where Are Multiple JUnit Test Methods Typically Placed in Code?

I've just read the Vogella JUnit tutorial and found it very helpful in understanding how to use JUnit. However, I'm a bit confused about what the convention is for placing multiple test methods in ...
-1
votes
0answers
30 views

MSM Merge Modules in Visual Studio 2013 [on hold]

Could someone please let me know where I might find resources for creating MSM files? While I am able to create MSI files using InstallShield, it seems that Visual Studio no longer supports Merge ...
-1
votes
0answers
31 views

Any experience on open source database synchronization open source solutions? [on hold]

I'm considering few database synchronization open source solutions. The system in need for data synchronization is composed of instances of different types of databases, i.e. heterogeneous system. ...
1
vote
4answers
130 views

Naming a release

OS X 10.9 not just called 10.9 but also Mavericks. iOS7 is just called iOS7. Android releases are named after sweets. What is the rationale of giving a name to a release version? What are the ...
0
votes
0answers
23 views

How to write simple code using TDD [migrated]

Me and my colleagues do a small TDD-Kata practice everyday for 30 minutes. For reference this is the link for the excercise http://osherove.com/tdd-kata-1/ The objective is to write better code ...
0
votes
1answer
32 views

Implementing a JS templating engine with current PHP project

I'm currently working on a PHP project and quickly realizing how useful a templating engine would help me. I have a few tables whose table rows are looped out via a PHP loop. Is it possible to use ...

15 30 50 per page