0
votes
1answer
162 views

Script to protect code duplication [duplicate]

I want to sell my source code, it's written in PHP and CodeIgniter. And it's actually a CMS for personal website. My intention is to create only one license for one use only, if someone buy this code ...
3
votes
3answers
181 views

How to get started with Scrum when the team is bad at generating ideas?

I have a bit of a problem regarding implementing Scrum into a project. The team I'm working with is generally just very bad at coming up with ideas. I'm not sure if it's a matter of them not feeling ...
0
votes
0answers
87 views

How do I design a Service Layer in code?

I am currently rewriting one of my projects in Java and want to implement a service layer that will be used by different clients (CLI/GUI/Web) to communicate with my core application. For now it will ...
0
votes
1answer
36 views

Extract All Possible Paths from Expression-Tree and evaluate them to hold TRUE

This is a follow-up question of my previous one: http://stackoverflow.com/questions/38421950/better-class-structure-for-logical-expression-parsing-and-evaluation Brief introduction: rules as ...
-1
votes
2answers
139 views

Is there a way to refactor the given code snippet without using if statement? [closed]

I am very new to java programming and I recently learned that using too many if else condition statements is not a good programming practice, and I am wondering is there a way to refactor the below ...
-2
votes
0answers
45 views

How to read a remote txt file with Javascript and write contents to html document [closed]

After some research i've only come up with this HttpRequest with standard javascript. var txtFile = new XMLHttpRequest(); txtFile.open("GET", "http://www.suko.tv/Sounds/oh.txt", ...
4
votes
1answer
46 views

How to redistribute modified code under PSF license

I spent a few hours cleaning up a really old Python library, ProxyTypes. Two days from now will mark 10 years since it was updated. Today, I updated it to support the newer Python 3, and to be ...
0
votes
3answers
93 views

Compiling methods in interpreted programming language as standalone c++ app

I'm writing an interpreted implementation of a new programming language (just for fun). In this implementation language is first being compiled to an intermediate language, which is then interpreted ...
0
votes
0answers
26 views

Maintaining ASP.NET MVC Data Encrypted

I am working on an ASP.Net MVC Solution. It has some sensitive data that I am trying to maintain as secured as possible. on my data layer I am able to encrypt the data. Currently I have the controller ...
8
votes
2answers
239 views

Apollo-11: Using inclusion instead of a linker

Recently digitized and turned into a repo, the original Apollo 11 guidance computer source code has been made available for viewing on Github. In MAIN.agc, the repo author comments that they ...
-1
votes
0answers
47 views

Is this an appropriate use case for WCF? [closed]

We have a task to send messages and receive from a remote TCP service dealing with financial transactions (probably going to be very high throughput). We are not in control of that service, and at the ...
7
votes
3answers
293 views

Writing a good/readable constructor that needs a lot of calculation to fill its fields

I have a class that has several fields which can only be filled consecutively by a lot of calculation. The 1st field can be set very easily. To fill the 2nd field, we take the 1st field's content and ...
0
votes
0answers
127 views

What is the meaning of the different interface types in Ian Sommervilles's Software Engineering?

Reading Ian Sommervilles's Software engineering, he mentiones there are following interfaces: Paramater interface: data or functions are passed from one component to another Shared memory interface: ...
-2
votes
3answers
67 views

Most appropriate function naming for WPF's INotifyPropertyChanged implementation [closed]

Each time I was involved into a different WPF project over different companies, the INotifyPropertyChanged function implementations were named quite differently, either public void ...
0
votes
2answers
160 views

How should I architect my back end based on these needs?

I haven't started building my back end yet but I need to now. My needs are the following: Database needs to be holding millions of game information (just info that can be stored in a typical db ...
45
votes
9answers
8k views

Is having fixed delivery dates for elements an “Agile” way of working?

We keep being told we are going to be working in an agile way on a new project by senior management. They have set up stand-ups, sprint planning, retrospectives etc. etc. However, they have now come ...
1
vote
2answers
89 views

Create jar of a java application where entry point is an external program

I have a java plugin written for a software called icy. Since the entry point of program is when the plugin is activated from the software, I am having trouble about how to mention that in manifest.mf ...
0
votes
1answer
27 views

Secure communication between a mobile app and a microcontroller

I have a MCU-based design that essentially controls other hardware and this MCU is controlled through an app. I was hoping someone could help me figure out how to secure this communication between the ...
0
votes
1answer
39 views

Where do we need to include non business logic validations in Service Layer

Currently um working in an application and it has the following hierarchy WEB API2 Controllers (hilds the end points) Business Logic Layer (Dedicated for business logic handling ) Data Access Layer ...
0
votes
0answers
35 views

Discovery for Multiple Senders and Multiple Receivers

I am architecting a realtime system with multiple senders and multiple receivers. Each receiver will receive from multiple senders. The system needs to have as little latency as possible. The system ...
1
vote
1answer
139 views

Elevator design challenge [closed]

I need to strengthen my OOP skills and hence I thought to implement an Elevator simulator. At first what seem to be a simple design has grown into a complete mess and has left me confused about my ...
-4
votes
1answer
82 views

username exists in two database table [on hold]

how to check if username exists in two database table? First database table; $username = $user->username; $userexist = Approval::where('username', '=', $username)->get(); Second database table; $...
-3
votes
0answers
32 views

How can i get two input simultaneously using scanner? [closed]

In my program i'm getting two input but it return one value another as null. i couldn't find out. please anyone clarify my error. Input: k 1 output: king of null public class Cards { ...
0
votes
0answers
70 views

How to detect global keyboard hook

It's incredibly easy to write Key-loggers in many languages. It makes me a little nervous because these small, unknown viruses won't get detected by most(read: all) antivirus'. I'm curious how to ...
-3
votes
1answer
41 views

Web framework to consume external API [closed]

I'm currently joining a project in which there's a core REST API already developed which is used for a mobile app. The next step will be to build a web app which should also consume the API. My doubt ...
1
vote
1answer
39 views

Reactive programming android app architecture

I am going to create a stock market android app. Stock quotes change every few seconds, so to keep the app updated I decided to implement a reactive functional design. My IDEAL design would be: ...
-3
votes
0answers
50 views

Write pci access in kernel c? [closed]

Does anyone know how to access the pci and pci express cards in c for an operating system? I don't know how to access the pci cards, but does someone know what I have to do. I want to have an array of ...
8
votes
2answers
265 views

Working with more efficient but less functional ways of storing data

Since learning object oriented programming I've been confused about how to deal with multiple ways of storing data that have different levels of functionality and efficiency. I'm kind of new to this ...
-3
votes
0answers
36 views

HTTP GET with NodeJS and Lamda Alexa Skill [on hold]

Ok so I have been working on this Alexa Skill most of which is built in Node. I can't seem to figure out how to return the http request in the callback. var handleRequest = function(intent, ...
1
vote
3answers
121 views

Decomposing into multiple of divisors

I have a number x. I know its prime factors and their multiplicity. Does anyone know an algorithm that decomposes it into all possible combination of its divisors (without respect to order)? E.g. x=...
0
votes
2answers
74 views

Building a personal C/Python library to replace Matlab [on hold]

I am considering to switch from Matlab to Python/C++ for research work. The objective is to create an environment similar to Matlab for rapid prototyping. Python is slow even with numpy and schipy. ...
-1
votes
0answers
13 views

Application made in python and compiled with py2exe didn't work [migrated]

I made a python 2.7 program in PyCharm called Intelligent Timer. It is working and showing the stopwatch Changing time in both PyCharm and python IDLE. But when I converted it to .exe file using ...
2
votes
0answers
49 views

How to scale a slackbot app

I'm building an app for slack. While I've completed the POC, and everything works well for a single instance of the app, I'm having an issue of wrapping my mind around the scaling of it. The specific ...
-1
votes
1answer
43 views

Using a variable to define counter limits in a FOR…NEXT loop

I'm using Excel VBA to manipulate a one-dimensional array with approximately 100,000 numerical elements. I am seeing huge performance differences between the following 2 methods: method(1) k1 = 10 ...
-2
votes
0answers
41 views

Compile projects on vs2013 [closed]

I'm learning C++, so I apologize for my lack of skills. I'm trying to use open source projects but I got stuck when compiling them on Visual Studio 2013. I'm a little confusing because in some ...
-4
votes
0answers
25 views

Custom mobile template for Blogger

I used a non mobile friendly template in my Blogger blog, my template doesn't adapt to mobile devices at all but I don't want to change it now and I don't want to use Blogger's mobile templates either,...
0
votes
0answers
35 views

Using an online database for multiple users to store their data

I am considering changing my wpf application to use a online database instead of a local XML file. I have read some tutorials about binding data grids to Mysql database tables. But what I don't ...
4
votes
1answer
117 views

Is it considered bad practice to crawl through the mobile version of a site?

I am building a web spider to crawl through several different sites, but one of them uses javascript buttons instead of links for several functions. And while I could learn to follow them, it adds an ...
-4
votes
0answers
57 views

mergesort complexity O(nlogn) + O(n)?

When analyzing the time complexity of the merge sort, I know that since there are O(log(n)) levels and each level takes a O(n) operation, the entire time complexity should be O(nlog(n)). However, ...
0
votes
0answers
34 views

database architecture for ecommerce app

I’m creating an app that allows users to post, sell, and purchase items. Every item has a count integer attribute that is set by the initial user and which is reduced by n with each purchase. When ...
2
votes
2answers
161 views

Algorithm for ranking a list of items

Given a list of items, what's the most efficient way of ranking those items with the least number of comparisons? Is there a name for this type of algorithm (that way I can focus my search)? Also, is ...
4
votes
2answers
102 views

Updating multiple entities at once using the data mapper pattern

I have been studying software architecture and design patterns for the past weeks, and for a week now I can't stop thinking about the performance problems that come with the flexibility of the data ...
-2
votes
0answers
19 views

VBA accessing files [closed]

I want to be able to access workbooks that are contained inside a folder. If I have a number of workbooks inside a folder, is there a way to pull the data that exist inside the workbooks? My goal is ...
-4
votes
0answers
58 views

Extensible python project layout

I am developing a bot for a game I'm playing and i am having quite a debate as how should i structure my code. I designed my bot to be extensible, everyone can develop a module to farm something the ...
1
vote
6answers
201 views

Short circuit evaluation is C++? [duplicate]

I've been reading the C++ for dummies book and I'm loving it! I'm on the section where he is talking about short circuit evaluation. Here is my understanding of short circuit evaluation. Short ...
1
vote
1answer
71 views

What's polymorphic deployment

On pages 136 and 137 in The Clean Coder, Robert C. Martin describes how chips could be independently deployed thanks to a vtable: The solution was pretty simple. Each chip had to be decoupled from ...
-2
votes
0answers
36 views

TDD with Django where to start [closed]

I'd like to try TDD on django but I don't know where to start. I've attended some coding-dojos where we where doing TDD and I really liked the idea. Now I'd like to try it out in real project but I ...
2
votes
5answers
422 views

Why isn't byte | bit the only built in data type?

All languages I have seen so far have multiple builtin data types (int, double, float, char, long...). But if we look closely, they are just arbitrary arrays of bits, the only difference between them ...
7
votes
6answers
579 views

How is static typing really helpful in bigger projects?

While curiosing on the main page of a scripting programming language's site, I encountered this passage: When a system gets too big to keep in your head, you can add static types. This made me ...
1
vote
3answers
125 views

Unlike C++, why does uncaught exception in JavaScript not terminate the script?

As someone used to C++ and new to JavaScript, I find this behavior odd. Whether a program runs directly on the platform like C++ ones, or it runs at a higher (or deeper?) level like JavaScript ones, ...

15 30 50 per page