Questions tagged [implementation]

Deals with various issues of implementation.

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

2196 questions
0
votes
0 answers

limitations of call back function in python for Raspberry Pi

While looking into a solution for the post GPIO event detect not giving output when button pressed I found a couple of other posts on the subject of call backs in python for the Raspberry Pi. Python RaspberryPi GPIO Event Detection in Tkinter…
Richard Chambers
  • 16,643
  • 4
  • 81
  • 106
0
votes
2 answers

Why my hashing using chaining program in c++ gives unexpected output?

I am trying to implement hashing in C++ from scratch. Everything seems to be fine except the output. I am implementing hashing using chaining. This style of hashing uses a linked list for handling collisions. I used an array of linked lists of the…
0
votes
1 answer

Android Studio don't recognize implementetion

I want to add depencies of CordinatorLayout, when i add Its like Android Studio don't recognize the dependencies, and I dont't know if is question of a version and i have to actualize the app.implementation…
0
votes
2 answers

Implementation of the 'set' method for a linked List?

I am trying to implement the set method where you pass in the position in a linked list that you want and the value and the set function adds that value into the position specified in the linked list. I have implemented the set function but for some…
mohelt
  • 55
  • 2
  • 6
0
votes
1 answer

How does large scale companies implement privacy and user access controls

How do companies like Facebook and Google implement privacy controls at scale? For example, Facebook has a select audience type which includes public,friends, "friends except...", only me, specific friends, and even custom. From an implementation…
Quentin Mayo
  • 390
  • 4
  • 11
0
votes
1 answer

Dependency missing but exists in APK, how?

I have a MyLocationService library, which has dependency from huawei_location_service.Inside I have HMSLocationService class which is the only one using huawei_location_service classes and I use relfection to access that class. Meaning is, if we run…
Hayk Nahapetyan
  • 4,452
  • 8
  • 42
  • 61
0
votes
0 answers

Floor isn't returning the correct value in C++

I was attempting a question on SPOJ in which i was required to precompute Cube Root. I approached via binary search method but I am getting wrong answer while checking if given no. is integer or double. I followed this if (ceil(num) == floor (num))…
Mayank Dutta
  • 3
  • 1
  • 5
0
votes
1 answer

implement method FlipsideViewController in the MainViewController

just a simple question : if you write a method in the .h file, you don't "have" to write the implementation in the .m file? i discovered that with FlipsideViewController, if you create a new projet (utility application), the method :…
Paul
  • 6,108
  • 14
  • 72
  • 128
0
votes
0 answers

Invalid address specified to RtlValidateHeap: No Idea how to proceed

I've just started learning CPP, please keep that in mind. Okay so, I am trying to define my own mathematical library, and in it I'm trying to implement a polynomial class. #include #include class Polynomial { public: …
0
votes
1 answer

How to implement couchbase lite on android?

what I am trying to do is implement couchbase lite. I am using the official documentation but do not quite get it I used implementation 'com.couchbase.lite:couchbase-lite-android:2.0.0' but for some reason, on the databasemanager class, gives me an…
0
votes
0 answers

Implementation file not being linked when compiling g++

I have a header file and an implementation file and (as far as I can tell, I've googled a lot) am implementing it correctly so that it should link. Header: #pragma once //Shapes.h #include "Camera.h" #include #include…
0
votes
2 answers

Shell Input Independent of Spaces Implementation

I recently had a programming class where we implemented a shell in Java. One of the requirements was to ensure that parameters could be read from terminal regardless of spaces and tabs etc between them unless within quotes where everything within…
marzano
  • 115
  • 1
  • 3
0
votes
1 answer

Retrofit jar and retrofit Gson converter factory error: Duplicate class

I'm starting to learn and practice using retrofit. I used the jar file on their website and included it in the libs folder. (It's the first time I use a jar file for libs) When creating the RetrofitInstance file, and trying to use the…
Esteban
  • 69
  • 1
  • 11
0
votes
3 answers

Complete Linked List will not Print all Value

I think I'm having trouble with my Queue class because I know using a Queue uses the FIFO method, but want to make sure that when I add an element that it is added at the end of the Queue. In my main program I have added numbers 1-4, but when I want…
0
votes
1 answer

Python : Transforming a complex array to polar form

I have a np.array with shape (300,300) with complex values a+bj. I would like to transform each element to the polar form Rexp{jO} I've tryied cmath.polar(data) But doesn't work for array, so I try something like that complexe =…
Drago
  • 3
  • 2