-1
votes
0answers
12 views

What can a programmer expect an employer to do to help her improve?

As a junior, I got it into my head that the best way to become a better programmer is to work with excellent programmers who know a lot more than I do. So I got a job with some highly accomplished ...
-1
votes
3answers
90 views

Is the use of one-letter variables encouraged?

Is the use of one-letter variables encouraged in Java? In code snippets or tutorials, you often see them. I cannot imagine using them is encouraged because it makes the code relatively harder to read ...
-1
votes
0answers
17 views

Building an EXT 4 tree with JSON data

I'm building an android app that posts collected battery data to a website viewable by the app user and I'm having issues building a tree to view the collected data. I'm looking to build a tree ...
0
votes
2answers
41 views

in trouble making a card game with pygame

I am designing a card game playable against the computer. The rule is very simple Both player and CPU gets 10 cards of 1 to 10. Player and CPU plays a single card at the same time, every round. ...
2
votes
2answers
44 views

Design Pattern - DLL per Strategy

I usually found myself designing my application in the following way: One DLL containing interfaces for a desired subsystem. For example, Company.Framework.Persistence.dll. One new DLL per each ...
0
votes
2answers
91 views

Any benefits of writing coding articles [on hold]

I always wonder if there is any benefit of publishing programming/code related articles/tips either on ones own website or coding sites? I think it has a benefit that a programmer can have a record of ...
1
vote
1answer
32 views

Difference between synthesis and translation

Recently i have encountered two words describing transformation process of one language to another language - "translation" and "synthesis". I have some tips but i am not sure what is the difference. ...
-3
votes
0answers
19 views

How to allow users receive push notifications without having to register

I have been reading about sending notifications to all my android users. I found Google Cloud Messaging (GCM). However this service doesnt really give what I want. The user who downloads my android ...
0
votes
0answers
18 views

Adding a chat api to infrastructure

I currently have a REST Api and will be adding a new real time chat feature. I want the applications to have a separation of concerns. I initially was planning on adding a new realtime messaging ...
-1
votes
0answers
13 views

A question to web service providers [on hold]

I'm a PhD student at the Univ. of Colorado and I'm doing research on cloud computing and services. I am trying to understand some operational aspects of running a web service. My question to web ...
0
votes
0answers
21 views

How to verify a method is only called once, with specific arguments (using RhinoMocks)

I'm just starting to use RhinoMocks. Now I'm wondering what test cases I should write. I want to assert that a method is only being called once, with specific arguments. Lets start with my ...
15
votes
6answers
1k views

What's the proper way to model this real-world activity that seems to need circular references in OOP?

I've been wrestling with a problem in a Java project about circular references. I'm trying to model a real-world situation in which it seems the objects in question are interdependent and need to ...
0
votes
0answers
10 views

Displaying and communicating an external file

I am importing and displaying an external swf into 'main' swf. I can send specific variable from external to main. However it is always 0 (zero) since it sends right after 'loading completed'. Initial ...
0
votes
2answers
67 views

Auto-save user input - the smartest way?

I'm developing a social network website and I'm working with php/mysql/jquery and I want users to have the most user-friendly website experience. That's why I try to avoid a save (submit) button at ...
-2
votes
0answers
15 views

Decision graphs and multiple continuation paths? [on hold]

I have read about decision trees and continuation path, however is there such a thing as decision graphs and multiple continuation paths? One scenario that I can think of is when more than one ...
0
votes
0answers
30 views

How can I create a hierarchical leaderboard system using NoSQL?

I have a system that allows businesses to organize employees in a hierarchy and we are designing a leaderboard feature that needs to compare their employees at certain hierarchy levels. Hierarchies ...
1
vote
1answer
18 views

Development approach for GUI application sharing on X

I'm curious about developing a simple system for GUI application sharing between users on a single computer, which uses Xorg (or perhaps any modern form of X11 display). I'd like user Alice to be able ...
0
votes
1answer
59 views

Are ANSI* Escape Sequences Proper For Coloring Text in Terminal(Linux)?

I just switched back to Linux after a few years of Windows use and am wondering if ANSI Escape Sequences are okay for coloring text. I ask because the way I did it on windows isn't capable of crossing ...
3
votes
0answers
39 views

Rich client persistence without a database

We have a pretty sizable .NET rich client app that currently uses nHibernate and Firebird embedded for persistence. Due to the nature of the app, we need to load the entire database into memory when ...
1
vote
2answers
36 views

Is ART an installation process? Or an OS? Or a virtual Machine?

When attempting to understand Android Runtime, I came across the wikipedia page. The graphic shown there adds to my confusion. If .dex is getting converted entirely to ELF, why is ART needed anymore? ...
-3
votes
0answers
9 views

Resources for Mobile Device Manager

I'm currently learning how to make an mobile device manager application on a phone. For example, features would include using a computer to lock a cellphone or sound an alarm on a cellphone. Are there ...
2
votes
2answers
55 views

verify a defect is a production defect or not

As a QA person, I always believe that a defect should have all the steps needed for anyone fixing it to be able to reproduce it. however, is it crazy to think that every defect QA opens need to be ...
-4
votes
0answers
31 views

Do developers have to worry about ethical issues when it comes to the product design if they are only involved in the implementation process? [on hold]

I guess everyone should have their own professional and personal standards when it comes to ethical conducts and standards, but in an age where corporate and social responsibilities are becoming more ...
2
votes
1answer
89 views

What is the etymology of the “dot” operator for string concatenation?

Some languages have a . operator for string concatenation. The oldest language I could find that supports it is Perl. Was Perl the first to use it? Why was it chosen?
0
votes
0answers
13 views

Is it possible to define injection rules based on Spring bean scopes?

My application is using Spring as my dependency injection framework. I have been struggling recently with nasty concurrency and security bugs. The bugs were caused by injecting bean with incorrect ...
0
votes
1answer
53 views

Javascript Constants in ES6

What would be the preferred way to create constants in javascript, specifically with ES6? Currently I have a constants class which has methods that return the string I'm looking for. class ...
0
votes
1answer
28 views

AngularJS Different Controller per Role?

I am creating an AngularJS app with a restful-back end. I have 4 types of users for which each component/page may have significantly differnt behavior. What is the best approach to implement this? Do ...
0
votes
0answers
17 views

Alternatives on passing parameters from ViewModel to ViewModel in MvvmCross

We are at the preparation on porting a huge windows mobile app to Xamarin and we are using MvvmCross to help us with the Mvvm. The application is huge, where workflows live between several pages. So ...
1
vote
2answers
46 views

License question regarding open-source project which may eventually contain a commercial component

I'm beginning work on a project which I may wish to commercialize in the future. For now, though, it's just a prototype which I would like to release it with a GPL license. My concern is: if I am to ...
-6
votes
0answers
36 views

Transperancy in Scrum [on hold]

As per Agile Manifesto the transparency is one of the key factor that makes the scrum team a self organizer and enable the team to take an effective decesions proactively and respond to the external ...
0
votes
0answers
14 views

Maintaining Software Variants [duplicate]

What is the industry-accepted way of publishing and maintaining an open-source project which has different "flavors" or variants, but basically uses the same codebase? For example, I am working on a ...
0
votes
0answers
36 views

Flat files for events and alarms

So I'm working on a project that I was introduced to a year ago. One of the features of project involves alarming the users when certain events are triggered. There is also a log of these events. ...
3
votes
1answer
45 views

How do I automate dependency installation after pulling code from repository?

My collegue and I develop a small Python application. We use Vagrant to set up development environments. Suppose my collegue introduces a new feature into the application. Feature's implementation ...
-5
votes
0answers
25 views

Database schema and data management tools [on hold]

