Questions tagged [bind]

This tag means different things in different contexts: consider using less ambiguous tags instead. Common meanings include: the bind function in socket programming; binding to naming contexts; the bind method in jQuery; BIND the DNS server (named), . For boost::bind in C++, use [boost-bind]. Do not use this tag just to say that you're binding something to something else.

Filter by
Sorted by
Tagged with
0 votes
1 answer
47 views

Combine multiple objects with different rows in R

I have the following objects: > freq 0 1 11027 1264 12291 > wf total SE df[[var_name]]0 4327145 98763 df[[var_name]]1 691647 48336 Total ...
datadigger's user avatar
0 votes
1 answer
38 views

Azure Functions HTTPTrigger Node.js: bind/call context.log() in my class

I want to use Azure Functions' context logging methods in my own class depending on the first word: if str starts with error then use context.error(str), otherwise use context.log(str). I think I have ...
droptix's user avatar
  • 61
-1 votes
1 answer
37 views

Native javascript: How to skip rebinding eventlisteners after fetch()? [duplicate]

I've started to use native javascript few months ago. When I use fetch(), I have to rebind eventlisteners (click, change, etc). Can I skip this to shorten the code? I use for example: document....
Skulklife's user avatar
1 vote
3 answers
72 views

How do I use binding with ttkbootstrap.DateEntry to update a Label with the selected date?

I'm using the ttkbootstrap framework mainly because of the modern DateEntry, and it has some useful themes. My goal is to have a DateEntry widget automatically update a Label with the date selected ...
fibonacci's user avatar
2 votes
3 answers
72 views

Binding list of vectors of different lengths in R

Consider a list of vectors with different lenghts, for example lV defined as set.seed(123) v1 = rnorm(n = 5) v2 = rnorm(n = 4) v3 = rnorm(n = 3) lV = list(v1, v2, v3) How can I bind the vectors in a ...
Mr Frog's user avatar
  • 338
0 votes
0 answers
17 views

Singularity Container: I cannot make writable persistent from singularity sandbox to host

I do the following I build a sandbox singularity build --sandbox project/ project.recipe I access the sandbox to modify stuff singularity shell -B /path/to/host:/path/in/sandbox --writable project ...
christian ortiz's user avatar
0 votes
0 answers
67 views

how i can load project environment into a container?

ho guys sorry but im noob with docker. i dockerize my ruby script which take data from a local project, but i cant run this container because the environment of this project cant load into container. ...
YasuoPlayer's user avatar
-3 votes
1 answer
64 views

How can I use proxy with spread operator or object.assign?

I need to have methods and store bound to 'this' in my callback function, but when I use the spread operator it doesn't work. The reason for this as far as I know is that the spread operator returns a ...
EMILO's user avatar
  • 293
0 votes
0 answers
10 views

Fail to bind or access outside PATH within apptainer container FS_QC

