3,988 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
0
answers
45
views
Can't get AF_NETLINK change events on Android (30+) [closed]
I have an application where it needs to be aware of the IP addresses of all local connections, but it is disadvantageous to constantly poll getifaddrs for instance. On Linux I can do:
int sock = ...
0
votes
0
answers
51
views
jquery stop scroll on setTimeout click function
I'm setting a click function to open a tab but on click it scrolls the page down which I don't want to happen. How can I stop the scroll?
$(window).bind("load", function() {
if ($('.feefo-...
3
votes
2
answers
154
views
What is bound to the parameter "b" in the expression "b <- (+10)" in the do-expression?
Here is a piece of code from the book "Learn You a Haskell for Great Good!" by Miran Lipovača:
addStuff :: Int -> Int
addStuff = do
a <- (*2)
b <- (+10)
return (a+b)
What is ...
0
votes
1
answer
94
views
Problem using @XmlJavaTypeAdapter to marshall a Instant attribute
I'm trying to use @XmlJavaTypeAdapter to get my class TokenVO marshaled, even though it has Instant attributes, which are not marshaled by default.
Class where I use the @XmlJavaTypeAdapter:
import ...
0
votes
2
answers
198
views
Bind RPZ triggers are never matched [closed]
I have set up bind 9 (BIND 9.16.23-RH) on rocky linux 9.5 as a recursive DNS server, everything is working fine, beside RPZ policy.
Here is my named.conf:
options {
listen-on port 53 { 127.0.0....
0
votes
1
answer
72
views
bind: invalid arguments AF_UNIX [closed]
server.c
#include <stdio.h>
#include <sys/socket.h>
#include <string.h>
#include <myhead.h>
#include <unistd.h>
int main() {
int unix_socket = socket(AF_UNIX,...
0
votes
1
answer
224
views
Nextjs 15, Type error when calling a server action from a form with a bind
Using nextjs15, when I call a server action from a form in a server component with a bind, I have the following error when I compile my project for production mode (in dev mode, it works):
Type error: ...
0
votes
2
answers
267
views
InputSelect @bind-Value Not Updating in Blazor Component
I have a Blazor component where I use an InputSelect to allow users to select a role for a user. The issue is that the @bind-Value of the InputSelect does not update the SelectedRole variable as ...
0
votes
0
answers
83
views
Why can't my fields be bound in the mentioned SQL query? [duplicate]
Here's some information on the relevant fields in my database:
SELECT *
FROM INFORMATION_SCHEMA.COLUMNS
WHERE UPPER(TABLE_NAME) LIKE '%Own_Customer.PRODUCTS%'
AND ((UPPER(COLUMN_NAME) = 'ID') OR ...
1
vote
1
answer
107
views
Why do we need to specify the object in std::bind() to describe it as a functor? [duplicate]
I have been getting started with ROS and came across the following subscriber code:-
#include <memory>
#include "rclcpp/rclcpp.hpp"
#include "std_msgs/msg/string.hpp"
using ...
0
votes
1
answer
106
views
What should the address argument be for .bind() when using AF_UNIX and SOCK_SEQPACKET in Python?
I'm very new to all of this, but what is the argument or "bytes-like object" needed for .bind()? I read that "the address argument to .bind() and .connect() is the path of the Unix ...
2
votes
1
answer
155
views
Haskell Linked-List Monad
I am trying to write a Monad for a Linked-List enumerated datatype in haskell and I don't understand why my bind function (>>=) is getting errors in ghci.
data LL a = Sentinel | Node a (LL a)
...
0
votes
1
answer
207
views
if i have my own domain, can I somehow connect tokio::bind to it?
I recently got my own domain
and I wondered if I could somehow connect my rust-server to this domain
even if my computer has to be a host..
#[tokio::main]
async fn main(){
let listener = ...
0
votes
1
answer
743
views
show name instead of Id while using MudSelect and @bind-SelectedValues
i have the problem that when i have a dropdown in Blazor like this
<MudSelect T="Guid" Label="Items" MultiSelection="true" @bind-SelectedValues="selectedItemIds&...
0
votes
1
answer
53
views
Mongoose error: lodash bind no longer accepts a callback function
The upgrade to MongoDB 7 dropped function callbacks, as has been discussed on other threads. Most times it is fairly easy to replace the callback by .then asyn/await etc, as documented at ...