-1
votes
0answers
9 views

How to change datatype of a variable without changing its value in C#? (String to byte[])

Need to change datatype of a variable without changing its value . Suppose i need to change a : string a = "a1" to byte[] But the value of the byte[] should have the same value i.e "a1" Ex : ...
-3
votes
0answers
7 views

Reputable online schools for software development?

I am an aspiring software developer and I am thinking about Arizona State University online, for their software engineering bachelors degree. I feel online schooling is optimal for me, because I am ...
0
votes
0answers
4 views

Share service instances amongst all controllers?

We've taken over coding on a .NET MVC project, and as I'm relatively inexperienced with many of the MVC design approaches, I'm working on getting a good understanding of the design choices. One ...
0
votes
0answers
8 views

How to track affiliate links on merchant site

I have an price comparison website with affiliate partnership in place. The merchants I have partnered with have tracking system in place like Amazon, flipkart. To be more sure about things, I want to ...
0
votes
1answer
15 views

What is the algorithmic time complexity of this program?

I wrote a simple program in java to create and maintain Dynamic Arrays: public class DynamicArrays { private Integer[] input = new Integer[1]; private Integer length = 0; private Integer capacity = ...
0
votes
2answers
31 views

How does garbage collection compare to reference counting?

I starting working through an online course on iOS development in the new language from Apple, Swift. The instructor made a point that raised this question in my mind. He said something to the ...
0
votes
0answers
13 views

Lisp flavor(s) with driest language specification?

I already know that a lot has been said on this and similar argument, but I wasn't able to find an exact duplicate of this question. I've never been beyond Emacs Lisp, so when trying to learn Common ...
-1
votes
0answers
7 views

How can I model a versioned product feed in Cassandra?

I want to take feeds of products and deals from merchants, and keep them up-to-date with with detected changes. Every time I update a update a product, I want to give it a higher version number. ...
-1
votes
1answer
17 views

Is there something more behind MVC in web develop frameworks

I just started my career in the web development about two months ago. During the two months, I wrote one web service in php Symfony2, get involed investigation of one project written in Python Flask ...
-2
votes
0answers
6 views

Google CustomSearch API Image Search Not Working

using System; using System.Net.Http; using System.Threading.Tasks; using System.Web; using System.Configuration; namespace Foo { class MainClass { public static void Main (string[] ...
2
votes
1answer
24 views

How to handle overlapping classes

I'm putting together a program to try and recreate a board game. My goal was to keep the rules and actually actions of the game separate from its presentation, so I am creating a library that contains ...
0
votes
0answers
4 views

How to access Authentication-based Web Service, and transfer to Json?

I use Restful Service to communicate between frontend and Java backend. Java side needs to access Authentication-based Web Service (needs username/password). The request and response of xml message is ...
-1
votes
0answers
9 views

Create Map with both Distance and Quality

I want to create a map that has 2 values on its edge. One for distance and one for quality. The edges should have defined values like below. private static final Graph.Edge[] GRAPH = { new ...
0
votes
0answers
16 views

How can I split a repository that contains many projects which share the same build system?

I've been working on the past years on a research compiler suite, which builds several executables and libraries. It has a build system (namely bootstrapper) that looks into the ./src/bin directory ...
-9
votes
0answers
51 views

C programming explanation [on hold]

I would like to ask you why part 2 = 2 3 -2 and part 3= 3 3 9. I know the answer of the part 1 please explain. When I compile, I get the answer. But I did not understand the rest of that. #include ...
0
votes
0answers
43 views

Is it worth it to use a message-queue framework in this case?

We have these things called "executions" that are run at certain times. They have a delay property that basically says "execute me after delay microseconds`. Currently we are using Cassandra as a ...
-5
votes
0answers
27 views

What database should I use for these versioned data feeds? [on hold]

I want to take feeds of products and deals from merchants, and keep them up-to-date with with detected changes. Every time I update a update a product, I want to give it a higher version number. ...
3
votes
4answers
133 views

How to treat bugs that users thought were a feature?

Question: What is the proper way to address a bug that an end-user thought was a feature? Elaboration: I'm guessing that if a large percentage of users expected it as a feature, it should be left ...
-3
votes
0answers
56 views

How to interview with a manager who thinks that agile experience is essential? [on hold]

I am an experienced developer with nearly 10K rep on StackOverflow. In the past few years, I've gotten into contracting, and so I'm doing lots of interviews. Sometimes, I get shot down for a ...
0
votes
1answer
25 views

Java Action Listener

Actually, I've got a confusion in Java while implementing action listener event. I can add action listener event by implementing the class with ActionListener and by ...
-4
votes
0answers
25 views

CI which match following criterias [on hold]

I am looking for CI which matches following criteria. Surely, I can go and investigate couple of dozens of CI which exist on the market. However, I hope that somebody did similar work already and it ...
1
vote
2answers
51 views

Is normalization all that's needed to ensure data integrity and quality reporting?

I've gotten out into the real world recently, and for the first time have had to really think about database design, as I've been developing across the entire Java stack. With that I've realized that ...
-3
votes
0answers
61 views

What can a programmer expect an employer to do to help her improve? [on hold]

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 ...
5
votes
4answers
667 views

Is the use of one-letter variables encouraged? [on hold]

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
21 views

Building an EXT 4 tree with JSON data [migrated]

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
78 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. The ...
4
votes
2answers
79 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
113 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
36 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
21 views

How to allow users receive push notifications without having to register [on hold]

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
21 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 ...
-2
votes
0answers
22 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
31 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 ...
19
votes
8answers
3k 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
12 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 ...
1
vote
3answers
93 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
18 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
33 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 ...
2
votes
1answer
27 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
76 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
44 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
41 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? ...
2
votes
2answers
60 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
33 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
92 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
54 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
31 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 ...
1
vote
1answer
54 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
39 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 ...

15 30 50 per page