-5
votes
0answers
47 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 ...
21
votes
5answers
4k views

bad practice - switch case to set environment

In the last 3 years I have worked as developer, I saw a lot of times some people use a switch to set the path (both in back-end and front-end), just take a look below to see what I mean. Back-end ...
-4
votes
0answers
31 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
73 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 ...
-3
votes
0answers
39 views

Web Application For a Small Library [on hold]

I have been tasked with developing a web application for a small library. The application can be as simple as a search bar to serve as the front end. When the user sends a query from the search bar it ...
-4
votes
0answers
22 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
51 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
745 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
20 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
207 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
99 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
20 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
18 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
54 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
200 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
110 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
54 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
21 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
22 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
106 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
118 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
110 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
52 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
46 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
112 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 ...
-7
votes
0answers
30 views

How do I find out when an email address was created? [duplicate]

0 down vote favorite I want to prevent the emails which were newer than 2 months, but I don't know if there is any way to know when the email actually was created. I don't know if there is any API ...
-1
votes
2answers
116 views

Advantages of these recommendations in ooprogramming using Java

Below are the recommendation from section 5.1 of this essay. While Java is not a pure object-oriented language, it is possible to program in a pure object-oriented style by obeying the following ...
-3
votes
0answers
27 views

Android developer transition to a Java Developer [on hold]

I've been an Android developer using Java for 2 years now. I have never learned Java from scratch, I just went straight into Android Development, watching hours and hours of video tutorials on ...
-4
votes
1answer
55 views

Why don't open source projects pay more attention to backward compatibility

I have just spent several hours trying to find a combination of Eclipse, Maven, Tycho and Acceleo that will work together to run a batch build. All of the above are incredibly sensitive to the ...
-5
votes
1answer
34 views

confused with ms sql nomenclature [on hold]

Question 1. What is the language used in Microsoft SQL Server? Question 2. I get confused with the name Microsoft SQL Server since its a RDBMS why its name ends as "Server". Because server is used to ...
-4
votes
0answers
71 views

What are recent trends in functional programming language design? [on hold]

I noticed that recent C++-like programming languages like Go, Rust and Swift have some similar improvements regarding type inference, handling of null values, concurrency, syntax, etc, so there is ...
-5
votes
0answers
41 views

Memorization of sorting algorithms [on hold]

folks! I've been studying the sorting algorithms in Java and have been having troubles with implementing those methods without using the notes and/or any reference websites. I understand how each of ...
-1
votes
3answers
216 views

Why List<E> interface is additionally introduced in collection hierarchy? [duplicate]

Below is the diagram, where, if we just consider the implementations of List, AbstractList maintains the core behavior of list. To introduce the new implementation class MyList(say) one can ...
2
votes
1answer
40 views

Implementing a series of independent Actions that are disparate but with common accessibility

I have a requirement to implement a type of AI for a project, the issue is that I am having trouble visualizing how the AI should actually be implemented. Essentially, I want the AI to be as dynamic ...
-1
votes
0answers
32 views

Learning efficiently from personal projects [on hold]

I currently have a lot of experience in programming in pure Ruby, and some in back-end Ruby on Rails. I want to do a personal project to improve my skills in Ruby on Rails, and to do a bit of front ...
0
votes
0answers
14 views

How to append to .csv file for use in Google Spreadsheet

I am using Google docs to manipulate form submission data for a timecard and scheduling system (that is non-negotiable.) Presently I'm feeding Google form submissions into the document, but I'm losing ...
1
vote
1answer
52 views

DTOs vs Domain Models and invoking Command Handlers directly

I was just hoping someone might be able to answer a few questions I have regarding the proper design of DTOs and Domain Models. I'm currently working on a project which involves leveraging a SOAP API. ...
0
votes
1answer
57 views

is there a way/tool to find braces in a line of code that are alone and do not close? [on hold]

I have a file with 2700 lines of code that when parsed, is giving me an error of "The requested command (}) is invalid" so somewhere in the code there is a single closed } all by itself with no ...
1
vote
1answer
41 views

Is this a Model or a ViewModel?

In a login screen, a user may expose his username and password data. The same way, in a user list screen, it may expose user name, age, and phone. But none of this views may expose any other user ...
1
vote
1answer
23 views

How can I avoid needing to check for the existence another vertex when adding to an adjacency list?

I'm writing a Graph, and decided to make the Adjacency List its own class. Right now, (stripped down) it looks like this: public class AdjacencyList<Vertex> { //A map between a vertex, ...
22
votes
8answers
2k views

Is overriding Object.finalize() really bad?

The main two arguments against overriding Object.finalize() is that: You don't get to decide when it's called. It may not get called at all. If I understand this correctly, I don't think those are ...

15 30 50 per page