text
string
meta
dict
Q: Configure qemu KVM-SVM to not emulate rdtscp and get valid timestamp I am trying to measure the cycle count of an instruction in a VM -- my code looks like this: start = rdtscp(); //complex_sequence_of_instructions end = rtdscp(); //complex_sequence_of_instructions took end-time cycles To the best of my knowledge, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I create dummy data which splits out categorical columns based on inputted %'s? Basically I need to create some dummy data, the columns I need are Money Spent, Location, Month and transaction type. I need the total money spent to add up to a value I enter but I also need to split the other categorical valu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: SpringBoot POST is timeout but GET is OK I'm currently experiencing an issue with my Spring Boot application where POST requests suddenly timeout while GET requests continue to work without issue. My database connection is active and running normally. This issue occurs after the application has been running for abou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Change how JSX curly braces evaluates an Object/Class Instance I have the following snippet of code: import React from 'https://esm.sh/react@18.2.0' import jsxToString from "https://cdn.skypack.dev/jsx-to-string@1.4.0"; class T extends Function { foo; constructor(foo) { super(); this.foo = foo; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gtkmm 3.24 : Drawing with cairo Using Gtkmm 3.24 and Cairo. I'm drawing a diagonal in Gtk::DrawingArea to the full size of Gtk::Window.Then I restrict the rendering area using cr->clip. At the same time, when changing the size of the window, the diagonal is displayed incorrectly. Are there any methods to fix this pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My Bin Folder is not appearing in the directory after executing make install commad I'm trying to install the postgres and Apache AGE from the source but I'm unable to see bin folder after I use the command make install. This is what I am using right now cd postgresql-11.18 # configure by setting flags ./configure ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Effect stuck on first section So I've used this https://www.youtube.com/watch?v=kySGqoU7X-s&t=46s idea for my portfolio webpage, but i cant make it to be on the whole page. It's stuck on the first section, after I've added some content in its div to avoid that. I want it to behave the same when someone is scrolling ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Products added via Magento REST API are out of stock even after specifying quantity I'm adding a product to my Magento store via the following curl but the dashboard shows that the item is out of stock. curl --location '<store_url>/rest/V1/products' \ --header 'Authorization: Bearer <secret_key>' \ --header 'Content...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Delphi 11 / OLE automation with office word : 'Element not found' ( Word.Application.Document.MailEnvelop ) I'm trying to run some 'older' code that did some simple ole automation task in a 'modern' windows 10 / office 365 environment. But I'm getting some 'Element not found' error on some of a statement. I verified...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there something like tap in RxJS that ignores notification type? In general tap pipe is for side-effects such as logging. In my case I just want to set isLoading property to false. The key is this place shouldn't care whether it's next or error type of notification but still tap needs to have it distinguished to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Laravel pick first of many based on "pick chance" factor I'm working inside a Laravel 10 project. I have a model called PingtreeGroupEntry which contains a pick_chance column. I need to pick one of many based on my pick_chance. Right now, I've wrote a relationship that looks like the following: /** * Select a pingt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AJV referencing schema syntax not working We are using AJV as json schema validator in our application. Hers's one of the schema const shared_schema = { $id: "shared_schema", title: "MyProject shared values", definitions: { routes: { enum: [ "ROUTE1", "ROUTE2", "ROUTE3" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to type useSearchParams hook when passing it to props or function argument? I use useSearchParams hook in my component when i pass hook to props or function argument i can't type parameters import { useSearchParams } from 'react-router-dom'; const urlSearchParamState = useSearchParams(); const [searchParams, set...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I Can Change The Divi Mobile Menu Icon? How can I change the Divi mobile menu icon? I want my mobile menu icon to be changed in the Divi theme. A: Please copy and paste the following little snippet into the Divi>Theme Options>Custom CSS box. /*change Divi hamburger menu to X*/ .mobile_nav.opened .mobile_menu_ba...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: blockLast()/blockFirst()/block() are blocking http thread infinitely I am trying to call blockLast()/blockFirst() method after calling bodyToFlux(). Its blocking the whole request forever. public Mono<ServerResponse> getNamesString(ServerRequest request) { Flux<String> names = request.bodyToFlux(String.class...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: git index lock - how to release it - get it back before/after making a git subprocess call I am working on a new merge-strategy to be used during rebases, specifically. I have setup the merge-strategy as a separate git builtin and it seems to be working correctly. The merge strategy will only write on the index/work...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display Menu Items by Pagination using max-width in CSS? As you can notice from the screenshot below, the list of horizontal menus overflows the width of the screen and does not display all the menus: Screen 1 I'm trying to lay out the Menus list circled in red in the screenshot above by pagination by adding ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create several coins account for one user using Coinbase API on laravel Project? I am developing Trading project using Laravel and am going to create Several Coins' wallet for each user Using coinbase API. But I can not find useful Laravel library for Coinbase wallet integration. Is it possible to create seve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Clone web component nested other not work - Vanilla JS I trying to work with web component in Vanilla Js without React or other Framework and I create some web component like this: const actionBlock = document.createElement('action_block'); actionBlock.innerHTML = <li id="act_{0}"> <div class="wf-item wf-item-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to rotate Flutter Map markers to direction when the driver is moving with the package flutter_map? Image in the map but not going true the direction My code in FlutterMap Please can someone help me with a solution to get the car to follow the road
{ "language": "en", "url": "https://stackoverflow.com/questions/75627606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Looking for Omniauth OAuth Provider for development I have a ruby on rails 7 app which uses devise + omniauth for authentication. We have a custom oauth provider which we can authenticate against. This works, even in my local development environment. I would like to be able to decouple the development environment fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Regex.Replace for replacing content inside html tags I want to search for "search" variable that is a searchTerm that occures inside tags (not all content inside tags), and replace this searchTerm with <mark>{search}</mark> so that it highlights. there are several pages that I should search inside and highlight all ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to read headers from body of SOAP on NET 7? How to read headers from body in SOAP on NET 7? This is an example of body: <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Au...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to dynamically allocate Agent Name for New Records added in SQL table I have a Sql table with Upload_date,EntryID and phonenumber,AgentName and Another table Angent_Table with AgentName ,AgentID. I wanted to allocate the agent ID/Name equaly distributed for the newly Synced records every time. Let me know if pos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Jenkins pipeline: separate Junit test results from by source We have different kinds of tests running in our Jenkins pipeline which are archived with the Junit plugin. It looks something like this: ... junit allowEmptyResults: true, testResults: '**/cypress-test-results/*.xml' ... junit allowEmptyResults: true, test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xamarin forms same image has different size depending the way it's loaded I'm loading a list of album covers using a collection view <CollectionView.ItemTemplate> <DataTemplate> <StackLayout> <StackLayout Orientation="Vertical" Margin="8" xct:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to handle dynamic changing ID's? I'm trying to click this with Selenium in Python and I can't find a solution: <span id="button-1299-btnIconEl" class="x-btn-icon save"></span> The ID is dynamic, so it changes every time I reload the page. Also, I tried using these solutions but no luck either: driver.find_eleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent saving images to server if submit is failed? Express, Multer The problem is uploaded images from form are saving to folder even after failed submit. The problem occurs when I'm trying to register user with the same email. I don't want images to be saved in that case. register method where I check if u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: converting json to pdf file and download file using react / javascript I want to convert json data into a pdf file. Can you please point me in a helpful direction? For example, I'd like to convert this json; NOTE: I want to do it without using any library. {"employees":[ {"firstName":"John", "lastName":"Doe"}, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shift elements of an array I'm writing a code that moves all even numbers to the front of the array and odd numbers to the back. So when an array looks like this: int[] a={1,3,2,5, 4, 7, 8, 6}; the output should look like: int[] b={2,4,8,6, 1, 3, 5, 7}; my problem is that the programme should return an array of po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to push ViewController from inside UIHostingController's SwiftUI view using pushViewController? I have a UiKit app using a UIHostingController to show a SwiftUI view. In this view there is a button, which I want to use to navigate to another ViewController. How can I push a new viewController from inside this Sw...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I authenticate with Cognito and AWS_IAM in karate? I'm trying to test an Appsync API protected by AWS_IAM and Cognito identity provider. To be authorised, I need to use AWS Signature v4. Is there anyway I could intercept HTTP requests and set the headers (with the help of an external library, potentially a J...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Calculate time difference bewteen 2 datetime excluding weekend in days hours minutes seconds format I want to calculate the time difference between two datetime. Saturday and sunday need to be excluded from the calculation. For exemple difference between 2023-01-10 15:12:24 and 2023-01-01 10:34:36 is 6 days 4 hours ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Url does not want to navigate flutter I want to share articles, now when I share via socials on my phone and I click the article, it does not take to that article. It only does that when you paste the link on web, meaning the link is correct. Please check where my issue is: void _presentBottomSheet() { final Str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting an error using * incorrect dimensions for matrix multiplication and I can't figure out how to fix it I am implementing the backpropagation algorithm to train a basic perceptron with a single hidden layer to perform binary classification on the ionosphere data set in matlab. I am using ReLU activation fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my text fields gets cleared when I pressed a button that will reveal obscure text in Flutter? I'm trying to make a a sign-in page as side project, it contains two fields of text, Email address & Password, on the password field it has a button that will reveals the obscure text on click and re-obscure the pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RecyclerView Item Size changing while scrolling every time I have a chat RecyclerView, and I want the ImageView to wrap different sizes. When the view loads for the first time it works fine, but on scroll the sizes changes. If possible i want to fit different sizes without losing control of width and height. <androi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: APScheduler not running in Django APScheduler is not running in Django. I want to use the APScheduler library in a Djnago frame to get LINE notifications when a todo list deadline comes up, but I am not getting LINE notifications. Is there something wrong with the APScheduler settings? testapscheduler.py from apsche...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use localized app name for different targets in Xcode We have an iOS project in Xcode where we are using 2 build targets (Build 'Bike' and Build 'Hike'). Each target should have its own localized app name (Bundle Display Name). Example: * *In en-GB: Build 'Bike' name = flat app *In en-US, Build 'Bike' name = apar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to fix blank page error with expo web? I have an expo app it is a dating app. It is working on mobile for both android and ios. But I get a blank screen when running on the web. I get some errors in the console of the browser. Console errors Here's my package.json: { "name": "app", "version": "1.0.0", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create a color plot image from a list of list? Let's suppose we have a list of m lists with the same len (l). For example, let m be 10, and l = 32: from random import randrange m = 10 l = 32 list_of_lists = [[randrange(l) for j in range(l)] for i in range(m)] What is the fastest way to create a numpy ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need to show json file comments by ID on my blog I dont know how to call the JSON file so it will appear in the blog, I tried this method but it wont work. I think I need to use the each loop, but the only thing I get is error. $.ajax({ type: "GET", url: "https://jsonplaceholder.typicode.com/comme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Magic filter like CamScanner using OpenCv in c++ I am new to open cv and using it for my image-based application in android, having no knowledge of image processing whatsoever. I am trying to achieve magic filters like cam scanner and genius scan using open cv. I have tried to change the contrast, and thresholding b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Bar codes printed as black boxes when switching to landscape format I'm trying to print a PDF that contains some bar codes inside. When I switch the format tolLandscape, horizontal bar codes are printed as full black boxes. This is the code I used initially from https://github.com/imTigger/webapp-hardware-bridge/blo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform converting xml content to raw Unicode escape sequence Trying to create APIM operation policy through terraform using the below code resource "azurerm_api_management_api_operation_policy" "example" { api_name = azurerm_api_management_api.hmi_apim_api.name api_management_name = azurerm_api_man...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it possible to push categories of woocommerce products to trash or make them as "drafts" instead of deleting? I work with woocommerce and sometimes i do not want to delete category with products, but to make it temporary not visible on website. So i want to change the status of category as "draft" or move it to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: C++ working with class always gives "me undefined reference to" error Just started working with class and i always get the same error code. C:\Program Files\JetBrains\CLion 2022.3.2\bin\mingw\bin/ld.exe: C:\Users\maxim\AppData\Local\Temp\ccjr18Ld.o:main.cpp:(.text+0x4e): undefined reference to Dog::Dog(std::__cxx11:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to get the Last Change value for each category based on date column in PowerBI? I want to find the latest change of score in each group I have the following data: Period Group Score 1st Feb 1 25 28th Feb 1 26 29th April 1 27 1sth May 1 25 28th Feb 3 28 29th April 3 25 20...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exception: Your app is using an unsupported Gradle project. To fix this problem, create a new project by running flutter create -t app i tried creating new Flutter project and move dart files and assets pubspec.yaml files to it evn tho im facing some different error some on e please help me to slove this i want to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Icons not showing up in ng2-smart-table with ngx-admin theme I am using the ngx-admin theme to style my ng2-smart-table in an Angular project. I have followed the configuration steps outlined in the documentation, including installing the necessary dependencies and importing the required styles in my styles.scss fil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a valid HTML for this box to achieve the described styling? I'm making a box containing multiple tags and an input field that allows to enter a new tag. This box should look and function alike the following tag form from YouTube: This layout is a box that contains the list of already added tags, as we...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django ImproperlyConfigured("The SECRET_KEY setting must not be empty.") error I currently got a Django project and have been tasked to run it locally. Currently it is very large and so the settings e.t.c can get confusing. I'm trying to run manage.py runserver and it keeps giving me secret key not configured error....
{ "language": "en", "url": "https://stackoverflow.com/questions/75627676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a coverage store using the geoserver-restconfig python package? My os is Ubuntu 22.04.2 LTS and my python versions is 3.10.6. I am trying to create a coverage store in geoserver using the geoserver-restconfig python package. Here is my code: from geoserver.catalog import Catalog cat = Catalog(service_u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PyQt Can't delegate combobox in 2 columns of qtableview, only works with 1 I can delegate ComboBox in TableView, but only 1 on 1 column. If i try to add the second one on a different column of the same table it fails. Originally i've wanted to fill in data of combobox in 2nd cell based on information of the 1st cell...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get PHP value using JS in Android Webview I researched a lot on this before asking this question. Even tried ChatGPT. I am using Volley to send HTTP request from android webview to my PHP app that runs in the webview to a specific page for inserting the FCM token that is being generated. This works well but it works...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cognos SQL _last_day_of_month I would like to find the last day of a month with Cognos SQL. When I use the function in Cognos I just get an error message, although the date format is correct (e.g. 2023-02-14). Any idea what I am doing wrong here? A: The _last_of_month function expects a date data type and you are ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I cant get image name to summernote textarea Hi i read lots of pages here and tried everything but i think i am missing something. The code below uploads file to folder but textarea can't get the file name or something, only uploads. Searched stackoferflow for my same problem, tried all but still couldn't be succes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure CDN and Wordpress - 404 loading resources * *I've deployed a Bitnami Wordpress in my AKS (Azure Kubernetes Service). *All resources (wp-content folder) are in Azure Files Shared Premium (PVC) *There is a Nginx Ingress Controller as proxy with TLS. *Currently I am using WP Super Cache plugin with Cache Ena...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Struct reference lifetime issue during construction of the structure I have issue with lifetimes and references. I have three structs: struct Foo<'a> { bar: Bar, lar: Lar<'a> } struct Bar; struct Lar<'a> { bar: &'a Bar } I want to create the final structure like this: Foo { bar: Bar::new(),...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: constexpr in Node handle I would want to ask for clarification about a specific that the standard indicates for the Node handle type. I read cppreference information, where it is specified that Node handle default constructor must be declared constexpr, but this specific is not present for any other constructor, des...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: REGEXP to use for String formatting to group characters and numbers separated with spaces Hello I am trying to format a given string so that it groups numbers and characters and puts spaces ' ' in between. For example the given string: 01ABC23fg98 should give the output: 01 ABC 23 fg 98 Any suggestions? I tried REGE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Function component props remove once i handleChange function call in react js In this function component, use pop up widget show and edit and save once i handleInputChange function call function props (miboid) going to undefined please help, how to solve re-render of react component import React, { Fragment, useEf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to update table using python function iam trying to update a personal details table using the function below but it is not updating. It show that the person's details were updated successfully but the contents remains the same. #======= Update Function ================= def update_data(self): if self.var_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to attach thick client to Ignite running on docker container? We have Ignite running inside a docker container and we would like to connect thick client to it in order to perform some specific operations (e.g. reset lost partitions). Unfortunately we found it unable to do so, because according to the documentati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adaptive Card does not render in Outlook correctlly (Templating) I am trying to send a very simple Adaptive Card in Outlook. Using the designer I have verified that this should work. template= { "version": "1.0", "type": "AdaptiveCard", "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SPSS PROCESS Macro by Hayes: Output not aligned since SPSS update to version 28 I use the SPSS macro PROCESS 4.2 from Hayes. Since updating to SPSS version 28 the output of the macro is not tab aligned anymore. See screenshot: Would appriciate any help on how to get this output properly aligned again.
{ "language": "en", "url": "https://stackoverflow.com/questions/75627717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to check for updates: Error: Service workers are disabled or not supported by this browser Service Worker in Angular send error in console about it not registered. I have a stackblitz code. In console logged errors. I have no ideas how to fix it.
{ "language": "en", "url": "https://stackoverflow.com/questions/75627718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reactive form in angular with multiple components I'm new to Angular and I'm not familiar at all with the best practices and the flow/ communication with data between components. I have what I believe is a reactive form with 3 components. This is my initialization of the form in the parent component.ts ngOnInit(): v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to get/search users from a domain or a sub-domain in azure ad through graph api I am newbie/noob to AZURE AD. I have started understanding the AZURE AD Graph API and trying them in postman. I am still exploring things. Using the AZURE AD Graph API could get the Users, Groups and so on. * *https://graph.microso...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scrolling dynamic website using Python and Selenium I am trying to scroll down the website by using webdriver in Mozilla however the code is not working. That is the code I have written: from selenium import webdriver import time ` browser=webdriver.Firefox() browser.get("https://sellercentral.amazon.co.uk/forums/c/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to push new results from pagination inside component that uses BehavioralSubjects In my angular app I'm using this logic to get paginated results from API: Inside my service I'm creating functions to update the apiResponseBehavior that is responsible to store data from the API private categorySubject = new Behav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony serializer Bonjour à tous, j'ai un problème de parsing d'une entité en Symfony. Je comprends que le problème est lié à l'attribut qui possède une clé étrangère, mais je ne comprends pas pourquoi la solution ne fonctionne pas. enter image description here ` Controller <?php #[Route('/api/register')] publ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Baseline Wandering in ECG Graph Hello I am an iOS Developer. We have an application to plot ECG graph using signals from our ECG device. In my application we plot an ECG Graph but it causes the problem of baseline wandering which is undesirable. The problem arise due to the movement of patient while taking the ECG. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python homework programming I have python homework, most part of homework have done, but i have issues with remaining. So: According to the task we have list of all documents: 1. documents = [ {‘type’: ‘passport’, ‘number’: ‘2207 876234’, ‘name’: ‘Vasily Gupkin’}, {‘type’: ‘invoice’, ‘number’: ‘11-2’, ‘name’: ‘Genna...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python sparse matrix C with elements c_ij = sum_j min(a_ij, b_ji) from sparse matrices A and B I have two sparse matrices A and B where A and B have the same number of columns (but potentially different numbers of rows). I'm trying to get a sparse matrix C with elements c_ij = sum_j min(a_ij,b_ji), where a_ij and b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How Mock CosmosClient? I have the next class that I need to create a xunit test, but I don't know how mock the cosmosclient constructor. public class CosmosDb : ICosmosDb { private readonly CosmosClient _client; private readonly CosmosConfig _cosmosConfig; private readonly Container _cont...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PostgreSQL json field sum based on key and aggregate based on key value Tried with some query loops but cannot extract with simple query sum of fields from array of jsons array objects. Example of object in DB: [ { "bars": [ { "lot": None, "item_code": "S12L06"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: DTO Api Platform v3 Using the v3 of Api Platform, I'm encountering the following problems when working with DTO: * *The @id field looks like "/.well-known/genid/01e546d3f38c0b5d3b8a", and I don't find anyway to get the IRI of the entity instead. *How to initialize the DTO when working with PUT/PATCH methods, in v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Sqlite3 Library in MinGW windows I'm developing a cmake project. I need to use sqlite. System: Clion + MinGw-cmake + Windows 11 I tried to include sqlite3.h. #include <sqlite3.h> There will be error like this: fatal error: sqlite3.h: No such file or directory Added sqlite3 package in cmake. find_package (SQ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ASP.NET VB Nested Listviews problem with the inner listview I am trying to make nested listview. but the inner listview did not displaying. outer is displaying. I have outer listview and inner listview. each has its own sqldatasource. the problem is I cannot get the "subcat" to the inner listview and that is why the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627743", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: undefined is not an object (evaluating 'date.getFullYear') While working on a React Native project,I encountered the following error: TypeError: undefined is not an object (evaluating 'date.getFullYear') This error is located at: in ExpenseItem (created by CellRenderer) in RCTView (created by Vie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generating combination of list items in python I have 3 python lists: x = ["a", "b", "c"] y = ["d", "e", "f"] z = ["m", "n", "s"] I want to generate all possible combinations of these 3 lists, regarding: * *each generated list's length should be 3, *each generated list's items should be in order with x, y, z. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Next project rendering and working very slow Nextjs 13 works very slow and render pages multiple times? Can anyone help me with this? Nextjs 13 works very slow and render pages multiple times? Can anyone help me with this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75627747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Classroom assignment attachment links in wrong format - HTML instead of jpg or pdf I have a google sheet posting materials assignments to Google classroom. These include 'evidence' image and pdf attachments. When the material is posted the attachments are linked as HTML. The code seems to be converting the im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automatic Ubuntu terminal commands get cut First of all, I'm not an Ubuntu expert and I have barely used its terminal so there might be a better way to do this. I'm trying to execute this command over several .fits files: astmkcatalog ${filename} --ids --ra --dec --magnitude --sn --zeropoint=${zeropoints} --brightne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is real_escape_string() necessary when used with password_verify() generated hash? One user is unable to login since he apparently picked a password with an apotrophe ' in the code this is being sanitized $usrPass = $mysqli->real_escape_string($formPass); this is adding a \ before the '. Later in the code I perform ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Failing to retrieve images from the database here is a sample of my code try { // prepare sql and bind parameters $stmt = $conn->prepare("SELECT media_image_id, media_resized_image FROM media_management ORDER BY media_create_date DESC "); $stmt->execute(); $media_results = $stmt->fetchAll(PDO::FETCH_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Postgres, does putting an INDEX on a column speed up RANK() and DENSE_RANK()? I'm using RANK() and DENSE_RANK() to produce more terse primary key columns from various CHAR and INT columns. Postgres is my database system, but I suppose the answer to my question may apply to more systems. My question is this: Woul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: vs code for unity on ubuntu, attemped to update project that is not loaded im trying to get unity working on my ubuntu 22.10. i installed unity version 2021.3.19f1 and latest vs code version with C# extention and a few other extentions. but now im getting this log message and the intellisense not working. Starting O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to use kafka consumers and producers in the same Python file using confluent_kafka I am currently trying to allow for two scripts to communicate in Python using confluent_kafka. The idea is that script 1 produces a message to script 2 for a temperature reading. Script 2 consumes the message from s1 an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: az group export Azure Firewall and restore issue I have a pipeline that provisions my clients clients Firewall and all associated Resources. As part of that Pipeline, I am taking a backup of the Firewall and Rule Collections before release and if anything goes wrong, a YAML stage (via a condition) will use the two b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Docker-compose - facing error while starting container after adding logging option We have Docker version 20.10.21, build baeda1f. It is running fine without logging options in docker-compose.yml but when we specify the logging options and then start docker-compose, it throws an error "ERROR: for Cannot create con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the severity of a console message at the 'TIP' and 'LOG' severity level on Android's WebChromeClient? I have an Android WebView with a WebChromeClient implemented like so: webView.webChromeClient = object : WebChromeClient() { override fun onConsoleMessage(message: ConsoleMessage): Boolean { when (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error when fetching data. Sanity studio v3 and React It can't find any reason why this wouldn't work. I have watched all tutorials doing the same. Any one have an idea? A: there is an extra braces in the query. Write this: const query = `*[_type == "courses"]{ title }`; sanityClie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to extract pattern using sed and awk command? I have a text message in a bash script which I am trying to extract a part of it within a pattern. For example my text string looks like: -----START\nabcdEFGHij\nKLMN\nO/PqR\n-----END\n'This is a sample text.. This is part of a script: #!/bin/sh test="-----START\na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to call deferred functions on SIGINT handling in Go Is there a way to call the deferred functions in the signal handler function instead of re-implement it manually ? Here is an example with multiple steps that take time where I tried to call the defer functions when the SIGINT is received package main import (...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Post echoed checkbox to database in mysql I have a form that i echoed some list of locations, so that someone can select more than one option. I don't have a problem connecting to the database but I have a problem posting checkbox values and text field data at the same time. Below are the codes i have written but va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Need a formula to find the nearest date/time based on a matching criteria * *Hello, I’m pretty new to excel and need a bit of help. In the Delivered tab I need to populate columns Answered and Date/Time Answered with the Answered and Date/Time columns in the Calls tab based on matching the ID from the Delivered ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Login a user in Amplify iOS SDK with Cognito id_token I'm trying to get a user logged in the Amplify iOS SDK with the id_token from Cognito user pool, this is my call: AWSMobileClient.sharedInstance().federatedSignIn( providerName: cognito-idp.<region>.amazonaws.com/<YOUR_USER_POOL_ID>, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get the longest text of a row in some column in the middle of an Excel file? Formulas or VBA are okay I have an excel file in the column somewhere in the middle of which (yellow selected row for example) I need to find the longest text of that row, and do that for each row in that column. I obviously get a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75627782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }