text
string
meta
dict
Q: Docker container with Spring Boot application fails trying to connect to postgres I have written some microserices and now i want to dokerize them. I have a problem i can't solve for a long time, maybe you can help me. I have 2 microservices which work with PostgreSQL databases. I created postgresql container and my...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: getting CORS policy error when i try to fetch virustotal api? I wrote a react component to fetch data from Virus Total API which is working fine in local host but its giving CORS policy error when i deploy it.Below is the code i tried setting mode to nocors and i've also added few headers that i found here but no us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592526", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Make a line chart with chart js based on JSON array from API, and have multiple values show in the mouse hover box What I want to do is create a linechart with points that correspond to the JSON data I get from the API. Although I am currently not doing this dynamically I would like to do that down the line, but the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Default export of subroutine (constant) does not work; why? I write some code that creates constants on the fly in a module, and those constants should be exported. However that did not work: It seems the default @EXPORT is just being ignored, because using an explicit qualifier works. I made a kind of minimal examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to restrcit users to their Site in Django? I'm getting to know the Sites framework in Django. One thing I cannot find in the documentation is how to restrict users to "their" sites. Lets say I have example.com and sexyblog.com. Both sites run of the same code base and share the same db using Sites. How to make s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What version of mongoDB do I need to run on a rasberrypi 4 I am trying to install and run mongoDB on my raspberrypi 4 so I can host a project on it. I installed mongoDB following their own tutorial. The problem is when I run and get the status I get these errors: ● mongod.service - MongoDB Database Server Loade...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error when importing Django module in visual studio I am un able to solve this error as I am trying to run it on a django server it keeps throwing these errors
{ "language": "en", "url": "https://stackoverflow.com/questions/75592534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Local variable / recursive function / what to do if the local variable gets redefined to zero everytime the function returns i am a complete beginner and i haven't found an answer to my question. Let's say i want to make a recursive function with the argument 'n' , i.e.: '''And i need to set a local variable''' def ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I access more than one value of constants with the method constant() on twig? I need to access three constants from another file here are my constants: class ServiceOrderItemProcess implements LoaderInterface { public const STATUS_PICKED_UP = 'soip.pcd'; public const STATUS_DELIVERED = 'soip.dlv'; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to redirect calls for localhost in a docker container to host.docker.internal I have a docker compose set up, where we have an nginx server exposing port 80 to the host, an app and a screenshot service. The app can pass local urls, html strings or html files to the screenshot service, which in turn screenshots t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: terraform - load json file from external source (S3) and inject variables into it Consider this: // fruits.json { "fruits" : { "apples": 3, "bananas": 4, "pears": "${pears}" } } In terraform I can do this: # main.tf variable "pears" { type = number default...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: influx db v2.5 API How to make the curl command return output in JSON format for POST request,at present I get the csv format even if --header "Accept: application/json" ,the older version worked fine
{ "language": "en", "url": "https://stackoverflow.com/questions/75592541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uniquely named log file with Timestamp using logback for my SpringBoot application Im trying to create a log file for my application using logback, the file is generated on the path i wrote when i use these configurations in my application.yml logging: file: path: C:\Users\MICRO\Documents\relatorios-web.log ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send File on SOAP API using Flutter I am new in flutter and also I am not working with SOAP API. So can anybody give some solution to send file(like image, video, document) on chunks over SOAP API using flutter. I find some solution to send data over SOAP API using flutter but not a file.
{ "language": "en", "url": "https://stackoverflow.com/questions/75592543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saltstack - win_path doesn't modify system PATH variable as expected I've defined a following .sls state file: npm: chocolatey.installed: - name: nodejs - version: 16.19.1 'C:\Program Files\nodejs': win_path.exists After I apply state above, running sudo salt 'minion_name' win_path.get_path shows me th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert Spark SQL Dataframe to Pandas Dataframe I'm current using a Databricks notebook, intially in Scala, using JDBC to connect to a SQL server and return a table. i use the following code to query and display the table within the notebook val ViewSQLTable= spark.read.jdbc(jdbcURL, "api.meter_asset_enquiry", conne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Yamnet TF_hub - No algorithm worked CUDNN_STATUS_EXECUTION_FAILED I defined a yamnet model of tensorflow 2 tensorflow_hub: yamnet_model = hub.load('https://tfhub.dev/google/yamnet/1') wav_data, sample_rate = librosa.load(wav_file_name, sr=16000) scores, spectogram = yamnet_model(wav_data) I use Cuda 11.4 when debu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where is the code defined in a variable executed after a type-casting to function? There is something that puzzles me about the behaviour of the following code (SMP Debian 4.19.260-1 (2022-09-29) x86_64 GNU/Linux): #include <stdio.h> const char shellcode[]="\xb8\×01\×00\x00\x00\×48\xbe\×48\×65\×6c\x6c\×6f\×00\×00\×0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to set Mac environment variable for desktop app? How to set Mac environment variable for desktop app? Specifically I'm writing an electron application which will run on Mac and Windows. With this I want to be able to set an environment variable MY_APP_CONFIG_PATH (for example) that the desktop electron will th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I write a multiline string into a file without adding characters to the string? I have a JavaScript function where I'm trying to write a PowerShell script to a PowerShell file. This is the function: const script = `$Win32Product= Get-WmiObject -Class Win32_Product | Where Name -like 'Test Client' if ($Win32...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Google Charts interpolateNulls does not work I have a simple Google line chart. When there is a null value the chart does not display at all. Please note in the options I am using interpolateNulls: true. <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javasc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Azure AD integration with Java Spring Security for existing LDAP integration We have a requirement for integration with Azure Active Directory Integration for MFA and SSO features. Our application is based on the Java spring framework. How we can implement this? I have read that I can make use of Azure Domain Servic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wix Installer: Unresolved reference to symbol 'ChainPackageGroup:NetFx45Web' I'm trying to create an installer of my C# app, but I want to install automatically de Net runtime so I choose to create a bootstrapper with wix installer. I installed wix3.11 in windows 10 and wix extension of Visual Studio 2019. I create ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django auth error on azure sql server, can't find object (table) I'm currently building a custom api auth path on django rest framework, the application is connected to azure sql-server. the connexion to the database works perfectly, the table and migrations have been applied to the database, the necessary table hav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Collection view doesnt show anything MAUI this CollectionView doesnt show anything even though its almost identical to my main page's CollectionView which does show things i've checked and itemsSource and datatemplate are correctly bound so is my image source. but it still doesnt show anything the only thing differe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Eas build run gradlew error Execution failed for task ':app:bundleReleaseJsAndAssets' I working expo react native framework, I build my app used "eas build" cmd throw lots of package conflicts error, I fixed all the errors, and finally faced bellow mentioned error, And I tried multiple solution but not working. I tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MDS Model Deploy include annotations It seems that using MDS Model deploy with -includedata does not include history or annotations. Is there a way to achieve this? We are moving to a new production server, and I had planed to set it up fresh. But if I can't move the history and annotations this way, I guess I need ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calling python having imports from 3rd party modules from Java using jython gives ImportModuleError I am trying to create a maven java project which calls python script that have imports from 3rd party modules like pandas. I have installed Python3 and installed pandas using pip command. I am using vsCode as IDE and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Matplotlib : why plot save from jupyter notebook and from Python code are different? I have written a jupyter notebook python script to analyze data and save an image with a bar chart. At the end, I decide to clean my code and create a python script in .py file. However, the plots from my notebook and the plots from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure VPN Client (MacOS) Fails to connect due to Error: getKeyChainSecret I've spent hours today trying to find a resolution but it seems like my Azure VPN Client cannot create the token credential in my MacOS keychain. Multiple coworkers were able to connect, on similar Macs without issue. This is a client failure,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: media query in mass mailing odoo v12 i am trying to add a media query to my custom snippet template, but it does not seem to work, do you have any idea how to make news letter in mass mailing responsive? thank you in advance. * *snippets_themes.xml <?xml version="1.0"?> <odoo> <data> <template id="s_m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scala Anonymous Function Defined as Composition of Two Functions I am a beginner in Scala, and currently studying the fascinating concept of anonymous functions. However, my following attempt at defining one results in a compilation error: def double(f:Int => Int): Int => Int = f(f(_)) println(double(_ * 2)(4)) [er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Excel Match & TextJoin Formula I am attempting to pull multiple results into one cell. Before this happens, I want to crosscheck the date to make sure it is pulling the correct figures rather than all in the referenced cell. This is where I'm up to. =IF(MATCH(1,(Tariff!$A$2:$A$100000=C18)*(Tariff!$D$2:$D$100000=MONT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid code duplication & add common functions like calendar, dropdown etc to cypress-bdd-pom I see lot of different step_definitions having nearly the same use except for the change in locators examples: two step_definitions with same code: check_sidebartBtn_text(Text){ cy.get(sidebarBtn).should('be.visible')...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In my scenario, what does "this" actually refer to? I'm learning React and trying to understand the difficulty of "this". I know that "this" in method will refer to "button" instead of instance of the class without binding "this". So I plan to verify this conclusion, but when I click the button, the browser console ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I get an "unexpected response from server" error while uploading file in Rstudio While I tried to upload a metadata file downloaded from ncbi in rstudio, I got a error message "unexpected response from server" I wish someone could help me with this. I have tried uploading a different file. this failed too
{ "language": "en", "url": "https://stackoverflow.com/questions/75592590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PostCSS and breakpoint Mixins recently i switched from SASS to PostCSS. However still cant figure out how to make breakpoint mixin with map-get (i insalled map-get plugin). So this is SCSS version @mixin bp-max($bp) { @media (max-width: map-get($bps, $bp)) { @content; } } $bps: ( "mob": 480px, "tab": 76...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FileNotFound Error while opening text file in python I'm new to programming in python so currently I'm learning how it interacts with files. I tried to open a file named 'thing' but I can't quite figure out the syntax. (This file is in the same folder as the python project) Basically I'm trying to make it so that th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python code causing error even though I'm just copying and pasting an existing program I am currently learning Python, and going through some written program examples to better understand how they work. I am inputting this written program: In [ ]: age = input('What is your age? ') print('Hello, I am {} yo'.format(a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add a windows Chrome Profile to Ubuntu on DigitalOcean? I want to use a chrome profile that I use on my windows PC on a digitalocean server running Ubuntu. Thing is, I'm not able to figure out where to upload the profile. Google search says I need navigate to /home//.config/google-chrome/ and replace the ‘De...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deep reinforcement learning can be used for continously learning or is there a separation between training and "inference"? I'm interested in applying deep reinforcement learning (DRL) to a problem. However, it is not clear for me how to do that and, in part, this is due to my lack of understanding of some basics. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Visual Studio: how to format each input parameter in a line in function declaration and function definition? I have a function like this void my func(int a, int b, int c); Is there any tool, any way or any VS extension to format (convert) my function as void myfunc( int a, int b, int c); void MyClass::m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I interact with a smart contract if the source code is not verified? I am trying to call getPool from Kyberswap using brownie. network.connect('polygon-getblock-main') print("Loading Smart Contracts...") kyberElasticFactoryContract = Contract.from_explorer('0x5F1dddbf348aC2fbe22a163e30F99F9ECE3DD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to access api endpoint responses results of current tab using chrome extension [chrome.devtools.network] I am developing exetension that need access the current tab api endPoint response from content script ,I tried to access the content api by chrome.devtools.network and chrome.webRequest but unable find a solu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In what situations do you use the .future property? When should I use the .future property in Riverpod's FutureProvider? Conversely, when should I not use the .future property? A: Using the .future property will return... a Future. This Future can be awaited using the await keyword in an async block. The resolution...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shared gRPC protobuf files in multiple projects is it possible to have for example one project for storing only protobuf files and other projects which links these shared protobuf files and compiling it with protoc? I have quite big microservice architecture with multiple gRPC channels between each microservice and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GraphQL Ruby: is there way to detect n + 1 issue? I'm trying to detect n + 1 issue(s) in a Ruby on Rails + GraphQL API created by my predesessor. Firstly, I tried famous bullet gem which logs warning when n + 1 issue occurs. However, it doesn't log GraphQL query body. It only logs HTTP method and endpoint, which is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SQL INSERT FROM SELECT +1 FIRST ROW I want to make a SQL script where i update the first row of a select with a value 1 higher than the max in the table. My thought was to do it like this: UPDATE WEARER W SET W.WEARERNUMBER = ((SELECT MAX(W2.WEARERNUMBER) FROM WEARER W2) + 1) WHERE EXISTS (SELECT * ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I setup a wrapper for python that loads env variables and runs other python scripts? For various reasons, our python libs require some internal env variables to be set. What I'd like to do is create a shell-like wrapper around this, something like so: from dotenv import load_dotenv from pathlib import Path i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to create this border using css only enter image description here How to create this border using css only
{ "language": "en", "url": "https://stackoverflow.com/questions/75592617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Avoiding code duplication in step definitions I have following navigation path for an airlines site: Page1--->Page2(booking engine/booking happens here)----->page3(giving booking number)----->page4(opening booking details) Page4 have two pop up links upon clicking on which each it opens two popups. I have to check b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Please Give me API for checking gst number valid or not i want to make a project in C#that contain textbox and button, i enter gst number in that box and hit the button, After that it will go govt api service and give the response this gst number valid or not. I made the code structure but unable to find API and doc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How can i protect my string (Contains Api key OpenAI) from reverse engineering flutter I want to publish my flutter app to the google play store, but i was thinking is my api key safe, can other people don't acces my api key and use it on my cost? So i found out that my flutter app can be reversed engineered and the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Minecaft Fabric 1.19.3 EventListening when Player joins Server (Client) I am trying to find a packet or a method to listen to when a player joins the server your in. I didn't find any packet or class the nearest think I found was the spawn player packet but this happens when a player enters view distance. A: It see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can @grpc/grpc-js dynamically unpack google.protobuf.Any type? I work on a gRPC client using @grpc/grpc-js, and I have to handle application-specific errors by reading the details array of the google.rpc.Status object. Is it possible to dynamically unpack the error object without knowing the possible errors upfront?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can set MOD_WSGI_MODULES_DIRECTORY in config of WSGI server? I have installed XAMPP, include Apache 2.4 . I want run WSGI server via cmd using "mod_wsgi-express start-server" I cannot run WSGI server because on the way of running is variable ${MOD_WSGI_MODULES_DIRECTORY} that is set on wrong path (for example ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert the text Infinity back into the original value Here is the scenario var input = 5.56e2436; If I print the variable input in UI it shows the result as Infinity. I'm expecting the actual value of the input variable, which means I want to show the 5.56e2436 in UI on HTML page.
{ "language": "en", "url": "https://stackoverflow.com/questions/75592633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Component Cart not re-rendering when element in context changes I've got a problem here hope someone can find it: I have this simple cart modal component: import Modal from 'react-modal'; import { useContext } from 'react'; import { ProductContext } from '../context/ProductContext'; import { CartProduct } from '....
{ "language": "en", "url": "https://stackoverflow.com/questions/75592634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does PyWaffle raise a UserWarning and produce an unexpected pictogram with the "icons" argument? I have been trying to follow the steps described in the PyWaffle documentation to use icons instead of the default blocks. Yet even when I run a simple example that I took from Python-Charts.com: from pywaffle import...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Disable Submit Button or Data Validation I am new in creating a script or let say 0 knowledge in using one. I was able to manage to create a database, a simple inventory using google sheet and appscript from a sample in your website. Everything works fine. Here's the script function submitDailySales() { var ss ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Groovy extension input syntax in Kotlin DSL I have a Gradle plugin which is in groovy which takes input via PluginExtension class PluginExtension implements GroovyInterceptable { private final Project project private Map<String, ?> staticTokens private Map<String, DynamicToken> dynamicTokens private...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to disable or prevent output cache in Asp.Net Core 3.1 MVC for specific block(s) in View? My IActionResult Index method has [CacheOutput] attribute but there is an anchor (<a href="/mycontroller/myaction"></a>) in my Index view that href attribute sets dynamically. Because of [CacheOutput] attribute...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to un-import Shared Object cleanly in python3? Using pybind11, I bind my C++ code to Python3 in two shared objects: A.so and B.so . They all use the same libprotobuf.so. If I import them together, an erro occured: [libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592642", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: build-impl.xml:1058: The module has not been deployed I am getting this error when using Apache Netbeans 16 and Tomcat 10: I could not find the appropriate solution. I already tried few methods like allowing all permissions to the user in Apache Tomcat, restarting NetBeans and stopping the Apache Server and context...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: VBA code to find and replace double quotes in .xls in notepad I need to replace double quotes in .xls SAP export file in notepad to be able to load it into excel and do other steps. The problem with .xls is that some double quotes are not finished and it causes the file to concatenate multiple rowsinto in when openi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to concatenate datasets in Talend? I would like to take two different datasets as an input and get the as an output the concatenation of the two datasets. There is a function in python pandas that do this job, called concat (https://pandas.pydata.org/docs/reference/api/pandas.concat.html). Is there a simple way ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592645", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to add a div which has rows and buttons next to a mat tab label I have a mat tab label and this mat tab has a table inside so I need to add a option box next to this mat tab label , every time I add this option box as a mat tab it doesn't work; how do I do it? I added the content of this selection box inside a m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get text from the tag without children tags For example: there are two div blocks, div2 inside div1. I need to get content from div1, exclude content from div2 using bs4 my code: <div> <div id=1>Text 1 <div id=2> Text 2</div> </div> </div> expected output: Text 1 A: Here is a possible soluti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Start a process from a systemd service that won't be killed when the service is stopped I have a .NET 6 application that runs as a systemd service on Linux. This application executes another program with a command like the following: var process = Process.Start(new ProcessStartInfo { FileName = "foo", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Domain Migration and Domain Email Data at Google Workplace I am using Google Workspace with my company domain email id. My concern is my domain is at Namecheap. I want to transfer my domain from Namecheap to GoDaddy. If I transfer my domain will i lose my Email Data? The DNS change will affect my previous emails? If...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why are messages not consumed from queue when using camel (IBM MQ)? I have this route from(DOWNLOAD_FILE_FROM_SFTP).routeId(DOWNLOAD_FILE_FROM_SFTP_ID) .onException(SftpException.class) .process(e -> loggingUtils.logError(...)) .handled(true) .end() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find out what ZOrderPosition is at front of the z-order? Do you know of an easy method to find out the count of Excel Shapes on a sheet which are considered in the ZOrderPosition property? With other words: Is there a way to find the top Shape in the ZOrder and read its ZOrderPosition? Best, it should be las...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: External USB or GigE Camera on an iPhone I'm working on a vision project that is capturing videos with a dedicated app on an iPhone. Since the footage was only used to replay and watch, the rolling shutter effect was no issue. Now the idea is to use the footage for computer vision. So a global shutter camera is a re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: echarts-gl in electron - react TryConvertExpr Error i am using the electron-react boilerplate and i want to render a 3D bar plot using echarts, echarts-gl and echarts-for-react but below error occurs in ReactECharts imported from "echarts-for-react" (2D plotting work perfectly): Uncaught Error: Invalid expression. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Confluent Kafka missing methods for .NET I am using Confluent.Kafka package v2.0.2 that I downloaded via NuGet in a .NET project in order to create a Kafka Consumer and I noticed that Confluent's docs (this page for instance) include many methods that this package don't such as: Poll(), OnMessage(), ConsumeAsync() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to resolve module specifier "@reduxjs/toolkit". Relative references must start with either "/", "./", or "../" I'm creating an app with Vanilla js and Typescript. I want to use Redux tool kit so i used it like this. import { createSlice } from "@reduxjs/toolkit"; But the error has occurred. I tried change pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Where should I install Cypress? What are the limitations of running Cypress tests in it's own repo as opposed to within the main application repo? I'm putting together a proof on concept for my team to make the move from Selenium over to Cypress to do E2E testing. We have front end and back end both in different rep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I was trying to build source file but got the build error which is about Bock end and Block mapping error Block end and block mapping start Can i know the solution for this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75592671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: VBA Copy and Paste based on title matching I have written this code to copy values from Worksheet1 to Worksheet2 based on matching ID numbers. I want to make it more efficient by also being able to recognise in what column the data needs to be pasted without using the Offset(,3) to paste the values 3 columns away fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Real time notifications from a Postgres function I am trying to execute a function in Postgres which contains a number of Raise statements for debugging and info. While I am able to connect to DB and get raise statements using conn.notices(). These are not printed to python console on a real time basis and are only ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Docker in Ubuntu docker container - mount: /sys/fs/cgroup/...: permission denied * *I installed Ubuntu in a docker container docker run -it --privileged -u root --name ubuntu-vm ubuntu /bin/bash *Installed docker in Ubuntu according to the official instructions https://docs.docker.com/engine/install/ubuntu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592681", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to implement viewPager for TextViews? I trying to implement ViewPager with dots. However, I have done it with images, but I want to replace the pictures with textView. So each time the user swipes the page a different TextView will be shown. private Integer[] images={R.drawable.s2,R.drawable.s3,R.drawable.s4,R....
{ "language": "en", "url": "https://stackoverflow.com/questions/75592683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: parse_str is giving only 39 results when there are 40 I have a query string which needs to be converted into an array. i am using the parse_str to convert it. When i am sending it a top of 40 employee_ids i am getting only 39 as an array can anyone help me with whats happening here. Query String: parse_str('"3365175...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Import SQL has been successfully, but it's error I tried to import an sql to mysql databases, the warning says "Import has been successfully finished, 15 queries executed. (inv-barang2.sql)" but it also shows an error like below: Error SQL query: Copy -- -- Database: `inv-barang2` -- -- --------------------------...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to take optional user input using asyncio? I am trying to take input asynchronously using asyncio routine. As input will be taken only occasionally, asyncio is preferred over threading. Once the input is entered, the coroutine should call something which affects the main thread execution. Example passing informa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Change Realtime DB security rules from test to locked mode How to change Realtime Database rules from test mode to locked mode ? I build my app using realtime database and started it in test mode now i want to apply security rules in it for every individual user. But i don't know know to do it. And I haven't find an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vaadin - Calling Java from Javascript doesnt work anymore with $server I have a Java class using Vaadin to call Javascript from Java: @StyleSheet("https://cdn.jsdelivr.net/npm/shepherd.js@10.0.1/dist/css/shepherd.css") @JavaScript("https://cdn.jsdelivr.net/npm/shepherd.js@10.0.1/dist/js/shepherd.min.js") @JsModule("...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there any easier way to handle multiple backends in application gateway using terraform .tfvar files and/or .tf files Multiple backends need to handle with locals in terraform, please suggest if there any easier way to handle multiple backends in application gateway using terraform .tfvar files and/or .tf files E...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use a pre-trained model to classify images in 50 categories of my choice As I said in the title, I would like to use a pre-trained ML model like InceptionV3 or similar to classify images from Instagram profiles. I'm currently using PyTorch and I can correctly made inference on the models that I'm trying, but I'm not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to read directory that contains different parquets in parts? Given a parquet dataset with a job_id abc, saved in parts as such: my_dataset/ part0.abc.parquet part1.abc.parquet part2.abc.parquet It is possible to read the dataset with vaex or pandas: import vaex df = vaex.open('my_dataset') import pandas ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: v-date-picker date format to DD-MM-YYYY vuetify I have a Vuetify date picker that loops through and I need to format the display date to DD-MM-YYYY. I tried with dayjs but it wasn't working. The template: <div v-for="(shareholder, i) in shareholders"> <v-menu :ref="'dob'" v-model="modals[i]" :close-on-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pytorch Distributed Data Parallel loading data with several dataloaders simultaneously I have a bunch of dataloaders was generator inside. class H5Dataset_all(Dataset): def __init__(self, h5_path): # super(dataset_h5, self).__init__() self.h5_path = h5_path self._h5_gen = None def _...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting this error while installing Angular: node:internal/modules/cjs/loader:1078 Node.js v18.14.2 node:internal/modules/cjs/loader:1078 throw err; ^ I tried deleting node_module
{ "language": "en", "url": "https://stackoverflow.com/questions/75592706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sections in the separate background color I am working on a project which is to be able to insert a table of 3 boxes with a number, a status and an image I display these 3 elements without problem. But when I want to put a background color css, it separates into several and sections and therefore does not take into ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jakarta EE - Authentication with Kerberos I would like to implement a Login with the help of Kerberos. For this I found a tutorial which implements an authentication with Kerberos for a stand alone app with arguments from command line. Here is the link of the tutorial: https://www.parks-informatik.de/blog_en/windows...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testcafe scripts are failing over firefox browser, not able to load iframe with latest version , same thing is working with testcafe version 0.23.2 Testcafe does not able to load iframe with latest version over firefox browser, but the same thing is working with node version :-14.15.4 testcafe version :- 0.23.2
{ "language": "en", "url": "https://stackoverflow.com/questions/75592712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to close messagebox of tkinter automatic after a few seconds in python trying to open and close a popup window without waiting for the user's response. I have tried: root = Tk() root.withdraw() try: root.after(TIME_TO_WAIT, root.destroy) messagebox.showinfo("Output", "somthing") e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we implement 4k video quality in Flutter app? Can we implement 4k video quality in Flutter app. If yes then how? I tried some pub packages but max it gives is 720p and it doesn't look like 720p. Both image quality and video quality is bad, though vector images are great so I vectorize most image but still it onl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Ensure this "Optional" could never be null and remove this null-check I am using Spring boot and analysing my code with sonarqube, on the below line Optional<Animal> animal = animalRepository.findById(animalId); if (animal == null) { throw new DeviceNotValidException("Failed to found animal detail", new...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to cast JsonWebStructure object to JsonWebEncryption object in java? import org.jose4j.jwe.JsonWebEncryption; import org.jose4j.jws.JsonWebSignature; import org.jose4j.jwx.JsonWebStructure; JsonWebEncryption jwe = null; try { jwe = (JsonWebEncryption) JsonWebStructure.fromCompactSerializati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }