0
votes
1answer
38 views

GNU GPL when applied to Data

I would like to export the contents of the GCIDE dictionary data from xml format to sql format for sqlite; however, I am concerned how the GNU GPL License impacts my use of the data. To be clear I ...
1
vote
2answers
80 views

Should you create a github repo/project for things as small as a useful function

Is it appropriate to make a fully blown github project/repo for something that you believe would be useful to others, but is as small as a single function?
-2
votes
0answers
23 views

change license. free to non-free and closed source [on hold]

I know you are not lawyer. but may can help. can anyone copy a program source code that licensed under unlicense and change it's license to a fully non-free license? that mean: can i copy a unlicense ...
-3
votes
1answer
104 views

what programming language was used to create PayPal? [on hold]

What programming language did Elon Musk use to create PayPal? I'm an absolute beginner at programming and was just curious because he's one of the guys who got me inspired to programming.
-3
votes
0answers
73 views

I want to gain motivation for programming? [on hold]

I've been programming and scripting for over 8 years now. I know many different languages - C++, C#, Squirrel, Pawn, Swift and more. I master web development (both clientside and serverside) using ...
6
votes
1answer
124 views

array length in C

I'm reading "King K.N's C programming" and I'm reading the following statement: We discussed using the expression sizeof(a)/sizeof(a[0]) to calculate the number of elements in an array. The ...
2
votes
0answers
168 views

What design patterns could be used here?

I'm trying to come up with a nice design (preferably pythonic) for the following use case. Say there's three services - A, B, C in multiple locations L1, L2, L3, etc. Each service provides ...
3
votes
2answers
95 views

Continuous Batch Processing in Java

My team has written an application which we've decided needs to run a process, we'll say about once a day, as long as the application is being used. I've never done anything like this in Java before ...
-6
votes
0answers
33 views

Keep up to date with new programming features [on hold]

I have tried researching everywhere but could find answer to my question. How to keep up pace with the new features that was added to the programming language? Such as: -html -C and C++ -Java
1
vote
0answers
43 views

Preserving data in js with multipage application

One benefit of single page applications like Angular.js, is that you can store data in a global variable and access in multiple routes. With multiple page applications, the data is lost during ...
-1
votes
1answer
48 views

Do the stock android apps run on the DVM?

The applications we develop for android compile to a .dex file and are packaged as an apk, the Dalvik executable runs on the DVM every time the app is launched. Do the stock android apps follow the ...
-1
votes
0answers
30 views

What is basic backup process logic that cloud backup solutions utilize to ensure backed up files are a close replica? [on hold]

Perhaps there is something that I am missing, but I cannot for the life of me figure out how cloud backup software works. Currently, we have custom software which is essentially a wrapper for rsync. ...
-5
votes
0answers
46 views

What high level languages are the most performant? [on hold]

I assume C# is one? Basically languages that are high level and provide great performance compared to C++. Or is this still a pipe dream?
-3
votes
0answers
9 views

JButton not adding JLabel with an ActionListener [migrated]

I've started working on an extension of a project I've been working on for a few months, and I've felt the need to take it out of the console and put in in a GUI window. So far everything's going ...
2
votes
1answer
124 views

Is it good practice to put database connections into a class library? [on hold]

I am using entity framework and I created multiple libs. XYZ is main lib which handles majority of operations. And for integration purpose I have created different libs which are comparatively ...
-2
votes
0answers
10 views

Extending a list with concatenated values [migrated]

I'm building a list of tweets using tweepy based on: results = [] for tweet in tweepy.Cursor(api.search, q='some term').items(10): results.extend([tweet.id, tweet.text, tweet.created_at]) I ...
-4
votes
0answers
43 views

How do I SSH to a server using C++ [on hold]

What I want to do is in a C++ script SSH to a server and login as a username I will specify as an input before but let me put in the password. Any way of doing that? Any help appreciated.
-5
votes
0answers
48 views

Java - Trying to convert a java app to a website app [on hold]

I'm adding a function to my site that is a game tab. Im writing the games in java and have done several done. But my problem is that i can't port them to the site, i really have no clue how to port ...
25
votes
6answers
4k views

Bad practice - switch case to set environment

In the last three years that I have worked as developer, I have seen a lot of examples where people use a switch statement to set the path (both in back-end and front-end) for a URL. Below is an ...
-4
votes
0answers
32 views

MATLAB -FORTRAN 90 Replace Matlab find [on hold]

I am trying to replace the "find" function in matlab with something equivalent in fortran 90, I am very new to fortran, I am sure it's an easy question. I have an array of 100 elements called ...
0
votes
1answer
76 views

When to Assign the Scrum Tasks

I found some sources stating that it is probably better to let the developers taking tasks instead of assigning tasks to them. At which point to the tasks get assigned? What does that actually mean ...
-1
votes
0answers
58 views

should we also develop our PHP backend as an API? [duplicate]

I found a really interesting question here (ASP. NET). And I would like to know if we should think about the same concept on PHP? This seems to me portable with ease. Maybe there are already basic ...
-4
votes
0answers
23 views

Prestashop - uploading files at frontend [on hold]

I'm writing module in Prestashop for uploading 3D printer templates on product pages. I'm stuck, there's no way I can upload a file. Prestashop helper doesn't support file input type and when I'm ...
-2
votes
0answers
42 views

How to get key depending on the value from HashMap [migrated]

I have a HashMap in Java (named queue) which with Integer as the key and List of messages as a value related to each key. I want to visit all values of List<messages>, and compare each entry ...
1
vote
1answer
53 views

What should the files and folder (Core, Assets, Common, Models, Resources, Views) in my project represent?

