0
votes
0answers
10 views

PHP Netbeans coding style configuration, where is it? [migrated]

I want to standardize coding style accross all the developers computers in my office, I want to export my netbeans configuration and ask the other programmers to import it on their IDEs, do you know ...
-2
votes
0answers
32 views

Java Ascii Table [on hold]

so I'm having trouble creating a table that is used for a game. It needs to have 3 Human charaters (@), 2 Monsters (#), 3 Treasure Chests (*) and 4 Obstacles (O). The table needs to be 10 by 10 ...
-1
votes
0answers
39 views

How fast will app-side MongoDB indexes queries/joins be? [on hold]

I am using MongoDB in a web-app and would like to keep my schema normalized, performing any necessary 'joins' client-side, per request. How fast/slow would this be? So suppose I have 10M users, each ...
0
votes
1answer
32 views

Django urls.py runs only once. Why? How does it call views on next request?

While testing django cashing on our development server, one of our senior asked if is it possible to change the value of caching timeout on urls.py without restarting the http service. On first note, ...
4
votes
1answer
56 views

What is a good frequency for merging up feature branches to a main line?

We have a very large code base in mercurial. We have about a 6 month release cadence with 2 week sprints. For each release we have about 10 feature branches and maybe 5 or so people working per ...
0
votes
0answers
12 views

What is a good frequency for merging up feature branches to a main line? [duplicate]

We have a very large code base in mercurial. We have about a 6 month release cadence with 2 week sprints. For each release we have about 10 feature branches and maybe 5 or so people working per ...
-2
votes
0answers
38 views

Career Advice Career Direction [on hold]

I'm trying to decide if my current career focus is a good one or I should seek opportunities elsewhere an was hoping I could get some advice from the Stack Exchange community. I started working for a ...
-2
votes
0answers
17 views

How to trap error if no internet [on hold]

Tried a d a fruit dht22.py code. I added email temp to my phone. would like to trap error if no internet. it import some other code that make it hang up if no internet? new to python tried to use Try: ...
2
votes
1answer
49 views

How do you get complete testing/QA in a git/hg flow development process?

I have a question about working with independent testers (not about unit and regression testing.) In a flow process I do my work on a feature branch until I'm confident that it works and I haven't ...
0
votes
0answers
30 views

Using xsd2Code and custom c# classes

I am using the xsd2code class generator to generate classes based on a schema file provided by a system vendor. This vendor also provides a REST API to access data via Web Services, and I've had a ...
1
vote
1answer
100 views
+100

Transforming XML to JSON in C++

Working with XML in C++ seems a bit of a pain and I'm looking at a way to output JSON. I've stumbled on two different approaches: A) XSLT transformations: ...
0
votes
1answer
69 views

Pass by value result with exceptions [on hold]

I have a doubt with the pass-by-value-result method. As far as I understood, it passess the value of the parameter to the function, and then get the result as the function ends. But what happens with ...
-3
votes
1answer
62 views

How does pass-by-name work in this code? [on hold]

Suppose I have a program like the following: int x = 3 void foo(name int z) { z = 0 int x = 5 } foo(x++) print(x) what is the printed value? When passing by name, I pass the variable x ...
-3
votes
0answers
36 views

In what order are different areas of mathematics relevant to software engineering? [on hold]

I'm thinking it's: Combinatorics Discrete Math Linear Algebra Calculus Is that correct?
1
vote
1answer
87 views

How to unit test a top level method

I'm trying to unit test a small program I wrote. My problem is that I can't see an easy way to unit test my top level class (Matcher) that exposes a single public method (MatchAll). I do have tests ...
-3
votes
2answers
109 views

Confusion about Constructors and properties [on hold]

So im doing a project with a guy and I see in His code something like this: public class Foo() { private string example; public String Example { { get; set; } } public ...
0
votes
1answer
37 views

Difference between Throttling and Rate limiting in API Management

What is the difference between Throttling and Rate limiting in API Management?Suppose if we want to limit the number of requests for an API,we can choose Throttling.But why we need to go for Rate ...
3
votes
4answers
106 views

Is there any way to establish a direct connection between 2 mobile devices over internet?

In the company I’m working we have our own iOS\Android\WP apps which allow our employees to share a certain type of files to each other. This app works through our server but recently we encountered ...
2
votes
1answer
44 views

How to unit test logic in crud app

Apologies if this question has been asked before, I've seen similar questions, but nothing quite the same. I am writing a web application which uses http calls to write and read from a back end ...
-1
votes
0answers
32 views

int differers in level of indirection from char error [migrated]

The code is from Absolute beginner's guide to C, and I get this error ./BlackJack.c<41> : warning C4047: '==' : 'int' differes in levels of indirection from 'char [2]' when I try to compile it ...
3
votes
1answer
64 views

Consistent snapshot

Suppose process A has a consitent snapshot of some entities. And it is constantly receiving updates for this enteties. Now client B connecting to A and it should receive the consistent snapshot of ...
4
votes
3answers
57 views

Web Service and Message Queue

We're looking at creating a web services/REST API layer that will be consumed by web and mobile clients. To make the solution more robust I was considering putting the commands from PUT, POST, and ...
-3
votes
1answer
68 views

Class refactoring [on hold]

I have many rows in databases that are in fact classes, eg: 1-2 3-4 .. 10+ Something Now there are 2 options. One is to create class per table row (Something.class etc.), or to create single class ...
0
votes
1answer
18 views

Synchronization of resource that has moved out of requests filter range

I have a RESTful API with corresponding clients. If a client request fetches a set of resources (Events) based on a filter, say events taking place between 2015-04-13 - 2015-04-19. If an event which ...
0
votes
1answer
59 views

Converting from byte[ ] to user defined type

I am working on a network simulator designed in java with the basic function of routing messages through a network. I am trying to take a Message object, encrypt it using an encryption utility that ...
0
votes
3answers
58 views

Handling source code table alignment

Sometimes there is need to have tables (big or small) in source code. ItemType const SomeTable[] = { // id name min max ITEM( 3, "Foo", 70, 180), ITEM(13, "Bar", 30, 50), ...
-2
votes
0answers
10 views

How to approach Selenium Web driver Testing? [on hold]

Is this right way to test the applications by inspecting the webpage ? or have to write codings as java programmers did in unit testing ?
0
votes
0answers
25 views

Can't figure out how to parallelize the calculation of the amount of offspring expected for species in genetic algorithm

I developed a genetic algorithm in java 8 taking advantage of its reasonably free parallelism opportunities with Streams. As you are likely aware, running the epochs takes its time for even a test ...
0
votes
2answers
45 views

Web developer sending port in web service from server to client

I'm working on a project where I have two websites (client and a server). I've opened web service and I'm trying to "send" a picture from my server to the client [WebMethod] public string ...
1
vote
2answers
211 views

Are any side effects not concrete side effects?

In Chapter 23 of "Object Oriented Software Construction" (1988), Betrand Meyer makes a distinction between side effects, concrete side effects, and abstract side effects. Meyer defines a side effect ...
-2
votes
0answers
10 views

Difference between Service Gateway and API Management [on hold]

I recently came to know about Intel Service Gateway and Axway API managements tools.. As there are many vendors providing Service gateways and API management tools,I want to know in general,what is ...
4
votes
2answers
145 views

Is there any harm in having classes made up mostly of inherited classes?

Say I have a few base classes: HasPosition supplies a 2D location, and methods to "move". IsDisplayable defines how a class will be displayed in a given graphics library (say, curses), and methods ...
0
votes
0answers
10 views

Determining if Heroku app is loading quickly

I recently signed up for Heroku and created a landing page. I want to know if users are waiting only reasonable amounts of time for the page to load when they click on one of my ads. Blitz.io seems ...
2
votes
1answer
60 views

Python beginner question with Assigning Variables

Coming from C# and now getting my hands dirty with Python. From what I understand, Python is strongly typed: http://stackoverflow.com/questions/11328920/is-python-strongly-typed As stated in the ...
-2
votes
0answers
17 views

Software functionality mapping format [on hold]

What is the common format for mapping all functionality of a software system? I'm aware of facade use cases, but there's a lot of space for actors but not many for actual use cases, e.g. how do you ...
0
votes
0answers
29 views

Dynamically updating a UserControl in ASP.net [migrated]

I am new to Using ASP.net WebForms and I'm trying to dynamically update a UserControl which is added to a placeholder. The example I'm working on doesn't update, although the event 'onTextChanged' is ...
-2
votes
1answer
86 views

How deeply can a JSON object be nested?

I was watching a video on a website that said json objects can be nested deeply. How far can a JSON object be nested before it will create an error?
-1
votes
0answers
8 views

Can I create an issue in a github repository by sending an email? [migrated]

Is there any way to allow team members to raise the issue on github by simply sending the details to some email address, like how Fogbugz allows it?
-3
votes
0answers
20 views

camera calibration with known size and distance from flat object [on hold]

I want to calibrate a camera with a flat object that I know the size of and distance from. I also only have one image of it. I want to calibrate the camera so I can find the distance between the ...
0
votes
0answers
39 views

Design Web API with large number of input parameters [on hold]

We are in process of designing a web api that has very large number of input parameters. There are very few basic parameters that are required and rest of the parameters are dependent on these basic ...
1
vote
1answer
65 views

Internationalization on a service layer of an application

My specific problem is how to handle internationalization of specific messages from an architecture layer that is not the view layer(e.g service layer). I've created an architecture based on ...
-2
votes
0answers
25 views

Fix java.lang.NullPointerException? .setColor(c) [on hold]

Code: JPanel randomPreview; {..} **66-70** public void showPreview(int pX, int pY, int pCol, JPanel pPanel) { Graphics g = pPanel.getGraphics(); Color c = new Color(pCol, pCol, pCol); ...
1
vote
1answer
66 views

What makes BEM better than using a nestable style sheet language like LESS?

A colleague of mine is heavily pushing the BEM (Block Element Modifier) method for the CSS in a project he's helming, and I just cannot comprehend what makes it better than the LESS CSS we've been ...
1
vote
0answers
36 views

What is the purpose of separating routes into individual modules with Node.js and Express?

My app uses Node.js and Express 4 and has the following code in the app.js file located in the root directory: var express = require('express'); var index = require('./routes/index'); var users = ...
-5
votes
0answers
23 views

Logical error help [on hold]

Sorry for the title, I'e been trying to get this program working for a while and it really beats me as to why I can't seem to get it work as I want so here's my whole code: import java.util.Scanner; ...
-2
votes
0answers
140 views

Why do C based languages use a colon for the case's? [on hold]

Why is a colon used at all? For example: switch( c ) { case 'A': CapitalA++; case 'a': SmallA++; default : total++; } Instead of: switch (c) case 'A' ...
-2
votes
0answers
67 views

Question about future of Angular during a job interview [on hold]

Due to the drastic difference between Angular 1.X and 2.0, should a large company like ours adopt Angular 1.X to build their Web projects? Although Angular 2.0 is far from being released ...
1
vote
2answers
82 views

To convert to accurate data types or maintain default type of string

Scenario: I have a web application that records and checks data against two temp tables (1 table being a temp source and the other being a destination for the application). These temp tables are ...
-1
votes
0answers
27 views

How to realize HTTPS by using native api in Swift? [on hold]

I'd like to use Swift to write native api to realize HTTPS. There are some third-party frameworks, like RestKit、AFNetworking, but they are written in Objective-C and there might be some problems in ...
3
votes
2answers
130 views

Can the author of an MIT licensed project convert it to a commercial licensed one?

I came across bootstrapvalidator project on Github which was released under MIT license in the past. In the contributors list, I can see a lot many people other than the main author of the project. ...

15 30 50 per page