text
string
meta
dict
Q: HERE API : How can i download my daily billing usage data with cost value? I want to follow my billing usage data every month but i need daily values. The easiest way would be to receive a monthly csv file with all details, or to have a way to retrieve it by script automatically. Can you please explain how to procee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Restoring correct file permissions for /var/ Whilst running some chmod commands for Oxid 6, I made the rookie mistake of not double checking what was written fully and managed to chmod 777 /var -R as part of my command How can I restore the default file permissions on /var/* for Ubuntu 20.04 LTS?
{ "language": "en", "url": "https://stackoverflow.com/questions/75590681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Unifi API Client - basic script not working I am using the Unifi API Client from GitHub - https://github.com/Art-of-WiFi/UniFi-API-client. I have a CentOS 8 environment and I setup all the requirements: server with: PHP 5.5.0 or higher PHP json and PHP cURL modules tested on Apache 2.4 with PHP 5.6.1 and cURL 7.42.1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590682", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read txt files in google colab using google drive I would like to read txt files using google drive. In my google drive I have a dataset into this folder '/content/gdrive/My Drive/DATASETS/DOXES/*.txt' the data looks like this 1) For some reason I cannot see in the ending of names the txt, is that a problem? 2) I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: RuntimeError: Given groups=1, weight of size 20 1 5 5, expected input[10, 3, 224, 224] to have 1 channels, but got 3 channels instead my input image is with 3 channels : class Net(nn.Module): def __init__(self): super(Net, self).__init__() self.conv1 = nn.Conv2d(1, 20, 5, 1) self.conv2 = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel validator error with a vuejs form I'm making a form in VueJS, during validation I call an ajax method: submitOnboarding(){ event.preventDefault(); let Form = document.getElementById("light-study-form") if(confirm('Voulez-vous envoyer votre dossier en étude ?')){ this.loadingSubmitF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reset PDF Page Rotation to 0 PDF has stored rotation value which is multiple of 90 degrees. I want to reset the value to 0 without actually rotating it. Is there any way to do that by programmatically? If possible, I want to use https://github.com/Hopding/pdf-lib similar issues bellow * *https://community.apryse.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: searching on Windows update catalog for Office latests updates I am using the MSCatalog powershell script to download Windows updates for Windows 10 LTSC and Office 2016 updates. I asked a question in the github from MSCatalog and someone recommended me to ask here in Stackoverflow: https://github.com/ryan-jan/MSCat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting editMode to be true I'm not sure if this is an ok way to do inertia, but the issue I'm having is that I'm trying to get editMode to be true after posting a form but it is still saying false. <script> import AppLayout from '../../Layouts/AppLayout.vue'; import {useForm} from "@inertiajs/vue3"; import InputLab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Anylogic slider to remove in reverse order I added a slider to control the capacity of a resourcepool call operators. I am assigning a parameter to a number of the operators (e.g. 20 out of 50 of the operators) and the assigned operator will be assigned to operators with index 0 to 19. When i use the slider to reduc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetch user posts from linkedln I have a requirement to get user's LinkedIn post to my mobile app. I do some research on google and setup an app in LinkedIn developer portal. I got this api after search which I believe give access to user post. But while accessing this API, I'm getting error. Could you please help me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MUI Autocomplete: How to update the redux store , when clear input options? I'm trying to do when the user clear the input I have to update the react-redux store. Thanks <Autocomplete multiple id="tags-outlined" options={filters} onInputChange={(event, newInputValue, reason) => { dispatch(appActions.setFilter({ labe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pysebal models run in OSGeo4w shell "I am trying to run the code of PySEBAL models on OSGeo4w shell. However, I am unable to obtain the values for sensible heat flux despite fully checking my Excel input files and Python code. I have not been able to identify the issue, and I am hoping you can help me. Can you guide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Deneb Card containing Text + Bar Chart (Vega-Lite) I'm trying to create a card using Deneb, the card should contain a Measure representing total revenue added as Text, and below it a bar chart that breaks the revenue by month. I have created the bar chart with no problem, but when I add the Text Mark and add the mea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# button event handler not firing in load event in report-viewer I have a button in user control and another button in report-viewer form to load the rdlc. Whenever I click the print button from my user-control and the validation passes, the click event handler in the report-viewer does work when data to be loaded ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Asp.Net core, how can I catch the event that a form was submitted AND has passed clientside validation? Scenario: On a form, I want to disable the submit button when it is clicked and form has passed clientside validation (to avoid double-click double-submits). If I listen to the form submit event, it fires (obvi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Creating js files from proto(golang) I'm trying to create a .js file from my .proto file, but whenever I run command such as pbjs -t static-module -w commonjs -o output.js input.proto on my vscode,it shows error like: internal/fs/utils.js:269 throw err; ^ Error: ENOENT: no such file or directory, open 'input.proto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get-service/?($ Status-eq “running/ft Status, DisplayName, StartType/sort DisplayName. is this command correct? Get-service/?($ Status-eq “running/ft Status, DisplayName, StartType/sort DisplayName. I have a mcq exam where they have mentioned the above command and asked the above command is correct or incorrect Is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Boost Compilation failure - expected unqualified-id before numeric constant static bool likely(const string_type& str) and m_cv_string I was trying to build a cpp application with cmake, but it gives me following 2 error. Boost version - 1.72.0 cmake - 3.12.2 gcc (GCC) 6.3.1 (1) from the look of it, this looks like...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Bar plots at genera level with absolute percentage difference between two groups in R this plot is basically 'The bar plot reports only genera with an absolute percentage difference between H. pylori infected and healthy averages >0.1% and a p-value < 0.05, evaluated by means of ANOVA statistical analysis' I want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to fix this tooltip alignment? how to fix this tooltip alignment. I want to show a tooltip on hover over on "info" link. But i am struggling to make it correctly aligned. If you can look at my code and provide a fix, i would really appreciate (if possible if you can add pagination support on tooltip if descripti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: About [NInput] element defined in 'naive-ui' Library Here I have code like this: <NInput id="pageInput" v-model:value="page" type="Number" :min="1" :max="orders.pageMax" style="width: 160px" /> and I cannot get the min and max condition working for this element for the lifetime of me. I would greatly ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove debug sessions from Firebase Analytics Dashboard? I'm making a new app and currently only I use it as it is in still in development stage. It looks like Firebase Analytics measures every debug session as a new user because in the dashboard I see this: I'm the only user so far, and I would like to turn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: POST request in Azure Graph API Batch is returning BadRequest error I am trying to fetch groups using Azure Graph API Batch. GetMemberGroups is a post request. Sample code: var groupRequest = graphServiceClient.Users[emailId].GetMemberGroups(false) .Request() .Header("Content-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CURL output in an array - simplexml_load_string not working There are many posting on this subject. Having worked on this problem for a day and not found a solution so I am reaching out. I have looked at posting and I cannot see what I am doing wrong: Reference - How do I handle Namespaces (Tags and Attributes with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: there's a way to create class objects dynamically? I have a queue containing a bunch of class objects. If possible, I'd like to get them all and instantiate them as new objects dynamically. Of course, such a description is not possible, but as an image, it is possible to collectively execute it like this. // queueMo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HtmlSpanner library is not able to parse CSS in android? Following is the code: String htmlString = "<p style=\"font-family: Arial; font-size: 18px; color: #FF0000;\">This is an example of an HTML string with inline CSS styles that include a text color.</p>"; HtmlSpanner htmlSpanner = new HtmlSpanner(); CharSequence...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is caching npm ci in Azure Pipelines a bad idea? Today I was looking up some information about caching in Azure Pipelines combined with installing NPM packages. We use npm ci in our pipelines which can take a while. Caching might speed it up (and introduce other risks) and I want to find out if caching npm ci is a g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Laravel Job Queue not saving database changes if one job fails I have a background job that updates data via models. The issue is that when one of the job fails due to errors/exceptions (even when try/catch is used as long as an exception occurred), the rest of the other queued jobs which are successful do not updat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sql code for activity completion in moodle can u give some sql code for knowing the activity completion status in moodle iam fresher to moodle so i have no idea. but i found mdl_course_modules_completion table would be used A: That is the correct table for activity completion - mdl_course_modules_completion Here is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to generate PDF XFDF (or FDF) files to add annotations from custom annotation data model I am developing an Android PDF reader (That is Read Only). I have external annotations that are defined using a proprietary format as the pdf files they are associated with are consumed both in a web and desktop application....
{ "language": "en", "url": "https://stackoverflow.com/questions/75590735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MacOS Ventura; issues linking libmenu from system I'm trying to compile a program using both curses and menu on Cion on MacOS Ventura. I use this simple code as test #include <menu.h> #include <stdio.h> #include <stdlib.h> int cols, lines; int main(int argc, char *argv[]) { initscr(); getmaxyx(stdsrc,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why `ardalis/CleanArchitecture` reference FastEndpoints but not it's own `ardalis/ApiEndpoints` Just need a clarification. I was keen on referencing ApiEndpoints in one of my projects. But when I am browsing the ardalis/CleanArchitecture repo I noted it has been using FastEndpoints ref. The question is why they have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding a row to a sheet using Sheety and Python I’ve been trying to practice adding a row to a spreadsheet using Sheety, and I cannot get it to work. I keep getting this error: requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api.sheety.co/34f63563bea12bad1332ca8a5bb3cae6/workoutTrackerS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pygame incompatible architecture on MACos I have a written a small game that works just fine on my windows computer, but when i run it on my mac i get this: File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pygame/__init__.py", line 92, in <module> from pygame.base import * #...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Symfony access denied exception on dev environment My symfony project throws cache write access denied errors seemingly randomly, only in development and testing modes, and when I send multiple requests in a row. Although it doesn't happen in production, it's really annoying in development. I already checked this li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python / MySQL - Python INSERT INTO not inserting data I'm testing a combination with Python and MySQL. For this example I want to insert data into a MySQL Database from my Python code. The problem I'm facing now is that there is no actual data inserted into the table when I run the SQL command via Python, but it wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Getting this error while trying to decrypt in NodeJS. [Error: Unsupported state or unable to authenticate data] Getting the above error while trying to decrypt image data in NodeJS. Below are the details. * *Algo - aes-256-gcm *Encryption - Golang *Decryption - Nodejs *Data Encrypted - image Encryption Golang ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how can I use the .map() method and print baby in front of each element in the array? const animals = ['panda', 'turtle', 'giraffe', 'hippo', 'sloth', 'human']; const babyAnimals = animals.map((baby) => { return `baby ${animals}`; }) console.log(babyAnimals); I want the code to print ['baby panda', 'baby turt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue loading bar when request is in progress I have an "edit" button on my page, when I click on it I can edit few things and then save or close without saving. I want to add a loading bar (like the page is loading) when the user clicks on the "save" button before showing the result. What I have now is : the user cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert docx to pdf with library XDocReport in Java To convert docx to pdf, I want to do it with the latest method. I get help from this website. https://simplesolution.dev/java-convert-docx-file-to-pdf-file-using-xdocreport/ I add the library to my project and test the code example. Finally I get this warning : WAR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having trouble grouping data using GroupBy Linq I have a transaction table that holds the following fields: TransactionDataModel: TransactionName (string) TransactionType (string) Amount (double) DateProcess (DateTime) IsCredit (bool) I want to find the total amount of transactions done every day, so I am thinking ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: High Available Hashicorp Vault Cluster Installation on VMWare I want to set up a High Available Hashicorp Vault Cluster on our servers hosted on VMware. When I followed Hashicorp's documentation, I found that the most convenient and simple is to use the Raft Storage Backend for a HA Vault Cluster. https://developer....
{ "language": "en", "url": "https://stackoverflow.com/questions/75590758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do i make text position & style not move on mobile mode? My text looks okay when on resolutions above 1000px, but when i resize it to web the text moves and it isnt alligned the same. I tried using resize: none but it did not work text on native resolution text on phone resolution
{ "language": "en", "url": "https://stackoverflow.com/questions/75590760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MapView not showing annotations I'm working with MapKit for the first time, trying to make a simple app that shows all the nearest thrift stores. I don't really know how to work with annotations and have just been searching through the apple documentation and trying to implement their examples. I thought that this c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: To-do list in android app only updates when I switch screens I'm currently working on an app that includes a to-do list, among other things. Furthermore, this list is "linked" to a room database in order to save the ToDo's persistently. Each todo thus contains a name and a checkbox which is set to false by default. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Replicate schema of AWS RDS I want to replicate the schema of an AWS RDS instance (A) to a new RDS instance (B). I want B to have the same structure and databases as A, but I do not B to have the data of A. I want the tables in B to be empty. Is it possible to achieve this in AWS? Both A and B are MySQL instances. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: nuxt3 directives are not included and not defined although using exact docs method Trying to use custom directives in nuxtjs. Using the exact configurations that is used on the docs: https://nuxt.com/docs/guide/directory-structure/plugins/#vue-directives export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Client gets the wrong exception message I would like to get an exception with the message "Password is not correct". This is what I have tried: @PostMapping("/login") public ResponseEntity<Object> login(@RequestBody CustomUserDetails user) { UserDetails userDetails = userDetailsService.loadUserByUsername(user.ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to use assets lib in react native with NX? I have a react native app generated with nx. I want to use an assets library from the app. The goal is to have something like this: import { image } from "@appname/shared/assets"; <Image source={image}/> or: <Image source={require('/assets/image.png')}/> or even: imp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Next-Frame Video RGB Prediction with Convolutional LSTMs Link: https://keras.io/examples/vision/conv_lstm/ I'm doing model AI "Next-Frame Video(RGB) Prediction with Convolutional LSTMs", Link above is predict for video 1 channel (gray), i want doing with video RGB, but it when I finished training the model, the outp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to pass down error thrown in a JS class method down to React component that uses the class method? I am using NextJS and my structure of files is like that -> api --> OnboardingAPI.ts -> service --> OnboardingService.ts -> pages --> Onboarding.tsx In OnboardingService.ts I initiate and call OnboardingAPI and th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NodeJs http request using Interval RxJs I have a problem. I want to send a request to a server each seconds and I want to obtain this result by using interval of RxJs. Here is my code: router.post('' , (req,res,next) => { const sub = timer.subscribe((x) =>{ if(x==2) { sub.unsubscribe(); } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly design register class in C++ accessing register bits by reference I need to design a class which manages the CPU internal registers like CR0, CR2, the MSRs etc. in object oriented manner. The requirements are: * *particular bits are declared as bitfields representing the register values. For instan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Whatsapp webhook not connecting in Glitch I am trying to receive messages from webhook in Whatsapp business API. But I am unable to connect to webhook. It shows an error The callback URL or verify token couldn't be validated. Please verify the provided information or try again later. Here, my callback URL is never...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to rewite CMSSignedDataGenerator to change SignedContentTypeOID? Recently,I used CMSSignedDataGenerator to sign message,I found that SignedContentTypeOID is 1.2.840.113549.1.7.1,I want to rewrite CMSSignedDataGenerator to change SignedContentTypeOID from 1.2.840.113549.1.7.1 to 1.2.156.10197.6.1.4.2.2,coule some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does spring-security automatically disable CSRF when Authorization header (bearer jwt token) is used? I have configured by spring boot application to work as an oauth2 resource server which expects JWT tokens in every request. Im seeing some behaviour with Spring Security such as below: * *If I don't pass a JWT c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pylint server crashing in vscode remote For a python development I am trying to setup env on remote machine, I have installed my python2 virtual environment, added that path in vscode's remote settings, have installed pylint in virtual env. have added path for pylint and pylint interpreter in remote settings. This i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to put common checks for tests separately in pytest? I have a lot of negative tests with step that checks there had no effect to my system. To make sure that, added time.sleep() and then checks the system. Example: import pytest import time class TestIncorrect: def test_incorrect_table(): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: xclip -selection returning last selected text when nothing is selected Problem using xclip to output current highlighted text to stdout: xclip -o -selection When text is selected/highlighted in the desktop gui, it sends that text to stdout, as expected. But if I then deselect the text, and run the xclip command aga...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Command compileC failed with a nonzero exit code Getting error " Command compileC failed with a nonzero exit code" while building c++ xcode project. It happens after upgrading to xcode 14.1 and macos 13.2.1
{ "language": "en", "url": "https://stackoverflow.com/questions/75590791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ModuleNotFoundError: No module named 'airflow' when debugging Airflow inside a Docker container I'm trying to debug an Airflow DAG inside a Docker container using Visual Studio Code. When I run the DAG, I get the following error message: ModuleNotFoundError: No module named 'airflow' I've checked that the airflow m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Powershell: How to add a row to an array, generated by import-csv? I've imported a csv file into the array '$metadata' but I don't know how to add another 'row' to this array. I've read some articles about arrays in Powershell, but still don't get it. The Array has this columns: * *ID *MediaType *Title *Author ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to recover files/data from mount point in linux after reboot I had a mount point disk in my linux. And that contains some large file data. After linux reboot, the files were missing. How can I recover those data. What should be added in /etc/fstab file to avoid such incidents?
{ "language": "en", "url": "https://stackoverflow.com/questions/75590799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Do Anylogic models with external dependencies that need "write" permission runnable on the (Anylogic) public cloud? I am using Google OR-Tools as an external dependency in an Anylogic model. The model runs on the Anylogic desktop version. However, after I upload my code on the (Anylogic) public cloud, I get this err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how use custom query with flask-sqlalchemy how can use custom query with flask-sqlalchemy ? like: db.custom_query("SELECT * FROM something WHERE id = ?", id).fetchall() my query is something like this: SELECT * FROM vacation WHERE vacation.id in (SELECT * FROM users WHERE users.id == 5) and i dont know how can c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Prevent usage of mobile data when transferring files and force application to use WiFi only When I upload files, * *if the mobile data is ON, it uses the mobile data to transfer files. *if the mobile data is OFF, the file transfer happens over the connected Wifi network. The Issue is, I don't want the file trans...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fill and export PDF with XFA Form with keeping digital sign of document I've made a C# app for fill and export PDF XFA form. This is my code(ASP.NET Core Web API with TallComponents/PDFKit.NET: var filePath = document.file_path; FileStream inFile = new FileStream(filePath, FileMode.Open, FileAccess.Read, Fil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Several problems with the basic windows 10/11 apps (screenshot not working, microsoft store does not launch) I have several problems with Windows 11 for some time. Indeed, I wanted to change the rights of modification / writing / execution on my PC because I had been provided a file that I wanted to modify but I cou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Check in Kotlin a collection of obejcts all properties are null but one property is set How to check in Kotlin in a collection (e.g. List) of obejcts all properties are null but one property is not null and is set in a perfomat way. Here is an example, but this is ugly if the data class object has a lot of propertie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL query with self-join scans millions of rows I have an application to work on employee shifts for factories. I have a SQL query to find out if shifts have conflicts: if you have a shift 08:00-16:00 and I assign another shift 09:00-17:00 on the same day, this is a conflict because you can't be in both shifts at ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cut Video without ffmpeg I want to cut video but i don't want to use ffmpeg package is there any other way to trim video in flutter without ffmpeg package ? I want to cut 5 min part from video.
{ "language": "en", "url": "https://stackoverflow.com/questions/75590821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: how to call an external api using rest client or rest template? How to call an external API using rest client or rest template? @Override public LoginResponse login(LoginDetails loginDetails) throws PrepaidException { logger.info("Entering:: LoginServiceImpl:: login method"); try { LoginResponse loginResponse ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: an issue when renew the tomcat ssl certificate we are using tomcat 7 am following the same steps : 1- generate keystore 2- csr 3- import the root 4- import the ssl and both got added successfully. but once i restart tomcat its not taking the new ssl certificate. Steps are: 1- keytool -genkey -alias cs.saac.com -keya...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send requests from android to Elasticsearch run locally on my pc Is it possible to send requests from an android device (not from an emulator) to my Elasticsearch server run locally? What tecnology I should use?
{ "language": "en", "url": "https://stackoverflow.com/questions/75590825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Next JS module ferderation I am trying to create micro-frontend with NextJS, for that I am using @module-federation/nextjs-mf npm package. I have created 2 seperate nextJS projects with Next CLI inside a parent folder. The 2 projects are namely home and reactcomponents and I am trying to share a component from later...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Angular Unit testing with MatDialog - Error: : open has already been spied upon I create a html file with button. After onClickEvent poll appears and next, after click on button "submit" dialog window closes and I would like to call next methods. TS.file: openDialogWindow() { const dialogRef = this.dialogWindow.ope...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to clear the entered text in flutter integration test? In flutter integration test, we generally enter the text by await tester.enterText(find.byKey(ValueKey(key)), value); But can anybody help me in clearing the entered text? A: According to documentation: Give the text input widget specified by finder the fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there an Office Script method to remove ghost items in pivot table? I'm trying to refresh a pivot table with office script and i want to remove all unused items I was expecting something like : pivotTable.retainItems=False; pivotTable.refresh();
{ "language": "en", "url": "https://stackoverflow.com/questions/75590834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to load popup (data-bs-target) in webview kotlin <div data-bs-toggle="offcanvas" data-bs-target="#add" class="m-auto"> <a href="#" class="icon icon-xxl rounded-m bg-theme shadow-m"><i class="font-28 color-green-dark bi bi-cash-stack"></i></a> <h6 class="font-13 opacity-80 font-500 mb-0 pt-2">Add Account</h6> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is javascript module for browser or node Is there a certain way to tell if a javascript module or library is meant to be used on the browser or on node/deno environment? I know that library authors can use the browser field in package.json to signal that a library depends on browser APIs that aren't available in nod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Bar plot in Plotly with constant spacing between random dates I am trying to create a bar plot with px.bar from plotly.express with the following code: px.bar(data_, x='DATE', y='Change') DATE is a datetime column and my issue here is that I want constant spacing between dates i.e. I want the bars to side-by-side an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replica in SYNC WITH TIMEOUT returns 0 for TIMEOUT I have Memgraph 2.2.0 (Docker using memgraph-platform image) running on Windows based computer. When registering a REPLICA instance with the SYNC WITH TIMEOUT mode, then showing REPLICA instances' details, the TIMEOUT for that instance is 0. Here is what I've done: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error in installing Git repo for nvidia-docker I am trying to install the nvidia docker support on my ubuntu 22.04. I ran the following commands: git clone https://github.com/NVIDIA/nvidia-docker.git cd nvidia-docker make the above commands have executed fully. But I'm getting an error when I run the following co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native template image and text editing app I'd like to offer template for social media publishing on a react native app. At first, I was hoping I could use the Canva API but the API is still on the waitlist after month. So I was hoping someone could tell me about a simple API I could use to offer the templates...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WSO2 APIM devportal application settings can the user somehow regenerate the previously created consumer key and secret in devportal? is it possible to disable the user's ability to edit the token expiration time? A: By default, it does not allow generating the same client id and client secret. Only way to do that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NodeJs/MongoDB - lookup function doesnt return results as expected I have two defined two schemas with are filled with data. // Schema 1 const geoSchema = new Schema({ ip: String, lat: String, lon: String, }); const GeoModel = mongoose.model("geo", geoSchema); // Schema 2 const ipAddressSchema = new Schema({...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Client initialization , socket.io namespaces The initialization of namespaces in the client(unity) cannot be done and an error occurs, please help public SocketIOUnity socket; void Start() { var uri = new Uri("http://192.168.1.5:11100"); socket = new SocketIOUnity(uri, new SocketIOOptions { Transport = Socke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generating GPG key with specify hash and ciphers alog? I got a key requirement: * *Type: RSA 4096 *Hash algo: SHA256 *Ciphers algo: AES128 I found a command, but do not working. Does anyone have idea to do that? gpg --digest-algo sha256 --cipher-algo AES512 --full-generate-key
{ "language": "en", "url": "https://stackoverflow.com/questions/75590851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does HETATM affects Phi-Psi angle of Protein? I have a python script to measure the phi psi angles of protein of variable length and consists of multiple chains. But my script is not considering one amino acid residue before and after the HETATM. My input file is "1j73.pdb" which is having modified amino acid at...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel file needing a recovery when I create a file that uses UNIQUE function with openpyxl I am trying to get the UNIQUE entries on a column and later count how many times they have occurred. A B Goose 23000 Duck 6000 Penguin 46 Ostrich 120 def add_statistics(ws, data_start_row, data_end_row): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Uploading files >2GB to CKAN results in Nginx 502 Bad Gateway Using a CKAN production source install, I try to upload files via API or Web interface. The performance is good, and I successfully uploaded files up to around 2.5 GB. Now I need to upload a file that is about 4 GB, but I get a 502 Bad Gateway from nginx....
{ "language": "en", "url": "https://stackoverflow.com/questions/75590856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Docker-compose up I have made a file docker-compose.yml and added code to build version: '3.8' services: app: container name: backend-container restart: always build: . volumes: - ./usr/src/app also downloaded docker and docker-compose docker compose version : Dock...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Integration callback in js file I should integrate the callbacks on the qt-main.js file as indicated in this page: https://qantumthemes.xyz/manuals/kentha/knowledge-base/5-9-qt-kentha-ajax-pageload/ to ensure that the wordpress plugin allows you to continue browsing while listening to the radio. Can anyone help me? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails7+Devise+Captcha: undefined method `users_url' for # Prereq: * *Rails 7.0.4 *Devise 4.9.0 with hotwire/turbo support *Responders 3.1.0 Devise has the default config with config.responder.error_status = :unprocessable_entity config.responder.redirect_status = :see_other lines in it. It works properly w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: display different messages at different time I want to display "text" if its current time and I want to display "text2" after 1 minute but with below code its not working Here is my sample example code function addSomeMinutesToTime (startTime, minutestoSub) { const dateObj = new Date(startTime); const newD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Output Format CUSTOMER.ID CUSTOMER.FIRST_NAME CUSTOMER.LAST_NAME Write a query to print the id, first_name and last_name. To filter the names, concatenate the first and last names to create a combined name. Return the names of customers whose combined names are less than 12 letters long. Sort the results by their co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to add hypens between specific numbers and characters? This is my data set and I want to put hyphens between specific digits and characters. df_t 1 2 3 4 5 6 row_names X2012SGA007930001 1 2 3 4 5 6 X2012SGA007930001 X2012SGA008360001 1 2 3 3 2 6 X2012SGA008360001 X2012SGA009170001 1 2 3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how can print laravel query statment to show sql statmnet I'm using SQL statements in larravel how can print what SQL statement do I try it on laravel 9 to see what it do to perform sql statment A: You should use the toSql() method at the end of your query to show your sql query As User::where('status',true)->toSql...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Aggregate root and large amount of data I have a problem when I need to change a status of a parent model when there are > 100 of child related models. class AggregateRoot { constuctor(private parentModel, private childModels) {} public function updateStatus() { if (count(this->childModels) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75590878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }