0
votes
0answers
2 views

How to track down what a dependency is used for

I am maintaining and Android app that now suffers from an unsafe X509 TrustManager implementation. Since the app doesn't make any HTTPS calls except through dependencies, one of the dependencies is ...
0
votes
0answers
7 views

Is there a cross-platform way to open a TCP connection, send a HTTP post request and keep the connection open?

I'm searching for a way to open a TCP connection, send a HTTP post request and keep the connection open? It would be great if I can achieve this without administrator/root rights, from a command-line ...
1
vote
2answers
32 views

Refactoring to an inheritance hierarchy early on

I am building a management tool for recipes. Recipes have a bunch of data, including very generic stuff like an ID, tags, ratings and trivia. I currently only manage recipes, but i want to add support ...
-3
votes
0answers
15 views

Books about philosophy of software and system architecture [on hold]

What are some reflective and technology agnostic books about the philosophy of software and system architecture, more about their essence than implementation? Preferably something that discusses ...
0
votes
0answers
18 views

Big web application on python [on hold]

I am experienced PHP developer. I am pretty familiar with tools in this language. I know, that for big complex application I'd use symfony or zend framework. On the other hand, for some kind of REST-...
-3
votes
0answers
20 views

Which is the most professional Java code formatter? [on hold]

I am trying to bring my Java projects on Eclipse to more of a corporate level by introducing modularity, documentations and formation.( I know there exists StyleCop for C# so I tried searching for ...
1
vote
2answers
109 views

Is accessing lower tier members of an aggregate to perform an operation bad practice?

I am currently building a small project that is supposed to keep track of recipes. Each recipe has a bunch of information, including a rating for said recipe. Since the rating has some additional ...
-2
votes
0answers
12 views

C# and ASP .net [on hold]

I can work with C# .net (Windows based applications) PL, does that mean I now ASP .NET as well ? What are the additional things in asp.net apart from the programming part (C#) I have to understand\...
1
vote
2answers
48 views

C header file order

I see that in many projects and examples that local includes are listed before external libs and before header files for built in compiler functionality. Is there any advantage here that I am missing?...
0
votes
1answer
31 views

Is it safe to say that AJAX is a particular way of using HTTP?

I really need someone to confirm the following, and if necessary help me filter what I have read so far. AJAX, which stands for Asynchronous JavaScript and XML, is used to exchange data and is a ...
-3
votes
0answers
28 views

Why the simplest AngularJS2 app requires 9000+ files to run?

I have been following the AngularJS2 tutorial and have gotten the first, simplest hello-world app working. But what I discovered is that even the simplest app requires 9000+ files from the node_module ...
-2
votes
0answers
17 views

How can i change the element of XML using XSLT [on hold]

I am new in XSLT. My Requirement is: I have one XML something.xml It Contains <Parent> <child1> <firstname>abcd</firstname> <lname>dcba</lname> </...
-2
votes
1answer
27 views

Domain model design

In your own opinion, which is a better design. A User object which contains an attribute Employee, and that Employee is being inherited by more specific job title. or is it better for the Employee to ...
0
votes
0answers
17 views

Algorithm for seating Zoombinis on Captain Cajun's ferryboat?

I've been playing the rerelease of The Logical Journey of the Zoombinis recently, and trying to implement some computer algorithms that can solve the various puzzles. I'm stuck on how to approach the ...
-1
votes
0answers
33 views

Developing a phrase bank to help people construct their CVs

I am currently developing the backend for a resume phrase bank which will help people construct their CVs by selecting a phrase from a large data set. I have decided to present the data in the form ...
1
vote
2answers
46 views

How should I setup a database for school management?

I'm struggling to set up a database to use in my School Academic system that is supposed to record all student's scores and then be able to prepare a report that shows students ranks. The hardest ...
0
votes
0answers
24 views

How should I implement a real-time endpoint server to handle new posts and events for a forum?

I am writing a forum component for a site and decided on using either nio or twisted for a real-time endpoint to accept users posts and notify other users who are in the same forum or page of new ...
0
votes
1answer
36 views

REST API with optional resource creation

I have a web app with JavaScript front-end which communicates with back-end via REST API (AJAX calls). Front-end have a Sign Up page. When user decides to register, front-end makes REST call to ...
-2
votes
1answer
61 views

Git Repository design questions

I have following hierarchy of topics I am working on DataStructure Linked List Array Stacks Tree Enterprise Apps EJB JMS Android App Games Productivity Apps My question is how can I best ...
0
votes
0answers
12 views

How Do DB Version Control Systems Lack in Script Semantics When Modeled on Souce/Target Difference Comparisons

There are several database version control solutions out there to assist with controlling not only the versioning of a database, but also deploying and synchronizing databases. These systems are ...
0
votes
1answer
77 views

How can the PHP send a file to Java api?

I am currently working in a project that is to build a online judging system like codeforces. That is where someone can upload a file for a programming solution and our system will compile the code ...
3
votes
0answers
44 views

Compiling for string and wstring

I'm creating a library. I want to use it in multiple projects which may use multi-byte or unicode (std::string or std::wstring). I've adopted the old MS method of conditional compiling: namespace ...
0
votes
0answers
32 views

It's 2016: Is WCF preferred over ASMX for simple IIS-installed web services? [on hold]

I've been doing some research about WCF and I'm concerned it may be going the way of numerous other Microsoft experiments: Future Direction of WCF Data Services [blogs.msdn] Is WCF Dead? [reddit] ...
3
votes
1answer
37 views

Correct Way to Implementing Authorization Checks in ASP MVC

In ASP MVC we have the Authorize attribute to perform check at either a controller level or at a controller method level. But what if you need to do check permissions inside a controller method e.g ...
0
votes
1answer
39 views

SQL: Empty value list for the IN predicate (literals, not subqueries)

Recently, while writing some Spring/JPA code, I stumbled on an issue I tend to face with from time to time: I passed an empty collection to a repository method that generates an IN expression for the ...
1
vote
0answers
25 views

MVC, Services and DAO: Fundamental design choices, error handling and return values

Behind this rather vague topic I would like to address a few problems I've been having in my last projects. As a general rule, I try to keep it simple, follow design patterns and the Single ...
4
votes
4answers
1k views

Is fixed-scope, fixed-time really impossible to deliver in agile? Or what else use?

I have been reading some similar questions here but they are not the same. The project we have inherited from our partner has fixed scope and a fixed deadline to deliver. We are now thinking about way ...
-3
votes
1answer
101 views

Is it legal to copy an MIT-licensed software and change the copyright holder and software name and claim to be the creator of it? [on hold]

According to MIT License any person can: Obtain a copy of the software Modify it Distribute it Is it legal to copy an MIT-licensed software (let's say Expressjs), change its name and copyright ...
0
votes
1answer
41 views

How to deal with different configurations with non-overlapping properties?

I am working on a project based on the Java EE technology. First I'd like to tell you what I want to achieve, then what I already tried. Task: Imagine two types of configurations, which you want to ...
0
votes
2answers
65 views

Business Layer in Database logic system

Background:I'm a not very experienced software developer, currently working on a legacy project where all the business logic is in the database(sqlserver) using stored procedures. Now we are asked to ...
-5
votes
0answers
23 views

How to secure code of Java web project? [duplicate]

I am working on one application java/jsp application. I want to package this project in a way so that ONLY intended tomcat can decrypt and deploy it ? What are the possible ways to achieve this ?
2
votes
2answers
99 views

Would it be possible to create a class during runtime execution?

This might be a little unrealistic bu i will ask anyway. Would this be possible to create literally create a new class during the run time execution, i don't mean a new instance, i mean a new class ...
1
vote
2answers
128 views

Opportunity cost of DIY DI?

Java here. I have always used Spring DI (for Spring projects) or Guice (for non-Spring projects) for dependency injection, and have always loved them. I recently took a job where they do 100% "DIY DI"...
0
votes
0answers
31 views

Inaccurate fractional exponentiation / accurate fractional exponentiation in Python? [duplicate]

In Python, 9 ** 3 obviously is 729; why is 729 ** (1 / 3) 8.999999999999998? 9 == 8.999999999999998 gives False. Is this problem solvable?
0
votes
1answer
103 views

What algorithm or program does Java use for arithmetic?

I was looking at bitwise ways to multiply and add numbers without using * or + operators. But I want to know that it might be possible that java may already be using a better approach underneath. I ...
0
votes
1answer
16 views

In SRP POV, Should converting raw data to an object be in a dedicated method?

I have a function that retrieves raw data from the database and returns an object which represents this data. Should the conversion between the raw data and the object be written in that method or ...
1
vote
1answer
87 views

Why does array.push() sometimes take more time in Javascript with Google Chrome

A while ago I've made a simple script in Javascript that tested how much time it takes to add elements to arrays. I've used 3 different methods: array.push(), array[array.length] and array[x] where x ...
-3
votes
0answers
14 views

How to generate jasper report as accordance to user request?

I have created a table as my jasper report which holds more than one million arsenic data with various arsenic levels. My requirement of my project is: [1] User should give inputs through simple html ...
1
vote
1answer
49 views

How to prevent “updating” unchanged date using Data Mappers?

In some books the implementation of Data Mappers simply update the whole row of a table using the data inside an object, but in a system is possible that two different operations update different ...
2
votes
5answers
279 views

Is “too much methods” a valid reason to break the “composition over inheritance” rule?

I usually prefer to follow "composition over inheritance" rule, until I start stepping in the world of Java GUI. In my experience, for adding custom requirements in a GUI components, for example, add ...
1
vote
1answer
43 views

Parse both en_US and en-US as locale in Java

I am writing an API (using Java) that takes locale as a parameter. We want the clients to be able to specify "en-US" or "en_US" as they both seem to be widely used across all languages. I did go ...
0
votes
0answers
41 views

Strategy To Upgrade Frontend Javascript Code - Typescript or New Framework?

Here is my scenario. I would like advice on which path to follow, along with good reasons as to why. It would even be better if you could give an example based on experience of a similar decision but ...
0
votes
1answer
74 views

How to fit a gaussian curve to data for a goodness-of-fit C++?

I've given a dataset of N samples like: (x,y) (-100,1), (-90, 30), (-50,60), (-10,90), (0,100), (10, 90), (30, 20),(100,4) Now I would like to determine how well the data fits a perfect gaussian (...
2
votes
2answers
147 views

Is 20 Java classes for just making a REST call too much?

In an Android project, I am using dagger 2 for dependency injection, applying mvp design pattern, and I am writing interface for almost every class. Although it does achieved the separation of ...
-1
votes
0answers
10 views

Rails schema showing duplicate add_index lines after migrations

In Rails, I have this odd issue where after I migrate, my schema shows duplicate add_index lines, which then causes my rspec tests to throw the error: ArgumentError: Index name 'name_here' on table '...
1
vote
1answer
59 views

How can I filter my coordinates system?

Following up with this, I have a bunch of coordinates and I draw them on a bitmap image as a coordinate system. Now, I would like to get rid of all the noise, and filter coordinates to give a "clearer"...
0
votes
1answer
52 views

Contracting Around LGPL

A client of mine wants to static link its proprietary commercial work to a library that is licensed under LGPL that is sold by VMime in France. VMime's website purports to explain that the purchaser ...
0
votes
1answer
49 views

General guidelines for architecturing a plugin based application

Our application is composed of a main webapp and a handful of windows services that perform a variety of jobs that feed, sanitize and optimize that webapp. In order to ease the task of maintaining ...
-2
votes
0answers
18 views

Need some help with making Selenium to click on a button [Python] [on hold]

<input class="button" value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." ...
0
votes
0answers
12 views

Developing Python Scripting API using Petrel Ocean SDK (C#/.NET)

I use a commercial software called Petrel. Petrel has a software development kit (SDK) that allows the user to develop plugins in C#/.NET via the Ocean core API. At our offices, we have installed a ...

15 30 50 per page