text
string
meta
dict
Q: last_request_at value passed as integer in devise I recently upgraded the ruby version of my rails app to 2.6 and I am facing an error with devise. When authenticating with warden the last_request_at value is passed as string. warden.authenticate!(:scope => resource_name, :recall => "#{controller_path}#failure") Du...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: In SSRS ,How to convert UTC time (Server time) to Client using local system time ? Any expression available for this conversion? =System.TimeZone.CurrentTimeZone.ToLocalTime(Globals!ExecutionTime) The above expression does nothing for me. It displays same server time itself. Any other new expressions available for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to uplift the arrow in the matplotlib annotate I have the code for matplotlib HIST and arrow annotate. Here my arrow is not pointing at the points allotted. what could be the problem in the code. Kindly help [enter image description here](https://i.stack.imgur.com/tuPAz.png)
{ "language": "en", "url": "https://stackoverflow.com/questions/75614241", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use ECGPUWAVE? I have downloaded ECGPUWAVE, but I don't know how to use it: I already have Matlab code, how to use this software to run it? Destination is using ECGPUWAVE to process the data set and generate the final processed file.
{ "language": "en", "url": "https://stackoverflow.com/questions/75614248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Setting up LAPACK for Rcpp in Windows I am writing an algorithm using the Rcpp package of R. In my algorithm I want to include the lapacke.h library to use in Householder transformations. Unfortunately, I wasn't able to set it up properly. Essentially, among many things that I have tried, I ended up just downloading...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614250", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to block or blacklist a particular repository or URL in maven? I am trying to build a project from maven from repo_B but the project is downloading artifacts from repo_A, even though the repo_A is neither mentioned in pom.xml or settings.xml, this is very weird. It seems like it is a default for the system. Have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614253", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No integration defined for method (Service: ApiGateway, Status Code: 400) Hi Aws Cloudformation Guys! I am facing the below error when trying to sam deploy my api gateways. I have my api gateway endpoint definitions as openapi yaml (api.yaml) file and attach it to the api gateway definition in template.yaml in Defin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to format big number by country javascript I need to format somehow big numbers by country. Intl Api allows us to format only limited ones. So if I have a long number 12312312312131212312312325444446 I need to map it on Number type and the result is as follows: const LongNumber = '1231231231213121231231232544444...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614259", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react native status bar disappears after building application in apk when starting the project via npm run start the project is started and the StatusBar is present. And after building the project through eas build -p android StatusBar disappears add element <StatusBar backgroundColor="#61dafb"/> export default fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Collision detection of multiple instances of the same object I have a function, "breaker", that makes a square of random size move in a random direction. I can have multiple "breakers" on the js canvas at once. I want them to "bounce off of each other". How can i detect collision of one instance with another? brea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove unused colors from palette using PIL I've written a few scripts that mess around with images and shifting their colors using PIL, and I noticed that when I load in an RGB image and convert it to a palette, it uses the correct colors, but the color palette that it stores includes a bunch of black colors...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ OpenGL Dynamic change of buffer data I make a skeletal animation and for that I must to change vertices. I took code from internet and included it in my code. In the code I calculate bones and to make the model move I multiply bones by positions of vertices. All good, animation works. But for that I must to call...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614264", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saving a tensorflow federated model I have a tensorflow federated model as seen below: state = iterative_process.initialize() where state is the state of the server encapsulating the model. Printing it we have: ServerState(model=ModelWeights(trainable=[array([[ 0.01307054, 0.05205479, 0.16566667, ..., [0....
{ "language": "en", "url": "https://stackoverflow.com/questions/75614269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 403 forbidden when serving static files using nginx Trying to set up a distribution of stytic files with the simplest configuration. The root directory contains a folder static include just styles.css file pwd home/ubuntu/static Create new nginx configuration file sudo nano /etc/nginx/sites-available/static with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: list index out of range IndexError at /en/dashboard/edit-server-request/2/ So i'm trting to edit a form and while submission it shows: IndexError at /en/dashboard/edit-server-request/2/ list index out of range this is the views.py def edit_server_request(request, pk): server_request = get_object_or_404(ServerRe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614273", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to filter on specific rows of an array JS I have a simple array, I want to make a search functionality on this array. I have an input where I enter data to search. But the search goes through all the lines of the object, and I need only lines name and day. How can the code below be modified to implement this fun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i am getting this error : Invariant Violation: requireNativeComponent: "RiveReactNativeView" was not found in the UIManager I am facing this issue on android, any solution to fix this? I tried npm install rive-react-native npx expo install rive-react-native
{ "language": "en", "url": "https://stackoverflow.com/questions/75614275", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LoadRunner _ SAP_GUI_VA01_orderCreation I'm having one issue: My task is to fill 100 lines (articles) in sap gui, having T-code VA01. I did a loop : for(n=0;n<=99;n++) { lr_save_int(n,"lineitem"); sapgui_table_set_text("({lineitem}, 'Article')", "usr/tabsTAXI_TABSTRIP_OVER...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement customizable horizontal calendar? I need to implement a calendar view with a single information like in the image attached. Is there any decent package that is highly customizable as well ? A: Keep in mind you can usually find whatever you want if you spend some time googling. Here's a package tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614285", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wiremock JSON template: basicAuth and doesNotMatch not working I have the following JSON response template for use with Wiremock. The idea is, that status 401 is returned, if username != "username": { "request":{ "method":"GET", "url":"/basicAuth", "basicAuth":{ "username":{ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cloudflare setup with S3 bucket on sub domain I have one sub-domain abc.xyz.com and I want to setup clouldflare cdn for images coming from s3 bucket and want to replace the url of amazon s3 with cdn.abc.xyz.com so that clouldflare cdn will work. How would I do? Thanks in advance. I tried doing it by adding cname bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614290", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Yii2 generate pdf using mPDF I tried using mPDF extension with Yii2. It's pretty old and have not been updated in years. When I try it, I get error below. Just wondering if there is a better newer library I can use? Or did I do something wrong with mPDF?
{ "language": "en", "url": "https://stackoverflow.com/questions/75614293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to fit image child inside the container in flutter here is the output that i'm getting while placing the image as container's child. the image is outflowing the container, i needed to fill inside the container, here is my code. i could've use the decoration image inside the container, but i'm using FadeImage wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get data from SQL Temporal Table with ColumnName, OldValue, NewValue, Date Updated, Updated By Table Structure CREATE TABLE [ShareMaster].[Department] ( [Id] INT IDENTITY (1, 1) NOT NULL, [Name] NVARCHAR (50) NOT NUL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: It seems that Google uses a different version of the API for requests coming from domain Google.com We use the API via the webkitSpeechRecognition class, and have some issues: * *Short words are recognized as an empty string *Numbers are often recognized incorrectly. For example (we use mainly dutch), 907.000 is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Compare 2 Tcl_Objs Now to compare 2 Tcl_Objs, I extract the 2 strings and compare with each other like this : const char* str1 = Tcl_GetString(myObj1); const char* str2 = Tcl_GetString(myObj2); if (!strcmp(str1 , str2)) { // do something } Instead of doing this, is there a way to compare the two objects directl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unity quiz game, problem to make three attempts for each question again Here are my 4 codes that I worked on in English, this question is related to my previous one, there are small changes, but very few, the biggest changes are only that it is written in Serbian there and in English here, I hope you will understand...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Windows node in K8s showing as Not Ready - Containerd is not initialized I am working on setting up kubernetes cluster (Master Node(ubuntu) and Worker Node (windows)) on on-premise using KubeAdm (Calico network). After joining to master node, I observe that node status of windows is not ready. When I describe this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614305", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Where is the best place to store jwt token? In the header? in Database? I am currently working with java springboot and im a newbie. Thank in advance When I first started working with java spring-boot and jwt implementation I heard from every tutorial that the token is stateless and must be saved on the Authorizatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS Code keyboard shortcuts have reset to a different set-up, after reboot I rebooted my computer and re-opened VS Code. Some strange things have happened: * *History has disappeared, so ctrl+r opens an empty list *All of my custom keyboard shortcuts have gone *The default keyboard shortcuts are different from be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614307", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add Source to Transform Sample File is it possible to add source name to my transform source file? I want to use the source file to connect it to another table/Query.
{ "language": "en", "url": "https://stackoverflow.com/questions/75614308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Regex works on all browser except safari I have the following regex \B(?<!\.\d*)(?=(\d{3})+(?!\d))/g which using a lookBehind to change the number "10000000.20" into "10,000,000.20". This would perfectly on all browsers except safari where is breaks. I know this is because Safari do not support lookBehind but I am s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: healthz endpoint on GAE returns 404 I am running an NodeJS application on GAE and trying to have a healthz endpoint to return the service status. I am facing issue where it returns 404 for /healthz endpoint while it works if I were using /health. Is there anyway to use /healthz instead? I have heard about that Cloud...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614311", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Enviroment variable resolution on Azure webjob running locally I'm migrating an azure function to web job doing to the time it takes. The old code before was using Environment.GetEnvironmentVariable("CosmosDbAccountEndpoint"); and it was reading from local.settings.json but as I've read the Webjob is a console app s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to add three condition for my if else to be true, but it is validating just two conditions <?php if ($user->ref_status = 1 && $user->plan = "1" && $user->balance >= "400") { $sql = "UPDATE users SET plan_id='0' WHERE id=$user->id"; if (mysqli_query($conn, $sql)) { } else { echo mysqli_err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to import csv file with double quotes in a string from S3 to Redshift using copy command? I am trying to import a file in csv format from S3 into Redshift. The fail from stl_load_errors is Invalid quote formatting for CSV . Unfortunately I can't handle the source it comes from, so I am trying to figure it out on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614314", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to include a module from another Cookbook's library? I have the following setup: cookbooks/ cookbook1/libraries/prom.rb cookbook2/templates/default/execute.erb in prom.rb: module Prom class exporter # with several methods How can I reuse this module when generating execute.rb? I've tried a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: If .env file is not included in git then how the prod deployment works in ec2 , how the prod code gets access to variables? .env is included in gitignore ,then how do the prod code know the values. I think that the jenkins handle this in order to maintain security , but please someone let me know how this works .Sin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Producing an array from a column in a mysql table using mysqli I am trying use to mysqli to select an array of links from a mysql table. What I want to do is put all of the selected links into an array, so I can then echo them later in a webpage. I want to index by number, like $image_link[0], or $image_link[7], etc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does VideoCapture not work for document scanner? I followed a tutorial for making a document scanner with OpenCV. The program ran without issues when I used still pictures as the input. However, when I tried to experiment and add a webcam as an input the console displayed this message: "vector subscript out of r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Flyway changes performed in previous migration script are not visible to next migrations scripts In a spring-based project, I'm using flyway as a database migration tool. I encounter very strange behavior. Suppose that I have 1 to n migration scripts to execute (mix between JDBC and SQL-based scripts). Flyway perfor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting an uncaught type error in JS but confused on why I am currently practicing while loops and then turning loops into recursion below is an example of code that produces the result but I am unsure why I am getting a type error: const frenchie = { name: "Lokys", friend: { name: "Benken", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting strange translated i18next result I am trying to insert dynamic values into translated text and set these values to bold. However, this gives some messed up result. These are my translation files // en { "common": { "greeting": "Hello <1>{{name}}</1> will see you in <2>{{city}}</2> !" } } // de { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Youtube API v3 - Developer endpoint which uses no quota? I try to develop an internal tool to automatically upload some videos to YouTube. I had some problems with authentication the first tries and there was no video uploaded but the quota was calculated and so after 10 Minutes of development I reached 9600 Quota p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: sequelize-typescript HasMany association throw error I am tring to give the Table User multiple associations, I made one already with @BelongsToMany, but if I try to add @HasMany the console throw this error : SequelizeDatabaseError: there is no unique constraint matching given keys for referenced table "Users" This...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't generate roave/security-advisories audit in json format I am trying to generate a sample output via composer update --dry-run roave/security-advisories --audit-format json as I need to know what the JSON structure looks like. Unfortunately, I can't get it to install packages that have security vulnerabilities,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting vite.js error this error shows me on local host at decodeURI () at viteTransformMiddleware (file:///C:/Users/Ashutosh%20yadav/Desktop/complete%20web%20dev%20bootcamp/React%20js%20course/internship/classroom%20observation%20tool/node_modules/vite/dist/node/chunks/dep-ca21228b.js:60600:19) at call (file:/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614331", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: C++ copy constructor calling with object slicing I wrote a C++ code snippet to test which copy constructor will be called during object slicing. The code is as follows: #include <iostream> using namespace std; class pet { public: pet () { cout << "pet default constructor" << '\n'; } pet (pet & p) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to find the errors on fitting parameters during optimization I am faced with a complex physical model involving five fitting parameters. I wrote a program from the mathematical model in Matlab that fits my experimental data. The optimization function I use is Fminsearch. It takes time, but fits pretty well. Now,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to select a table with timestamp limited precision in Redshift I have to select a table with all the columns. I need the timestamp column with limited precision only. Consider the table emp with columns ename,eid,date. date column has the datatype timezone without timezone. so I want all the data of the table wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614336", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get PHP cURL info such as execute time and number of HTTP request made I am trying to calculate * *No of HTTP request made by cURL to example.com *Total time taken for cURL to get string from example.com *No of Redirect count. Code : function file_get_contents_curl($url) { $agent = $_SERVER['HTTP_USE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614338", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: black and flake8 hooks conflicts Black fail and reformat the following foo1 = foo2[len(foo3):] to foo1 = foo2[len(foo3) :] But Flake8 fails with foo1 = foo2[len(foo3) :] and wants foo1 = foo2[len(foo3):] Unless I am mistaken, in this case Flake8 is right. How to make a pre-commit that doesn't fail with black and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: svg image in TCPDF giving error "undefined array key" I am trying to print this svg into pdf document, using tcpdf library. But its giving error "Warning: Undefined array key "SVGID_00000134227412453953976130000002686031199923870850_"" Note: I am able to print many other SVGs without issues, but this one seems to us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using vuejs 3 and modules with DOM prerendered by PHP without compilation In a current project I work with the fatfreeframwork PHP Microframework. The pages contain recurring sections on multiple pages that only differ in the data displayed. Each of this sections is associated with a plain javascript file to handle ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unsplash wordpress plugin not having scroll or load more option working properly So the issue is I installed Unsplash WordPress plugin to automatically use images in my blog posts but the issue is that that plugin doesn't show the scroll and load more options properly in the media popup box. If someone can fix it th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Create union type for keys of properties with specific shape I have this object structure SomeParamList, where the key is a string and the values may be undefined or a on object of arbitrary key value pairs. I want to specify a union type of the object keys that only include the ones where the value has at least { p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614345", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: mysql select row between 2 time i have a table with time slots, one column with start time, one colun with end time, 12 slots time per day, example : start end value 101 230 10 231 400 11 401 500 12 2216 100 9 integer in column 'start' and column 'end' are time in 24h format. ex : 2216 = 22:16 In t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python FileNotFoundError with os.listdir(sys.argv[1]) Building a malware classifier for a class and I am just trying to implement a loop that goes through every file in a folder using os.listdir() and I specified that the folder is the given argv. I have been stuck on this problem for hours but I can't seem to figur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: PGP key issue while trying to install mysql2 in rails project I am trying to locally install all the gems for a rails project. I have an issue with mysql2. When I try to install it, I have the following error: Fetching mysql2-0.5.5.gem Temporarily enhancing PATH for MSYS/MINGW... Installing required msys2 packages: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614350", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PowerShell use for windowstyle hidden parameter Hy, how to hide powershell script window in windows 10 task scheduler application? This is how I try: -executionpolicy bypass "c:\script\teszt.ps1" - windowstyle hidden but this doesn't work the program starts, the powershell window remains on the screen in the foregro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614352", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i read a cell pdf? I need your help. How can i read a cell in pdf? enter image description here I need to get all the text in the cell.
{ "language": "en", "url": "https://stackoverflow.com/questions/75614354", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: array outside of the class, can't access Why i cant acess the $INI array inside the DB Class? I get always an null value. php/db.php <?php class DB { static function connection() { //mysqli_report(MYSQLI_REPORT_OFF); $mysqli = @new mysqli($INI["db_host"], $INI["db_user"], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614357", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Protocol used by the Azure portal to upload files to Azure storage Files Can someone please help to find the protocol used by the Azure portal to perform file operations in Azure Storage File based on SMB,FileREST
{ "language": "en", "url": "https://stackoverflow.com/questions/75614358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to proxy grpcs messages in C++ in a stateless manner My question is very similar to https://groups.google.com/g/grpc-io/c/Yruej18KJ_M/m/oGp5vYocCgAJ I want to implement a service agnostic gRPC proxy in C++, which forwards the request from the Client to the Server and forwards the response back from the server to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Less with Lit Components I am working on an application which is composed of multiple Lit components. To do this, I have used the @open-wc generator to scaffold the application and managed to create the functionality I wanted. However, I would like to extract the CSS from the tagged template literal and have ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot get ngx-material-timepicker to work in my Angular Project In my Angular 14 project ngx-material-timepicker is not working. It's showing this error: declare (property) TimepickerDirective.timepicker: NgxMaterialTimepickerComponent Type 'MatDatepicker' is missing the following properties from type 'NgxMaterial...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mismatched input 'EXTERNAL'. Expecting: 'MATERIALIZED', 'OR', 'ROLE', 'SCHEMA', 'TABLE', 'VIEW' I'm trying to create this table, but I can't identify where the error is. Please help me, the error message doesn't seem clear to me. Is there a comma or other character wrong? This is the message: line 1:8: mismatched in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the chunk times from pydub split_on_silence? I'm using split_on_silence to split a mp3 file to multiple segments: sound = AudioSegment.from_mp3(TEST_FILE) audio_chunks = split_on_silence(sound, min_silence_len=300, keep_silence=50, silence_thresh=-40 ) Is it possible (How can I do it) to get the o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replace an exact matching string that starts with $ I have a string in QT that is represented as given below. The exact matching text "$steepAxis " has to be replaced with the value "1.4 mm" QString str = "$steepAxisLable $steepAxis"; The final value of the string after replacing the text to be "$steepAxisLable 1.4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: tailwindcss ring-offset has an artifact I get a weird artifact when using a border-radius and ring-offset on a button. You can see in the image there's a small artifact on the corner. Is there any way to fix this? <button type="button" class="flex items-center rounded-md text-xs text-gray-500 underline outline-none...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't my checkbox change when I click on it I am unable to change the checkbox value when I click on it. But when I save it and re-call the API I am getting the expected value. {state?.skuModifierList?.map((item) => { return ( <Panel header={item?.name} key={item.id} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dagger Hilt having issues with AppCompatActivity I recently added dagger to my Java android project and ever since I added the dependency, all the activities in the manifest start showing error stated as: "XYZActivity must extend android.app.Activity" (instead of AppCompatActivity) Whereas in the activity java files...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to have a Optional type in an entity springboot package com.example.Assessment.models; import jakarta.persistence.*; import lombok.*; import java.util.Date; import java.util.Optional; @Builder @AllArgsConstructor @NoArgsConstructor @Getter @Setter @ToString @Entity @Table(name = "assessment") public class Ass...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614382", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mainWindow.skipTaskbar has no effect when I create a window and set the skipTaskbar directly in the configurations, it works: mainWindow = new BrowserWindow({ autoHideMenuBar: true, frame: false, webPreferences: { contextIsolation: false, nodeIntegration: true, enableRemoteModule: true,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring boot Deployment in Websphere We are trying to deploy a Java 8 Spring boot application using Spring data Jpa into an IBM WebSphere 8.5.5.21 server. The application runs fine in Local, but we cannot get it running in WebSphere. This is what im getting an error while deploy. Error starting ApplicationContext. To...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can we store aggregate mediator result payload into a property mediator in wso2? I have list of customer Accounts, by using iterate mediator iterating over customer ID, with this ID calling one HTTP endpoint through call mediator finally using aggregate mediator Iam combining all the result payload and I want to sto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JSZip - how to download the updated file after I change the files inside the zip file I am trying to do the followings: * *use JSZip.loadAsync to read a zip file *update some files inside the zip file *generate an updated zip file and download Here is an example of my code: async function updatezipfile(){ var ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lombok illegal access error when upgrading to Java 17 I am trying to upgrade some of my projects from Java 11 to Java 17. I upgraded my Gradle version to 7.3.3 and Lombok to 1.18.22. Despite that, when I change the project SDK to Java 17, I get the IllegalAccessError that was supposed to be fixed by upgrading Lombok...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I Have A Problem Cloning with Git using https I'm trying to clone my repo from github by writing in the git bash " git clone " and I copied the https and pasted it in the terminal and it says : Cloning into 'ziadAhmed19'... fatal: curl_global_init failed and i tried specifying my name before github and it did not wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Checkstyle not working with Java 17 , worked fine with java 11 I was previously using checkstyle and it worked fine with Java 11 and SpringBoot - 2x, Now I have Upgraded to Java 17 and SpringBoot - 3x and Gradle -7.5.1 But Checkstyle is throwing such error and is not allowing me to build . (error mentioned below) bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: See deleted files between two git branches of specific file type I would like to see the name of all deleted .scss files in a release branch release/1.0 compared to master branch master. I tried git checkout release/1.0 git diff --name-only master But i can see other files than .scss and i can not see if the file i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Drag and Drop between multiple Listviews in Flutter I am building an app in Flutter in which I will need to Drag an Drop between multiple Listviews in Flutter. The Listviews will also scroll when an Item is hovered over the boundaries of the ListViews. This will be an implementation of something resembling a Kanban ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JWT signature does not match locally computed signature - only happens when bearer token is incorrect Can't figure out what I am doing wrong. When passing the correct Bearer token everything works fine. But, when trying to invoke an "Unauthorized" by passing the wrong token I get : JWT signature does not match local...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Division by zero in Python I have a list A. I am dividing each element of this list but whenever 0 is encountered in A, I want to insert 0 in B1. But I am getting an error. I present the expected output. A=[0.0, 1, 0.0, 2, 3, 4, 5] B1=[] for i in range(0,len(A)): B=1/A[i] B1.append(B) print(B1) The error...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: MYSQl Syntax error (1064) on WHERE ... IN (..., ..., ...) I have a problem with my MYSQL QUERY. It's a nested Query with a few joins... I already tryed it with the WHERE IN Clause but i get always a syntax error and i don't know why the eroro is always throwed. Also tryed to make a WHERE clause and followed with man...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Combine each element in a dictionary with a default set of parameters I'd like to achieve a sort of "defaults" for Ansible a dictionary of dictionaries within my inventory variables. I understand that filters may be used to achieve something along these lines, but I cannot figure out the exact incantation to make th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614404", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mypy indexing pd.DataFrame with an Enum raises no overload variant error The issue Mypy gives no overload variant of __getitem__ of "DataFrame" matches argument type "MyEnum" error. In this case the argument type is an Enum but the issue would occur for any other custom type. Here is the signature of __get_item__ be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Found 'CPU is high' in Oracle's trc log file, but CPU usage is less than 25% indeed There is an Oracle 11g RAC database in our system. The server has 2 E5-2403 CPUs and a total of 8 cores. There is the config in the database: num_cpu: 8 num_cpu_cores: 3 num_cpu_sockets: 1 sessions_current: 88 sessions_highwater: 112...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fixing CORS error in Jakarta EE rest service I'm working on a fullstack project I'm using Jakarta rest service for server side & vuejs for client side. This is the Java Ressource class: @Path("/test") public class HelloResource { @GET @Produces("application/json") public Response hello() { JSONPO...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: is there a way to use java reflection to find a class using the classes variable? for example say you had public abstract class class1 { } public class2 extends class1 { String id = "id_for_class2" } public class3 extends class1 { String id = "id_for_class3" } public class4 extends class1 { String id = "id_for_c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Accessing rear facing camera in Javascript Everything works perfect, just require to access only rear camera instead of onchange. This is working on IOS and other browsers. require to click and save. I am able to do it via jQuery, but that won't give me proper result as expected by this script. please help me out to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: spring security: why /error is request again when authentication failed I'm using spring security. when I send a wrong password to authentication, and I debug the spring security, * *then AuthenticationEntryPoint (Http403ForbiddenEntryPoint) will send an error response (403). *But I find an /error is requeste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: combineLatest doesn't wait for observable to emit value I have 2 services which both have a observable, and a component that should get the last emitted value of both observables but the combineLast already fires when 1 observable changes, not both: export class CreateSessionComponent { constructor( private se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to push the helm provenance file to ECR We have a requirement to use signed helm chart and I am trying to push the helm chart and provenance file to ECR but it seems I am always getting error. helm --debug push mychart-0.1.0.tgz.prov oci://<account_id>.dkr.ecr.<region>.amazonaws.com/mychart Error: file 'mychart-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assign rank to cell values based on defined number of ranks I have a series of values that I need to rank by a previously set number of ranks. In this particular case, I need to rank the values in 8 different grades/ranks/categories. There are 56 values, so every rank would have 7 values (56/8=7). I need to assign w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getting doubleclick position from CListCtrl in dialog's OnNotify I have a dialog window (with CDialogEx based class) containing a single list control (report view, with CListCtrl attached as a control variable). I want to check which line of the displayed list was double clicked. I thought it will be just a matter o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Issue on receiving trapv3 on snmptrapd I have a unix machine where is configured snmptrapd. The configuration on /etc/snmp/snmptrapd.conf is the following createUser -e 0x8000000001020304 USRSNMPV3NET SHA "mypwd" AES "mypwd2" authUser log,execute,net USRSNMPV3NET # Format logs for collection by Azure Monitor Agent ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Prompt user input, getting multiple values I am working on a basic Java program, whereby the user is prompted to enter it details. After entering it details, it ask the user if the entered details are correct. If yes, the user details get printed out, if not the user has to re-enter it details again. Now the issue i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Override DOM style for Tabs, header level I have been trying to custom my Tab widget with css_class overriding with it with a style.css as I used to do without previous bokeh versions, although since the 3.0. the same approach does not work. I tried to use css_classes, styles, stylesheet and the only one that worked...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony users in memory authentication leads me too many redirects EDIT: Forget it, I've just added the: - { path: ^/admin/login, roles: PUBLIC_ACCESS } and now it works. I have an issue with login page, it gaves me too many redirects. I saw a lot of posts about it, but I can not found out what could be the proble...
{ "language": "en", "url": "https://stackoverflow.com/questions/75614432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }