0
votes
0answers
4 views

C# Carpet Calculator App perimeter error

I'm having trouble figuring out this error I keep getting, trying to output the perimeter for a room here is my code it is in two separate files carpetcalculator.cs and carpetcalculatorapp.cs. ...
0
votes
0answers
14 views

How to know if I'm slow or fast at programming?

I understand that it's extremely depends on a particular case, but I really would like to know at least roughly how long a specific task can take for completion to average programmer. Is there any ...
0
votes
0answers
4 views

use of minOccurs=“0” without nillable=“true” in SOAP

I have received an XSD from a 3rd party supplier generated from a Java based system; which is to be used to create a SOAP endpoint for us to receive data transfers. Their XSD does not make any use of ...
0
votes
0answers
5 views

Implementing logging interceptor next to BeanPostProcessors and BeanNameAutoProxyCreator

I want to implement simple mechanism based on annotation on method in different classes. The case is, that I have some beans created as a proxies with transaction interceptors like this: <bean ...
0
votes
0answers
4 views

Comparing articles from various web-stores

Today I had the idea to write a program that compares the prizes between different web-stores. The key question I am asking myself is how to find (with a high probability) the same article on another ...
-5
votes
0answers
10 views

Anyone use devise-iOS

I have started making an application. Basically going in just experimenting. I started out making a rails application where I used devise to sign up/in. I used Mongoid to store my database ...
0
votes
1answer
19 views

Considerations when making data structure and algorithm choices

What are some reasons you may choose a worse runtime algorithm? And what are some advantages of a linked list vs a hash table/array where access is constant time.
-7
votes
1answer
43 views

Programming techniques to speed up program writing [on hold]

My question is: are there specific techniques and approaches to speed up the program writing process, in order to make big and robust programs in a few hours? I'm learning Java and I'm going to take ...
4
votes
1answer
489 views

Redux memory consumption

The Redux framework favors immutable state/pure function paradigm, which promotes creation of new state from the previous state in terms of the current action. The applicability of this paradigm is ...
-4
votes
0answers
8 views

Regex expression - extract email with spaces [on hold]

I have searched forums for this problem but I did not get any good result. I need to extract email addresses from a text where emails contains dots and spaces. I tried to extract but I only get the ...
0
votes
0answers
17 views

Multi-screen MVVM architecture/design - Should my “screen” ViewModels contain sub-ViewModels?

I'm getting beyond a simple MVVM program now, and I'd just like to sense check my current architecture and makes sure I'm going down the right path here. Everything is structured around screens, and ...
1
vote
1answer
28 views

Bluetooth - is rfcomm totally bypassable as a protocol?

I ask my question on programmers because: no coding is really involved this question is very conceptual concerning an exchange protocol. Bit of context: When you implement Bluetooth, like I do, ...
0
votes
0answers
11 views

Bundling binaries in Mac OSX applications

I'm creating a photo gallery OSX application. I'd like to include https://github.com/mattes/epeg in the package to do the thumbnailing for me. I don't want to make the user compile epeg themselves. ...
1
vote
0answers
17 views

can a single SQL Server connection be shared among tasks executed in parallel

Can a single SQL Server connection be shared among tasks executing in parallel? Each task would dequeue an item from a ParallelQueue, instantiate a SqlClient command, and insert a row into the table. ...
-2
votes
0answers
13 views

Getting directions using my own voice samples regarding a gpx track

My goal is to create an app in android that loads a gpx track Compares my gps position to the track and gives me directions using my own voice (samples) as in Go to the right soon Go to the left ...
9
votes
8answers
737 views

Encrypted content in games

I have been having this idea of using encryption to prevent users from figuring out content in my program outside of the program itself. Like users may find textures never used in the game meant to be ...
1
vote
1answer
34 views

“Selected design can be derived from requirements” - meaning and difference against traceability?

ISO 12207 contains interesting points for design verification: a) The design is correct and consistent with and traceable to requirements. c) Selected design can be derived from ...
0
votes
0answers
11 views

How can I make a Python deserialization function useable from another module?

I have some serialization and deserialization code which works well within one module (and within the universe of classes I care about). E.g. class A(...): ... class B(...): ... def ...
-3
votes
0answers
14 views

Malloc error while inserting an element in a red black tree [migrated]

#include<stdio.h> #include<stdlib.h> typedef struct treenode{ int elem; int color; struct treenode *left,*right,*parent; }treenode_t; treenode_t *create_node(int elem){ ...
-6
votes
0answers
21 views

Get solutions for 54 * x + 16 * y == 2400 [on hold]

How to get integer values for x and y that satisfy: 54x+16y=2400 Someone told me that I can do it using Euclid-Wallis algorithm, but I don't understand it so, if there isn't any else solution, can ...
-1
votes
0answers
18 views

Is there any value in using a Promises library versus ES6 Promises?

I see a lot of NodeJS articles recommending the Bluebird library for promisifying your code and avoiding callback spaghetti. Is there any value in using such a library when using Node 4.2.4+ given ...
1
vote
1answer
24 views

Decoupling external dependencies

We have a simple REST webapp which is dependent on multiple external services, mostly Kafka messages. An attempt was made to isolate external dependencies by encapsulating all external interactions in ...
-3
votes
0answers
27 views

Can I change continue statement to other loop? [on hold]

I need some help with this loop statement I want to change continue to other loop and still work the same This is the code String searchMe ="Look fr a substring in me,"+"i have many subclasses of ...
-4
votes
0answers
16 views

In this json my category and subcategory are combine, how to set in pojo class, i wan't to set in expandable list view, please help [on hold]

{ "product_categories": [{ "id": 24, "name": "Air Cooled", "slug": "air-cooled", "parent": 67, "description": "", "display": "subcategories", "image": "", "count": 4 }, { "id": 33, "name": "Belt ...
0
votes
0answers
7 views

How to improve navigation on various Animators in an acitivity

I have various Animations going on simultaneously in my Android Activity, in MainActivity (like with Fragment pop-up, my Toolbar and some other views Animate Synchronously). How can I manage all such ...
-1
votes
1answer
45 views

What is the technical term for anything that can obtain a reference?

In programming, you have properties, methods, variables, constants, classes, interfaces, enums, attributes, etc. Properties and methods are considered class members, but not necessarily everything ...
1
vote
0answers
29 views

What was the first mechanical Turing-complete machine ever constructed?

I understand that Charles Babbage designed the first Turing-complete mechanical machine, the Analytical Engine, in the 1800s, but it was never actually built. I have also seen that at least one ...
0
votes
0answers
14 views

How to turn off third party app store and side loading except my app store

I want to prevent installing apps using third party app stores but except only one app store. This specific app store is in my control. I can change it's code to send a message to the mobile device ...
0
votes
0answers
18 views

Questions to ask Product Owner during Story time [on hold]

I'm a new Business Analyst, in an Agile project. Our team is developing the product in AngularJs- front end, SQL server backend. Using REST web services. We are trying to include a realtime reporting ...
-5
votes
0answers
63 views

XML Stuctured C [on hold]

Has a Programming Language been developed, which structures C code within XML like tags? (Y/N) If not please mention a place where I should submit this idea. (Sorry that this is a slightly open ended ...
2
votes
3answers
92 views

What's the point of hidden files?

What is the point of hidden files? In Microsoft Windows they exist, in Mac OS X they exist and in Linux they exist. It seems to me that it just makes detecting malware more difficult. The only upside ...
0
votes
1answer
35 views

Best way to flatten an XML document

Say you have a document like this: <names> <first>Joe</first> <last>Smoe</last> <phonenumbers> <phonenumber ...
0
votes
0answers
19 views

Azure Active Directory

I am developing a suite of applications that will be hosted in Azure. Some apps will be for customer use (not public tho, i.e. invited/paid up customers) and some for internal employees. For ...
-6
votes
0answers
11 views

When adding JCheckBoxes to JPanel, the JPanel resizes instead of using a JScrollPane [on hold]

So essentially I am adding JCheckBoxes to a JPanel dynamically. I've added a vertical scroll bar to try and keep the panel the same size no matter how many checkboxes it has, but alas, it makes the ...
7
votes
1answer
79 views

What is the origin of the C Preprocessor?

The C preprocessor is attached to C, but it has a completely different syntax from the main language: syntactically significant whitespace (end of line terminates a statement, gap after the macro ...
0
votes
0answers
42 views

Use the chance to return booleans after method calls for an optional layer of exception handling?

I would like to ask a follow-up to a question I just asked: Better to have 2 methods with clear meaning, or just 1 dual use method? I now understand why it is best to separate charge(float c); and ...
0
votes
1answer
15 views

Pull requests and work item linking in Visual Studio 2015 with non-TFS remote Git repo

We use TFS and Visual Studio 2015 at work but don't get full benefit from the ALM features as we have code in non-TFS Git repos. We would like to integrate these products in with all the TFS goodies ...
18
votes
6answers
1k views

Better to have 2 methods with clear meaning, or just 1 dual use method?

To simplify the interface, is it better to just not have the getBalance() method? Passing 0 to the charge(float c); will give the same result: public class Client { private float bal; float ...
0
votes
0answers
30 views

How to automate tasks performed on a web page

I apologize if this has been asked before, I don't know what this would be called and as such I don't know how to phrase the question. I work for a large company, and as such it has many people ...
-4
votes
1answer
63 views

C++ substitution cryptography [on hold]

Is there a way to encrypt a text message by simple substitution? Ex: input +5 Hello World Output Mjqqt Btwqi Where +5 is the char incrementation for the substitution. I'm stuck splitting the ...
-2
votes
0answers
22 views

Which database to use for real time data update for trading and analysis? [on hold]

I am thinking about a website for trading and analytics. I am thinking which technologies can be used for this kind of website and so I have doubt with database. Which database is suitable for a ...
-4
votes
0answers
14 views

A Java program that will data KML data from a folder [on hold]

I want to write a program that will take KML data from a folder and displace it on Google map and some other global map and continue update this data. I don't know what part of Java I need to use to ...
-5
votes
1answer
54 views

How to enable 'for-each' loop in my own linked list class? [on hold]

Please guide me on code additions that will allow someone to iterate over a custom linked list implementation using "for-each" loop, just like existing collection classes or arrays. All I know is that ...
-5
votes
0answers
18 views

How to make a project like Image Locker Pro in Codeblocks? [on hold]

I want to create an Image Organizer(similar to Image Locker Pro but adding some extra functionality) project in codeblocks (may be using wxWidgets). There will be two parts. In the main program we can ...
4
votes
2answers
76 views

Is Module Pattern in JavaScript is useful only for singleton creation?

Some articles (JavaScript Module Pattern In Depth, Mastering The Module Pattern) describe defining modules in JavaScript like in the snippet below (from Addy Osmani's "Learning JavaScript Design ...
4
votes
4answers
113 views

Avoiding Division by Zero Using Float Comparison

Source code analyzers (like SonarQube) complain about float (or double) equality comparisons because equality is a tricky thing with floats; the values compared can be the results of computations ...
0
votes
3answers
119 views

How far should I validate user input in my own created API?

I got something here that bogs my mind a bit. Let's say I write me this API (in TS), check out some of these properties: export class MyAPI{ ...
0
votes
0answers
22 views

Detailed Page for multiple hierarchy structure

I am planning to make an application that can read files and contains data in a hierarchy, e.g. Level1 elements, containing 0 or more Level2 elements etc. The GUI should look like: >Level1 item ...
4
votes
2answers
80 views

Understanding the Single-Writer Principle

The article on the Single-Writer Principle of the Mechanical Sympathy blog explains how bad queues are (performance-wise), because they need to be able to receive messages from multiple produers, and ...
0
votes
0answers
33 views

OMG ASTM and weird languages (like Scheme, Ocaml, Haskell)

Abstract Syntax Tree Metamodel (ASTM) is an OMG standard to represent ASTs. In my very partial and limited understanding (I only spend an hour or two glancing into that spec), it is notably defining ...

15 30 50 per page