0
votes
0answers
1 view

Is it proper to hard fork or rather soft fork an abandoned repo on Github?

So I, along with a few other collaborators am attempting to fork an abandoned Github, but relatively popular repository on Github. The question being is whether or not we should "soft fork it", by ...
0
votes
0answers
9 views

Should I be doing checks on data that I'm supposed to be able to trust?

I am working on the frontend of a product, and the backend team broke the frontend because of some bad data being returned to us. This can be caught internally before it gets anywhere close to ...
-1
votes
0answers
8 views

A JS linter/beautifier than enforces braces around single statement blocks?

I recently started using jshint to lint our javascript code before it is committed. However I found that I could still do this: if (condition) statement; I'm trying to find a linter that will ...
-3
votes
0answers
7 views

Why “addImage” and “render” don't work in opencv?

"render" and "addImage" command don't work? what's the "miw"? miw->addImage("Extract Features", mask*255); miw->render();
-2
votes
0answers
12 views

What's a good way to get introduced into TFS and MSBuild? [on hold]

I'm to the point where I need to make TFS do some custom stuff. That whole world is seeming to be pretty opaque. Between process XAMLs, .targets files everywhere, what's TFS and what's MSBuild, and ...
2
votes
0answers
18 views

Alternative for eval() in javascript for expression evaluation

