-2
votes
0answers
23 views

software sales vs programming/software development [on hold]

I am software tester with one of the leading companies. I want to start my own company in future. I am planning to go for software sales. I am good at public speaking, explaining products, inside ...
0
votes
4answers
91 views

Should we always DRY? Any edge case examples of when not to?

I've only ever been working in higher level languages, C#, JavasScript, etc. A couple of moments ago someone asked this question on SO. Now I'm curious to know, for some of the lower level ...
0
votes
0answers
14 views

License opensource app for non-commercial

I wish to create an app for studying Japanese Kanji. However I'm uncertain which license would best fit it. I want my app to be Opensource so that I can use the code for tutorials and other people may ...
0
votes
1answer
42 views

Where we should not use MVC?

I have a software engineering course project that we should design a web application, so I've decided to read about software architecture patterns. I've read a lot about what is MVC and its ...
0
votes
0answers
7 views

Sharing authorization logic between ASP.NET MVC 4 and WebAPI 2 projects

Pretty similar to this question here the current application that we are working on has a separate MVC 4 and WebApi 2 projects, where the MVC project is processing the user request to the WebApi which ...
0
votes
0answers
27 views

Are team performance and metrics a trade secret? [on hold]

I'm currently serving as a "scrum master" on my team and have observed some interesting trends that I'd kind of like to share with the rest of the software community. In general, are things like the ...
0
votes
1answer
17 views

Testing whether key exists in map without checking zero value (Golang)

In Go, if the specified key doesn't exist when checking a map, it will return the map value type's zero value. I have a map with a string as the key and a bitflag (stored as a byte/uint8) to store ...
0
votes
1answer
25 views

Split multiple overlapping intervals to non overlapping intervals

