text
string
meta
dict
Q: R: Writing Graph Based Functions I have a graph network for a group of friends that looks like this: set.seed(123) library(igraph) # Define a vector of names names <- c("John", "Alex", "Jason", "Matt", "Tim", "Luke", "Shawn", "Henry", "Steven", "Scott", "Adam", "Jeff", "Connor", "Peter", "Andrew", "Dave", "Daniel",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599439", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does PHPDoc affect the behavior/logic of the code at runtime? From my understanding, basically, PHPDoc is just comments, but it aim to describe what the code (function, variable, class...) do, how many params, type hinting... so IDE, and code analysis tools can use that information for debugging, code completion, ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Linux "screen" session script I'm trying to write a script to boot up some screen sessions and to "cd" into the home folder. But this is not working as expected. If I use screen -t 'screen-session:tab1' screen -t 'screen-session:tab2' screen -t 'screen-session:tab3' screen -t 'screen-session:tab4' # This one detach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599443", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i get the data from firestore using iniState to get the widget Im currently creating a pdf report where i can get all the data collection and it's field to be able to appear in the pdf file using widget, now i cant seem to figure it out how to make it appear, and i tried using this method. So i tried this me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change label border color when radio is checked? I need the label's border color to change when the radio inside is selected without using ids. * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif } body { height: 100vh; padding: 10px } .selectable {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add iPhone 5s simulator to Xcode 14.1? Can not find iPhone 5s simulator in "Add Additional Simulators" section of Xcode 14.1 on Ventura 13.0. If I choose iPhone 5s in "Create a new simulator" window Xcode redirect me to Platforms, but there is no any platform for iPhone 5s simulator. How can I add old simula...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to build a distributed service with reacty-netty that could get the userInfo and the connection which distributed in different service? as use the reactor-netty to build a message proxy server , i meet the confuse that i have no idea about how to slove userinfo may caught by different machine when i use d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add up the duplicate values I want to know the total number of tweets by the hour but it gives me duplicates. SELECT DISTINCT datepart(hh,tweet_created) AS hours_tweeted, COUNT(tweet_text) AS total_tweets FROM [New_years_resolutions_2020] GROUP BY tweet_created ORDER BY total_tweets DESC; hours_tweeted total_tw...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there any way to estimate the additional processing time required for concurrent runs of ConQuest? It's not uncommon for me to run multiple scaling jobs in ConQuest [IRT software]. I'm curious if there is any way to estimate the amount of additional time required when running concurrent sessions. Obviously this i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is lowering my screen height hiding content at the top of the screen behind my navigation bar? I have a very simple portfolio page. Literally just an html file, a directory with images, and a CSS file. I have an issue within my CSS styling. When I resize the width of my webpage, everything adjusts responsively a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use two column values of a dataframe to select a value from another dataframe in R? I hope you are doing well. This is the dataset I'm using I want to calculate the change of the BMI of the users of the App. I got the Id's, the first date of record and the last with the following code BMI_results <- weight_l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Connect to postgres RDS via two jump hosts with pgAdmin I have an RDS instance which can only be accessed by a web server. I can ssh to the web server via a bastion. (The bastion has no direct access to the RDS instance). Is it possible to connect to this RDS instance using pgAdmin from my local computer, going thro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Three.js React Three Fiber fit to screen - not working in Portrait I have inherited a function that positions the camera so a plane with video or image fits to screen const vFov = MathUtils.degToRad(camera.getEffectiveFOV()); //@ts-ignore const cameraAspect = portrait === PortraitState.SIMULATED_PORTRAIT ? 375...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I run this assembly language in DEBUG? Write an Assembly Language Program using DEBUG that displays "PAGUYO" at the center of the screen. the "P G Y" are blue and blinking while the "A U O" are red and not blinking. i tried this and it's not working.
{ "language": "en", "url": "https://stackoverflow.com/questions/75599472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to remove the warning unreachable code in ReactJs? function App() { return ( <Router> <Navbar /> <Routes> <Route path='/' exact component={Statistics} /> <Route path='/' exact component={Overview} /> <Route path='/' exact component={Dashboard} /> <Route path='/' e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting error while Configer Linkedin to ERPNext Am using the below documentation for the social media linked in campaigns and trying to make configuration and did how the documentation is guide as per. https://docs.erpnext.com/docs/v14/user/manual/en/CRM/linkedin-settings But Am getting the error like is: I have g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dotnet framework 4.5 dll on dotnet framework runtime v2.0 we have a legacy application developed in .net 2.0 that is running on target framework v2.0 in production. Now, * *Cloned the application into vs 2022, did some code fixes, new dlls are created. *Build solution in Release mode. *Copied the new DLL into pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FOR loop in app.py just prints out last result. SQLAlchemy and Flask FOR Loop problem I am trying to show how much staff assigned for an upcoming Event. For that I have a simple list with the eventname and the .count() of all the assignments from the specific event. In the app.py I have the following code: for singl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Hi i am trying to access the location but it Shwoing unauthorised key but i created key there here is my code * * * * * <meta charset="UTF-8" /> * <title>HERE Autocomplete API Example</title> * <style> * #search-input { *width: 300px; *padding: 10px; *font-size: 16px; * } * #suggestio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I prevent cached modules/variables when using runpy in pytest tests? (Preface: This is a toy example to illustrate an issue that involves much larger scripts that use a ton of modules/libraries that I don't have control over) Given these files: # bar.py barvar = [] def barfun(): barvar.append(1) # foo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When does the move constructor get called rather than the copy constructor? I read a Microsoft tutorial (located here: https://learn.microsoft.com/en-us/cpp/cpp/move-constructors-and-move-assignment-operators-cpp?view=msvc-170) about the move constructor and the move assignment operator and I didn't quite understand...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to hide profiler / FPS counter / HUD when running Flutter app on physical iOS device I am running a flutter app on my iPhone from Android Studio, and there is this FPS counter / performance profiler view in the corner that I can't seem to get rid of (see screenshot below). It does not appear when running in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to change the activation function in Pyspark MultilayerPerceptronClassifier? I am trying to build a Neural network classifier using Pyspark MultilayerPerceptronClassifier. As per the documentation documentation the activation function in the hidden layers is sigmoid by default. I want to change this to 'relu' ac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Create tvOS application using React-Native getting error I try to create new application in tvOS using react native . i run that below code mentioned many sites and official documentation also. After run that code getting error like "error iOS project folder not found. Are you sure this is a React Native project?." ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why can't a div in aspx file fill in whole screen in ASP.net file? The Code A is a aspx file, I hope that the div with id="container" fill in whole screen, but I only get Image A, and the div with id="container" is only a little height, what's wrong with my code? Code A <%@ Page Language="C#" AutoEventWireup="true" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Docker - Cannot Connect With API In Docker I am using Docker version 20.10.22 and VSCode. I have the Docker plugin for VSCode installed. I have a simple ASP.Net 7 Web API that I can successfully test with PostMan. i.e. I can use PostMan with post and get methods and it works as expected. I have created a Docker imag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how omit axis on outer substaract numpy I am computing a table of euclidean (or other) distances. This is a lookup for distances in a space. For 2-d points the lookup is done thusly table[x1,y1,x2,y2]. For instance table[0,0,0,10] should equal 10 and table[0,0,10,10] would be 14.142135623730951. I have a working exa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: drop dataframe rows that contain entries being either -inf or NaN In a pandas data frame, if there have entries being equal to -inf or NaN, how to remove all the related columns. A: If it doesn't matter that you retain other null like values (e.g. None, NaT) then replace -inf with nan and drop columns with any nu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my FSM not result in combinational logic? I'm trying to make a fsm and decoder file. The decoder section gives me no issues, all of my errors point to the fsm part of my code. The main issue are the errors about latches and non combinational logic in my always_comb blocks for the fsm. I already know that I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does my rq worker heroku dyno switch to new deployed code? I noticed that my heroku worker dyno continued working while a new build was being done and succeeded. The worker is still running on the old code, correct? Or is there any process that moves the job to the new code? Thanks!
{ "language": "en", "url": "https://stackoverflow.com/questions/75599505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: StateProvider not rendering app component I am using React-Context-API instead of redux, but after creating the StateProvider and reducer, when i wrap the app component inside the StateProvider in Index.js. My whole app is replaced with a white page on the local host. The code snippets are below. index.js import Rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix the Image inside CircleAvatar when the window is being resized in flutter web The thing is I want the image to be fixed even when the window is being resized , Here's the code : CircleAvatar( radius: 60.0, backgroundImage: const AssetImage('images/profile.png'), ), I tried using SizedBox...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Optimal way to split string into number I've a string in following format XXXXYYYZZ Here XXXX, YYY && ZZ are numbers. I want to get XXXX, YYY and ZZ From the string. I was using sub string to find it. Is it the best way, or is there any other optimal way. A: If the length of the string is fixed. you can use Substri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: what is the rule file matching of command `rm` in makefile? I was required to run a makefile on mint, I input the option 'clean' about: clean: <tab> rm -f test_{a,b}.o I type this order in shells rm -f test_{a,b}.o, and it do delete the file test_a.o and test_b.o, but it doesn't work on Mint OS, but it work on Cent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can they punish me, if I've been using someone's API key? I've found an API key in someone's code and have been using it for a while. Now I'm afraid they'll find me and slap. What should I do? I've tried everything, from text translation to speech recognition. It worked as expected. Do I owe them money?
{ "language": "en", "url": "https://stackoverflow.com/questions/75599512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: R gamsel for generalized additive model - interpretation I have set up a gamsel like this ( X has ~ 60 different independent variables). I am struggeling to interprete the summary and plots: gamsel.out <- gamsel(X,y, bases = bases, family = "binomial") summary(gamsel.out) gamsel.cv <- cv.gamsel(X,y,bases = bases, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom data type to string conversion in C# I'm trying to solve this problem where I'll have to put other variables inside string acc, but I don 't know how to do that. Tried with creating a custom data type and converting it to string but that's not working. Can anyone help me with this ? This is the question: http...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Redirect between different pages in Blazor using javascript? Is it possible to redirect/change pages in blazor using javascript. Is there something that can mimic blazor's NavigationManager in javascript ? I tried using pushState, it does seem to change the URL in the browser tab but there is no change in the view. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Legend Title of Bar Chart with theme() I want to modify the title of the legend, instead of 'attacktype1_txt' I want 'Attack Types'. When using the theme() function, I can not find any parameter to modify the content of the text, just the characteristics. ggplot(data=gtd_top, aes( x = reorder(country_txt, country...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add nested html tags inside reactjs app render function I am trying to view my tableau dashboard using Reactjs frontend framework. I am trying to embed HTML code into my Reactjs App but i am unable to figure it out. function App() { return( <div className="App"> <h1> Dashboard </h1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tensorflow: Dimension mismatch between shapes I'm trying to understand and use a big CNN package. When I enter my own data, during the training step, it returns the following error:line 271, in update_state * self._true_sum.assign_add(true_sum) ValueError: Dimension 0 in both shapes must be equal, but are 2 and 1. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to handle this in dataframe with python programing Acc numb CityName 123456 123456 Delhi 123456 123456 123456 910234 910234 910234 910324 910324 Bangalore 910324 910324 360825 360825 360825 360825 Mumbai 360825 123456 123456 123456 123456 123456...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to do Arithmetic operations between two Ordered Dictionaries in Python ? Please help me I am trying to do arithmetic operations between two Ordered dictionaries in Python. However I am facing the error : "TypeError: unsupported operand type(s) for -: 'collections.OrderedDict' and 'int'" Below is the python code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can I bind base class shared_ptr rvalue reference to derived class shared_ptr? so I know we cannot bind rvalue reference to an lvalue, so the following code won't compile: class Base {}; int main(int argc, char** argv) { std::shared_ptr<Base> base = std::make_shared<Base>(); std::shared_ptr<Base>&& ref ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to display nested headers in flutter? I want to display Header, Sub-header and records. I'm getting all data but problem comes while displaying it.I tried but not getting output.I'm unable to assign the data to specific header and their sub-header. Can someone explain me where I'm doing wrong **JSON Response ** ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Adding text to a cell in table in footer in word document Looking for help in adding text to a cell in a table in the footer section of a word document. I have tried the below to just get information/locate the table however have not been successful $objWord.Visible = $false $objDoc = $objWord.Documents.Open($item.F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete the dulplicate list in list of list if I want to check by spetific index? So I try to delete the duplicate list in list of list by checking just from only one element in that list. I only know to delete the duplicate from normal list, can you guys help me? Thanks! So what I want to do is append just O...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Job scheduling: "distributed" implementation of round robin tree Imagine multi-level round-robin balancer: there are multiple teams, multiple users within a team, multiple sessions for a user, multiple jobs per session. We need some "fair" resource balancing between teams, users in a team, etc. In a classic approach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing function as props in React Native How can I pass a setter function (useState) as prop using navigation.navigate? I have it set up as the following: const [firstName, setfirstName] = useState(''); const [dob, setDOB] = useState(''); const [medicalConditions, setMedicalConditions] = useState(''); const [...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Groupby Multi-Column Sort based on hierarchy I am trying to sort outcome of a groupby by the hierarchy / order of the columns. Example of dataframe: df = pd.DataFrame({'A':['A1','A1','A1','A2','A2','A2','A1','A1'], 'B':['B2','B1','B1','B1','B1','B2','B2','B2'], 'C':['C1','C3','C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Poetry install failing in docker-compose build When trying to do docker-compose build, I am getting the following error: #0 2.217 • Installing pytest (7.2.0) #0 2.249 #0 2.249 RuntimeError #0 2.249 #0 2.249 Hash for commons (0.1.0 /app/commons/dist/commons-0.1.0-py3-none-any.whl) from archive commons-0.1.0-p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS Cognito Signup Lambda Trigger -> Create User Profile I currently have a "post-confirmation" lambda trigger configured in my Cognito user pool. How do I edit this lambda function so that when a new user is created - a new "Profile" Object is created in an existing "Profile" DynamoDB table. A: Here is an example ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javascript flat array - TypeError: .flat is not a function I am creating the function that returns the same string, but with all five or more letter words reversed. Want to make a flat array but it makes the error that TypeError: .flat is not a function. How can I fix this error or make the flat array? Thank you Her...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Automatically delete files when a record is updated in table i have a table which has the fields attachment_id and file_path ,file_path field stores the path from s3 bucket corresponding to the attachment id . is there any way to initialize a method or call an event directly from the model to delete file from s3 whe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Openroad: Dump report in a text file not working in openroad I can only generate reports in shell. But the reports can't be dumped in a file. How can I dump report in a text file. Usual dumping generates an empty file. (Note: some commands have inbuilt output directory generation, but most does not work)
{ "language": "en", "url": "https://stackoverflow.com/questions/75599563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using a vagrant to connect to a docker container(outside vagrant) and both are independent to each other on one host I'm trying to connect to a docker-compose container(which is not installed on vagrant) from a vagrant app running on the same host. How do i enable the communication between them. I have seen there is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular decrypt get responses by cryptjs I need to decrypt the incoming get responses. I can successfully encrypt the post req. Need to decrypt the responses that coming using the cryptjs.
{ "language": "en", "url": "https://stackoverflow.com/questions/75599567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Use one elasticsearch query to link two indices I have two indices in elastic, index_a and index_b, a sample record in index a looks like below "id": "8", "name": "pepsi", "id_b": "13", and sample record in index b looks like "id": "13", "mapping": "15" While searching I will be provided the name from index a for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FileReader should complete onload function first then process further I want to read the uploaded file and send those contents inside file via service API Call. But Onload function executes at last.I want onload function to be executed first then only move to further steps checkInScript(file: File, scriptName: strin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not bind properties to 'DataSource' Springboot 2.7.9 I have upgraded springboot from 2.2.3.RELEASE to 2.7.9, then datasource bean creation started throwing below exception Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.Configura...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elixir httpserver : priv_dir returns something in _build directory, thus I can't send static files that are in source directory I'm starting Elixir and I'm currently working on a basic web server / API. I'm only using plug_cowboy for now, since I'm focusing on learning the basics. The server is using plug :match and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What are Disadvantages of memory upgrade on Hypervisors We have recently upgraded the memory of our hypervisors, but since then we are facing performance issues in our application, the response time is high, queuing is happening on our web servers, Please advise what could be wrong , shall we roll back the memory ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python: No module named 'secrets' - oracledb module I get the following error when running an executable created with PyInstaller. It relates to the module oracledb. Traceback (most recent call last): File "my_script.py", line 1, in File "PyInstaller/loader/pyimod03_importers.py", line 495, in exec_module File...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Pass variable to locator in locator.py file based on page object model design pattern I have a locator.py file which has below locator xpath from selenium.webdriver.common.by import By class gm_Inbox_Locator(object): gm_Compose_email_attached_attachment = (By.XPATH,"//div[contains(@aria-label,'Press ent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LDAP connection error while connecting the oracle database URL : jdbc:oracle:thin:@ldap://ldapserver:389/cn=Manager,dc=test,dc=com Status: Failure -Test failed: IO Error: JNDI Package failure javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=Manager,dc=alation-test,dc=com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NextJS Rate Limit doesn't work on middleware I'm using a rate limit with lru-cache as the official example from Vercel and it works perfectly. But instead of doing the try-catch on each route, I wanted to use it in Middleware to work on all routes. But when I do the exact same try-catch in Middleware, it doesn't wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Program passes test cases but for a single test case the output.txt is empty? Here is the code of the script that tests our code and generates the output.txt for casenum in `seq 1 1 4`; do ./${cmd} "input=input${casenum}.txt;output=output${casenum}.txt" 1>${casenum}.stdcout 2>${casenum}.stderr # compare 1.out wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Why is my RestController not working when I created a new class I have my main class in which I have used RestController and it works fine package dev.rizwan.movieapi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: NMT Compiler OOM spring boot service always oom killer NMT info here Comilper is OOM I need advice enter image description here Currently, I use "- Djava.compiler=NONE" to solve the problem The problem was solved, but the service was slower It used to take 120s, but now it takes 800s I need to solve this problem tho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a special Sankey Diagram in Python I'm an amateur student of Python and I'm intensely drawn to charts there. I want to make a Sankey Diagram in Python and I was watching videos about this in Youtube but... I think most of them just show a really basic form of this. Specifically, my goal is to replicate this c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Lots of small collections affecting GC - iterator vs stream vs loop I have a system that has a lot of small collections that are being iterated and modified (specifically this library code), which results in a TB of memory in the profiler. I am finding that GC is running too much on smaller instances due to this. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Worksheet Id changes after reopening excel sheet in Office 2016 version I have created an excel add-in using Office JS API and I am storing my worksheet's metadata with the worksheet id. When I save my worksheet at that time my worksheet id is "{4BBBF664-CB10-44A3-9B15-B13CBACC4D9A}". But when I reopen the Excel she...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to convert json object to an html svg vector graphic diagram i have a json object which needs to be converted into an svg vector graphic chemistry diagram but idk how to do it The pastebin link below shows what the json object is. is there is there a library that will do it for me so that if i just pas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: only some page giving me an error as Module not found: Can't resolve 'fs' I had this code working already in my project, which import fs from "fs" import { sortByDate } from "@/utils/sortByDate"; import fs from "fs"; import matter from "gray-matter"; import path from "path"; const blogDirFiles = fs.readdirSync(path...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can java lambda expressions reference parent class members using "this" keyword whereas anonymous classes can not? In the following class: public class ThreadTest { public static String name = "Member Accessed"; public void run() { // Anonymous class Runnable r1 = new Runn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rails 6 cable Issue - "Successfully upgraded to WebSocket" I have implemented a chat system with rails action cable. It works in production but doesn't work in my local system. Keep getting this message in logs Was trying to implement chat in rails 6 with action cable
{ "language": "en", "url": "https://stackoverflow.com/questions/75599609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can an `id` of an objet change during the same lifetime in python? My code where I am attempting to identify an object using its id: def serialize_lua_to_python(obj): stack = [(obj, {})] result = {} while stack: obj, py_dict = stack.pop() if id(obj) in py_dict: result[id...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Custom Layer Input-Shape in TensorFlow I am experiencing issues with the input shape while using a simplistic custom layer in my model. I am aware I can preprocess the data outside the model but for portability and efficiency, it is necessary to compile this process with the model. Given my custom layer 'ImagePrepro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot - How to initial data.sql in particular database when there are multi-datasources? Introduction: There are two datasources in my spring boot application and default database is mysql. I want to create a schema and insert data in h2 database. Actual Result: Create them into mysql database. My Try: I study...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring Boot Custom JSON response with different Get Method I developed a spring boot application, in the controller I have a method that returns a list of shops and one of the shop. I want to make different response for different get method, since when you use find all method, not all of the data is necessary, espec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: programming for analytics - I am unable to attach the excel files 1- create a mean function that takes a filename as a parameter and returns the mean of the age column of the birthwt file. the function should open the file, read each row and determine the mean. Use the code we have worked in the previous class as yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Vuexy Template Custom Color With Color Code Has anyone used VUEXY template and customized the colors with color code ? Please provide me with some solution I want to use #ffff as color code in Span. Where should I use the class or customize it?
{ "language": "en", "url": "https://stackoverflow.com/questions/75599621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is it good to use global variables in questions like recursion? I know global variable cause problems in large code blocks, but while solving coding question on topics like recursion it gives you more clarity specially in JAVA, so we should use them in interview or not? How much usage of globals decreases value of c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Path ordering based on particular criteria I have four files (or any number of files for that matter) named file_V2023.2.2_0.txt file_V2023.2.2_1.txt file_V2023.2.3_0.txt file_V2023.2.3_1.txt If I do from pathlib import Path output_path = Path("./") for video_path in sorted(output_path.glob("*.txt")): print(vid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to push product object into an array in liquid file I want to push product object into an array in liquid file. {% assign notebooks = null | sort %} {% paginate collections['entire-collection'].products by collections['entire-collection'].all_products_count %} {% for newProduct in collections['entire-co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you restrict Docker swarm networks so it only accesses limited set of subnet? I want to create a network that would only allow connections out of the swarm to out to a specific subnet say that of an AWS RDS database. Is that possible only with the docker-compose.yml or with docker network create (which in turn ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter, How to solve "Expected a value of type 'List>?', but got one of type 'List' I am passing a List of records to a custom DropDown but got the captioned error. //dataList is a list of record with 2 fields: int id, and String name Widget DropDownList(dataList, val, ReturnSelectedValue) { return DropdownButton...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Best way to obtain function caller's CPU context I am managing standard C++ exceptions and I would like to add CPU context information to them. So, I've created a set of small functions that aid in throwing C++ (std::exception derived) exception objects. One of them is a function to grab the caller's context, then i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Many2many domain doesn't work in form view shown by adding a line in an One2many field I have 3 model A, B and C as described below When I create a new B in A.b_ids I use a separated form view for B that hides a_id. Although after creating that new B, its a_id will be automatically filled with the id of A in the cu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Javascript is not redirecting to the index I am using the following JS code to post directly to an API, however after posting im trying to send it to my "index.html" it does not do that. It actually send me to the API website confirming that it was able to post the request. <div class="formbold-main-wrapper"> <!--...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sending commands to Electron HTML page over the internet using express and ejs I created a server using express js which is being run from Electron. The Electron window is displaying a static HTML page and has some JavaScript. I'm trying to make it so that I can use a web interface to pass information to the funct...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to Change preloader on telegram web app I've made some WebApp on Telegram and that's fine. When my WebApp is loading, there is a small grey animated icon (like a small robot). But I notice that when the "demonstration WebApp Durger King" is loading, the animated icon is different (small hamburger) How to do that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Refactoring in Java: The method setCode(int) in the type Refactor is not applicable for the arguments () I'm trying to reduce code duplication by creating a new class (Refactor.java) to accommodate the methods that are called in two other classes (A and B). This is what I came up with so far: public class Refactor {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Avalonia: DataGrid in TabControl Content Template I want to make automatic creation of tabs with datagrid inside - Amount of Tabs and it's content depends on data files. The tab control has the path TabItem, and the DataGrid sees the path MainWindowViewModel <TabControl Name="TC_TEST" Items="{Binding TtabItem}"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pyinstaller comes with errors when importing backtesting.py module I am using Windows 11 for Python code development. I have a large Python program that uses the backteting.py module. The program works fine when running it using Visual Studio Code or executing it in the console. However, when I create an EXE file us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: While Upgrading Apache Camel from 3.1x to 3.2x in Spring Boot 3, Camel Salesforce Component Throwing Exception Regarding Java.Security.Provider I am working on migrating a Spring boot project that is currently running Spring Boot version 2.7.1 and Apache Camel version 3.1.4. My task is to migrate this project to Spr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom styling in react-tabs seems not working . Bottom border dissaperas as soons as the tab selected I am using react-tabs (https://github.com/reactjs/react-tabs) for my project. I want to add custom styling on top of that. But the styles seems not working properly What is expected: Expected output - without issu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trouble while saving large volume of data in coredata I was trying to save a large volume of data in core data using async/await. The below function works fine for fewer records (5-10K), but when I push the limits and stress test the setup for more than 10K records I get errors on the random lines of code. Below are...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google gapi/platform.js library deprecated: how to use gapi.client.classroom? Google is deprecating its gapi/platform.js client from end of March 2023. We are using the gapi client to interact with the Google Classroom API, first to set the required scopes (including classroom.coursework.me): googleSignInStudentAuth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Log IP Address of Zookeeper in Spring Zookeeper is deployed as statefulset and headless service. That means each of the pod has its unique pod name. So I have 3 ZK pods running with name zk-node-0, zk-node-1, zk-node-2. Each pod can be accessed directly using their unique name. It is not like other deployment type ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75599660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }