0
votes
0answers
2 views

Converting array of integers into a string in c?

I am trying to write a program in c that converts a specific part of a given array of integers into a string. but I get this error warning: format ‘%s’ expects argument of type ‘char *’, but ...
-1
votes
0answers
8 views

how to solve error opening (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545?

I trying to connect visual studio 2010 and foscam IPcamera. After running the code it give me this error "warning: error opening (../../modules/highgui/src/cap_ffmpeg_impl.hpp:545". Opencv2.411. Any ...
-2
votes
1answer
17 views

Database to store and search email metadata [on hold]

I'm building an application which allows users to search their emails via a simple cloud-based application. Users will automatically (via 3rd party) sync their email messages on a daily basis. In my ...
0
votes
1answer
12 views

Coping with Spring-Security's incomplete documentation

I have been a user of core Spring functionality (IOC) for a decade and really appreciate the IOC paradigm. I am also a fan of XML configuration, with limited use of autowiring, as it places all the ...
-4
votes
0answers
21 views

I need to create a stock class [on hold]

I need to create a class called Stock on BlueJ, with 2 parameters each to be assigned to the "symbol" and "name" instance variables & there should be 2 "set" methods , one each for the ...
0
votes
2answers
18 views

Server-Side Development for Android Developers

I'm a Java/Android Developer, I recently graduated college and currently working as a Jr. Android Developer. I feel very comfortable around Android and Java in general, also I'm always reading and ...
-1
votes
0answers
8 views

Web api VERB to use to create a document

I've created a Web api endpoint that when called will generate a document. It doesn't need to return the document. it just needs to create the document. fire and forget. I'm currently using the POST ...
2
votes
1answer
31 views

Manual Dependency Injection Examples Still Tightly Coupled

I've been using AutoFac for some time now to take care of the dependency injection we're using in a web project. All is well, but I now want to demonstrate DI outside of an AutoFac context for reasons ...
0
votes
0answers
24 views

Average size of UML projects

I need to estimate the scalability of a tool which is an add-on for a software modeling tool Enterprise Architect. The tool implements algorithms of O(n2) complexity. These algorithms scan "each ...
-2
votes
0answers
13 views

understanding gameloft CMS software architecture [on hold]

Can someone comment on the software architectural design of the gameloft Content Management System?
1
vote
0answers
16 views

Aggregate and its root in purchase management domain

I'm having problems defining the aggregate boundaries (and maybe even the aggregate root) to enforce the transactional consistency rule. Let me first describe the problem domain. In our domain we ...
0
votes
0answers
22 views

writing a controller file in Python

I need some advice on my idea to write a controller file in Python, and not like the C in MVC type controller but a more simpler idea. Just a Python script that controls the operation of some other ...
1
vote
1answer
40 views

Adding new features to software while keeping the same database

My little team is just a few days from launching our web page. Its another user content type page so a lot of our data will be about user preferences and behavior. We decided to get it out of the door ...
0
votes
0answers
24 views

How to structure a SaaS application?

The Problem I need to develop a Software-as-a-Service application, that will be used from our clients. The application contains a lot of forms (Company Application) using a step-by-step forms. They ...
0
votes
0answers
11 views

SharePoint upload data - function refactoring - design questions [migrated]

I currently have a series of functions that write to various SharePoint lists, I am trying to amalgamate them into a single function but want to be able to have an elegant way to do this. each ...
1
vote
2answers
82 views

Does printf in C99 automatically round numbers for me?

Does printf in C99 automatically round numbers for me? I wrote a program as shown below and I am getting unexpected output. #include <stdio.h> #include <math.h> int main(void) { ...
-1
votes
0answers
33 views

How can i prevent page from reloading? [migrated]

My Question is: I have one page and I redirect to another page by passing Response.Redirect On the second page I am downloading file but when I am reloading page from user side it again downloads ...
0
votes
0answers
12 views

Using the <img> element in XHTML [migrated]

I'm a noob and learning HTML to begin with. I used the following code and tried to validate it at validator.w3.org. <p><img src="C:\Users\46506090\Pictures\FS ...
0
votes
1answer
46 views

diagnosed eye problem ¿How to reduce eye strain on dev environment? [on hold]

I've suddenly started having blurred vision on one eye [don't worry: I'm seeing a doctor, this is not asking for med help]. While I wait for an eye OCT (tomography) I want to modify my coding ...
0
votes
0answers
10 views

Better way to wrap incompatible objects with default-method emulated traits?

In my Selenium web tests, I wrapped some elements and custom widgets with trait-like interfaces with default methods[1]. I want to add a caching feature to this type hierarchy to avoid repeated ...
2
votes
3answers
63 views

What is an accepted method of timestamping in a distributed system?

In a normal application, a simple call to time.Now() in most languages will suffice for getting a timestamp, but what about in a web application spread over multiple servers? As I understand it ...
1
vote
1answer
56 views

Is it OK to use (WTF) forms to refer stuff from DB?

Form classes are intended (IMO) for submitted data against rules. For example: are passwords equal, is end date later than start date. submitted data--->|Form| Is it okay for Form classes to ...
0
votes
0answers
29 views

How to convert JSON Stringify to Object JavaScript? [migrated]

I have example : var data = [{"name":"eric","age":"24"},{"name":"goulding","age":"23"}] I want to convert json above to object like this result : [{name:"eric",age:24},{name:"goulding",age:23}] ...
-1
votes
2answers
56 views

3D visualization of moment using accelerometer on Android device

Is it possible to reconstruct the movement of an Android device in 3D space using data from accelerometer? For example, I may draw a circle with my hand in the air, holding an Android device. Is ...
-2
votes
0answers
14 views

How do I remove the dot using isDot() using RecursiveDirectoryIterator? [migrated]

I have this simple below code to help me get the contents of all files and sub folder. I took this code from the PHP cook book. it says that I can use the isDot() but it doesn't explain how to .. I ...
1
vote
0answers
23 views

Git repo with lots of medium-sized images?

I've just used git-tfs to checkout a TFS repo into a Git repo. The .git directory comes to 2.33GiB, and the primary reason for this is a couple of large directories coming to about 650MiB each. Each ...
2
votes
3answers
115 views

Best naming practice for interface implementation with repetitive words

I have an interface ILogFactory with some implementations like ConsoleLogFactory or NullLogFactory Following this naming pattern, a LogFactory based on NLog would be named NLogLogFactory which sounds ...
-4
votes
2answers
43 views

Converting (constant) to (address of function) [on hold]

My problem is that how to convert constant to address of function. Here an example. This code just printing that address of function. Suppose the TestFunc's address is 0x12345678 and I want to assign ...
2
votes
2answers
126 views

Class with only one execution

I'm implementing a long algorithm (about 500 lines of C++). The algorithm consists currently of about 10 different methods. Each method I have to hand over multiple data-structures as parameters, ...
0
votes
1answer
31 views

AngularJS and ASP MVC

We have started to implement AngularJS in our web-applications using ASP MVC. I am wondering what approach to use for building application in the future. Keep using our current stategy: Build the ...
-6
votes
0answers
33 views

Find blog post about what women want in a programmer workplace [on hold]

I remember reading a blog post, I think it was written by an employer who didn't manage to recruit any women to his workplace. He ended up calling the people who had declined work at his company, ...
-4
votes
0answers
9 views

What are the benefits of multi-tier architectures? (In Mobiles) [on hold]

I was asked following question in an interview I know benefits of the multi-tier architecture however i wasn't sure how this is relating to mobile applications specifically. Does anyone have any idea ...
-4
votes
0answers
19 views

Should contentType be in my ajax? If yes how to fix it [on hold]

I been trying to figure this one out but i don't seem to find the error but in my script My script $('#Bshift').click(function(){ var isValid=false; isValid = validateForm(); if(isValid) { var ...
-4
votes
1answer
45 views

Whats the differnce between server and site? [on hold]

I read about what is server? and what is site? and relationship between them. But still I couldn't understand them and their relationships and their differences. Please anyone clarify me.
-3
votes
0answers
20 views

Using existing implementations for Graphs for Job Application programming task [on hold]

This might seem like a dumb question, but I am really inexperienced, just finished uni. Can I use existing implementations of Graphs and searching algorithms in a programming assignment for a grad ...
0
votes
2answers
197 views

How are complex programs made? [duplicate]

I know a few languages, and can program in them. How do multiple languages blend together in a single program? For ex. https://github.com/facebook/watchman. This uses C, PHP, Python, Javascript, etc. ...
-5
votes
1answer
36 views

How do I print the birthdate? [on hold]

How do I print the birthdate? class Student { private int id; private Birthdate birthDate; Student ( int ssn, int year , int month, int day) { id = ssn; birthDate = ...
-3
votes
0answers
16 views

about Max MSP program, how can I do a list of one columns data that has 2 columns

I am using the Max MSP programming language, Windows 10. In my patcher file I have two columns: data value and its size frequency. I like to sort the data value according to the appropriate size ...
1
vote
1answer
55 views

How to find the closest right neighbour in a tree?

Given a class: public class Node { public List nodes[]; public Node right; //NULL for now } What's the best way to fill the "right" element of all tree nodes? N ...
2
votes
2answers
36 views

Refactor presentation logic from model

I've seen this pattern used in a considerable amount of MVC applications. Let's assume we have a User model with the methods: hasSessionExpired displaySessionExpired The first method ...
-5
votes
0answers
23 views

Passing data from matlab to c interface [on hold]

As the title indicates. I have a wrapper function in matlab function [status name] = GetCanCaseName(canNum) [status name] = calllib('Test','GetCanCaseName',canNum, 'temp',0); And the corresponding ...
-1
votes
0answers
22 views

Background service to act as ad-hoc API? [on hold]

I've been given a new project at work, and I'm fairly new so I'm not entirely sure where to start. My boss uses two different applications to track his IT Service work. He uses one third party ...
-2
votes
0answers
26 views

Given a set of N coordinates, how can I determine which of them are closer to each other? [on hold]

I would like to know what's the best way to solve the following problem; Given a set coordinates: coords = [ [ 6.200992, -75.578738 ], [ 6.174297, -75.348264 ], [ 6.199156, -75.573768 ], [ ...
-5
votes
0answers
44 views

Can I develop a program on a computer with no operating system? [on hold]

The situation is tricky, my windows 10 OS is no longer booting off my computer, and when I attempt to boot from the BIOS I get the error "ERROR: Disk Boot Failure" on my HP Pavillion 500 (2TB, W8) ...
3
votes
2answers
83 views

Why does ISO 8859-1 contain letter-free diacritics?

ISO 8859-1 contains a few letter-free diacritics: The diaeresis (¨), the acute accent (´), the cedilla (¸) and the macron (¯).¹ Why were they included? As far as I know (please correct me if I am ...
25
votes
4answers
2k views

Why is it the caller's responsibility to ensure thread safety in GUI programming?

I have seen, in many places, that it is canonical wisdom1 that it is the responsibility of the caller to ensure you are on the UI thread when updating UI components (specifically, in Java Swing, that ...
1
vote
3answers
113 views

How does recursive backtracking work ?

I am trying to figure out recursive backtracking, i have good understanding of recursion and till some extent the concept of backtracking too but i am having difficulty understand the chronological ...
0
votes
0answers
59 views

What is the use of stateless object? [on hold]

While it is possible to create a stateless object, I am curious to know a use case or advantage of the same. If a stateless object is created for only providing the behavior then I would prefer static ...
0
votes
1answer
39 views

Testing a windows game application against older versions of windows

If I were to build a game using Visual Studio 2015 and (Most likely) SDL2, I think I'm right in assuming that in order for that game to run, the user's target windows version needs to have Visual C++ ...
-1
votes
0answers
39 views

MVVM & Threads: Which layer should dispatch on the UI thread? [on hold]

I am implementing the MVVM pattern on an iOS native app. Say the model runs something in other thread than the UI one, and notifies about something's completion to the view model, which at the same ...

15 30 50 per page