I am a novice programmer who has inherited a software project that contains the following files and folders. The project is using C# and WPF. What should I expect to find and continue putting inside ...
10
votes
2answers
768 views

Type system for performance

Do (static) type systems exist which attempt to formalize the performance characteristics of programs? I cannot find seem to find such attempts. Since type systems are (one of) the most powerful ...
-4
votes
0answers
23 views

how to link a Android app with json mongodb file on device [on hold]

how to link a Android app with json file on device. i m working on an android app which need to store and access data from json file on devise ( mongodb )
-4
votes
0answers
28 views

How to create a link between a printer and my machine? [on hold]

How do i create a link (communication) between my computer and a t-shirt printer via java code , do i create a web service ?
0
votes
3answers
214 views

How can I keep browser URL secret when editing data?

Suppose, There is a user list. <a href="user/5">Edit</a> <a href="user/6">Edit</a> When a system user clicked to edit a user info. Then it goes to url to browser like as ...
0
votes
1answer
102 views

Best approach to write windows service

We got a situation where we need to write a windows service using c#, the service need to be install on a particular -single- server. Also service need to communicate with a DB to access certain table ...
-2
votes
0answers
52 views

How to pass view data to controller? [migrated]

I want to create sample web app using php mvc but don't know how to pass view data (login.php) to controller (userController.php) My view (login.php) <body> <form ...
-3
votes
0answers
21 views

How I Can Set Height on marquee Tag On Diffrent Sizes? [on hold]

How I Can Set Height on marquee Tag On Diffrent Sizes? My Marquee Div start on like a {margin-top:20%;}.
0
votes
0answers
37 views

What should be the best way to run a long operation in Java Spring?

I am working on a price comparator, one of the module of application crawls through the list of website against the product stored in the database and updates the price in the application database. ...
-3
votes
0answers
19 views

Rugged gem installation issue possibly with lingit2 on Windows [on hold]

I am using Windows and my gem file has this line: gem 'rugged' When i run bundle install on gemfile, it's giving me this error: Using rubyzip 1.1.6 Installing rugged 0.21.0 with native extensions ...
-1
votes
1answer
55 views

execute selection in console in C++ like python or R language [on hold]

I am started to learn C++ using as IDLE Clion of jetbrain company. Normally using the IDLE of Python (i.e., Pycharm of Jetbrain) or R project i am able to execute selection in console line-by-line my ...
4
votes
4answers
210 views

Is guaranteeing immutability a justification for exposing a field instead of a property?

The general guidance for C# is to always use a property over a public field. This makes sense- by exposing a field, you're exposing a lot of implementation detail. With a property, you encapsulate ...
5
votes
1answer
111 views

How to prevent multiple form submissions when user reloads the page

I'm currently working on a project which requires that we integration a 3rd party SOAP API to handle a number of basic CRUD type operations. Our current implementation allows us to leveraging the ...
3
votes
1answer
55 views

Connection between futures and exceptions?

Is there a connection between futures and exceptions? async-await looks very similar to throw-catch.
-3
votes
0answers
18 views

android manage strings.xml between customers and development teams

Can someone point me to a good solutions for this problem: We have 1 app and several customer in different parts of the world who all speak another language. Fortunately Android has the Strings.xml ...
-1
votes
0answers
39 views

Two color bars in one image [on hold]

Can anyone have idea how to plot two different temperature in same imagesc of MATLAB like the attached figure. I have two different data sets, say, one is ranging from 10 to 1000 and another is ...
0
votes
0answers
24 views

Final array after M updates on Segment Tree

I am stuck in a middle of a problem. I have made segment Tree of N elements and performed M updates through lazy propagation Now I need to store the final array (to some array B of size N) after all ...
-3
votes
0answers
19 views

Managing an android sql lite database internal to the application [on hold]

I need a sql database into my android app. I found how to here: Using Sql lite db in android My questions are: 1) What is the contractor class? Do we really need it? In all my works with SQL Server ...
0
votes
0answers
23 views

Best approach for an android local database-based application containing non-sensitive data

What's the best approach to design an android application with the question title specification? The application will show a first list of buttons with an alphabetical classification (like button1: ...
1
vote
1answer
108 views

What does it mean for an algorithm to converge?

I keep coming across this term when reading about reinforcement learning, for example in this sentence: If the problem is modelled with care, some Reinforcement Learning algorithms can converge to ...
0
votes
0answers
120 views

What comes between C code and assembly? How should I design this “middle” piece? [on hold]

I've written a virtual machine in C that can run a bytecode program loaded from a data file. Initially, I was testing this virtual machine by writing out the bytecodes myself using excel but I've ...
0
votes
2answers
112 views

When should you avoid iterative and incremental development? [duplicate]

I'm currently reading some literature about software development process models. Everywhere I look, I only read the problems with the Waterfall model and how the iterative and incremental development ...
1
vote
1answer
53 views

Focus of unit tests on code [duplicate]

I discover mocking strategies after 50% of tests was writen, and I'm confused about how much focus unit tests should have, for example on class method. I know that for external dependencies you should ...
0
votes
0answers
4 views

Styling of charts externally [migrated]

Is it possible to translate(detach) bar colors stated in js file to separate css stylesheet. How to assign classes to this values? /* Bar dashboard chart */ Morris.Bar({ element: 'dashboard-bar-1', ...
-5
votes
0answers
48 views

improve skill to higher and higher levels [on hold]

i have finished several tutorials and online courses for tags programming language. but recently when i go to any interview they asks me about previous and since i am beginner i just had small task ...
1
vote
2answers
115 views

Looking for a specific programming paradigm [on hold]

I am searching for programming languages with a certain paradigm, or the name of the paradigm which works like follows: You start with writing the source code of a program or something more like a ...

15 30 50 per page