0
votes
1answer
9 views

How to implement the repository pattern for an app that will change its database from sql to nosql on in couple of years?

** Mods, if for any reason this question is inappropriate, please leave a comment rather than putting it on hold and I will make the change according to your suggestion. Thank you. Hi all I have ...
0
votes
1answer
25 views

How do I organizing 2 different projects with shared code

I know there have been same question asked multiple times on the programmers stackexchange. I think my question is more specific and hence decided to start a new question. My current a project which ...
-1
votes
0answers
11 views

Vba Copy and paste efficiency with 000's of rows and columns

Hey guys so I'm sure this is probably out there but I can't seem to find it. Basic rundown I have multiple rows and multiple columns that need to be searched through then depending on criteria, copy ...
2
votes
1answer
18 views

Git, semantic versioning and how it fits into (my) a typical development timeline?

I'm working on a Q&A system and about to tag my current application with "1.0.0" for it's first official version/tag. It's about to be rolled out for beta testing to a limited test audience next. ...
-1
votes
0answers
18 views

Mysql PHP PDO Blank PAge when tried to set @varible [on hold]

I got this php class from the internet which deal with mysql database: <?php class SSP { static function data_output($columns, $data, $isJoin = false) { $out = array(); for ...
3
votes
2answers
200 views

Are there any benefits of using this extra variable in the for loop annotation?

I have found the following loop annotation in a big project I am working on (pseudocode): var someOtherArray = []; for (var i = 0, n = array.length; i < n; i++) { someOtherArray[i] = ...
0
votes
0answers
17 views

How to improve and maintain technical integrity of a big codebase

Suppose there's a big project (a couple houndred KLOC) that has no explicit architecture - everyone can pretty much design stuff however they like overall poor design quality (code duplication, weak ...
1
vote
1answer
37 views

Why is the Document Object Model the view?

I was told by a Javascript programmer not to do DOM manipulation in model code. I also remember hearing a snazzy tune for a JS framework (I forget which one): "Get your models out of the DOM". This ...
0
votes
1answer
33 views

Tips for understanding big project fast?

I've got a job and many new things to be learned. The first thing is to understand big project, writtened mostly in C++, using Visual Studio. So, I see a statement, and I want to find its definition. ...
0
votes
0answers
4 views

From data file to Multi-Dimensional vector problems [migrated]

I am trying to write a "text adventure" engine that runs off of text and data files. I understand the concepts of arrays and multidimensional arrays, but know they cause memory leaks and not ...
-3
votes
2answers
20 views

What examples are there for mean.js? [on hold]

Is there anyone with a link to examples for the mean.js framework other than the bossable videos that are on youtube?
-3
votes
0answers
15 views

What cms to use for mean.js? [on hold]

Does anyone has any suggestion for a cms (preferably javascript based) for mean.js? I couldn't find any example that shows mean.js integrating with wordpress or drupal.
0
votes
0answers
38 views

Does a GPU have multiple processors, each of which is a vector processor?

In Appendix C of Computer Organization and Design, Fifth Edition: The Hardware/Software interface by David A. Patterson, John L. Hennessy The modern GPU that we describe here is a highly ...
-1
votes
0answers
36 views

How do I become a better developer and learn how to make real applications [on hold]

I have been programming for 8 months in Java and I don't know what to do to start making real life applications and improving my skills. I am currently studying at uni. What would I need to start ...
0
votes
0answers
12 views

RESTful Api: Send email with links relative to client domain

I have a RESTful api that sends out notifications of various events via email e.g. order received. The emails will contain a link that takes the user to a relevant resource e.g. /orders/1234. The ...
-5
votes
0answers
25 views

How to speed up the following matlab code

I wrote the following code to do some calculations. y1 = 0; for k = 1:L-1 for i = 0:N total1 = i*log(x) + 2*(n-m-i+k)*log(sig); for j = 0:N total2 = j*log(y) + ...
0
votes
0answers
37 views

Java - Get Interface Generic Type

I'm trying to create an Interface with Generics which allows me to get the type of object in the generics but no matter what I try there's a syntax error. I've tried the following 3 methods. All of ...
1
vote
2answers
93 views

How can I avoid tight coupling when practically every decision-logic has to check lots of distributed state?

As the senior developer in our company, I am currently starting to move our commercial php-mysql e-commerce solution (which takes data from a specific ERP-system) from procedural spaghetti-code which ...
1
vote
0answers
35 views

Hard Coded File Paths - Solution?

Say you have an application that saves image(.jpg, .png etc) and text(.txt, .xml) files, and the application has all of the files paths hard coded throughout code, per the example below. Assuming the ...
0
votes
0answers
16 views

mobile payment. Where to put the backend logic

i'm new to mobile payments and i can't seem to find what would be the best option for my situation. I have a hybrid mobile application written in js that will handle payments. We hired the service of ...
0
votes
1answer
20 views

Exception handling scope when dealing with nested exceptions

Assume you have one object that has two methods which both throw different exceptions. These methods must be used together. For instance: SqlCon{ static SqlCon connect(string user, string pass) ...
0
votes
0answers
15 views

Question on Multiprocessing With Pymongo and Bulk Inserts

I would like to use the multiprocessing library to speed up the time it takes to insert data values into my mongo database. I found from the following resource: ...
0
votes
0answers
30 views

Optimized design approach for a large database quick-referencing and lookup task bar tool [on hold]

First some background… I work for a fairly large and reputable mortgage company as a .NET Developer, supporting their proprietary software package. Their database infrastructure is massive and ...
12
votes
5answers
942 views

How does one keep argument counts low and still keep third party dependencies separate?

I use a third party library. They pass me a POJO that, for our intents and purposes, is probably implemented like this: public class OurData { private String foo; private String bar; private ...
1
vote
2answers
53 views

pixel perfect apps techniques

While doing your iOS app development, do you try to achieve pixel perfect similarity? Is your app identical to provided photoshop designs? If yes, what techniques are you using to speed this process ...
-2
votes
0answers
20 views

Clarification on Migrating to Visual Studio 2010 [on hold]

I am currently following the following guide: How to: Migrate VSPackages to Visual Studio 2010 to upgrade the Ankh Mantis Connector. Right now I am on step 9 which states: Open the VsPkg.cs file ...
-1
votes
1answer
87 views

Is there any harm in using amazon AWS as a development environment? [on hold]

What modifications do I need to make to my workflow, and which skills do I need to learn in order to develop with Ruby On Rails on a Linux cloud server on Amazon Web Services (AWS)? In particular, I ...
-3
votes
0answers
67 views

What do you do while you're waiting for your tests to run? [on hold]

Tests and test suites can take any amount of time to run. When I'm running one that takes between, say, 30 seconds and 5 minutes to run, I'm never sure what I should do during that time. It's too ...
1
vote
1answer
64 views

Any advice on how much browser memory to use?

I am writing an angular application, and I'm wondering how much client side memory to use. I'm currently working on a scenario where there are 2 dropdowns. The second will load new values depending ...
-2
votes
0answers
29 views

How to choose a framework? [on hold]

Until today i always choosed frameworks that i knew more(ok, this is a way to choose), but exists another things to be examined when lets create a project? How explain: I always choosed the JQuery to ...
0
votes
0answers
29 views

Tracing and visualizing trace on a timeline

I am working on a c++ library, which performs frequent communication with a piece of hardware. I need a way to instrument my code with tracepoints, that I can afterwards visualize the execution of on ...
-5
votes
0answers
19 views

Compare Values from two spinner and display the result accordingly in android studio [on hold]

I am developing an android app for bus routes in android studio. both spinner holds the cities names. I want to compare the values of both spinner(dropdown) and display the result i-e bus number for ...
-1
votes
0answers
21 views

Best way to get data from database inside Thread Class in Spring [migrated]

Currently i am troubling that how to get data from database inside my thread class. I can't make bean of my thread class because new instance is created of thread on every request. MyThread.class ...
0
votes
0answers
8 views

C : Malloc ERROR [migrated]

I'm having trouble with MALLOC in C. I have the following code : //This program finds the sum of two matrices using MALLOC #include<stdio.h> #include<stdlib.h> void main() { int ...
-3
votes
0answers
100 views

Univerisity iPhone assignment - Without an Apple Mac [on hold]

I am a student in my final year of studying for a degree in Software Engineering. I'm a Windows user but have, very briefly, tried to use a friend's Mac in the past and didn't get on with the user ...
3
votes
3answers
137 views

In SCRUM, should a long tedious task have a large size

Various articles on SCRUM methodology explicitly state that sizing should not focus on time, bur rather on the more abstract "complexity" or "effort needed" of the task. How should a task be sized if ...
0
votes
1answer
37 views

Internal API design for a merge sort implementation in c

I am thinking of how best to write APIs for a merge sort implementation in C. The external API should be something like int sort(int* data, int length) I am wondering whether to use the same input ...
-1
votes
0answers
23 views

Can I use QtCreator with pyqt5? [migrated]

I am using PyQt5.3.2. Recently I installed QtCreator 3.3.0 to develop qml applications. But the problem is when I start a QtQuick application project and try to run the application, it gives me this ...
5
votes
4answers
129 views

How to convert the following node evaluation procedure to a non recursive solution?

I have the following recursive method. It evaluates a node (that represent a logical expression), using deep first search traversal : EvaluateNode(Node node) { bool result; switch(node.Type) ...
-4
votes
0answers
28 views

code blocks not opening new Console. Why is this happening? [on hold]

I am unable to start a project in Code Blocks :/ always getting this error
-1
votes
0answers
44 views

“Client direct access to database” vs. “SOA” [on hold]

I've got a manager who I feel is stuck in ten-years-ago mode... I'm looking for a few pointers regarding two possible architectures for a re-write of our current system. Some requirements; It's ...
-1
votes
0answers
14 views

GIT hangs when pushing [migrated]

When i try to push my code to git it just hang, no error messages just standing still. Counting objects: 10, done. Delta compression using up to 4 threads. Compressing objects: 100% (7/7), done. ...
0
votes
0answers
21 views

Sorting on documents within an array [migrated]

I've tried very hard to read the documentation on finding and sorting but haven't had luck. I can change my document structure if it's not suitable for the operation I want to do but I'd prefer my ...
4
votes
4answers
495 views

How to test a method which is not as much as a unit, because it is more of a 'orchestrator' / 'process' / 'controller' / 'coordination' class

I want to test a method which is not as much as a unit, because it is more of a 'orchestrator' / 'process' / 'controller' / 'coordination' class. This is the case: I have four unit tested classes: ...
-1
votes
0answers
107 views

Difficulty finding a recursive starting point for an algorithm

I am a student at university taking an analysis of algorithms class, and this dynamic programming problem has me stumped. I can't figure out how exactly I should define my recursive algorithm. The ...
-2
votes
1answer
45 views

Unexpected compilation error [on hold]

I wrote this. doesn't matter what am I supposed to do with it. It just doesn't complie! Using G++ 4.9 In the line which I insert data into the set I get error! commenting out that line will solve the ...
-3
votes
0answers
54 views

I want to build a software with C++, book list is needed [on hold]

Can you tell me where i can start from, I have already learned c++. I want to build a software with C++, book list is needed.
-1
votes
0answers
40 views

How to learn backend development? [on hold]

I have been trying to learn web development for a while but I can't seem to get anywhere with backend. I've learnt all languages(HTML CSS JS JQuery Ruby PHP) provided on codeacademy and have been ...
3
votes
1answer
81 views

Structure of stack of a function call

I've been reading Aleph One's paper on Smashing the Stack for Fun and Profit. I wrote down example1.c from his paper, modified it a bit to see what the stack looks like on my system. I'm running ...
-2
votes
0answers
21 views

Installment of Python 2.7.9 and 3.4.2 & Recommended Learning Source [on hold]

I am an undergraduate (sophomore) with double majors in microbiology and mathematics. I just started a research project on the computational biology that uses both Python and MATLAB; I see that most ...

15 30 50 per page