I'm looking at the alternative that can substitute the use of eval() and new Function() javascript techniques. I'm developing a solution build with javascript and the platform on which it is built (...
-6
votes
1answer
56 views

In the scope of C, what is the significance of '->'? [on hold]

I'm looking at old command-line cdplayer software for linux. This software was written in 2006, but won't compile with the latest GCC. I've taken to weeding through the errors and trying to patch ...
0
votes
0answers
13 views

Design from API documentation to code

I have a full API documentation made of uris, request and response bodies ready to use. Uris are all externals, and I have to first visit an entry point that'll give me a token, and then use that ...
1
vote
1answer
45 views

Functional Programming in PHP

Modern PHP is mostly written Object Oriented. Other than the fact that there is inertia towards the Object Oriented in the PHP community, is there anything about the language itself that would make it ...
1
vote
1answer
17 views

How to generate random Boolean functions in Algebraic Normal Form in Python?

I am looking at A SAT-based Public Key Cryptography Scheme and got inspired to challenge myself to write an implementation of this Cryptography Scheme on Python. A part of the cipher encoding would ...
-4
votes
0answers
19 views

How to build multi-language app in vcl -delphi 10 seattle

I've been using Delphi 10 Seattle, I want to build a multi-language application, I used "TLang" component in the Fire Monkey, but I do not find the component in the VCL. What is the solution ? And ...
-1
votes
2answers
67 views

Is main() function better on top of all other functions? [on hold]

My college professor told me that main functions should be defined on top of other function definitions. We should use a forward declaration in order to accomplish this (we use C at that time). So yes,...
0
votes
0answers
23 views

Structure of RESTful Service with Java Spring for Beginner

I am relatively new in terms of Java web development skills. I have a project that I think would make a good candidate for a RESTful service from what little I understand about APIs. I'm trying to get ...
0
votes
1answer
18 views

Find whether or not current location is near other locations with given radii

tl;dr: "Am I, with any given location, inside of any number of circles with varying radii" Assume you have a database full of locations (coordinates) with arbitrary radii. Now the user enters and ...
-2
votes
0answers
26 views

Private chat window in PHP chat

I am currently building a chat as a personal project, and I have no idea how to solve this problem. I need the possibility to make a privat chat window, for private chats between users. However, ...
0
votes
0answers
12 views

Volley with AsyncTask

I'm developing an Android library so that other apps would use, which is a kind of an API 'driver', to be used with an external services API and contains also UI components. On most of the requests ...
-3
votes
0answers
19 views

Either overlaying or deleting button text after it is clicked [on hold]

For a game I'm making, I want the player to have a choice of two (or more) buttons, and when a button is clicked, a new screen appears. However, the button text still remains when it is clicked. I've ...
0
votes
2answers
82 views

Where/how to store program data?

This may be more of a software design question - but I've been working on my first "real, non-academic" Java project and have recently learned about good code practices (such as breaking down methods ...
0
votes
0answers
28 views

coming from java to nodejs whats the convention for error handling logging? e.message or e.stack?

I come from java, when I got an expected error I printed stack traces. I'm coming now to work on nodejs (never really worked on javascript). and in the nodejs project which I need to maintain (...
0
votes
0answers
15 views

How to track unread messages for a user in a multi-channel chat application

I'm building an multi room chat application similar to gitter/slack as a side-project. The database schema i have so far is: user table (userid,username) chatRoom table (roomname etc) user-chatroom (...
-1
votes
1answer
81 views

Are all boolean arguments flag arguments, and thus a code smell?

Martin Fowler describes the Flag Argument code smell as a "kind of function argument that tells the function to carry out a different operation depending on its value". Answers to Is it wrong to use ...
1
vote
1answer
27 views

Seperate codebase for responsive website and mobile apps?

I made a simple responsive single page web app (about 5 views) to replace our old jsf web application using angularjs+bootstrap. Now looking into frameworks like ionic, cordova and trigger.io. what I ...
-2
votes
0answers
27 views

Is it possible to know the names of functions that were called by a particular unit test in Javascript code coverage? [on hold]

I have a javascript project. I want to know the names of functions which were run by the unit tests. Is there a coverage tool that can provide this information? If no, how can I achieve this on my own?...
2
votes
3answers
63 views

MVVM Commands - one command for everything or multiple commands?

In my last company, on handling view commands, in the ViewModelBase there were one central command implemented, like public ICommand ToolCommand { get; set; } And in the ViewModelBase, it's been ...
2
votes
2answers
81 views

Idempotency and concurrency in a REST web service

Is concurrency and idempotency mutually exclusive for a REST web service or can it be done so a service can be both concurrent and idempotent? Using a optimistic lock methodology like using Version ...
-1
votes
0answers
8 views

ArrayList Dynamic remove and add for socker client

I have one ArrayList in Java and a save the socket and one unique id. When someone client is add in the ArrayList, the unique id i have is NOT the same with position in ArrayList. When someone ...
1
vote
2answers
30 views

Separating save logic from WinForm to make it reusable

I have a Windows Form for creating configs. It has around 50 fields of data, which represent a group of entities, that I need to capture when the user presses the save button. Currently, on the press ...
0
votes
0answers
21 views

Handling a forking/pull-request flow with a staging branch

I am currently in the middle of planning a new Git flow in my company and the new idea for it is to migrate over to forking and pull requests as well as add a staging branch for testing. The proposed ...
-4
votes
1answer
77 views

Is the followig code Compiler dependent or independent? [on hold]

Hi is the following C code snippet compiler dependent: int c = 11; int x = ++c + c++; or compiler independent?
-2
votes
0answers
25 views

XSLT-like alternative(not necessary XML, JSON etc) for data transformation/mapping? [on hold]

I need a declarative language/DSL to express data structures and data transformation/mapping. So far XSLT is the only I could find but unfortunately it seems too convoluted and complex for data ...
-2
votes
1answer
31 views

What should be the best approach to implement a popular product sorting in any e-commerce system?

I'm working on an e-commerce application and need to implement a sort by pannel like (Popularity, Price Low to High, Price High to Low, Discount and New Arrivals). But I'm confused with sort by ...
-3
votes
0answers
23 views

Transparent ListBox can't see items

I created new control then inherit listbox ... as follow: Public Class TransparentListBox Inherits ListBox Public Sub New() MyBase.New() Me.SetStyle(ControlStyles.UserPaint, ...
-3
votes
0answers
30 views

What to choose when designing Dropbox-like infrastructure?

Sapiens, I seek thy help! We're about to begin building the backend infrastructure of our mobile application that is going to store (and organise) files quite a lot like Dropbox. While I did ...
-6
votes
0answers
35 views

importance of Knowledge in AI [on hold]

What is the importance of Knowledge and Knowledge Representation in Artificial Intelligence? Please can anyone explain it. I tried to google this but can not find any satisfied answers.
1
vote
1answer
34 views

Unit testing with external packages or assemblies

I'm unit testing a class which has two dependencies, both of which are external packages (I'm using C# so these are NuGet packages, AutoMapper and CompareNETObjects). (NOTE: Both are just utilities,...
-3
votes
0answers
37 views

Help with SIMD algorithm implementation [on hold]

Hello guys i am really stack i need to implement matrix multiplication algorithm using SIMD but I don't know too much of c or c++ and i am having a bad time looking for a library with good ...
20
votes
8answers
2k views

How to cope with different development styles (top-down vs. bottom-up) in a team?

Say you've just started working in a very small team on a {currently relatively small, though hopefully bigger later} project. Note that this is an actual project intended to be used by other ...
2
votes
1answer
43 views

Diferences between Test vs Spec

I'm having a concept problem at this point & I can't find any info about the diferences between Test (UnitTest, etc) vs Spec (Rspec, etc). As far as I know, specs is into Integration tests and ...
-2
votes
1answer
107 views

Why does an expression for a Javascript function that returns void still execute?

I'm so confused about how Void operator (in javascript) works and what is it's role. as i read, Void is an operator that evaluate an expression without returning a value, but by executing that script ...

15 30 50 per page