Questions tagged [call]

1

votes
2

answer
77

Views

Why isn't function call an lvalue

This should be pretty obvious, but I could not any normative reference in the Standard explicitly that function call is (not) an lvalue. There is somewhat related question, but it's about C++ and no references is provided. Looking through 6.5.2.2(p5) Function calls the only I could find is If the e...
Some Name
1

votes
1

answer
43

Views

Space / time requirements for ISO-Prolog processor compliance

All implementations of the functional programming language scheme are required to perform tail-call-optimization whenever it is applicable. Does iso-prolog have this one and / or similar requirements? It's clear to me that Prolog processor features like first argument principal functor indexing and...
repeat
2

votes
1

answer
45

Views

Use do.call + match.call in a user-defined function with lapply or with in R

I have written a wrapper around ftable because I need to compute flat tables with frequency and percentage for many variables. As ftable method for class 'formula' uses non-standard evaluation, this wrapper rely on do.call + match.call to allow the use of the subset argument (more details on my prev...
Thomas
1

votes
1

answer
2.9k

Views

Getting Oracle Error ORA-06572 when calling Function with out parameter

I have tried many times to call below Oracle function that has Out parameter, and each time i get Error ORA-06572, Would you please provide me the best way to do this? FUNCTION GET_NUMBER_TYPE ( P_MSISDN IN NUMBER, P_CONTRACT_TYPE OUT BCC_CONTRACTS.CONTRACT_TYPE%TYPE) RETURN BCC_CONTRACTS.CONTRACT_...
mustafa mohammed
1

votes
1

answer
26

Views

How laravel calls a method that is not in class and parrent

I wonder how laravel calls a method that is not present in class neither in the parent class. For instance, I looked at the eloquent model class and never saw the hydrate method in it. the model class has no parent, yet when you call the hydrate method it fills attribute property of the model. After...
Selim Karaca
1

votes
0

answer
18

Views

API call works on my browser but not in my javascript code?

I'm trying to call the Binance API to get the LTC price in BTC and I tested the link on my browser 'https://api.binance.com/api/v1/ticker/price?symbol=LTCBTC' which returns the information I need but when I go to implement it in my code nothing happens and I don't get any errors in console either. A...
crypto virtex
1

votes
1

answer
128

Views

call_user_func_array “doesn't work” with bind_param when passing array already in variable

i'm having trouble using call_user_func_array in this code $stmt=$mysqli->prepare($query); $txt=array('ii',1,1); call_user_func_array(array($stmt,'bind_param'),$txt); $stmt->execute(); $result=$stmt->get_result(); while ($row = $result->fetch_array(MYSQLI_ASSOC)){ $r[$count]=$row; $count++; } Using...
Luciano
1

votes
0

answer
93

Views

Fatal error: Call to a member function setQuote() on boolean in /home/thetiresquire/public_html/app/code/core/Mage/Sales/Model/Quote.php on line 745

Please help me to resolve the error am getting on home page. MY CART : 0 item(s) - Fatal error: Call to a member function setQuote() on boolean in /home/thetiresquire/public_html/app/code/core/Mage/Sales/Model/Quote.php on line 745 Here is the code where it is pointing to is public function getIte...
Shabana Begum
1

votes
1

answer
59

Views

Wrong data received in javaScript using AJAX

I made multi calls AJAX in my file.js, the calls have the next form: file.js $.post('functions.php',{consulta: 'tbl_Cours', action: {'ask_query_field':variable1}).val()}, function(res1){ if (res1){ //do something } //Second call $.post('functions.php',{consulta: 'tbl_Cours', action: {'ask_query_fi...
alfonso velasco 3622
1

votes
0

answer
78

Views

opreport callgraph results are all flat

I am having trouble generating a useful call-graph using opreport. The results all come out completely flat with each function being called only by itself and then calling only itself, somewhat confusingly. ------------------------------------------------------------------------------- 17875174 1787...
Troyseph
1

votes
0

answer
223

Views

POWERSHELL Kill a process that starts during a Call operation

I am making a call operation in a counted FOR LOOP for an array called $files so every call it does: for ($i=0; $i -lt $files.Count; $i++) { & $executable $files[$i].FullName -ErrorAction Continue | Out-Null } So $executable is the exe I'm running with every file in the $files. But during this call,...
Catu
1

votes
1

answer
767

Views

Nougat Crash: java.lang.UnsatisfiedLinkError: dlopen failed: library “/system/lib64/libmedia.so”

I am working on call recording app where i am unable to record incoming voice in some device like Samsung S7, Gionee A1 and some other Nougat Devices. So I decided to use NDK for the purpose and added libmedia.so and libutils.so files in libs folder as these .so files are needed but getting this er...
Akshat Vajpayee
1

votes
1

answer
148

Views

Why is my Node.js function (which involves fs.readdir) executed after the subsequent code fragment?

I came across a problem when trying to read a directory with Node.js (v8.9.4) in Visual Studio Code. I have a function called readExperiments which runs trough my directory and returns an array of experiments. But somehow the code which comes after the function call is executed first (which results...
Marco Ribolla
1

votes
1

answer
201

Views

android telephone call - android.telecom.Call

Excuse me if I have made a mistake - this is my first post! I am also new to android & Java. I have being trying to write an app which will allow me to make a call, and monitor the call status. From what I have found, the 'normal' way to do this does something like this: Intent intent = new Intent(I...
miwin
1

votes
1

answer
55

Views

call & apply method

I am a beginner trying to figure this coding thing out. I can't get this to logout right. Can you spot the problem? In the console.log line within the string, starting at the $-sign the code doesn't change color, so it doesn't recognize it. Thanks. const car2 = { brand: 'Porsche', getCarDescript...
Nadja
1

votes
1

answer
52

Views

how answer a phone call with python through serial port?

I've been trying to answer a phone call using a serial port, but i only get 'RING\r\n' and after a while 'NO CARRIER'. is there any command to answer a call? import serial ser = serial.Serial() ser.port='COM3' ser.baudrate=9600 ser.open() while True: lectura = ser.readline() if lectura == 'RI...
Javier Esquivel
1

votes
0

answer
21

Views

Loop through the array of strings and spit out into markup

I have an array of categories which has 'category' and 'entries'. Entries has an array of coma separated strings. I am trying to loop through each category to populate a button (and it's working), but I cant figure out how to loop through each 'entries' array full of strings and place each string in...
NYrosh
1

votes
0

answer
48

Views

AS3: Cannot call a function in class

I'm pulling my hair out trying to figure out why this doesn't work. I'm trying to call a function from the document class that is found inside of an instance of a MovieClip. In the document class I have: import com.BudgetSettings; showSettings(); function showSettings():void { var settings:BudgetSet...
user3600741
1

votes
0

answer
25

Views

How to get a file descriptor using a file name inside a system call in Linux

I am creating a system call in sys.c file in Linux. I want to get a file descriptor using a file name. I remember I can do it by using open system call. However, inside a system call, how can I use open system call to get a file descriptor (I remember I cannot call a system call inside a system cal...
Mingyue Chen
1

votes
0

answer
187

Views

what is the difference of 'call' v.s '__call__' RNN methods in tensorflow?

I know what__call__ is,but what confuses me is that some classes like BasicRNNCell or tf.nn.rnn_cell.MultiRNNCell have this 'call' method instead of _call__ . What is this plain call method? it seems like the same thing , if it is not then i didnt see it being called. I found this explanation somewh...
Reza Ghoddosian
1

votes
4

answer
60

Views

Error: No instance of constructor “Faktura::Faktura” matches the argument list

I have a problem with my C++ code. I have three classes: Osoba (=Person), Produkt (=Product) and Faktura (=invoice) Osoba.h class Osoba { public: Osoba(int vek, string jmeno); ~Osoba(); int vek; string jmeno; }; Osoba.cpp Osoba::Osoba(int vek, string jmeno) { this->vek = vek; this->jmeno = jmeno; }...
Mark B.
1

votes
0

answer
14

Views

Programatically trigger Dialpad buttons during call

Is it possible to programatically trigger dialpad buttons during running calls? This functionality will be running (of course) on the devices, which will be allowed to do this function. Do I need some permissions (not just for opening dialpad)? Or If I'll create my own dialpad small app, will this b...
jantursky
1

votes
0

answer
43

Views

Appending variables to Lists/Call list from another function

So I fixed the issues previous that were based on not having the list defined properly. Is it possible to organize the items in the list? Or is it always going to display the way it was added? If there is a way to update the list after being created and added to, how? This is the main class file: de...
x17Andrew71x
1

votes
0

answer
22

Views

When I call the controller method using ajax call every time parameters of method has same value

My View Is as follow: @Html.LabelFor(model => model.ProductColorId, 'Select Color', new { @class = 'col-lg-2 control-label required-field' }) @Html.DropDownListFor(model => model.ProductColorId, new SelectList(ViewBag.Color, 'ProductColorId', 'ProductColor'), new { @class = 'form-control col-lg-5 ',...
Athar Mallick
1

votes
1

answer
60

Views

Haskell - how do you make a loop that has getLine within it?

I want to create a loop which will take user input i.e. getLine, during each iteration of the loop. Is this possible within the main or by using the getLine function within a parameter pass or not at all? I'm relatively new to Haskell and I've gotten my head around most of it but this I'm not certai...
Faffy
1

votes
0

answer
298

Views

Call Recording Other side voice volume is very low in recorded file

This is the function called in a service for call recording. try{ mediaRecorder = new MediaRecorder(); file = File.createTempFile('' + cal.getTime(), '.amr', fileDirPath); this.phoneCall.setPathToRecording(file.getAbsolutePath()); mediaRecorder.setAudioSource(MediaRecorder.AudioSource.D...
Mithun Halmare
1

votes
0

answer
95

Views

Exception during killing a call programatically on Oreo

I am trying to kill a phone call programatically in Android Oreo. Here is my source code. public boolean killCall(Context context) { try { TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); Method m1 = tm.getClass().getDeclaredMethod('getITelephony'); m1.se...
Ali Akram
1

votes
1

answer
171

Views

Speech Recognizer to convert speech to text during a call in android

I have been looking for a solution which let me convert speech to text during a call. I want to convert voice coming from speaker to text to process that data to generate a viable output and then convert that text to speech which would be send via mic to the person during a call. All of this work s...
Malik Basit
1

votes
1

answer
458

Views

Calling External Library function inside VueJS

I have searched around but didn't find a working example of how this is done. Basically, I am trying to connect an external JS file (written in JS) and trying to call its function using this. export default { name: 'App', mounted: function() { var editor = new MediumEditor('.editable', { toolbar: {...
Chandra
1

votes
1

answer
83

Views

Pyan3 installation instruction

Searching the web for a graphic tool to represent function and method call dependencies, it seems that Pyan3 is a good one, if not the only one. I have not found the installation instructions in this Github link: https://github.com/davidfraser/pyan Could someone help?
ViCentelles
1

votes
1

answer
52

Views

CALL for a procedure keeps loading, takes high CPU, and fails

I am trying to create a procedure that will take a view table , composed from thousands of records, and will filter it by removing several records according to various conditions. When I try to use the CALL to run it, it keeps on loading, and according to WHM Panel, the process (phpMyAdmin/import.ph...
rockyraw
1

votes
2

answer
95

Views

mahalanobis distance for pair of columns in data frame in R

I have a dataframe table and I would like to calculate the mahalanobis for each possible pair of column of my dataframe. A1 A2 A3 121.4984 219.5448 250.7575 121.5195 219.5451 250.7500 121.5089 219.4667 250.5645 121.5510 219.6235 250.5645 121.8034 219.4235 250.0005...
Henry dubois
1

votes
0

answer
46

Views

Low call volume using dedicated phone number with Twilio Programmable Voice Android

Tried experimenting with different audio focuses: AUDIOFOCUS_GAIN_TRANSIENT, AUDIOFOCUS_GAIN Tried multiple Audio manager modes: MODE_IN_COMMUNICATION, MODE_IN_CALL Call volume is noticeably quieter than a normal phone call. All volume levels are set to max.
Ryan Case
1

votes
0

answer
139

Views

Android Call Recording app - In Call Recorder AudioSource.VOICE_COMMUNICATION not recording call from both side

I am trying to record call through my android app. I am using MediaRecorder.AudioSource.VOICE_COMMUNICATION MediaRecorder.AudioEncoder.AMR_NB - encoding MediaRecorder.AudioEncoder.AMR_NB - ourputformat as audio configuration. On my galaxy s8+ it is only recording my side of voice instead of both ....
SimpleCoder
1

votes
1

answer
41

Views

Nicer way to build `call` from `list` and get a nice `traceback`

I am building a call in R from a list with named arguments to the function which elements (amount of elements and names of elements) may vary. The motivation to use a call is to get a nicer traceback() in case of an error than with do.call. Here is an example set.seed(1) X
1

votes
0

answer
42

Views

iOS Development Wifi-Call

I am working as a programmer in my company but have not a big knowledge of iOS Development. My boss would like to have an app which automatically disable or enable the wifi-calling function of his iPhone depends of the network he is currently connected to. After a research I did not found any possib...
S. Kr.
1

votes
0

answer
24

Views

Custom Dialogs in Visual Studio Code - Extension with JSON and JavaScript

I'm developing a syntax-highlighting-extension for a custom programming language in Visual Studio Code. For that I use some .json files for the implementation of snippets, syntaxes, etc. Is it possible to build custom dialogs in visual studio code for starting a 4-times for-loop which does something...
Groppowski
1

votes
0

answer
57

Views

“Call not sent” toast shows, but call goes through

I am using the Ionic framework to build my mobile app and when using the CallNumber module I keep getting a toast that says 'Call not sent.' on android and I suspect also for ios, however the call does go through every time and it is using the correct the phone number. Here is a short code snippet t...
Noah Tanenholtz
1

votes
1

answer
96

Views

Create an S4 class object in R with some of the arguments passed using the ellipsis

How could I use some of the arguments passed to a function using the ellipsis to create a new object of an S4 class, while naming the arguments? Example: foo
LostIT
1

votes
0

answer
51

Views

Prediction option put and call, FFT Method in python

I try to make prediction of option put and call with the FFT method, but i got some problem in my python code and i don't know what i have to modify. Can you help me ? options = pd.read_csv('/Users/Abenaya/Documents/relevantoptions2',sep =',',header = 0) print(options) x=[] for i in range (1,415):...
bibio95100

View additional questions