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

Learning Linked List Queue Based Implementation

I'm currently in a Data Structures Class and am running into a bit of trouble with my Linked List Queue based Implementation Project- I have everything built however my new instance of lined list is not telling me to add a cast to the "llq" instance…
0
votes
1 answer

How to wrap div component properly in this code?

I am trying to implement Javascript component which shows some pinned locations and informations on map. I added what i had so far. It works here but Unfortunately, it does not show the right size on site. There is a radio button in that part. …
0
votes
1 answer

Are there platforms that do not support uint64_t?

I am working on a project that relies on the standard C datatype uint64_t to multiply 32 bit integers. But I am concerned about portability issues, as I am already re-implementing many parts of my source code in C due to portability reasons. I…
Vivekanand V
  • 340
  • 2
  • 12
0
votes
1 answer

Define a number of learnable parameters in Chainer

I want to define a number of learnable parameters in my model that are multiplied by the feature map in feedforward and updated when backpropagation. How can i implement this in the chainer framework?
0
votes
2 answers

Android - Optimize the launch of an application

EDIT : I've followed your good advices and I've used a trie data structure to contain my dictionnary. The structure I have chosen is this one for interested peoples. But for now I've another issue : the construction of my trie data structure each…
0
votes
1 answer

Implement IEnumerator/IEnumerable into a custom Queue class vs. using a Queue

A fellow OOP beginner here. I just had to do an exercise, where i had to create a custom class in C#, and on the homework TODO's there was a requirement to implement the IENumerable and IENumerator interfaces, and create a custom Queue of my custom…
Alex Ivan
  • 75
  • 1
  • 6
0
votes
0 answers

How to properly implement an addObject() function in C++?

I am new to this website. I am sorry if this has been asked but I just can't find any questions / solutions that answer my question since I think this is a pretty specific question. So I have been learning how to create a game engine with SFML in…
Donald Tam
  • 1
  • 1
  • 1
0
votes
1 answer

Update only embedded data without updating everything. Problem with method implementation

I'm learning about Hibernate. I have problem with implementation of editingAddress method. I would like to edit Person's address data without updating personal data (name, surname etc.). Address is embedded. This is my POJO…
zeroekran
  • 21
  • 1
0
votes
1 answer

vb .net swallow ICloneable implementation

I know there's tons of question on the matter. But I couldn't, for the life of me, make any sense of the answers or use them in my example. I am newish in vb .net and I can't really implement general examples to my specific one. What I have is…
Monochromatic
  • 172
  • 13
0
votes
1 answer

Base64 implementation with bit shifting

I try to implement a base64 encoder. I have this algorithm: while (len--) { char_array_3[i++] = *(data++); if (i == 3) { char_array_4[0] = (char_array_3[0] & 252) >> 2; //This line. char_array_4[1] = ((char_array_3[0] &…
lostsky25
  • 85
  • 1
  • 10
0
votes
0 answers

how to know which exact implementation of interface EntityManager is used at run?

i have a service like that @Service public class AuditService { @PersistenceContext private EntityManager entityManager; public void save(final Audit audit) { entityManager.persist(audit); } } I just want to know…
electrode
  • 205
  • 1
  • 4
  • 16
0
votes
1 answer

C#: Using a dictionary of string, interface to reference different classes

I would like to create a dictionary that uses strings as keys to instantiate objects. Here is the start of my dictionary: Dictionary validInputs = new Dictionary() { {"help", …
Vranvs
  • 1,411
  • 4
  • 17
  • 38
0
votes
1 answer

Insects following the leader - can I implement Boids algorithm for that?

I would like to illustrate how insects are following their leader in 2 dimensions. How can I acomplish that? Is it possible to do this with Boids algorithm? Or maybe someone knows another algorithm, designed especially for that reason?
rukya
  • 678
  • 4
  • 21
0
votes
1 answer

is it possible to add a specific code to body of methods listed in jparepository of spring data jpa

How can I add a specific code in the implementations of methods that are listed in jparepository of spring data jpa without creating a new method in an interface that extending jparepository. I want to edit the body of some methods listed in…
iem
  • 93
  • 1
  • 1
  • 11
0
votes
2 answers

how to implement a Map in java correctly?

So I am trying to implement my own Map to understand how it works. I did it by making 2 private lists in my implementation before, but I was told to use and Entry class. so the main question for me now is how can I compare a key of the Entry that is…
Slava
  • 39
  • 4