1
vote
0answers
8 views

Android Development: Styling the application

How do you approach theme and styling of an Android application? I have all the functionality and I'm now styling and dealing with colors, etc. This is my first big time Android app, and it seems like ...
0
votes
0answers
11 views

How to use Extjs with Spring

I'm so sorry if my question seems to be so simple, but i'm stuck i'm starting to work in a project involving Spring MVC, Extjs 5 and ExtDirect for binding, the guides of extjs recommends using Sencha ...
-2
votes
1answer
51 views

Swift and PDF do they mix?

Couple of quick questions. First I have zero programming experience but somehow I have an app about 2/3 of the way done. The bulk of my app will be essentially a book to which I am adding one or two ...
-2
votes
1answer
37 views

How to make a mobile application that interacts with a website

I am looking to make a mobile application (iOS and Android app) that will interact with a website. The app will need to log in with a provided username and password and also get some information from ...
0
votes
0answers
31 views

Java Web Application in Cluster with Shared Database. How to Negotiate an Instance to do Updates? How to Notify Instances of Updates?

I have a Java web application, running in a cluster of Tomcat application servers and a shared SQL/JDBC database. Data from the database is cached in memory in each instance of the web app. My web ...
5
votes
5answers
643 views

Sharing development test cases (unit and development integration) with the QA (test) team?

The testing team (the so-called QA team in some organizations) insists that the development team should share their (the development team's) test cases with them. Their arguments are that the ...
0
votes
3answers
115 views

URLs in javascript in the browser

We are trying to continually improve our source code base and a question came up recently which throws open a new area to improvement. Where best to put URLs that are needed in JavaScript? Do we put ...
0
votes
4answers
155 views

How to ensure objects unique by equality?

I frequently have this problem but didn't find it as an established programming pattern. I have some Class C whose equality is determined by some key k and I want to prevent time-consuming ...
7
votes
3answers
1k views

Why is it so bad to read data from a database “owned” by a different microservice

I have recently read this excellent article on the microservice architecture: http://www.infoq.com/articles/microservices-intro It states that when you load a web page on Amazon, then 100+ ...
1
vote
1answer
29 views

Domain models with properties not always set

I don't know if to have domain models with properties that not always are set, it's a some kind of code smell or design error. I put an example: I have an app that lets read internet magazines using ...
4
votes
3answers
121 views

How to prevent race conditions in a web application?

Consider an e-commerce site, where Alice and Bob are both editing the product listings. Alice is improving descriptions, while Bob is updating prices. They start editing the Acme Wonder Widget at the ...
-1
votes
0answers
11 views

Is there any limit for customer groups in magento enterprise or community version? [on hold]

Has any one tried going for say 500 price variations for a given product in magento enterprise edition? or for that matter even in community version? One of my client have about 400 to 500 price ...
1
vote
2answers
90 views

Should I use relational or noSQL databases for this problem

I'm working on a project where one part is to save data of different people. A typical person might have the following structure: Email: Multiple values possible City: Multiple values possible ...
3
votes
2answers
174 views

Why Do B+ Trees Have a Minimum Occupancy of 50%?

As far as I can tell, the basic operations (add, delete, search) on a B+ Tree would function the same if minimum occupancy was 1, or 1/3, or any other function on node size. All the sources available ...
-1
votes
0answers
3 views

convert string to integer does not work for nagative case C programming [migrated]

I have some homework in which the first step is converting the input string into an integer. Example when I input "1 2 3 4" then its output is : 1 2 3 4, or input is: a1b3c 4 then output is 1 3 4. ...
-3
votes
1answer
74 views

What license is this source code published under?

Could someone help me determine the license under this source code is published? And what obligations I have if I want to use the code. ...
-2
votes
0answers
60 views

I'm a vietnamese teen, how do I find friends who are programmers or gamedevs? [on hold]

I'm near 14 years old now. I learned HTML/js when I was 9. Now i know some programming language: Python, Ruby, Perl, C++, C#, Java ME, Android, Php, HTML5,... I can make RTS game by myself. But i ...
0
votes
0answers
5 views

Strange Behavior - Intellisense Stops Working, Keyboard Input Not Accepted [migrated]

I'm having some very strange issues lately with Visual Studio 2012. The Intellisense has been very finicky - sometimes it stops working altogether and I have to restart the program. Other times, my ...
0
votes
0answers
5 views

Complex Data Type in C Producing Trouble in Algorithm [migrated]

I'm trying to perform a calculation which involves the following C-function: long double complex* tridiag_thomas(long double complex *a, long double complex *b, long double complex *c, long double ...
-2
votes
0answers
57 views

How does artificial intelligence work? [on hold]

I am a first year IT student. I am very curious about artificial intelligence and how it works? Can someone tell me what the basics are for artificial intelligence that can learn itself to do ...
-5
votes
0answers
69 views

Is it worth investing time will it be easy to get a job [on hold]

so basicly im intrested in coding im only 16 at the moment and im really intrested in doing those things ,first of i think i will start with python and actually make a project that i wanted for a long ...
0
votes
1answer
56 views

What programmable system can provide persistent scheduling? [on hold]

I want to write an application that creates scheduled events at specific times. When the delay elapses the event notifies the application. The scheduled events must not be stored in the application's ...
-3
votes
0answers
49 views

Problems in a distributed C++ team [on hold]

While I've successfully cooperated with distributed web development teams, I'm having a hard time finding a remote job as a C++ software developer. What are the disadvantages of a distributed team ...
1
vote
2answers
90 views

Can I use US-ASCII and UTF-8 encoding interchangeably for an XML file without a XML root declaration?

My source XML does NOT contain the root declaration i.e. <?xml version="1.0" encoding="utf-8" ?> And when I run the file command on it, I get: ASCII text, with very long lines, with CRLF ...
-3
votes
0answers
52 views

Trusting Trust - down to the hardware [on hold]

Even beyond the source/binaries - couldn't this hack go further than the code down to the actual hardware. Perhaps not a full-on hardware hack, but hardware designed/incorporated into the system to ...
-1
votes
0answers
19 views

Information extraction script [on hold]

Can one write a computer script that will search in a place like Tripadvisor, Yelp, Facebook or Youtube for certain phrase-related entries, and extract this information? I know only Basic and html, to ...
-2
votes
0answers
15 views

encryption and decryption with python [migrated]

This is my code for encryption and decryption when the key = 'a'. I'm just a little confused on how to make it work when the key contains multiple characters, key = 'abc' for example. If anyone could ...
4
votes
1answer
126 views

Why is the use of JavaScript in HREF attributes discouraged?

Disclaimer: I came to Programmers.SE to ask this question because I understand this is the place to ask this type of question, and not necessarily stackoverflow. If I am wrong, please close the ...
-1
votes
0answers
74 views

Why are there few C++ remote works? [on hold]

I'm a C++ software engineer who, for personal reasons, would prefer to work remotely (telecommute). I can find a huge variety of telecommute and remote works for javascript, html, php, C#, java and ...
2
votes
0answers
36 views

String comparison equivalence between mysql database and php code

I wonder if it is possible to compare two strings using mysql and php and obtain the same results. In mysql I have a = b collate utf8_general_ci For PHP I found a promising way to do it with the ...
3
votes
1answer
45 views

Conveniently sorting and (binary?) searching an array of pairs of numbers?

So I have an array of distinct pairs of positive integers. That is, my array looks something like this (for instance): { (1,5) , (6,4), (5,3), (2,3), (2,4) } And my task is, for a given pair (a,b) ...
-2
votes
0answers
27 views

How do you write to a second console? (C++) [migrated]

I had the idea of using a second console in my programs for the purpose of logging programming activity. I looked around on msdn for related functions/examples and tried to put together a simple ...
2
votes
1answer
196 views

What is this pattern called? Run finally?

Is there a name for this pattern? I've written this kind of thing a few times in JavaScript and recently found myself writing it in C#. Thing is, I expect this has already been implemented in a ...
2
votes
2answers
105 views

Finding shortest path between nodes with a twist

Note: if you feel that I should include code, please tell me. I am solving a problem of finding shortest path between nodes. I am given the vertices between nodes, however they are one sided (ie you ...
5
votes
6answers
285 views

I'm confused about which is the correct way to work with TDD

I'm trying to grasp what's the idea behind TDD and how a team is supposed to work with it. I have the following test case with NUnit + Moq (just writing by memory, it is not assured the example ...
0
votes
2answers
133 views

Bad Practice using Auto Generated Classes for Data Access

I've seen this before but haven't found concrete reasons. When you add Entities to your EF model, EF auto generates classes for these entities. In terms of DataAccess, why is it preferred to not ...
3
votes
2answers
236 views

Should an object load itself?

although I'm programming in C++ for some time now, I'm always faced with design decisions (probably due to the language's flexibility). One such problem is deciding if a method should be part of the ...
-4
votes
1answer
72 views

how much does bs in computer science differ from ms in computer science? [on hold]

I'm currently a senior with a bs in cs, and contemplating on whether attaining a ms in computer science is worth it. Currently, I feel as though I only touched a surface of computer science, and ...
-1
votes
0answers
94 views

How to leave my first job? [on hold]

So I've decided to leave my job. There's a number of reasons, but I suppose the final straw was when I came back to my desk to overhear my manager trash talking about me to a co-worker. She was ...
-1
votes
0answers
36 views

What is the best project Architecture to a social network - ASP.NET MVC [on hold]

I'm very interested to know what is the best path to take when we started the structure of a social network design within an ASP.NET MVC application. We use a DAL layer (Data Access Layer)? We must ...
1
vote
7answers
419 views

Why are self-hosting compilers considered a rite of passage for new languages?

I've heard in a number of places now that people expect languages to use, or at least have, a self-hosting compiler in order to deserve respect. I'm curious as to why this is. A compiler seems like a ...
-1
votes
2answers
89 views

Objects in smalltalk and c++

I have a question based on SmallTalk and C++. In one of the programming languages books, there is a question like: "Does an object in Smalltalk require its own private stack? What about in C++?" ...
2
votes
2answers
53 views

Method for all objects for checking conditions which also includes method chaining and avoiding variables

(I am currently using groovy but it should apply to most OO languages so I also put the langauge-agnostic tag) I try to program in a function style which also includes method chaining and avoiding ...
0
votes
0answers
43 views

Find 'Connected Components' in undirected, unweighted graph coded as a 2d array

Given an undirected, unweighted graph coded as a 2d array, how can I find the number of different connected components? Example There is the following 2d array (I'm not putting any brackets to ...
-3
votes
0answers
40 views

Time Estimation for supporting application in IE 11 [on hold]

Our application works fine with IE 10 and below. Recently, we have a requirement to support IE 11. Our application is a .NET Application with more than 500 aspx pages. Current Problems Analyzed : ...
0
votes
0answers
49 views

Handle thousands of requests and reply after a fixed time with calculations using rails backend

I have a application which will get thousand of requests simultaneously and expect reply at the same time after a fixed period. I have decided to receive the requests and store the data in Redis and ...
-2
votes
0answers
44 views

best option to create desktop application with good UI in .NET [on hold]

I want to create Desktop Application with the better options in User Interface I've worked in VB.net and C# languages. And also have created small desktop application. And also let me know which ...
0
votes
2answers
92 views

Is seeing loads of merge messages in a git branch standard, or are we working incorrectly?

We're in the process of switching from SVN to git, and I've noticed that we're seeing a lot of these commit messages in git: Merge branch 'development' of [Url to Origin]. These are coming in where ...
-1
votes
0answers
71 views

What steps do you take to ensure that a bug fix doesn't break anything else [on hold]

What steps do you take as developers to avoid bug fixes affecting other parts of the app? I would like to be confident that my bug fixes haven't broken anything else in the app, before handing the ...
0
votes
1answer
62 views

What is the best and most optimized way to return a filestream from a .NET WCF SOAP service?

To give some background, i have a WCF SOAP service in .NET that needs to return pdf files. This service will be used by multiple application, many times in a day. The size of the files returned varies ...

15 30 50 per page