Questions tagged [implementation]

Deals with various issues of implementation.

Deals with various issues of implementation of functions, features, languages, etc.

2196 questions
0
votes
1 answer

Is it possible to overload a method in a class which implements an Interface?

I have this interface: public interface Library { public abstract void addEmployee (Employee employee); } Three classes implements this interface: public class CentralLibrary extends Store implements Library { @Override public void…
Mehran
  • 25
  • 6
0
votes
1 answer

Developing UI framework - underlying implementation

I've been considering writing my own UI framework. This is mostly because I have some relatively specific requirements for it- namely, integrating with my own hardware-accelerated 3D graphical code. The question is, what are the minimal primitives I…
Puppy
  • 144,682
  • 38
  • 256
  • 465
0
votes
2 answers

Checking my understanding of Public Key Encryption and question about size of algorithm implementations

I have a question about public key encryption if the the following example of how things play out is essentially correct. Then I wonder where I can find the implementations of the three algorithms which I call KG1, EA1, and DA1 and about how many…
mring
  • 1,717
  • 2
  • 13
  • 28
0
votes
1 answer

I am using stripe payment java implementation. Stripe refund giving no such charge exist exception exist for the successful payment

I have completed the payment through stripe successfully in my java code. But the refund throwing error as "No such charge: ch_1G....." Map params = new HashMap<>(); params.put("charge",chargeID); Refund refund =…
0
votes
0 answers

Difference between language specification/definition and language reference

[The] auto-close-on-collection feature of files is not part of the language definition... and may not work the same in other Python implementations whose garbage collectors may not reclaim and close files at the same points as standard CPython. --…
bhp
  • 101
  • 1
  • 7
0
votes
1 answer

How to view content of a file in FTP with RFC 959 implementation?

Is there a way to display file content in the new implementation RETR filename.txt The old way was: GET filename.txt -
Phi Bach
  • 96
  • 5
0
votes
1 answer

Unsigned right shift assignment in JS forEach loop

I found an implementation of javascript forEach loop and one thing bothers me. if (!Array.prototype.forEach) { Array.prototype.forEach = function(fun /*, thisp*/) { var len = this.length >>> 0; if (typeof fun != "function") { throw…
mwende
  • 36
  • 1
  • 3
0
votes
1 answer

How can I make this two scripts work together?

I have two codes that scrape a page that is basically a search engine. It reads information from the google sheet, searches on the URL, gets some info and then, writes them on the sheet. The problem is that I'm using two codes, the second is the one…
0
votes
0 answers

undefined reference to BankDetails::BankDetails()

I don't understand why I am getting the following error in my main.cpp file: undefined reference to 'BankDetails::BankDetails()' undefined reference to 'BankDetails::Setname(std::string)' etc etc I have checked everything and even some references…
N101Seggwaye
  • 75
  • 2
  • 16
0
votes
1 answer

Implementation of Directed Weighted Graph

Want to know if there was anything here that seems incorrect. The only suggestion I have gotten that I havent added was to fill the matrix to integer.max_value. Also the weight has to be the parameter for all edges and weight goes to 0 when we…
user13263183
0
votes
0 answers

Same method body, different GetILAsByteArray result

I am looking for a way to check at runtime which overrides of GetHashCode do nothing else than to simply call a particular static method. I'm close, but there are minor differences that I cannot explain yet. On the MethodInfo objects of the…
Timo
  • 7,992
  • 4
  • 49
  • 67
0
votes
0 answers

How can i block wrong lines into houghspace

I found hough line implemantation in github. And I try this code my computer. When I plot hough space with matplot, there is build-up at shown in picture. This cause wrong lines detection in image. def hough_line(img, angle_step=1,…
0
votes
0 answers

c# Generic Service Casting & Implementation issues

I have a simple question (I hope) which I can't find an answer anywhere. I want to implement a generic (a little bit complicated) service. Github repo: https://github.com/arnoldsimha/genericRepo-issue This is my generic Interface: public interface…
Arnold
  • 89
  • 1
  • 11
0
votes
0 answers

Hough Transformation OpenCv

I implemented own Hough Transformation function in python. It works well. But own Hough Transformation run slower than OpenCv Hough Transformation function. I searched source code for OpenCv Hough Transformation and i found this code similar to my…
Erhan
  • 41
  • 1
  • 1
  • 4
0
votes
0 answers

the system cannot find the file specified c++

Ehab has an array a of length n. He has just enough free time to make a new array consisting of n copies of the old array, written back-to-back. What will be the length of the new array's longest increasing subsequence? A sequence a is a subsequence…
Zohal
  • 25
  • 5