text
string
meta
dict
Q: How to identify the package name in Ubuntu I'm trying to create a mqtt client demo by using the libmosquitto using language C, but I can't find the HEAD file in the /usr/include direcotry, so I google the "moquitto client lib" then I got the answer told me use the "moquitto-dev" to install , so I type the "sudo apt ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Prevent loading full css (unused css) for specific page to reduce page size and loading time Suppose I have two or many html pages all of them are using css from one css file. I want to stop loading few css properties for specific page, How i can do that? I know some people will think that this is very noob kind of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating a game on WPF/ grid binding my task is creating a Railroad Ink game on WPF. About game: https://store.steampowered.com/app/1592740/Railroad_Ink_Challenge/ The First trouble I faced is binding road peices to grid cells. How can I do this? My first (un)clever idea is about creating control points on each cell...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Laravel - How do I call package file from vendor directory in the controller I am using this facebook package facebook/graph-sdk for my laravel application. Now, the package is installed in the vendor directory like that: https://prnt.sc/JPdhc7OSdjje Now, how can I call that Facebook class using php use statement. W...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Test if registry write is possible Is it possible to test write permissions to the registry without actually writing? I have some code now where I just do the write, and exit with an error if it fails. But I am doing that after the user has approved processing and I would really rather do it during initialization, s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: System.FormatException: 'The DateTime represented by the string is not supported in calendar System.Globalization.GregorianCalendar.' I have faced this issue and learned how to Solve this bug.enter image description here enter image description here It is not parsing the time to variable startTime or endTime. it not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add custom source data directly in Gatsby? I am new to Gatsby and I have learnt that siteMetaData https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/#sitemetadata Gets added into GraphQL database automatically by Gatsby: However, what if I want to add more various (hard coded) direct data int...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Arraylist as property/global variable in jmeter I have an arrayList created as property (accessible by all threadgroups) after adding some values to this arraylist..using foreach loop to this arraylist i want to get maximum value from the arraylist and store it in a variable? Someone pl help me with this I am not ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Granting commandshell rights to new user fails? The SQL server for one of our clients failed. A new server was set up on a VM. On the original server we had SQL 2008R2, new one is SQL 2017. Problem is, the disk on the old server was damaged and the backup was unusable. However, the mdf and ldf files were recovered, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Docker: Do not try to connect to any registry We ship the container images to the customer in a compressed package, which also contains a python executable which loads the images and starts the services. There is no need to connect to any registry to download or validate the images. The python script loads all the i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access WXWidgets in C++ using VSCode on Mac I have downloaded and compiled WxWidgets on the Mac. The demo and sample .apps work fine. I am trying to find out how to #include the WxWidgets to use them in C++ in VScode. I have searched the net and found many solutions but none seem to work for me. Is there a si...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: DBT: var function with two internal functions as variables dbt 'var function' looks can not accept sql function as a variable, is there any way can handel this kinda problem? Thanks! As the official document says, The var() function takes an optional second argument, default. If this argument is provided, then it wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When re-entering same url with Link Component in Next.js, prefetchQuery doesn't fetch data (SSR) I'm using Next.js and React Query for SSR. Everything is fine until re-entering the exact dynamic route(e.g. domain/support/guide/faq/[id]). The expected behavior is rendered query data without fetching as I used SSR for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why Log4j2 Configuration.setLevel working only when log4j2.conf in jar outside no Why when I have log4j2 configuration in jar file changing log level by Configuration.setLevel works fine but when I have configuration file outside jar then it loads the configurations but no effect of changing log level. I try all of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Ruby on Rails: What does .pluck(*some_hash.values) do? I've stumbled across this snippet of code: users = User.where([...]) users.group!(:character_id, :age) user_zip = { character_id: :character_id, (=> has one character) age: :age, amount: Arel.sql('SUM(amount)') } user_cleaned = us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: upload huge file and receive that with django framework for example I want to send huge file from http request and receive that in django application, how can I do this? please describe to me the scenario. Do I must split the file or there is some other way to solve that? i want to test that with celery... A: The d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keycloak API get total count of users that have the specified role name As the title suggests, I want to be able to get a total count of users having a specific role in order to make my pagination work. GET /{realm}/clients/{id}/roles/{role-name}/users?first=0&max=5 This only returns the array of users but there is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter : VoidCallback does't work with OnTap but works with OnPressed I have a StatelessWidget class : class PopupMenu extends StatelessWidget { final VoidCallback editTaskCallback; const PopupMenu({ required this.editTaskCallback, super.key, }); @override Widget build(BuildContext context) { retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java get list date between 2 dates I'm working on Java Date(Java 8). I have 2 dates, like: 2023-02-22 and 2023-02-28 My expect output contains: 2023-02-22, 2023-02-23, 2023-02-24, 2023-02-25, 2023-02-26, 2023-02-27, 2023-02-28 Date format: yyyy-MM-dd My code: public List<String> getDatesBetween(@NotEmpty String from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remove all the spaces from a string at the beginning or end - swift How can I remove all white space from the beginning and end of a string? Like so: "Test User Image" returns "Test User Image" "Test User Image " returns "Test User Image" " Test User Image " returns "Test User Image" " Test User Image " return...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Concatenate numbers as strings in pandas dataframe I have an excel file with data as below: A B C 1 0 1 1 1 1 1 0 I want to write a python code which would concatenate the values in A, B & C in column D as shown below: A B C D 1 0 10 1 1 1 111 1 1 0 110 In excel this can be done by =A1&B1&C1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: old value input in django model form In Laravel, we used old('field_name') to display previous input values. How can I do this in Django form model? I mean If the validation is unsuccessful the input value will be deleted. I want its previous value to be preserved and not need to be typed. class AddMenuForm(forms.Mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use List elements inside the form as and get parameter Is there any way to use an editable list like a <ul><li</li></ul> to use in a form? I want that the user is capable of editing the list and get the value. Is there a way with jQuery or JavaScript to do that? I want the form to submit the list as a result as item...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: demo:There was an unexpected problem with defining the props property to state im noob,I hope I can get your help screen: Just like in the picture, there is a problem with my program. The data displayed on the page is different from the real data. This happens in method deleteItem of item.jsx, after executing this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSL readTimeOut(?) I am using apache2 and jboss6 to service ssl. If the processing time in WAS exceeds 3 minutes, the connection is disconnected. Non SSL doesn't break. Which part should I check? curl -v "https://www.xxx.xx.xx/test" Trying xx.xx.xx.xx:443... Connected to www.xxx.xx.xx (xx.xx.xx.xx) port 443 (#0) sch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to compress the react application in order to publish it as a chrome extension? * *I have been working on a reactJs application as a chrome extension. *I made it, it works perfectly fine and even I have load unpacked and used as an extension in developer mode. *But when I am trying to publish it on chrome ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I turn this ambiguous grammar into a non-ambiguous grammar? I have an ambiguous grammar with terminals enclosed in ''. What does the unambiguous form of this grammar look like? How do I turn this grammar into an unambiguous grammar? * *S -> '!'S *S -> S'=='S *S -> S'!='S *S -> S '^' S *S -> '('S')' *S ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React State holds the value of my data but map does not display them I am learning React and I got stuck rendering a simple list of data. I am trying to fetch my data and they are logged in the console of the front-end but are not rendered on screen. I have tried to refactor the code adding a key and using a callbac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Contact form not moving to the right column html I am trying to move this contact form to the right of the page, but for whatever reason it’s wrapped under the left column I’ve tried reformatting the code; when I inspected the elements, the left column was the only one that is being registered with the right nested ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Java application on Arch Linux update Is it possible to update a Java application uploaded on aur.archlinux.org? I've made a mistake in the PKGBUILD file, and now even after pushing, no changes ave visible after a put & when installing the app.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Selenium and Requests to get data from webpage I'm trying to gather data from a trading website after having logged in. https://secure.icmarkets.com/Finance/Accounts here is my code with Selenium def get_icmarkets_page_source() -> str: # initiate driver driver = webdriver.Safari() driver.get(icmarkets_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Impossible to access an attribute ("id") on a boolean variable ("1") I get the following error when trying to connect to a page: Impossible to access an attribute ("id") on a boolean variable ("1"). My goal is too see the following: When I go to the page, there is a list with the following columns: 'id', ''descripti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: BIRT Report: I have performed Data cube operation. But want to group medicine with qty for each record The sql query is as follows: SELECT ROW_NUMBER() OVER() AS row_num, v.INVOICE_DATE, v.EMPLOYEE_ID, v.PATIENTNAME_AR, v.USER_LABEl, v.OFFICE_ID, v.ITEM_NAME, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I use okhttp of grpc in non-android case because it have better performance? I check the grpc issue 8002 and find okhttp have better performance. So why don't we just use okhttp instead of netty in all java applications? BTW,as we know, netty use nio to get high performance, and okhttp use block I/O. It is stran...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to find the combined area of geometries of a certain type using ST_Area() and COUNT() postgresql This table provides the unique combination of territory_type, territory_category and a count for each unique combination: (lets say 13) SELECT iso_country_code, country_code, territory_type, territory_category, count...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I got `RemoteDisconnected` error when `POST` by using `requests` package in Python I use Slack Bolt SDK on Socket Mode to handle events such as messages. I want to collect the events by using Mixpanel, and I use requests package to send the event to it. However, when I got ('Connection aborted.', RemoteDisconnected(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I get this error in GAM model when building a tensor product? I am trying to run GAM in order to associate mortality, relative humidity and temperature using a tensor product te. However, I am not familiar with GAMs (I mainly work with DLNMs) and I need help in the following Error. My input file (.xlsx with 6 co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can I give parameters to AppConfig.ready() of django? I want to get request.user.id as I have to pass it to scheduler in AppConfig.ready() but it gave an error. How can I do it ? My code is as follows: class ApiConfig(AppConfig): name = 'myapp' def ready(self, request): print('Here starting schedule...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589180", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Naming column differently than the class name and getting "Unknown column in field list" I'm using Grails, but it's probably a hibernate/spring problem - I have my Product domain, and wanted to make ManyToOne association between Product and ProductGroup, but wanted to keep the column name as productFamily. class Pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 404 error when directly accessing a component or particular page in react js The problem that I am facing here is, my react js project hosted to a server, everything works fine, i.e. routing, moving the page from top navigation bar etc., But I've observed that when I am closing my website tab and trying to directly ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pearson correlation coefficient and Timeseries calculation I have a timeseries and I need to find a timeseries correlated with that, where correlation coefficient is also given. Someone told me the equation to find timeseries2 as ts2=ts1+noise where noise is- noise = sqrt(1-correlation coefficient^2) * variance(time...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Queue issue in c# Selenium and Chrome I am trying to write a software to capture direct download links using Selenium and Chrome. It has clients to send file download link requests to the server through Microsoft .net Remoting technology. Then, the file download links will be added to the queue on the server. By usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using python bleak, bluetooth device can scan but cannot connect I have a question because there is a problem connecting the flowtime device of enterch using python's break. I got a MAC address by scanning the terminal for Bluetooth connection. Mac addresses are received well. but when I tried to connect to the devi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ObjectMapper how to register SubtypeResolver I want to use code to replace annotation conifg, this is my code ObjectMapper mapper = new ObjectMapper(); mapper.setDefaultTyping(type); mapper.getSubtypeResolver().registerSubtypes(new NamedType(Node.class, "Node")); mapper.getSubtypeResolver()....
{ "language": "en", "url": "https://stackoverflow.com/questions/75589197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to display an image in the canvas from Axios response I was trying to display an image using canvas from Axios response. Response I'm getting { "data": "����\u0000...", "status": 200, } dataSlice.ts try { const response = await Services.get('/datasetImages/239', { type: 'blob' }); const b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to modify k8s node annotation with rest patch operation I want to update the annotation nodescore of the node. I can do it successfully with cli command as below: kubectl patch node <node-name> -p '{"metadata":{"annotations":{"nodescore":"1. 00"}}}' But when I tried to do it with rest api like below: retv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to udpate data of deactivated user getstream api? is it possible to update the data of a deactivated user?. When updating the API, it returns a 'user not found' error message."
{ "language": "en", "url": "https://stackoverflow.com/questions/75589211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extentions and Cogs not working in discord.py v2.1 I am trying to get export my commands in a discord bot I run to a new file, using cogs and extensions. However, the commands do not register, and I'm not sure why. I'll send the code here. #bot.py import json import os import discord from discord.ext import commands...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: This is the question the recruiter asked me Write an algorithm (program) in reactjs that simulates each relationship between 3 sun, bird and flower objects in 1 day: The sun rises at 6am and sets at 6pm Birds go to sleep an hour after sunset Birds wake up 1 hour before sunrise When the sun rises, each flower will bl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: Non invocable member File cannot be used like a method I am trying to download excel file from mvc method. public ActionResult Download(string fileGuid, string fileName) { byte[] data = TempData[fileGuid] as byte[]; return File(data, "application/vnd.ms-excel", fileName); } Getting error saying ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Export dynamic records with a different field order I am Using csvhelper. I have that List of dynamic objects (dynamic) that I want to write as csv but I cannot find how to specify the column order. I need the csv columns to be in a specific order. I could not use a ClassMap since it requires a type which I don't ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create hexagons in react with using tailwind? I want to create hexagons like below the picture. But it's more than 3 hours I can no figure out how can I do that. I have tried different libraries and etc. Hexagons I want to create this type of hexagons. A: You could create them yourself, and then position...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589221", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Add zero vector row per group in pandas I want to create equal sized numpy (padded) array from pandas, ultimately to be given as input to keras model import pandas as pd df = pd.DataFrame([[1, 1.2, 2.2], [1, 3.2, 4.6], [2, 5.5, 6.6]], columns = ['id', 'X1', 'X2'] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LARAVEL API org.json.JSONException: Value I keep receiving a JSONException error to my code I am trying to fetch a post method that has a token. I already tried to run the laravel api in insomnia and it works successfully but when I use it for mobile i received a JSONException error. org.json.JSONException: Value <!...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL file with JS code is not working with liquibase I am using snowflake to manage the database and Currently I am trying to implement liquibase with existing snowflake sql scripts. Some of my sql files contains JS code, for example - create or replace function GetTimeSeries (businessDate text) returns varchar langu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dropdown Won't Work/Show using Bootstrap 5 and reactjs I'm trying to show a simple NavBar from bootstrap documentation (https://getbootstrap.com/docs/5.0/components/navbar/) using React. and installed bootstrap using npm I bootstrap. Below is my App structure: I have this Navbar.jsx below import React from 'react' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android 13- Unable to connect with WiFi netork after few attempts User is unable to connect with Wi-Fi network initially, but after few attempts we are getting "No devices found. Make sure devices are turned on and available to connect." WifiNetworkSpecifier wifiNetworkSpecifier = new WifiNetworkSpecifier.Builder() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589231", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shell script to discover the location of executing script for Windows and Unix? I am calling a shell script from a remote location. How do I get the directory that contains the executing shell script (in Windows and Unix-based systems)? I do not have access to bash on the host system. Git is installed (on the Window...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'Data type mismatch in criteria expression.' I'm trying to insert the data to MS Access through VB.net. But it is generating the 'Data type mismatch in criteria expression.' error. I have thoroughly cross checked the code but not able to catch the bug cmdInsert.Connection = myConnection myConnection.Open() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: unable to read data of Blockchain output page import { useEffect, useState } from "react"; import { ethers } from "ethers"; import ABI from "./ABIS/convertAbi.json"; function Temp() { const [value, setvalue] = useState(null); const [input, setInput] = useState(null); const feather = async () => { console.log("worki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is using spark.sql.functions considered functional programming I am wondering exactly what would be considered functional programming in the case of using scala and spark. If I am using functions from the spark.sql.functions library and working with immutable data along with separating code out into different functi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: GET request doesn't return anything, api route mismatch I have an issue with this controller, I send a request to https://localhost:44490/api/Concert/GetPartyConcerts But I receive: router.ts:11 No routes matched location "/api/Concert/GetPartyConcerts" My controller looks like this: [ApiController] public cl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can i resample single ct slice? A ct slice in dicom format is a 2D array. Then what is the meaning of slice thickness? And can I resample one slice taking into account the slice thickness?
{ "language": "en", "url": "https://stackoverflow.com/questions/75589239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Pandas : Add value to a cell using loops There is a need for me to add values to a cell using loops. I can achieve the result I seek using the script below, however the need is to add values in a cell using loops. Shared below is the code script. import pandas as pd host = ['R1','R2','R3','R4','R5'] ip = ['192.168....
{ "language": "en", "url": "https://stackoverflow.com/questions/75589240", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: flutter push notification not support with ios 15 what is wrong writing with swift native code can any one help me with this issue push notifcition does not support with ios 15 but with ios 14 it work good This my Native code i dropped it into mt flutter project with method channel and this my native code i am no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cloud Functions Analytics Event Never Gets Triggered I have the following Analytic trigger running on Firebase Functions in my index.js: import functions from "firebase-functions"; import admin from "firebase-admin"; // Do I even need this? admin.initializeApp({ credential: admin.credential.cert({ privateKey:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589243", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Find UNICODE Value and Character I have a table with several nvarchar(max) fields that are a mess. I am trying to locate the "non-ascii" characters that are going to cause problems during our conversion. I have this function that returns a table with info: SQL Server 2019 CREATE FUNCTION [dbo].[charVal] (@in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to convert date(2022-12-28) to this format 28th December 2022 in reactjs? <div className='approval_text'> {(getdate && getdate.length > 0) && getdate[0]['START_DATE']} </div> Is there a way to convert date(2022-12-28) to this format 28th December 2022 in react-js? A: You can use moment to convert...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to select specific rows by subsetting the accompanying geometry column with a certain range of coordinates in R Recently, I am trying to make a river map for a certain region. To this end, I obtained the river data from HydroRivers and I would like to subset this data with a certain range of coordinates so that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: model driven form error while using FormControl for checkboxes <p-checkbox [formControl]="signInForm.controls['options']" label="male" value="male"></p-checkbox> <p-checkbox [formControl]="signInForm.controls['options']" label="female" value="female"> </p-checkbox> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589249", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Streaming 1080p 30FPS from i.MX to X86 Laptop with Minimum Latency UVC Camera is used supporting MJPG: 1080p@30 / 720p@30 or YUV:1080p@6 / 720p@6. HW Setup-i.MX6 Board [HS-O]: Video Source (VS-O): UVC Camera connected with i.MX6 Board USB 2.0 port. Video Receive (VR): X86 Laptop Scenario-MJPG: VS-O: Capture MJPG str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Web bluetooth api WriteWithResponse not working on Bluetooth 5.1 5.2 5.3 I use WriteWithRespone to send text from PC to device but only working if my PC use bluetooth 5.0. I change PC use bluetooth 5.1 or 5.2 or 5.3 ,WriteWithRespone not working. Error:DOMException: GATT Error Unknown. I find log in chrome: Unexpect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting empty buffer while uploading file I have an issue with uploading files on the s3 bucket, some times its uploading 0-size files. const fileBuffer = fs.readFileSync(file.tmpPath) const stat = fs.statSync(file.tmpPath) In fileBuffer am getting and when I check stat.size its 0 but in the file itself, I get th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Call to a member function extension() on null when using the or operator so, I have two conditions which I wrap using if with "or" operator. previously it worked fine using the "and" operator, but when I only update one file upload it doesn't run, but if both file uploads the update is successful. to cover the short...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589257", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to extract tweets text, retweets text and liked tweets text data of a twitter user through some API? I am working on twitter data analysis, for this reason I am required to have a user data like tweets, retweets and liked tweets of a user in textual data. I tried using some free APIs and some automated tools but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert Numpy Array to Bitmap in C#, Keras.Net I am working on image semantic segmentation, and trying to figure out how to convert the prediction (after argmax) to bitmap. If I use ArrayToImg from ImageUtil, it returns a system object. How do I convert it to bitmap from here? I trained the model using python, and t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android: Media notification I am working on a music application, and I am showing the media details on notification with media action buttons, now when I run my app on android 12, I see everything working as intended, but on android 13, I cannot see the next and previous action buttons. Where I am going wrong here? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589265", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can someone please explain me the backtracking of this recursion, I don't know why but it is adding current vector to ans vector 2 times #include <iostream> #include <vector> using namespace std; void getAns(char s, vector<char> current, vector<vector<char>> &ans, int n, int i){ if (i >= n) { ans.push_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589268", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Jackson deserialization list class There is a json with a sheet as a nested class: { "name": "test", "phoneList": { "phone": [ { "number": 32323232, "code": 555 }, { "number": 4343423432, "code": 555 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I style flowbite react tabs? I am using Tabs from flowbite, the tailwind component library. But there is no way to customize the design colors of the tabs. Is any have used it? This is the output import { Tabs } from "flowbite-react"; export default function CoursesTab() { return ( <> <Tab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: typescript acts up with mixed type... and I have no idea why it fails export interface TableSearchState { query: string selectFilters: Map<string, string> selectedSet: Set<string> } const TABLE_STATE_INIT: TableSearchState = { query: '', selectFilters: new Map(), selectedSet: new Set(), } ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589283", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any SDK like Perfect-SwiftCalDAV? Its used for calendar sync in swift but it seems its not available is there any sdk available to sync the calendar in swift not in device calendar we are planning to manage our own calendar Reference Link - https://github.com/PerfectlySoft/Perfect-SwiftCalDAV Syncing of cal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to get from which domain the request comes with its parameter in node js or express js I only get the from which domain the request comes but I want to get the domain name with query parameters. For example the main domain name with query parameters htpps://abc.com?userId=1&campaiginId=2 From above domain I r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to mock a method that has 2 return values: an integer and an OrderedDict, in Python? How to mock a method that has 2 return values: an integer and an OrderedDict, in Python? Tried searching on the internet but didn't find anything. A: Use a mock object: from collections import OrderedDict import unittest from u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with Matplotlib with colorbar and two imshow I wanted to plot 2 imshow on a figure, but I only want the sub figure on the right to have the colorbar at the bottom of its plot. This is my code : import matplotlib.pyplot as plt import numpy as np from matplotlib.gridspec import GridSpec cm = 1/2.54 fig = plt.fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: HTTP Proxy - No further requests after respond to CONNECT I've created an HTTP Proxy with PHP. It works well for simple HTTP requests, but in the case of TLS requests, when a client sends a CONNECT request, my proxy responds to the request with a 200 status and empty body but unlike expected, no further requests are...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Express passport local always login as the last login session in iisnode I have a Web application using express and authenticate by passport local strategy and store session with connect-mongo. The app work fine on localhost, but when I deploy it with iisnode, its behavior becomes abnormal. After the first User A lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: select inside dollar signs in latex using vscode How to select everything inside $math_formula_here$ in vscode when writing latex? I have tried shift+alt+rightarrow but it does not work. A: you can use the extension Select By Add the following key binding { "key": "shift+alt+right", // or any other key combo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which port should I use for node js in ispmanager? Tied the domain to the panel, in the server.js I output this and try to connect to the socket does not work. I tried different ports, even the one in the instructions: process.env.SOCKET does not work. Please tell me what to do to work in isp for a year const { Serv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RangeError: Potential infinite loop: exceeded 1500 iterations Hi all I need to return the minimum possible absolute difference. My code is below, function minAbsDiff(nums) { const n = nums.length; const sum = nums.reduce((acc, val) => acc + val); const halfSum = Math.floor(sum / 2); const dp = Array.from({ l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589304", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want to be able to have the days from different months scrolling in the component of mui I want something similar to the picture below with this component so that the days of different months are placed under each other But I couldn't find a solution anywhere... something like scrollable={true} and be scrollable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can anyone suggest a idea on how do I pass the value from my useState (toDoData1 and toDoData2) to MapRegion (latitude and longitude) My code import { StyleSheet, Text, View, Dimensions, Button } from 'react-native' import React , {useEffect, useState} from 'react' import {ref, onValue} from 'firebase/database' impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unexpected results while counting custom Google Analytics 4 event in Looker Studio (Data Studio) I have the following problem: I created a scorecard on Looker Studio to count all custom events fired in particular timespan. To do it I created a custom metric using formula COUNT(Event name = "login_success") However, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: IndexError : list index out of range , deep_learning week 4, part 2 I ran this code GRADED FUNCTION: L_layer_model def L_layer_model(X, Y, layers_dims, learning_rate = 0.0075, num_iterations = 4000, print_cost=True): """ Implements a L-layer neural network: [LINEAR->RELU]*(L-1)->LINEAR->SIGMOID. Arguments: X -- inpu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Crossmint does not register contract I got an error while Registering Smart contract in Crossmint enter image description here even if my contract is verified enter image description here but Crossmint show this error enter image description here I've tried multiple NFT contracts but nothing works. A: You must ensu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Oracle SQL append column by same values I have two tables: table1: name age weight height a 10 20 105 b 0 0 0 c 1 2 3 d 15 110 table2 name id a foo b bar c d I would like to append the column id from table_2 if the value of the column name is identical: name age weight heig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Chome is blocking the iframe of my next js app. How can i fix this? I am trying to render i frame in my nextjs app. The iframe is working in Firefox but is being blocked in the chrome. Rendering the iframe is quite simple. here is the complete code <iframe sandbox="allow-scripts" className={styles.iframe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a factor generator of a whole number? I'm trying to make a factor generator for any number, and I'm starting off with creating something that gathers all numbers of the "num" variable, and adding each number of the "num" variable to another vector numbersOfN, so I can later on divide that by something to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python output excel file I run the following code to output the result of correlating these columns in the compiler import pandas as pd df = pd.read_excel('new_file.xlsx', sheet_name='pack') df.groupby(['STYLE', 'BRAND NAME', 'PRODUCT DESCRIPTION', 'COLOR','Size','SIZE RANGE', 'Retail Price','WEBSITE COUNTRY', 'SKU'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get back to our app from other 3rd party app in flutter? I'm working on a flutter project where customer will see all invoice and customer can make payment using any UPI app. My problem is how can I redirect with the response back to my app after making payment in UPI app? Currently I'm using url_launcher to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }