-2
votes
0answers
4 views

Confirm box cancel function does the same thing as OK

I would like someone to tell me why the cancel button redirects me to Youtube instead of cancelling out the operation. function link(){ var r = confirm("Are you leaving?"); if (r = true) { ...
-1
votes
1answer
9 views

What is the technical term for anything that can have 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 ...
0
votes
0answers
6 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
7 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 ...
-1
votes
0answers
13 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
52 views

XML Stuctured C

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 ...
1
vote
3answers
69 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
24 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
11 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
10 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 ...
-4
votes
0answers
19 views

What kind of solution should I use [on hold]

My Current Situation: I got many instances of same application that read XML files from shared folder. that makes many calls to read file and sometimes locking the files.. What I look for: I want to ...
7
votes
0answers
67 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
33 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 ...
1
vote
1answer
14 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 ...
8
votes
4answers
758 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
26 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 ...
-3
votes
1answer
57 views

C++ substitution cryptography

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
20 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 ...
-3
votes
0answers
13 views

A Java program that will data KML data from a folder

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
52 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
60 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 ...
5
votes
4answers
105 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
105 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
12 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 ...
-3
votes
0answers
18 views

Coverting iOS App For Web Use? [on hold]

I need to develop my app as a website. It is fully developed using Objective-C on iPhone and iPad already. I personally do not have the programming knowledge to develop a web version. Are there any ...
4
votes
2answers
75 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
32 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 ...
1
vote
1answer
21 views

Side-by-side Functional and Acceptance Testing (SpecFlow)

This question is not about the differences between functional and acceptance tests! Almost all the info I could find on the web just explains the difference between them. I know that functional tests ...
3
votes
4answers
187 views

Interview question on accessing variable with pointers in c

Once I had a question in interview, it goes something like this. int main() { int a = 10; int b = 20; int *p = &a; // can i access b or can i get my pointer p to point to b. } ...
0
votes
0answers
25 views

Organizing effectively the project

One of our assignments is to write a website which should use a database. I would like to have some help organizing it. Here are characteristics of our work. The assignment is for a group of 5 ...
-5
votes
0answers
14 views

VB.net 2008 How to open tray icon's contextmenu with leftclick without show icon in taskbar [on hold]

I have a problem. My program is not shown in taskbar (project has only a form1 invisible and a trayicon with contextmenu) and when i click with right mouse button there is no problem. Anyway I've ...
0
votes
1answer
33 views

Database searching for string across different tables

Scenario: application will search in database almost all columns across about 8 tables/views for defined string and return all rows containing that string (will return collection of objects or JSON). ...
0
votes
0answers
19 views

Does variable type specification leads to any performance difference?

This question sits in my head for a long time now. Let's say I have a very long method which basically creates a responsive and resizable layout for a user interface by using a few fixed values, ...
2
votes
1answer
168 views

Open / Closed Principle

I found this code example explaining Open / Closed principle. Code before application of principle: public class Logger { public void Log(string message, LogType logType) { switch ...
-3
votes
0answers
16 views

Database Structure for Agents commission payouts generation with TDS deduction

Actually I am creating this for the first time to generate the commission payouts for agents for their sale. Commission need to be generated when the product is sold out and payout need to be done ...
0
votes
0answers
30 views

Configuring a microservice landscape, should the view be monolithic or be attached to core services?

I'm migrating my monolithic web application to a microservice based one. I'm going to use Spring cloud and I've got a discovery service where all the rest of the services are registered. A simplified ...
-3
votes
0answers
25 views

Working with large data sets on Php and Excel

I need to deal with larger datset in my upcoming project, so choosing a good tech for the same will be good. As we say "Right tool for right job" Project will be dealing with Large data sets, ...
0
votes
0answers
12 views

Implementing CMA-ES

I am attempting to implement the CMA-ES optimization algorithm in my favorite language (using the example code here as a guideline), but I need help solving a problem I am having. To test the ...
-1
votes
0answers
54 views

Any Real Disadvantage to Starting a New iOS Project in Objective-C in 2016? [on hold]

I may soon join a new iOS project in the following months. I have heard the project will be done in Objective-C, not Swift (for reasons I can't disclose). I've been coding in Objective-C since 2009 ...
-3
votes
0answers
26 views

How to certify/validate software for install on windows to prevent a warning message

I have written software for a daily print utility using windows task scheduler. When it is installed on a windows system it throws a warning. I know I can turn this off but a user installing my ...
-2
votes
0answers
70 views

What language(s) used to develop F-35 software?

I'm curious about what kind of technology used in the development of the F-35 fighter jet's software. I just read some news about how bug-ridden the system is, and would like to know what were used to ...
0
votes
1answer
26 views

How can I paint a custom circular JComponent without an “invisible box” around it?

I'm writing a JApplet that displays a diagram with numbers in circles and lines connecting the circles. I've created a class that extends JComponent to act as the circles. I overrode the ...
1
vote
0answers
34 views

Pattern to use (if any) to co-ordinate loosely coupled classes with strong interdependencies

I have a collection of cooperative classes whose behaviors are interdependent upon one another. But I wish to keep them loosely coupled, so I've created appropriate interfaces. I want to determine an ...
2
votes
1answer
108 views

Word game algorithm

Back in the days of 8-bit machines there existed an educational word game. I have no idea what it was actually called but for the sake of this question (since it involves pyramids) let's call it ...
-3
votes
1answer
56 views

Floating point error questions

Books teach us that single precision has 24 significands digits this is aproximatly 7 decimal significant digits. Now what would be the sense of printing a float with more than 7 digits? Im wondering ...
1
vote
0answers
50 views

Child class accessing its parent's method from Ancestor method

I find myself right now banging my head with the following issue (in PHP): I have an abstract base class, which has a non-abstract method, inherited and unchanged all over the inheritance chain ...
-5
votes
0answers
36 views

creation of .bat file to reboot the computer if the network isn't working [on hold]

I can't seem to create/put this script together, but I need this for my classroom of desktops. I only have some pieces. I need the desktop to reboot( shutdown -r -f -m \computername -t 0 ) when an ...
-3
votes
0answers
25 views

List aggregator web application

I was looking to build a small web app to list pictures by group (ex. fruits, animals, cakes, etc.). Then allowing each user to select from the various lists and create their own master list from the ...
-4
votes
0answers
22 views

Subsetting in R [on hold]

I am new to R so that might be the reason why my question is so basic. I have data which looks a bit like what is shown below Hospital January February March April May June July ...

15 30 50 per page