I've been using Visual Paradigm to simutaneously manage my database's schema and example/test data during its development. I have found their interface to only get buggier over time and would like to ...
1
vote
1answer
107 views

Best solution to switch between new and deprecated code

We have a feature that is currently implemented, let's call it implA. ImplA works but can't do many things. So we have decided to rewrite it. But we can't just replace it right away, so we will need ...
0
votes
0answers
30 views

Command Pattern for Logging/Backup/Testing

I need your input guys on this concept I intend to implement: Use the Command Pattern to record everything in my app. It should encapsulate every single user action and micro-action as a Command and ...
-5
votes
0answers
16 views

How change text fields onselect radio button [on hold]

i have 3 radio button with same name <form> <input name="srch" type="radio" value="a"/> <input name="srch" type="radio" value="b"/> <input name="srch" type="radio" value="c"/> ...
3
votes
2answers
65 views

Good way to program an orchestration / processflow

I'm programming a process in which clients will be separated in 3 different groups, and for every group a different action will be performed. My question concerns the process of deciding which client ...
1
vote
1answer
61 views

Are There Tools for Statically Evaluating C++ Functions for Side Effects? [on hold]

I'm interested in having a tool that can evaluate whether a function in C++ has side effects. I'd like to be able to mark functions as having or not having side effects, which I think would make ...
-5
votes
0answers
84 views

Would it be put me in risk if I use open source software? [on hold]

I have came across the web and found that GWT online toolkit which enables to use JS, XML, JSON integrity with java applications. But this seems to be an open source. In my workplace, it should not be ...
-8
votes
1answer
110 views

How would we compile our code if all binaries would disappear? [on hold]

How would we compile our code if all the binaries in the world would disappear and we would only have the source code? First you would think it's all OK I have my Roslyn code here, but wait! It's in ...
0
votes
1answer
69 views

Multiple if in comparison function vs chain of || or &&

I'm writing a function (or operator==() in C++), comparing two objects. The code looks like this: bool operator==(const Obj& copy1, const Obj& copy2) { if(copy1.a!=copy2.a) return ...
-3
votes
4answers
80 views

Time complexity of this loop [duplicate]

Is the time complexity for this loop O(n) or O(log n)? for(i=0;i<n/2;i++){} I am thinking, the time is proportional with the input size.
-4
votes
0answers
36 views

x86 assembly books; but looking for something slightly different [on hold]

Are there Assembly tutorial books that clearly explain the relationships between a high level programming language and the x86 assembly language during compilation ? For example, I know a very good ...
-2
votes
0answers
44 views

What is ERROR 65508 in MS-DOS? [on hold]

Well, In my project am using HP 200lx Palmtop, to control a weather equipment (10 years old). there is BASIC program which controls instrument over Serial Port of palmtop. When I wish to run qb.exe, ...
0
votes
1answer
42 views

Design pattern for mapping data fields

I have seen this problem a few times and never can come up with a solution i like. System A Sales Order Entity order_id created line_items_count System B Sales Order ...
1
vote
4answers
70 views

Use the company style guide or try to match the incorrect source files? [duplicate]

I'm currently working on a large project in C++. The style guide for this language has been well defined by my company and is available for everyone to see. This particular code-base is being ...
-2
votes
0answers
27 views

State of the art on outlining a software system on a startup scenario [on hold]

We are building a new web application with some basic features: users, automated payments, management of media (photos and videos). It is an asp.net mvc web application in C#. I would like to create ...
0
votes
0answers
55 views

How do I model this Shipping Routes scenario?

Trying to begin coding this solution. I have a scenario as follows below: A shipping operator has a network of routes to various ports, the routes are specified explicitly below Buenos ...
2
votes
1answer
76 views

How to use one web page to create and edit database entries

My team and I are developing a java web application which allows our admins to create and edit "methods" which can later be viewed by other users. We are currently discussing the best way to ...

15 30 50 per page