currently I try to build an algorithm to split an array of overlapping intervals to a new array with non overlapping intervals. For example: Array of overlapping intervals: [ {0,7}, {8,12}, ...
0
votes
0answers
13 views

Including compiled application in build

I currently maintain the build process of a suite of applications through TFS. Our nightly build, in addition to compiling the code checked in that day, uses InstallAware to produce an installer for ...
1
vote
0answers
20 views

Managing sets of configuration data for an Excel/VBA program

I have two versions of an "Excel-Tool", i.e. a spreadsheet with a lot of vba code. Lets say, this tool is used to monitor two facilities. Both facilities differ in minor aspects. That means, I have ...
-4
votes
0answers
15 views

Spotify Logfile export to web DB [on hold]

I would like to get access to the Spotify music logfile by using a small script. Then using XML or JSON (no matter how) to export the log file and write it in a database (SQL or NoSQL). Then make it ...
3
votes
1answer
62 views

Factory for creating a singleton instance

We have some legacy code that has a bunch of singletons all over the place (written in C#). The singleton is a fairly "classic" implementation of the pattern: public class SomeSingleton { ...
0
votes
4answers
85 views

List comparing techniques for faster performance

I need to cross names from two lists, and find all occurrences of one name in the other. The lists are too big, one have 50k elements and the other 400k. For a small list I would use two foreach ...
-3
votes
0answers
30 views

Is there a name for network entities [on hold]

High level, object oriented networking APIs may allow you to create an object "over the network" so that... all actors in the network (running instances of the same application) will have a copy of ...
-1
votes
0answers
27 views

addition of jersey Archetype to Maven Project in Eclipse

I am trying to add jersey Archetype to Maven Project in Eclipse. But it throws me error saying Can't resolve Archetype org.glassfish.jersey.archetypes:jersey-quickstart-webapp:2.17 ...
0
votes
1answer
42 views

Translation algorithm - combinations to indices

I have a deck of 52 poker cards represented as array of int - [0, 1, ... 51]. There are 2.598.960 possible combinations of 5 cards. I can generate all combinations like this: #id #combination ...
0
votes
0answers
35 views

scrabble solving with maximum score

I was asked a question You are given a list of characters, a score associated with each character and a dictionary of valid words ( say normal English dictionary ). you have to form a word ...
0
votes
5answers
421 views

Fastest way to determine if a value is in a list?

I'm aware there may not be a good solution to this problem. I'm looking for a fast algorithm that determines whether or not a value (let's say an integer) exists in a set of values, however I need the ...
-1
votes
0answers
19 views

sending data from device to remote server [migrated]

My application is passing two value from device to remote server but it work in when i tested in bluestack when I install in real device it show a message like "Unfortunately app has been stooped" so ...
2
votes
1answer
52 views

What do you get when you cross a multi-precision integer with a floating-point number?

I'm working on adding multi-precision integers to the suite of numeric types in my APL interpreter, but I'm not sure what to do about the odd type-combinations that now arise. I now have the following ...
0
votes
2answers
117 views

Where to put a common SQL connection for my classes

I have several classes (Repositories) which do the task of saving/retrieving some objects in/from database; all of them need to establish a connection to one database. I thought in order to avoid ...
-4
votes
0answers
33 views

Is my experience good enough to claim django experience? [on hold]

I was asked if I can program a django application. I have lots of experience from google appengine with django, jinj2 and wtforms but I'm not sure whether it was meant jinj2 and wtforms when asking ...
-1
votes
0answers
24 views

readFromFile reads file from reference in a function help! [on hold]

Ok so first this is my first post on stack overflow! Second I need some help on my c++ project! Heres the problem I have a readFromFile function in a class that will accept one parameter (an input ...
-2
votes
0answers
64 views

How much developer efficiency would be lost switching from C# to C++ [on hold]

If you switched from C# to C++ how much less developer efficiency would there be? There could be benefits in using c++ for cross platform portability as demonstrated by Herb Sutter ...
2
votes
2answers
88 views

fast, say O(log2(N)), sliding median algorithm

So I know how to do a fast O(log2(N)) sliding max or sliding min algorithm. Brookes: "Algorithms for Max and Min Filters with Improved Worst-Case Performance" IEEE TRANSACTIONS ON CIRCUITS AND ...
3
votes
2answers
62 views

Is it better to make database calls or external API calls first in the context of a single Web request?

Say you have a Web app that uses data from both a database and an external API, and for certain pieces of functionality, you need to call in to both in order to read/write the necessary data. Is it ...
0
votes
0answers
18 views

accelerometer code in class [migrated]

I'm writing an app that show accelerometer readings, I was able yesterday to write all the accelerometer code in the main activity and it works fine on emulator and my device. But today I was trying ...
0
votes
0answers
27 views

How to model dynamic table schema in .Net code

I am preparing to do an upgrade of a fairly large program that is currently written entirely in MS Access, both GUI and data (code and data in separate files). One of the key features of the product ...
-2
votes
0answers
20 views

generating best fit from 3d datapoints [on hold]

given N datapoints of point(x,y,z) how should I go about generating the best fit line for this dataset? Accuracy is more important than speed as the collection of best fit lines will be precomputed ...
-3
votes
0answers
39 views

Where to store API Token, Passwords etc [on hold]

So I have an webpage. That webpage accesses an API be it with basic auth, oAuth, Digest, whatever. I have to send over some sort of authentication to the API endpoint. Is storing those credentials in ...
-5
votes
0answers
26 views

How to convert binary files to text and store them in a mySQL database with vbscript(only)?binary file i have are 3d files such as .obj/.stl.ply etc [on hold]

How to convert binary files to text and store them in a mySQL database in vbscript. I have researched and I think the best way to do it is to encode the files to text using base64 encoder? However I ...
-2
votes
0answers
31 views

What is the difference between concurrency and parallelism? [duplicate]

In C#, or a similar language my understanding is the concurrency is when more the one process is running on different threads, is this correct? What are examples of each?
-9
votes
0answers
30 views

Writing an application [on hold]

I have done a lot of experimenting with all sorts of programming languages and am wanting to create a desktop application that can send and receive messages as well as notifications, etc from ...
4
votes
4answers
784 views

Is it always a good idea to divide large classes into smaller ones? [duplicate]

I've heard time and time again that in object-oriented programming, you should try to split objects that 'do too much' into multiple classes, to avoid the "God Object" problem. This seems like fine ...
0
votes
0answers
34 views

Testing if any two given objects are equal [on hold]

As described in the title I want to write a code that can compare any given objects and check if they are equal. Here's a sample code: public static boolean equals(Object o1, Object o2) { if ...
1
vote
1answer
203 views

Why is it common to put an underscore before a method in JavaScript? [on hold]

For example, I noticed that in the jQuery UI widget factory, methods like _init, _start, _on, ect.
-5
votes
0answers
19 views

Displaying tabular results(using kable/something else) in pdf/html(rpubs) in panels(mfrow=c(r,c)) [on hold]

I have a data frame with numeric facts for INJURIES, FATALITIES, CROP DAMAGE and PROPERTY DAMAGE grouped by YEAR, STATE and EVENT. I am interested in displaying top 10 each one of the ...
0
votes
1answer
42 views

What to test for in a simple form where the value of one input field dictates other fields?

Note:- I have added android and iOS tags to this question but it is not necessarily restricted to those platforms. Consider a simple registration form where the the value of one field dictates what ...
-5
votes
0answers
21 views

how to update one record only by filtering 1 Projectname? [on hold]

Dim con As New OleDbConnection con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Neo Spectrum\Desktop\Log\LogSheet\LogSheet\sheetlog.mdb;Jet OLEDB:Database Password = ...
-4
votes
1answer
49 views

Compare each elements in a array using single loop [on hold]

How we can compare elements in an array using one single loop. The time complexity should be O(n) and space complexity should be O(n). Can someone can help me to solve this problem ?
18
votes
4answers
2k views

How much refactoring is acceptable? [duplicate]

I am currently in a project where one of my developer colleagues constantly refactors stuff on every ticket he's doing. We are using agile methodologies. I know that refactoring is a good thing to do ...
-4
votes
0answers
19 views

How do you change the visibility of multiple front panel decorations programatically in LabVIEW? [on hold]

I am trying to make a number of front panel decorations hidden in LabVIEW by the use of a boolean control. I have figured out how to do this with one object fine and have made it work with multiple ...
-1
votes
1answer
90 views

Formal justification for use of third-party libraries [duplicate]

My team and I develop and application which uses a number of third-party libraries to fulfill certain common functions. (It's a Java application and uses a number of Apache Commons libs, Log4j, etc.) ...
5
votes
2answers
149 views

Static console object or dependency injection?

For a current project I have created a Console class which wraps up C++'s usual cout, writes output to a file or uses Console::WriteLine depending on the environment. Currently I've setup my code base ...
5
votes
1answer
62 views

API key - in content or header

Working on an API at the moment and just wanted to gather opinions on where the best place to transmit the API key should be. I know that is shouldn't go in the URL, this leaves the request header or ...
-1
votes
0answers
32 views

Cygwin vs GOW feature comparison [on hold]

Im a heavy windows user who is now starting to look more closely at linux and managing linux systems. I have both Cygwin and Gow installed as my first step, as I start to ssh to linux systems as well ...
-3
votes
0answers
23 views

How to use Multiple class in javascript function for testmonial? [on hold]

I Have Two Div I want Use this Class For Testmonial Show Please Tellme How I use 2 class in one Function.
-4
votes
0answers
84 views

One minute programming task to show off skills [on hold]

I am going to make a one-minute long programming screencast. The purpose is to show off my skills and ability to get things done as well as working style like clean coding and productivity hacks. It ...
1
vote
1answer
148 views

Calculate Big-O for nested for loops

I found this nested loop to calculate the Big-O notation. for(i=0;i<n;i++) for(j=0;j<i*i;j++) for(k=0;k<j;k++) I got the time complexity for the algorithm with this polynomial ...
3
votes
1answer
52 views

JSON Web Token - why is the payload public?

I can't understand the reasoning for making the claims/payload of a JWT publicly visible after base64 decoding it. Why? It seems like it'd be much more useful to have it encrypted with the secret. ...

15 30 50 per page