I am running the fs_qc toolbox (https://github.com/Deep-MI/fsqc) using apptainer on a slurm server. All modules within the container are executed fine, except for the shape module which requires a ...
Eva's user avatar
  • 1
-1 votes
1 answer
44 views

How can I solve 'this'? [closed]

target = 'global honey'; const test = () => { console.log(this.target); // global honey } const object = { target: 'local honey', action: test } object.action(); The output ...
 OTRA's user avatar
0 votes
0 answers
21 views

Python bind UDP Socket to low port

I want to bind an UDP Server to a low port (e.g. Port 500) but I always get the error [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions I tried to run ...
Alexander Wilhelm's user avatar
0 votes
1 answer
44 views

Created docker container is not running AND cannot be removed or killed

I want to run ubuntu container, such that it has a bind to an existing network storage located at "/mnt/datastore/Medical", it has a mount to an existing docker volume named "...
Andrey Novikov's user avatar
0 votes
2 answers
53 views

Tkinter. How can one use the bind_class method for multiple entry widgets

I wonder if anyone can help please. I have a frame with multiple entry widgets. They fill with data when a file is read. Now I want to click into one of them and clear the text by pressing the F8 key. ...
Quinten's user avatar
0 votes
1 answer
55 views

Dynamic linked to libc in Linux does not have bind/connect

Is that true that Go dynamic linked to libc in Linux and Mac is different? I am trying to evaluate the use of LD_PRELOAD (Linux) or DYLD_INSERT_LIBRARIES (macOS) to intercept the bind (listen) ...
user1929999's user avatar
0 votes
0 answers
73 views

ELK Elasticsearch Kibana Login LDAP not working: bind_dn secure_bind_password k8s pod postStart - elasticsearch-keystore has password for bind_dn user

ELK version: 7.17.10 Deployed elasticsearch and Kibana in K8s cluster. Both ES and Kibana are up. Charts NAME NAMESPACE REVISION UPDATED STATUS ...
AKS's user avatar
  • 16.7k
0 votes
1 answer
46 views

How does one delegate a subdomain of a domain in route53 to a DNS server outside of route53 (i.e. bind)

Everything I'm seeing in AWS documentation and SO and web searches seems to be telling me this isn't possible, but I would have sworn I was able to do this a few years ago. If you have a domain in AWS ...
TopherIsSwell's user avatar
1 vote
2 answers
91 views

pass shared_ptr to std::bind through std::ref will strip it's polymorphism

My program crashed by SIGSEGV when I try to dynamic_cast a Base class "this" pointer to a Derived class pointer. I am wondering if it has anything to do with std::bind and std::ref. Below is ...
Komgcn's user avatar
  • 335
1 vote
0 answers
22 views

When I pass an argument to a bound function, it references the second parameter instead. Why is that? [duplicate]

let info = { fname: "John", lname: "Smith" } const print = function(city, country) { console.log( `I am ${this.fname} ${this.lname}. Living in ${city}, ${country}`) } const bound = print....
JethroT's user avatar
  • 35
0 votes
0 answers
109 views

How does socket.gethostbyname () choose from multiple IP addresses?

I'm trying to figure out how gethostbyname() determines an IP address for a private host when multiple addresses are available. The results recently changed on my machine. I want to know why it ...
Ed_'s user avatar
  • 124
1 vote
0 answers
20 views

JavaScript bind: Am I doing everything right?

I'm confused about the syntax of the callback function. class SomeClass { #privateVar; #axiosDefaultOptions; somePublicFunction(someID) { if (this.#privateVar === undefined) this.#...
user22401683's user avatar
0 votes
1 answer
116 views

Arrow functions, methods and bind. Memory usage and performance

Please check the code below, I'm not sure if my JS is correct, I usually use TS. My question is: What is the difference in memory usage and performance in these two usages? Memory: As I understand ...
Vladimir's user avatar
  • 361
0 votes
0 answers
31 views

Docker Mounted Volumes to facilitate development

I'm using Docker Desktop on a Windows Enterprise 11 host machine to copy java source files from the host to an docker image; I then want to run the image in a container where the java source files ...
I-dont-know's user avatar
0 votes
1 answer
45 views

Why am I getting an error "Is not a function" in v-bind styles in vue js?

I'm expecting to toggle classes with v-bind when the function returns true or false, but I'm getting an error "Is not a function" in Vuejs3 with Quasar2. Meanwhile I'm searching if a ...
john's user avatar
  • 25
0 votes
1 answer
31 views

How to bind my own object configs in Ext.js?

I created a custom object that extend of 'Ext.form.field.Base' and I set some custom object configs that will control the visibility of its child components. But, because it's my own configs it will ...
Guilherme Goncalves's user avatar
1 vote
2 answers
70 views

Use Prolog to bind a letter to a given integer such as in class grades

I need to use Prolog to bind a letter grade for a given integer grade value (>= 90 is a, >= 80 is b, and so on.) I am trying to write a function such as this: evaluate_grade( X , F ) :- X \&...
Matt 's user avatar
  • 29
0 votes
0 answers
110 views

docker-compose: how to prevent volume binding to host from syncing two copies of data?

docker-compose: volume binding to host sync two copies of data. e.g., services: tomcat: image: tomcat:latest volumes: - myapp_data:/opt/myapp/data volumes: myapp_data: driver: ...
eastwater's user avatar
  • 4,802
0 votes
0 answers
55 views

How to control file permissions with a Synology NAS that uses NFS for LAN file sharing

I need help modifying the file sharing system I have setup in my LAN. Here is what I currently have: Sharing I use my desktop to create, sort and catalog all of the media that I have. That media is ...
jonjt488's user avatar
0 votes
1 answer
45 views

Tkinter Python - listbox bind (multiple selection via key-value pairs in a dictionary)

My dictionary contains keys that represent the various departments of the company. Each key contains N employees. My interface builds two listboxes in a window, where on one side all the departments ...
Bergo de Almeida's user avatar
0 votes
0 answers
81 views

Drag and drop working when root is bound, but not when frame in CTk is bound, How could I fix this issue?

I am able to swap label widgets when dragging and dropping them, they work just fine. However, I can not figure out how to have the same functionality insise a CTk frame. First, I tried binding the ...
RafaelTech's user avatar
0 votes
0 answers
28 views

Access Item for Inventory through BindExternalFunction

I have a player inventory which gets handled by my inventory script. And now I would like to add something to the inventory using an ink file and the "BindExternalFunction". Like if I ...
Jeremias Hauswirth's user avatar
0 votes
1 answer
32 views

Tkinter canvas itemconfigure not text wrapping

Canvas.create_text will not wrap text and keep it within the canvas widget as the window size changes. The width option will cause the line break to occur at a word but the behavior is completely ...
MikeNH's user avatar
  • 53
1 vote
1 answer
35 views

How do I bind a hotkey to left click in VB6 and make it work in desktop and games?

hi i want make make a hotkey in vb6 and work in desktop and games not only in app. when i press 0 from my NuumLock I want press 3 and click left and also repeat it for 4 5 6 7 8 9 and 0 i found some ...
reza's user avatar
  • 11
0 votes
1 answer
129 views

Binding arbitrary function in wxwidgets

I want to create a number of composite objects, each containing a scrolled list and some buttons (for my example, I've reduced the code to creating just one of the objects with just one button). All ...
Steve Quinn's user avatar
0 votes
0 answers
35 views

Why I have no list of my domain in Bind in webmin?

I have some domains in a server A managed by bind in a webmin and all works fine. I would like to transfert all of them in a server B in bind in a webmin (the server A is very old). After transfert, I ...
Sam's user avatar
  • 1
0 votes
0 answers
35 views

Oracle Table Function with bind variable

I have such table function with one parameter of CLOB data type CREATE TYPE clob_tab AS TABLE OF CLOB; / create or replace FUNCTION process_clob (clob_val IN CLOB ) RETURN clob_tab IS v_clob ...
Pato's user avatar
  • 167
1 vote
1 answer
320 views

How to bind Mudblazor color picker to model?

I want the user to be able to select a colour from the colour picker and for it to be binded to the model when the validation is correct. The validation is just that a colour is required. I can't seem ...
Imogen's user avatar
  • 131
0 votes
3 answers
178 views

Add comma separated value into springboot @CrossOrigin origins

application.properties my.cross.origin.urls=https://test.com,https://abcd.com my controller method. @CrossOrigin(origins = "${my.cross.origin.urls}") @PostMapping(value = RequestMappings....
Dinesh J's user avatar
  • 720
0 votes
0 answers
95 views

DllNotFoundException occurs when building Unity project on iOS

What I want to do I want to use dylib (c header library) from iOS Current Issues unity build and xcode build are complete. Calling dylib functions in the simulator raises DllNotFoundException What ...
musako's user avatar
  • 1,007
0 votes
1 answer
163 views

Linking c++ dylib in unity gives undefined symbol error

What I want to do I want to use dylib (C header library) from unity. Target is iOS What I did. dylib in Assets/Plugins/iOS. Use __Internal for iOS when routing dylib #if (UNITY_IPHONE &...
musako's user avatar
  • 1,007
0 votes
1 answer
21 views

Sending parameters to a stored procedure - PLS-00049

create or replace PROCEDURE TABULA.GetTorimByDoctor ( DOCTORID IN CHAR, CUSTOMERID IN CHAR, DEFTYPE IN CHAR, p_out_rec OUT sys_refcursor ) AS BEGIN SELECT to_date(TO_DATE('01-...
liorke's user avatar
  • 15
0 votes
0 answers
88 views

svelte bind to object with index triggers Cannot read properties of undefined

<script> let pairs const radioboxes =["0-4","0-8","0-12"] async function getdata () { pairs = [ {field:"Text Field 035", ...
Siva's user avatar
  • 1
0 votes
0 answers
27 views

problem in Binding a view model that is in another view model

To display the information of two tables that are related one to one, I need to implement view models as follows: public class EstateViewModel { public long Id { get; set; } public string Name ...
sajaf's user avatar
  • 7
0 votes
1 answer
28 views

how best to add these two data frames together?

Below is the sample data. Here is what I am trying to do.. I have data in the first data frame. It is an adjustment. The second data frame is the existing data. For the year, d2022, I need to ...
Tim Wilcox's user avatar
  • 1,289
0 votes
0 answers
99 views

Laravel Livewire won't bind data to model

I have project in Laravel, I have model Project - which owns the model Level - with hasMany method Also i have Livewire - component which updates database with updated() method, When i want to pass ...
Giorgi Bekurashvili's user avatar
0 votes
2 answers
43 views

How to split dataframes of a list then join them based on a variable

I have scattered data sets with different observations from different years in a list I want to group observations from the same years in the same datasets. mydata1<-data.frame(ID=1:5, year=c(2011:...
Seydou GORO's user avatar
  • 1,189
0 votes
0 answers
17 views

How to bind rows and sum the values of the columns

I have raw data with the data of violent crimes per year and gender divided by age categories. The dataframe has 13 rows and 27 columns. in the columns are years from 2015 to 2021, where each year is ...
Isa's user avatar
  • 1
0 votes
0 answers
48 views

why binding Object shorthand property function is not a constructor when using with bind? [duplicate]

var workshop = { teacher: "Kyle", ask: function (questioin) { // not shorthand console.log(this.teacher, questioin); }, }; new (workshop.ask.bind(workshop)); //"no ...
Amit Dhaterwal's user avatar
2 votes
1 answer
63 views

Event dependent change of precedence between conflicting default and user-defined bindings in Tkinter

I have a Python GUI with Tkinter. In a class, I have some Text widgets. These have some default bindings some of which I'd like to replace preferably with bind_class(). I managed to do it with all, ...
Babber's user avatar
  • 23
0 votes
0 answers
88 views

prepare and bind to create SQL commands in javascript

I'm having difficulty preparing and binding commands to be executed on an SQL database via javascript. For instance, I'm using a D1 database from a Worker in Cloudflare. The command I would like to ...
NicoCaldo's user avatar
  • 1,265
0 votes
1 answer
34 views

How to bind function to class to print custom text and object property?

I'm trying to understanding how bind() works. In my JS script, I want to create an instance of a Rectangle class, and then call a function that prints text followed by a property of the rectangle, ...
gkeenley's user avatar
  • 6,298

1
2 3 4 5
81