text
string
meta
dict
Q: Initialize std::tuple with classes which have two or more arguments #include <iostream> class NoCopyMove { public: NoCopyMove(int a) : a_(a), b_(a) {} NoCopyMove(int a, int b) : a_(a), b_(b) {} NoCopyMove(const NoCopyMove&) = delete; NoCopyMove& operator=(const NoCopyMove&) = delete; NoCopyMove...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "7" }
Q: NMA Swing Indicator for TradingView Pinescript I use Amibroker for my day to day stock anaylsis, and I was trying to make the setup on trading view. One of the indicators that I use is 'NMA Swing', which is avaliable on github. NMA Swing Exploration.afl I am trying to convert this afl to pinescript so it can also be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .Net Azure Ad authentication when application is behind nginx server I'm trying to setup azure ad app authentication in my .net application. The application is hosted in kubernetes and is behind an nginx server. My configuration: AddMicrosoftIdentityWebApp(options => { ... options.CallbackPath = "/signin-oid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Encrypt existing unencrypted core data sqlite file without third party overheads and bugs Can I locate sqlite file of coredata in case I have given FileProtectionTypeComplete to it? I majorly want to encrypt my existing unencrypted sqlite file which is residing in application support directory. However, when I assig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I cache installing my dependencies in a Dockerfile, when downloading them with FetchContent_Declare? I am writing a c++ project where I download and install all my dependencies using FetchContent_Declare with cmake. The project structure looks like: β”œβ”€β”€ CMakeLists.txt β”œβ”€β”€ CMakePresets.json β”œβ”€β”€ Dockerfile β”œβ”€β”€...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React context not showing latest update I'm trying to use context to use some data somewhere else in my app, the data in question in an instance of aws cloudwatch Rum. The context code logs out the object instance but this object fails to be passed into to the component, I think its created after the component is re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Key Vault - for each system identity on virtual machines created by a count I tried to create an Azure Key Vault access policy for multiple object_id. Theeses object_id are system identity from multiple virtuals machines created with the fonction 'count'. I tried this : resource "azurerm_key_vault_access_polic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make this diagram (figure attached)? enter image description hereI want to make this diagram, is there any way to make this in r? I did not try anything yet.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Block the screen from turning on your Android phone I develop an Android application in Java, using the Level 21 API (Lollipop), which aims to prevent third parties from manipulating the phone to turn on the screen. I would like to point out that I am a beginner in the field of Android mobile application development...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why am I getting a UnicodeDecodeError when installing manim-voiceover? I want to install manim-voiceover in a Windows environment, but a UnicodeDecode error occurs. Even though the PYTHONIOENCODING environment variable is set to utf-8, the UnicodeDecode error is repeated. Below is the error message. C:\MyFirstFolder...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How force Select2 to call ajax immediately to load another select2 when selection is made I'm trying to load a select2 (opt2) based on the selection on another select2 (opt1), with ajax. This is my code, I was expecting the ajax to be called immediately when I select the option from opt1. But the ajax is being call...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Script syntax error for iFrameResize on VS code editor Can anyone tell what syntax error am i facing here? I'm trying to embed this script into my react function but its showing syntax error from my vs code editor. export default function GR_Testimonial() { return ( <script type="text/javascript"> iF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Can we check Object Reference using intellij Debug mode While debugging the issue using intellij need to check reference of object . We have JMS object need to find any particular object present or not in JMS object that causing the issue.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How should I solve error when am getting "SyntaxError: Unexpected token ILLEGAL" db.products.insertOne({ id: 1, name: "Pen", price: 1.44 }) I want to make collection using mongoDB operations but is'nt My mongoDB crud operation is this db.products.insertOne({ id: 1, name: "Pen", price: 1.44 })
{ "language": "en", "url": "https://stackoverflow.com/questions/75589575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to decode a data without IDL file that encoding by apache thrift TBinaryProtocol I am new to apache thrift and I have some data encoded using the Apache Thrift TBinaryProtocol protocol, but I don't have the corresponding IDL file. However, I want to deserialize this data. I noticed that both Apache Thrift itself...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Background images fit to screen Hello i'm new to react and wanted to help for my below code home.js code: I'm trying to use image as a background to my page, but i'm unable to make it fit the widow size, i tried using background-repeat as no-repeat, backgrond-image as cover etc. A: Make sure that your container is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to authenticate with the oss index in an sbt-dependency-check? we have an sbt project using sbt-dependency-check, and we are trying to authenticate with the oss index as part of our build. Are you able to provide an example sbt command that uses dependencyCheckOSSIndexAnalyzerUsername and dependencyCheckOSSIndex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Best Way of Ensuring Safe Fetching From Data Dict I've got a Python file in my project called constants.py which carries some dictionaries with a bunch of constants, for example links to images: logos = {'team0': 'link0', 'team1': 'link1', 'dummy_team': 'link_dummy'} When fetching a team's image link I want it to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: animated eyes: Uncaught TypeError: Cannot read properties of null (reading 'getBoundingClientRect') this is my first time asking a question on here so if I do this "wrong" please let me know. Im trying to implement a moving eyes on a face animation like in the video here (who doesnt love fireship?). Im trying to mak...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: gl_ShadingRateEXT is always zero after I set pipeline and primitive shading rate? when I learn how to use fragment shading rate in vulkan,I set pipeline fragment shading rate like this: VkPipelineFragmentShadingRateStateCreateInfoKHR fsrInfo{}; fsrInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Calling a 3rd party API returning null value in Laravel I have a Laravel 9 project where i'am calling a 3rd party API where im expecting some user information in the returned api response. Locally the API is working fine and returning all the user info from the 3rd party. Once i pushed the project to a live ubuntu s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CLI of standalone openwhisk and docker-compose openwhisk deployment conflict I wanted playground functionality in docker-compose. So I used standalone openwhisk which provides both cli and playground with docker-compose deployment. Here is my yaml file: ui: image: openwhisk/standalone:nightly ports: - ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: After I run "node index.js" instead of a link to the picture, I get only "https://gateway.pinata.cloud/ipfs/${result.IpfsHash}" without IpfsHash There is an index.js file that allows you to retrieve a link to an image stored in the pinata. Here is the code: const pinataSDK = require('@pinata/sdk'); require('dotenv')...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to generate a BigQuery table based on JSON data? Let's say we have a simple JSON array as follows: [ { "id": "0001", "customer": { "name": "John", "age": 30, "cars": [ "Ford", "BMW", "Fiat" ] } }, { "id": "0002", "customer": { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make this curve view with Jepack Compose in Android? Please see the design This is what I troubleshoot, but it is not giving the expected output Code: @Composable fun DrawBrackets() { Box( modifier = Modifier .height(200.dp) .width(200.dp) ) { Canvas( modi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WorkBox Register on Login I would like to register the service worker using workbox when the user logs in, I am sending an extra parameter with the login response which will determine if the service worker is to be installed or not. I am using CRA template for PWA. I thought addEventListener("load") was not being tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I extract an expression from a string value in c#? So here is the issue I'm dealing with. I have a function which returns a string e.g string returned = "object1.someproperty = object2.someproperty"; I split the string up but how do I use the values inside it?Is there any way to execute the statement in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to flatten interface type in Typescript Given this type in Typescript type MyType = { name: string; gender?: "male" | "female"; section: { a: string; b: string; }; } Hot to transform the type into flatted version like so? { name: string; gender?: "male" | "female"; "s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: access object value is undefined i have a javascript object: console.log(myObject) // RESULT // Object { inboxID: "ABC", Url: "DEF" } ​// Url: "DEF" ​// contactID: "XXX" ​// inboxID: "ABC" Now I would like to access the inboxID: console.log(myObject.inboxID) // Result: ABC But If I would like to access the contac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-8" }
Q: Is there any API or way to get article or video about specific word? My request may sounds wired but I having some required where user will type any word (in English), eg: "Happiness", I should provide any related articles or videos to the provided word in my site. My question: is there any API that will help to my ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Latency in connection when testing with 200 users I have some experience creating chatbots using socketio in the past so I think i am moderately familiar with how it works. But a recent issue has stumped me and I'm hoping someone here can guide me. I am trying to simulate a scenario where lets say 200 users join a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a ego-network like the picture that I given below? I can get this far only import networkx as nx import matplotlib.pyplot as plt user_input = list(map(int, input("Enter the edges you want to plot: ").split())) print("The edges are: ", user_input) G = nx.Graph() for x in user_input: if (x<len(us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Oracle Apex "Click here to create a New Session" link empty href Hope you are doing good. I am facing problem in Session timeout. When idle session timeout, a modal dialog open to create a new session with button Sign in again, but it takes end user to developer login page. When i checked logs, there is empty href f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas rebuild free time slots from all possible time slots and booked time slots As per the title there's a list of available/possible time slots and then there's a list of booked slots. What I need a helping hand with, is a streamlined way, using pandas, to extract booked time slots from the possible ones and rebu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can we combine resource and authorization server in single project when using oauth2.0 currently I'm trying to create an .NET Core API project with OAuth2.0 Authorization so I have created an resource project and an authorization project with oauth. my query is, can we combine both projects in a single project. I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Initialization from incompatible pointer type for multi argument functions in C I'm trying to declare a function to use with a parameterized array in *builtin_func[], however one of the functions takes in two arguments instead of one (sh_redirection). int sh_cd(char **args); int sh_exit(char **args); int sh_path(cha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get Single value from the ModelSerializer From CameraSerializer I want the flatten data right now I am getting data as an object {... camera:{name:"camera_name"} } But I want {... camera: "camera_name" } class CameraSerializer(ModelSerializer): class Meta: model = Camera fields = ['name'] c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS Amplify Graphql Query Secondary Index Value And Then Sort By UpdatedAt Use Case: I am trying to create a graphql secondary index where I can sort the direction of the items by updatedAt, but also query for one status. For example "get all the candidate's applications where candidateStatus === "Applied", and have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the type of timeout provided by resiliency 4j timelimiter? What is the type of timeout provided by resiliency 4j circuit breaker ? Is it connection timeout / or response timeout ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75589634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: oData order by certain id at the top Is it possible with oData to sort the results set and having certain ids at the top? Imagine this Car model, I'd like to order the Cars where for instansce IdMake = 8 is always at the top and then the rest Car Id int IdMake int
{ "language": "en", "url": "https://stackoverflow.com/questions/75589641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot REST API : Returning status code of ResponseEntity? I use the following approach in my Spring Boot REST API controller and in here, I generally return ResponseEntity.ok() as I also want to pass returned data to the client. However, I want to return proper statuses based on the operations. For example, af...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: buraai usr/local/bin/BURAI1.3.2/exec.LINUX/qe_openmpi/pw.x:error while while loading shared libraries: libmpimpifh.so.12: i got this error while running calculation from buraai usr/local/bin/BURAI1.3.2/exec.LINUX/qe_openmpi/pw.x:error while while loading shared libraries: libmpimpifh.so.12: cannot open shared mpifh....
{ "language": "en", "url": "https://stackoverflow.com/questions/75589643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make Form In Wordpress Using Elementor I want to make a form just like this https://www.fredfaheyaerialservices.com.au/order-application/ on WordPress using Elementor. Can anyone help me with this, please? I am expecting a detailed answer to this question so I can make this type of form.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Can the npm library http-server call and start the service through node code, like the command line There are only examples of command line calls in the official document. Can I call them through code, and open a static resource server in the specified directory and port? const server = require("http-server"); // cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to run func zure functionnapp publish on mac m1 I've typed func azure functionapp publish xxxxx, but it just displays something like help, and no more action. Does anyone know the reason? A: If you are unable to publish the Azure Functions Project with Functions core tools command, check the arguments passi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex regular expression notepad ++ I have written a simple expression which should find word starting with 3 tabs and follows the given rules. The problem is that it is finding things that contain 5 tabs as well. How can I get only things with 3 tabs? \t{3}\"id":\s\".+"\, A: You can use (?<!\t)\t{3}"id":\s*".*?",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot find module 'next/babel' I created a next app using this command: npx create-next-app app-name but I keep getting this error which underlines the first part of each file Parsing error: Cannot find module 'next/babel' do you have any ideas on how to solve this issue?
{ "language": "en", "url": "https://stackoverflow.com/questions/75589658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular - PrimeNG Filter Table - Date Popup Showing Under Table I am using a PrimeNG table with filtering, a few of the columns are dates, the popup works fine but if I only have a few rows in the table the calendar popup shows under the table. I have had a look at z-index etc, but I cannot work out how to solve thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AsyncStorage display information I would like to display some information which is stored in the AsyncStorage function. It works well, but when I add an item inside this list, I need to restart my application to see the modifications. I think I have to use a useEffect hook but I tried a lot of things and didn't find...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JProfiler does not show thread created in thread We are using a shared thread pool in our backend (ForkJoinPool) and create threads from which we create other threads from this thread pool. Of whatever reason JProfiler shows the child threads but does not recognize that they are used. This means we can see the threa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RLlib integration with MLflow model registry I’d like to create a setup in which I can store best checkpoints. It would then serve in two ways: * *There would be a centralized storage for best checkpoints, with a possibility to specify which model and version use for other trainings (https://mlflow.org/docs/2.1.1/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to add @spartacus/schematics@5.2.0 even angular, node and yarn versions are maintained as mentioned in pre-requisites I have maintained the required versions as given below: Angular CLI: 14.2.10 Node: 14.15.5 Yarn: 1.22.19 have created the angular application as well. But When I run this command: ng add @spar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to realize one() like Python's any() and all() I like to use any() and all() in Python. But sometimes I need a one(). I want to know if only one value or condition in a list is True. Currently I do it with such a nested ugly if. # In real world there could be more then just two elements istrue = [True, False] is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to encrypt a SPSS-file using cypher Is there a way to encrypt SPSS-files (.sav) using the cyphr-package? Encrypting .csv works fine, but when I try to encrypt .sav, I get following error-message: Error in db_lookup(dat$ns, dat$name, file_arg) : Rewrite rule for haven::write_sav not found A: If the read/wr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Tip Tap setContent function isnt working in Next-Ts Trying to create a PWA note app and using tiptap in it. I'm trying to save content in localStorage to be able to run the app in offline mode and save content in the database whenever the user is back online. The content is stored successfully in localStorage but wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NestedScrollView is returning wrong measurements I have custom NestedScrollView which will start scrolling if its content reaches certain height. Issue is that sometimes onMeasure is returning wrong height of the content inside. Here is custom NestedScrollView: class ScrollViewWithMaxHeight: NestedScrollView{ pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hangfire: run method with scoped service injected I am enqueuing a Hangfire job in a web-api controller action but I need a service to be injected for the task. This is the code: [HttpPost] public string DoSomething() => _backgroundJobClient.Enqueue<MyStorageService>(s => EnqueueJob(s)); [JobDisplayName("My job"), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CSS How to make double diagonal border/corner guys. I'm working on the website and going to make thing like this one: enter image description here Right now I have some kind of a half part of that shape: <div id="block"> </div> #block { width: 100%; height: 400px; background: #ccc; position: relative; mar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The use of this variadic function I am working on a project that requires me to use a lidar sensor (Lidar lite V3 by Garmin). So, I found a code that helps me to measure distance by using the lidar sensor. But there is a part in the code that I can't understand. Here is the line : void die(char *fmt, ...) { va_l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python Sqlite, Insert into table and make all non specified values Null, then update Null values one by one I am currently creating dynamic sqlite tables in Python. The table in question is generated as follows: year_list = range(start_year, end_year+1) dbs_to_create = ["Revenue", "Sale", "Rev_Maintenance",...] fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Resource for DetecFaces when grant policy I using Rekognition DetecFaces of AWS SDK. I want to grant policy for DetecFaces only use image from S3. How to do that? This is my granted policy. { "Version": "2012-10-17", "Statement": [ { "Sid": "VisualEditor1", "Effect": "Allow", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gradle links the C++ library by an absolute path on host machine I try to link against a vendor .so library. In my Android.mk file, I define this library as # main project LOCAL_MODULE := mylib LOCAL_SHARED_LIBRARIES += snpe_hta_hexagon_runtime include $(BUILD_SHARED_LIBRARY) # other lib include $(CLEAR_VARS) LOCAL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native Typescript, Type 'string' is not assignable to type '"200" | "600" etc I am passing a theme into my style.ts: badgeText: { fontWeight: theme.fonts.FONT_WEIGHT_HEAVY, }, Constants: export default { FONT_SIZE_EXTRA_SMALL: 8, FONT_SIZE_VERY_SMALL: 11, FONT_SIZE_SMALL: 14, FONT_SIZE_MEDIUM: 16, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I can't fetch download links from a site using bs4 from bs4 import BeautifulSoup import requests url = "https://subsplease.org/shows/blue-lock/" response = requests.get(url) soup = BeautifulSoup(response.text, "html.parser") d = soup.findAll('div', attrs={'class':'download-links'}) print(d) I don't know why this c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unknown column 'created_at' in 'field list' Code Igniter4 So I want to insert some data in my database that has timestamp in it, but when I insert the data it keeps telling me Unknown column 'created_at' in 'field list' although I don't have any variable , function or table column called created_at. This has been b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgres - edit currently running query is it possible in postgresql to edit the currently running query. Or killing the query and firing another one in its place. I have a problem with an updater of one program. One query created by the producer is badly optimized. A: You cannot modify a currently running query, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i want to be able to read my top level mqtt topic and payload across whole app im using mqtt to cumunicate with some hardware from my react webapp, and i want to find a way to forward all payloads to my components but havent been able to find any exept for passing the client down and calling on.message in all of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change delimiter postgresql Possible to change delimiter on values? Example I have one column numbers and the data is 3,5 and always use delimiter ",". But I like to change to the delimiter all of the data to "." on the script result, because I copy out the data to CSV file. Thanks all of the helps.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can JDeps show dependency of one class on another class within the same module/package? I am trying to get a UML-style graph of my module. I tried the verbose class option but it still does not show the relationship between one class and another class within the same module. jdeps -verbose:class classes.jar com.pac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Shoper - Displaying of variants in the product list I want to display the available variants in the product list so that when I click on a variant, the main picture changes with a preview of what the variant looks like. I also want only the first 5 variants to be displayed, and the rest to be available only after en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apps Script will not run in Google sheet published to web Background: I am creating a simple game on google sheets using data entry and scripts. A player enters a code, selects an action, then hits a button and a script runs to record the results. I have a beta version of the game ready for testing and everything ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DC motor voltages and currents I am using default DC motor from the standard library. When I connect it to a voltage, a certain current flows, but when I increase the voltage, the current also increases which is confusing me, the torque and the inertia remain the same. I thought the current will go down with voltage...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why Blazor randomly terminates a cookie session My app is split in one Blazor Server app and one web API backend running on .NET 6. The Blazor app fetches data by making API calls to the backend after having established a session. The backend handles the session (cookie-based). After initial login my app works durin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Data grid not stretching but creating additional column I have created custom control in WPF that in design looks good, but in runtime it somehow not. My idea is to add to my listview many custom controls. Each control should have table with data. Table should have 3 columns (name stretch, price and link hardcoded s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nao emergency switch Python I have tried to code an "emergency switch" that terminates a running application. E.g. I have coded an application where the robot says something and I want to terminate the app by touching the headsensor. The program terminates the app, but it throws exceptions. How can I make it better?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to apply color gradient - Index Error I was practicing crosstabulation of two fields and format it using color gradient. But I am getting an error called Index error while using the color gradient . Any kind of help would be appreciated :) I have already created a cross tab , and I am trying to apply color gr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: For loop to update multiple dataframes I wrote a few for loops and they all have the same issue: they do the correct operation, but do not overwrite the desired result in the old pandas dataframe. Here is what it looks like. Example data: TimeStamp [Β΅s] Source Channel Label Value [pV] 0 402600 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to setup a SSL(HTTPS) proxy server using Squid? I want to set up a proxy server on my Ubuntu server that encrypts the traffic between the client and the proxy server. I have: * *Ubuntu 22.04 *domain and certificate *Squid proxy But my problem is that Squid is an HTTP proxy server so it doesn't encrypt the t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: model.matrix for full model I'm modeling "full linear model" (main effects, interactions of the second order and quadratic terms) in R but wondering on how to create all of these possible combinations in the simplest way, e.g., by model.matrix. For example, model with main effects and all possible interactions of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to connect to couchbase databse using spring data couchbase and yaml properties? I am using spring-data-couchbase in my spring boot application to connect to couchbase database and using application.ymal file to configure all the data source. What is connection string for couchbase database and what configurati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uploading file to SharePoint using Microsoft Graph SDK (occasionally) results in 409 conflict response I am uploading file to a folder (i.e., to a DocumentSet within DocumentLibrary) in SharePoint Online using the below code, and occasionally i have encountered 409 conflict error. There is only one process that is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: numpy: how to vectorize this nested loop I have to vectorize the following code: import numpy as np data = np.array([ [[5, 4], [1, 0]], [[7, 4], [0, 2]], ]) print(data.shape) req_coordinates = np.array([ [ [[0, 1], [0, 1]], [[0, 1], [0, 1]] ], [ [[0, 1], [0, 1]], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Launching a designed for iPad mac app crashes at startup: Library not loaded After making my app on iOS with an iPad version, I want to launch the mac version with my M1 mac. dyld[49831]: Library not loaded: /System/Library/Frameworks/ActivityKit.framework/ActivityKit Reason: tried: /System/Library/Frameworks/Activ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting INVALID_FUNCTION_ARGUMENT in QuickSight's data prep when attempting to convert string to date I have a joined dataset that consists of 5 separate datasets. I have there a dataset that has "created_date" named field which is string-typed and the value is always formatted like this: yyyy-MM-dd HH:mm:ss So fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deactivate workflow basic steps timeout in Jenkins pipeline timeout(activity: true, time: 1, unit: "MINUTES") { node ('some label') { <--- deactivate the timeout ---> body ('some label') } } Due to resource limitation, some of my jobs get stuck waiting for available node so I set a timer to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scaledrone ReactJS Chat App tutorial - not working Why is this code not working? Can someone make changes to the code to make it work? Thanks. https://www.scaledrone.com/blog/tutorial-build-a-reactjs-chat-app/ I finished the tutorial and nothing happens, I can't send or receive messages. Can somebody tell what is wr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What happens when you make more database requests than the pool of available SQL connections? As far as I'm aware, in ASP.NET Core when creating SqlConnection's they are fetched from a pool of already open such connections, as the operation for opening a single connection is very costly and expensive, so we're effec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Call objective-c function with NSError pointer from swift code I have this function in my Objective-c framework: - (BOOL)startWithAccount(NSString*)account andUser:(NSString*)user error:(NSError**)error And I want to call it from Swift code, so I create a class and call it: self.loginState.start(withAccount: ACCOUN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: After booting Parrot OS get started with terminal mode I download Parrot OS and installed in VirtualBox, but after rebooting terminal mode come every time and not open in graphical user interface. What to do? I have provided SS Thanks Terminal mode in parrot os I have tried to remove virtual disk after installing os...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add Update In-app Dialogue in my android app made with webview? I want to know how to add an update in-app pop-up dialogue in my android app which I have made using webview. i tried different code which i saw in videos but they were for normal app but my app is made using webview which directly converts my we...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Can't validate last node of linked list I'm trying to make a program where i use linked list to store data of cakes, currently i am making an add cake function. This function will validate a few things. I want to validate so that the input code must not be the same as an existing code in the linked list. Here is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I load images in Next.js only after the necessary data has been rendered on the page? Currently, I have a Home component that receives data from an API and renders it on the page, but I don't want to load all the images at once, as it says that data for page "/" exceeds the threshold of 128 kB, this amount ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using path short syntax in angular templates location TypeScript gives user an opportunity to define path property in tsconfig.json like following, angular related: "paths": { "@env/*": ["src/environments/*"], } then the idea is to use @env import { environment } from '@env/environment'; instead of project root p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ISO 8601 Year- and Week numbers I'm struggling with week sorting. In details: Measure for calculate weeks: Year Week Column: = CONCATENATE( YEAR ([Date]), " W" & FORMAT( WEEKNUM ([Date], 21), "00" ) ) I cannot find a way to put 2023 W52 between 2022W52 and 2023 W01. Can you advise me in this subject? What ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mysql table without id field serializer unkown column id issue I have a table data_stats without the id field that is given below. | Field | Type | Null | Key | Default | Extra +--------------+---------------+------+-----+------------------- | UUID | varchar(36) | NO | PRI | uuid()| EF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How is IP camera bandwidth calculated? resolution: 1.9 MP(1600 x 1200) compression : H264 base medium quality Frame rate 5 fps How can calculate camera bandwith, please give me result with formula. https://www.cctvcalculator.net/en/calculations/bandwidth-calculator/ find this website, but there is no formula.
{ "language": "en", "url": "https://stackoverflow.com/questions/75589757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: JavaScript: join properties of an array I have this array: let checks = document.querySelectorAll("#tableEvents input[type='checkbox']"); checks.forEach(e => { console.log(e.checked); }); checks is then an array of inputs, and the console shows the expected output, i.e.: true false false true My goal is to joi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why does Annotate and Count in Django behave this way? I have two models Post and Tag(given by django-taggit app). So they make use of generic foreign key concept. If i query posts like: posts = Post.objects.annotate(num_tags=Count('tags')) and try to retrieve value of num_tags for first result in queryset like: po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: This is my code and i want to resolve weak warnings in this code this is my code body: SafeArea( child: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.stretch, children: <Widget>[ StreamBuilder<QuerySnapshot>( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mongodb aggregation lookup with conditions in reference table i had try to lookup value from a table and another table in mongodb but i don't get my expected output I have author table with some my fields I have document table with array author_id field contain value reference to author.id db.documents.aggregate([ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75589763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }