0
votes
0answers
3 views

Why separate APNS certificate for different accounts MDM

I am now studying different MDM(Mobile device management) solutions. IOS has different way to enroll and manage devices. For push notification and OTA transmissions IOS needs separate APNS ...
1
vote
0answers
20 views

What is the best way to create DTOs from entities and update entities from DTOs in a layered architecture?

Option 1: At first I would make a call to my service layer, which served as an API for my core domain, to get a domain object or a list of domain objects and then pass them into the assembler which ...
-2
votes
1answer
16 views

What's the difference between WCF webservice and asp webmethods?

I am really interested to know what it the diference between an plain old normal webmethod and WCF webservice ? I mean how do the work ,what's the technology behind them ? How the hell does this ...
-2
votes
0answers
29 views

what's the difference between REST and SOAP?

I know its been asked a lot of times but want to know what the difference in terms of coding and performance ,which one is better in what ways ?
-3
votes
0answers
29 views

Pros and Cons of associating your real identity with your stack exchange/ SO account [on hold]

What are the pros and cons of associating your actual identity with your Stack overflow account? I am more interested in the cons if i can only ask one question. Heres some that i thought of but I ...
0
votes
0answers
3 views

protobuf-c message over poll() read [migrated]

protobuf-C packs uint8_t chars and I am trying to unpack them from a poll recv() command. Is this a compatible format recv(int sockfd, void *buf, size_t len, int flags) call?
-2
votes
0answers
12 views

Python Unit Test for Function [on hold]

I would like to execute a simple unit test on my functions in a script which send a json web service to an esri file geodatabase. I've left out much of the script aside from my functions and my unit ...
1
vote
1answer
32 views

Best use of frontend framework

I've been using rails' erb template for my views, but I've recently been trying to incorporate React as my front end framework. I'm a little lost on how front end frameworks are supposed to be used. ...
0
votes
0answers
20 views

Set up git for web development

This question has been asked before, but none of the answers could help me in my case. I am developing a web application in PHP and JS. The workflow as it is today is the following: There are two ...
0
votes
0answers
41 views

How to visualise this data model?

I have learnt different variants of list data model like Dlist, SList and recursivenodetype-list. But I could not understand/visualise this datamodel as mentioned below in C++ syntax: class XGNode { ...
1
vote
2answers
32 views

'Tuple' vs 'List' operations in python

Only two operations are allowed on tuple, as shown below. Operations like insert / delete at an index is not allowed. I learnt that tuple is an immutable data model. list allows insert and delete ...
-2
votes
0answers
43 views

Why so much difference in compile time - python and c++

This is the question : I wrote the following code which is in Python 3: n,m = map(int,input().split(" ")) totTEAM = 0 problem = 0 stri = [] for i in range (0,n): newstr = input() ...
0
votes
0answers
29 views

Check distance between all elements in a list of numbers in O(n*lg(n))

I have an exercise for my algorithms and data structures class, where I basically have to implement a divide and conquer algorithm or function called check_distance to determine whether all numbers in ...
1
vote
0answers
14 views

How to interpret correlated subqueries? [migrated]

Correlated subqueries are highly confusing me. Example query from here: SELECT DISTINCT store_type FROM stores WHERE EXISTS (SELECT * FROM cities_stores WHERE ...
0
votes
0answers
16 views

Spring Boot Hibernate and JSR 303 - response formatting

Sifting through forums I can't seem to stumble into an issue solution I've been haveing with Spring Boot + JPA and JSR303 bean validation. Simply put validation works but but when say ...
-3
votes
0answers
29 views

I'm looking for error checking methods [on hold]

Im a student. I have a computer architecture project I'm working on. We got to make our our project. For my project, I chose to code up some error checking algorithms, run them several thousand times, ...
4
votes
0answers
38 views

RESTfully Returning Diagnostics Data With Response

In a REST API I am working with, under certain circumstances (ex/ request originated in network) diagnostics data is returned with the response. Right now, a property is appended to the root object of ...
30
votes
2answers
1k views

Why are people making tables with divs?

In modern web development I'm coming across this pattern ever more often. It looks like this: <div class="table"> <div class="row"> <div class="cell"></div> ...
1
vote
1answer
33 views

How to evaluate the performance of a Data Access Layer b/w two ORM's?

I am currently working on a project where I am going to replace the Data Access Layer from a custom ORM to Entity Framework.(The product is almost complete and mostly any changes that will follow ...
0
votes
1answer
44 views

Simple TimeZones

I need to send out emails based on a timestamp. But the timestamp must be what the user expects it to be. The timestamp is set by the user submitting an object. E.g Al from L.A in the U.S saves an ...
-2
votes
0answers
10 views

Process two forms in 1 PHP file [migrated]

So, I got this piece of code, I'm trying to test it out, my issue is this, I've got 1 single PHP file, which contains 2 variables... what I want to achieve is this, first get the first name from the ...
1
vote
0answers
13 views

Global / Application settings and testing

We have a global dictionary of application settings (read from a DB on start-up and refreshed when required) and a static class with a bunch of methods to get these settings. This is historic, but I ...
3
votes
1answer
107 views

How can 'yield' be added as a keyword in ES6 if it wasn't a reserved word?

yield is not a reserved word in JavaScript, yet ES6 makes it a keyword. I thought the point of reserved words was for backwards compatibility. For example, let and const were reserved, so you ...
5
votes
0answers
29 views

Safest way to use and store User's third party credentials

I'm working on an add-in that will integrate git into the VBA IDE. I'm using the LibGit2Sharp library under the hood, which supports User name and password credentials, but not SSH Keys. I would use ...
0
votes
0answers
13 views

Is Python Logging in a WSGI application a best practice a production environment?

I am trying to log my webpage access to a database. It is a requirement. It seems to be a difficult thing to do outside of Windows IIS, and I do not wish to use Python with IIS. My options seem to ...
-4
votes
0answers
34 views

What is the Diamond problem [duplicate]

The notorious Diamond problem seems to be the cornerstone of multi-inheritance discussion. Let's take the definition that satisfies everybody from here For the "diamond problem" to appear, it’s ...
0
votes
1answer
22 views

How can I create a data model to efficiently answer the question of - where to place my db-interaction code I am about to write?

I am seeking the right model for storing and retrieving data, when working with any specific class, while keeping in mind the bigger picture. Details: I have some SQL code in (one) of my classes and ...
-2
votes
2answers
53 views

how to make legacy/rescue projects more fun? [on hold]

I'm starting to get bored with fixing bugs and fixing code that was poorly written in the last year. Is there a way to make this more fun? I have a new project and some new code to write in the next ...
0
votes
0answers
16 views

How to access objects in lists? How to create many sequentially named objects at once? [migrated]

Im new at python and programming in general, so forgive me if this question is painfully simple. I could not find an answer using google. Anyway, I want a long list of checkbuttons and entries. I ...
1
vote
4answers
85 views

What practical steps do you take to ensure you are thorough?

Bit of Context I'm not sure if this is fitting to the programmers.stackexchange area, but I'm not going to post it in SO. Any problem with ambiguity and I'll happily remove it. If I had to talk ...
-2
votes
3answers
56 views

Is LinkedList an Abstract Data Structure? [duplicate]

This quote is from the book HeadFirst C: A linked list is an example of an abstract data structure. It’s called an abstract data structure because a linked list is general: it can be used to ...
15
votes
2answers
1k views

NoSQL within SQL Server

Firstly, this question is not about the difference between the 2. I am looking for some rational for something that really does not make sense at the moment. Maybe because of lack of understanding or ...
1
vote
1answer
69 views

Doubts about architectural pattern for customizable standard enterprise application

My company needs to build an application to be rolled out for a lot of clients. This software will have many modules and functionalities, but some of these will need specific adjustments for some ...
1
vote
1answer
35 views

Efficient ordering of objects online

I have a list with objects stored in a database. These objects are shown in a list and the user can drag and drop them to order them in a specific way. I want that specific order to be stored. How ...
-3
votes
0answers
19 views

How to develop android RESTful client to upload video? [on hold]

How to develop android RESTful client to upload video using Android SDK or third party library 1)Upload from Phone : What is best android api or third party libraries 2)connect to RESTful ...
0
votes
0answers
54 views

IP / Domain name validation in a GUI

This is both a technical question and a design question, which is why I thought stackOverFlow might not be the best place to ask. I am writing gui to a program in Java, which amongst other things, ...
1
vote
1answer
49 views

Structuring project (refactoring)

I'm working on a project that requires from me to make modular and extendible code structure. This code should be able to support multiple clients. The good news is that code should not do anything ...
-2
votes
0answers
19 views

Store decompiled code of external apk in public repo legal? [on hold]

Is storing decompiled code of external Android apk in public repo legal? I've decompiled application that I've got from Google Play Store. I'd like to share its source code because it shows how to ...
-1
votes
1answer
40 views

How to create self-updating WPF Kiosk mode application [on hold]

I am creating a WPF application that will be running in Kiosk mode on Windows PosReady 2009 (basically XP using .NET 4.0) devices. I have a web interface communicating with my API that allows the ...
1
vote
0answers
95 views

How to decide if object should request or receive data?

Deciding whether an object should request data (by calling a function) or receive data (by having a function called from another object) is probably dependent on the exact situation. So how do I ...
2
votes
3answers
58 views

Secure DAL Design using Stored Procedures

I normally avoid sProcs as much as possible. I dont like the language be it TSQL or PL/SQL; they seem archaic against Java/Dot-Net which I use. I go for them when a routine needs to fetch a lot of ...
-1
votes
0answers
21 views

Building a voice recognition system from MCU(DSP) [on hold]

First of all I am new in voice recognition field, and I wish to build a voice recognition module which can receive commands from user and send protocols(wired type) to my robot's MCU to execute ...
-4
votes
0answers
45 views

I'm developing a tiny db software and how to integrate a db in my installer [on hold]

This may not be a good question but i want to create a database software and im using MSACCESS as my database using JDBC but i want to integrate a lightweight database to my software installer and i ...
0
votes
1answer
83 views

Changing repetitive code to improve good programming design

In Java Swing if you want to add a listener to a component, it would look something like this... JButton j = new JButton(); int counter = 0; j.addAncestorListener(new AncestorListener() { ...
2
votes
4answers
141 views

why do people do REST API's instead of DBAL's?

At the past two companies I've been at REST API's exist for querying data via a web app. ie. instead of having the web app do SQL directly it calls a REST API and that does the SQL and returns the ...
1
vote
3answers
122 views

How to version control a running web application? [duplicate]

I am developing a web application in PHP and JS. The software until recently was only being developed on and not being used by clients, so I could just change the script files directly. After the ...
-3
votes
0answers
20 views

receiving geojson from client, displaying on google map, responding with url to displayed map [on hold]

am new to all server side stuff, I've set up an ubuntu server with LAMP and have a simple html page displaying a google map and one of their template geojson files overlayed. <!DOCTYPE html> ...
2
votes
2answers
170 views

Source file shouldn't be more than 100 SLOC

I just started working on a baseline that is rooted in Ada. Many of the older Ada programmers insist that the source files shouldn't be more than 100 SLOC. I researched this online and I have not ...
0
votes
0answers
48 views

How to create methods at runtime for scripting purposes? [on hold]

!!! There's a TL;DR question at the bottom of this !!! I'm looking into writing a Java API that developers can implement that will allow users to write their own scripts that can interact with a ...
24
votes
8answers
3k views

Does path coverage guarantee finding all bugs?

If every path through a program is tested, does that guarantee finding all bugs? If not, why not? How could you go through every possible combination of program flow and not find the problem if one ...

15 30 50 per page