text
string
meta
dict
Q: Spring Boot Test uses Repository method with @Lock I have a Spring repository that uses pessimistic locking for writing purposes: public interface UserRepository extends JpaRepository<User, Long> { @Lock(PESSIMISTIC_WRITE) @Query("SELECT u from User u WHERE u.id = :id") Optional<User> findBySpecialIdFo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress in AKS with Nginx - Not loading images first time I have a Wordpress (Bitnami helm chart) deployed in my Azure Kubernetes Service with NGINX as proxy. This is the following architecture: * *Wordpress is connected with Azure Database MySQL Flexible (wp_ tables). *The wp-content folder (Plugins, Images.....
{ "language": "en", "url": "https://stackoverflow.com/questions/75618033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Do I have incorrect format in my Display() method? This is my error message: 'Input string was not in a correct format.' I am going by exactly what my book says to do, and I went over all my work. I keep coming back to this error.
{ "language": "en", "url": "https://stackoverflow.com/questions/75618035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: Function invocation failed: TypeError: Cannot assign to read only property 'exports' of object '#' This is my code, const express = require("express"); const serverless = require("serverless-http"); import axios from 'axios' const app = express(); ..... module.exports = app; module.exports.handler = serverless(ap...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: nest.js dto and schema for array of objectId's I am having a nest.js DTO field contains array of ObjectId's: @IsNotEmpty() @IsMongoId({each: true}) @ApiProperty({ example: ['63e0ec1d6eae1c8888445efb', '63e0ec1d6eae1c8888445efb'], description: 'List of students', }) public students: ObjectIdType[]; and my Nest.j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to keep streamlit ag-grid selected rows after page update? I'm currently working on a real-time metrics dashboard with an AgGrid table to display the data. To keep the data up-to-date, I would like to reload it automatically every 15 seconds. I've tried using st_autorefresh to accomplish this, but I'm facing an ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Identify and create a list of all the misspelled words in new column I would like to apply SpellChecker function to identify all misspelled words in each sentence, then create a list of those misspelled words in a new dataframe column. For example, Input: ColumnA I tried many times to iddentify misspelled wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: elasticsearch – how to filter term on an object inside an object inside an array? Assuming a mapping including this for events: "events" : { "properties": { "type": { "type": "text" }, "user": { "type": "text" } } }, I have seen a lot of information on...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to install React native app on iPhone locally without using Expo app? Can we run React native app on Iphone locally without using Expo App ? In android native app development ,we can create .apk file and run locally on every android device using it. Is there any way to create such file in react native to install...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adobe Acrobat javascript mouse up even for signature fill & sign I created a form in acrobat for work, and what I am trying to do is a document level javascript, that when you click in the signature box of the form it opens the fill& sign option, so that a person can sign the form. I am needing to avoid the digital...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Searching using Match with NEST does not return results I'm trying to perform a full text search. On the Elastic docs it says "Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching." But this is not happening on my end. As an example lets say im tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MS Teams Automation : Make a call from MS Teams I need to automate Dial a call from MS teams to 3rd party IP phone. I am searching for APIs to automate the same. I tried to use Gaph API but not able to generate accees token. Can any one help here please. Thank you so much. Regards, -kranti
{ "language": "en", "url": "https://stackoverflow.com/questions/75618056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fix file load error in PowerShell: 'file is not utf-8 coded' The file load error keeps popping up after I added contents to the file by using commands. I was working on Windows PowerShell on JupyterLab. Firstly, I created a new file using the following command: New-Item -Path "test.txt" I managed to open the file a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to install a package normally and force I am trying to install dependecies but one package name swiper wont install and I get following error npm ERR! path C:\<pathname> npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c C:\Users\<user>\AppData\Local\Temp\postinstall-44397e4b.cmd n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jenkins DSL, Get "stage logs" as list and print the failures I am working with Jenkis [DSL] Do you know a Jenkins API to get all the logs of the JOB? For example, there is a method to get console output: def x = currentBuild.getRawBuild().getLog() If there is an API, is it possible to convert the stage lofs to a l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Trying to Send and Receive data TO and FROM an ESP8266 Webserver Page (need some help) I am working on an Automation project. I am stuck on getting data from my webpage (an updown number value when pressing a button) back to my ESP. I had successfully send data from ESP to the webpage. I am in progress of developing...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I translate Hex file of eeporom 24cxx to readable text using arduino Translate the hexfile to readable text I used the usb programmer to extract the hexfile so if anyway to translate to readable text from the heck file 24cxx eeprom
{ "language": "en", "url": "https://stackoverflow.com/questions/75618065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Gantt Chart in an integer scale I would like to know if there is any way of making a Gantt diagram in Python marked only starts and end of an activity (not in date or time format, only integers), using a library like Plotly. These examples have the duration in date format, but this does not help me. https://partly.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Facing issues with mmh3 package installation for Python 3.11.1 in Windows Server 2019 I' am trying to install mmh3 python package on Windows Server 2019. Below are the steps i followed. * *Open cmd prompt with Administrator privilege *Then run pip install mmh3 I get the below error during the installation Collect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add new tab in android java tab layout using viewpager without clearing older tabs? I am making a tab layout in android using java. vpAdapter = new VPAdapter(getChildFragmentManager(), FragmentPagerAdapter.BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT); add_tab_button.setOnClickListener(new View.OnClickListener() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is Swagger showing endpoints of imported project, instead of main/startup project I have one main API project (called CustomerLayer) that contains only one controller with one endpoint (UserController/GetAll). The controller inherits from ControllerBase and has all DataAnnotations in place (Route, HttpGet, etc)....
{ "language": "en", "url": "https://stackoverflow.com/questions/75618070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to use sys.argv in python for exe file? I want to use the following code so that when I run the exe file in CMD, I enter the name of my program, for example the number 2 or 3, and my code creates a file, otherwise it gives me the value "no" no no" but every time I run it, it gives me the following error import s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to efficiently return rows belonging to the top N most frequent elements Let's say I have some table like this: CREATE TABLE test ( id INT, usr CHAR, age INT ); INSERT INTO test (id, usr, age) VALUES (1, "a", 10); INSERT INTO test (id, usr, age) VALUES (2, "a", 29); INSERT INTO test (id, usr, age) VALUES (3, "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ngOnInit don't execute when using router.navigate I've this simple app where '/personas' shows a list of Persona objects. There is also a button to add another person, which send to you to /personas/agregar. There you can create a new object and send it to firebase. Once you do it, the server should take you to /per...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to unify in one record (grouped by date) the data when every couple of columns are in different rows? Is there a way to unify in only one record (grouped by date) every couple of columns are in different rows in Postgresql? Here is the example I'm talking about: id emp_id name work_date work_start_time atten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: expect log_file how to put empty line and omit command in a log_file I am working on collecting nice looking and accurate logs from ssh sessions by expect. A part of my code is such loop which connects to list of hosts and runes some commands. foreach host $hosts { spawn ssh user@$host sleep 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Http 500.19 0x8007000d error on IIS hosting. (windows 7) im programming net core web app. And i try to publish the app on an other machine. Im programming on Visual studio 2019 and i want to use the site in local on a windows 7 machine. I have of course download the Net core Bundle 5.0.17 to make the web app work. a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way of solving Uncaught Reference error and stating correct ORIGIN of a socket.io server on the client side when using vscode live server I ran a socket.io client code using the liveserver extension on vscode and because i am using the version 2.5.0 i had to make use of socket.io wildcard I then ran the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to extract Year and Month from the object Date in the format "dd/mm/yy" in pandas Hi I have dataframe with column date which is an object type, with the format dd/mm/yy. I need to extract only month and year. How to do it Date 01/01/2022 12/11/2021 19/11/2021 31/12/2021 21/05/2022 Required Output: Date ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is my event listener only triggering after the second button click? <div class='container'> <a class='back-link' href=" {% url 'supplyshop:catalog' %}"> Back to Catalog</a> <h1 class='cart-h1'>Cart </h1> <div class='cart'> <div class='cart-items'> <div class='cartItem' id='cartDi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to refresh a table created on top of a view I am new to Snowflake and I have created a table(123) on top of a view(123Dummy) with the following codes create or replace table 123 as select * from 123Dummy; The view has 10 records and by default, the table also has 10 records. The problem is, how do I get an upda...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Set AWS environment variables in bash script There are a few other posts related, but they didn't help solve my problem. I have the script below that has an optional parameter for an aws profile -p What I would like to do is save the profile configurations into environmental variables in the current shell. #!/bin/ba...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error connecting to the udisks daemon issue inside the container I need to run the command udisksctl inside a podman container. podman run --cap-add SYS_ADMIN --device /dev/fuse -ti localhost/yogi-img:0.4 testuser@2a7dceff581b:/app$ udisksctl loop-setup -f ${efiboot_img} --no-user-interaction Error connecting to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module '../controllers/coursecontrollers' Require stack: - /project/E_Learning_Backend/routes/CourseRoute.js - /project/E_Learning_Backend/app.js - /project/E_Learning...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to bypass cloudflare/datadome with undetected_chromedriver not able to bypass it Im trying to skip cloudflare/datadome with undetected_chromedriver but ended up with their captcha page tried with proxy as well and add other chrome options to look like a normal browser import undetected_chromedriver as uc chrome_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: flatten a json using json_normalize I have the following nested dictionary with lists inside: [{ "id": 467, "status": 2, "leavePeriod": { "owner": { "employeeNumber": "2620", "firstName": "fn_467", "lastName": "ln_467" }, "ownerId": 46, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to transform multiple config files using multiple tokenize.config files using qetza.xdttransform.xdttransform-task.xdttransform I have an azure devops release (legacy interface, not yaml), where I need to transform 5 different config files corresponding to 5 different published artifacts. Can this be done with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nginx configuration to open files like /?id=10/index.html I have a folders with files like: /?id=10/index.html /?id=11/index.html /?id=12/index.html /?id=13/index.html How can I setup nginx location config to get /?id=10/index.html file for requested URL that is site.com/?id=10 ? I tried try_files $uri?$args /$uri?$...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Data extraction from existing series in pandas In my infinite quest of teaching myself program, I have come to find that the easiest questions to ask about doing something is the HARDEST to grasp (programming-wise). Case in point: Let's say I have an output from printing out a data frame: Work Date Sequence Number...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unit Test Angular ----> Error: Cannot make XHRs from within a fake async test I'm having trouble creating the unit test for my "homepage" component. I want to test the function loadNews(). This is the error: Error: Cannot make XHRs from within a fake async test. Request URL: https://hacker-news.firebaseio.com/v0/ite...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to treat strings as html tags in dash framework? I am trying to display the string that the user defined with html tagging. Is that possible? Here is the sample string: "<h2>Introduction</h2><p>This document provides a guide to help with the important task of choosing the correct Apple.</p>" When passing it to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete row if only one returns? I have a postgres database with the two columns Chatroomid, userid There are usually at least 2 people inside a chatroomid, but if a user leaves the chatroom, then there's only 1 row containing a specific chatroomid. How can I delete a row if only 1 row returns from a query? A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IPMI Reset login/password by default with IPMITOOL Im here to talk about a lost of a server by SSH so i'm using IPMI to get back to it. Right now, when i'm logging into ipmi i have a SOL Session and then i try my login but it said "LOGIC INCORRECT" and i don't really know why. As you can see my user list : [SOL Ses...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Download file after url redirect in NodeJS I'm trying to understand how I can download a file if the url have a redirect before download it const test = http.get(`https://www.google.com/reporting/downloadFile?id=${report_id}:${file_id}`, { 'headers': { 'Authorization': `Bearer ${session.accessToken}`, 'Conten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing log metadata and log severity levels from Container Optimized OS to Cloud Logging I am running a containerized application with the standard Python logger on aCOS on GCE. I followed the official documentation and connected my logger to Cloud Logging via --metadata google-logging-enabled=true option used duri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send the parameter defined in the interceptor in the post request? -> First of all I try to this in the axios request interceptor; if the parameter is uber then use token if the parameter is not uber I mean don't use token. ->After that how can I give uber as a parameter in the customAxios requsts in project ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting \n when trying to access .env variables using phpdotenv I am trying to access .env variables in PHP but whenever I try to echo these variables I get a value of \n This is an example of what I have in my .env: PARTNER_NAME=testing PARTNER_PASSWORD=testing123 To setup being able to access .env variables I ran...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Array of objects for a json format to send a POST method in Scala I want to create a json from scala to send that data in a POST method. I have this code below: case class Project(key: String) case class Priority(id: String) case class Customfield(id: Array[String]) case class Fields( summary:String, project...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load two viewers on a single page while using API as streamingV2 We have changed the Viewer option from {env: 'AutodeskProduction', API: 'derivativeV2' } to {env: 'AutodeskProduction2', API: 'streamingV2' } to load dbIds which will match with model derivative API ObjectId. It was working fine with the previo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I select all divs up to the current one when hovering on sibling element of one of the divs using jQuery? I have an ordered list with 5 list elements. Inside each list element there is a p and div element. The P is some text and the div is a box. At the moment when you hover on the text (P), next to it the b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: my program is giving an error:urllib error in urllib.py line 436 I can't delete my lost device from gmail and someone is using it on my gmail account,what should i do enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75618131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nodejs and OpenPGP vs GPG I have to encrypt a file to then scp it to a server from a lambda function. My doubt here is that I'm not sure on how to do the encryption. I read about different packages for encryption using NodeJS and so far I have these two as options: GPG and OpenPGP What would you recommend here? and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony service configuration based on request I have a configuration value where I define an event listener for one of the Doctrine events and I am using DI for the services needed in the listener. $services->set(ExamplePrePersistListener::class) ->tag('doctrine.event_listener', ['event' => 'prePersist', 'prior...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL query to get the latest row I have a table which has columns version(timestamp), Id , Name , Date etc. I want to get the row with the latest timestamp which I can get easily using a where condition as below: where version = (SELECT MAX(version) FROM table t2 WHERE t2.Id = t1.Id)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: A combination of two rangeBar charts in ApexCharts but brush chart does not work I want to create two charts with the same type "rangeBar", the second one should be a miniature of the first one. But the slider doesn´t work. Within the first chart i can´t push either. I want to try it without a framework. Actually t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excluding files/directories when using Fortify SCA with CMake and C++? I am invoking my Unix, CMake-based, C++ build in the following way (using bash) CC="sourceanalyzer -fcontainer -Xmx1G -b test-project -exclude \\\\\\\"/usr/include\\\\\\\" -verbose gcc" CXX="sourceanalyzer -fcontainer -Xmx1G -b test-project -excl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change the color of the very first React component frame I was working on some kind of loading for my app and then I found out that there is a short while when the blank white page is displayed. I also checked the default React app and it happens too, however it does not happen for example here on Stack Overf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: uninitialized constant Array::Elem The following recommended solution from the Sorbet FAQ results in uninitialized constant Array::Elem during execution (bundle exec srb tc runs fine): # typed: true class Array extend T::Sig sig { returns(Elem) } # or T.nilable(Elem) unless you're confident this is never calle...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Valid hardware platforms of Vuforia/Unity applications I have a question about Vuforia supported platforms. My interest is in running a Unity application with Vuforia on a Windows PC using a webcam as the video source. My questions are as follows: 1). Firstly, is this possible? I know there is a supported device lis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Footer doesn't stay at bottom when zooming out My question is similar to this, but for flutter web: boostrap relative footer goes up when zoom out window So when I zoom out or the content is so small that you can't scroll at all, then the footer always goes up with. This then leaves unsightly white space under the f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jupyter Notebooks set global style reference style links? I like using reference style markdown links e.g. some text about a [thing][link to something] [link to something]: https://www.link-to-something.com however it seems that Jupyter notebooks don't support this, let alone letting me define all of my links in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618146", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio continually indexing php files which prevents searching project I have a php project. If I attempt to search the entire project using Quick Find [Ctrl+F], Search [Ctrl+Q], or Find in Files [Ctrl+Shift+F], no results are found. The Find panel displays "Total files searched: 0 (Indexing files... showing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SSRS Report requirement situation I'm posting these question so anyone who has achieved this can illustrate me how to do this. I'm working on a project in which there are using Microsoft SQL Server Reporting Services. They are using an in house automated system for adding users credentials to other systems, so they...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I generate a "Garbage Collector Logs" How do I generate a garbage collector log in Java? Following many guides on the internet, they tell me to modify the command line I use to start Java, by inserting certain flags. Is there any other alternative way to generate it right away? Is it possible? I tried to sea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Moving a file from temp folder to a very long path in vb.net I'm having some issues on moving a file, that has been written using another software's API, to a path that is very long. The destination path is created using Dim path As String = "\\?\C:\Basedir\Long-path-base" For Each folderName As String In pathList ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel Filament: How to save data to related model The model Employee is related to the model Detail which contains addresses and phone numbers for each employee. There is a form in the Employee Resource which contains fields both for the employees and the details tables. How can I save data to the Detail model fro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In SSIS ADO NET works OK but OLE DB fails In SSIS I have a dataflow where I am uploading a CSV file to SQL Server 2012. Everything works fine for me when the destination has the ADO NET connection string, but I need to change the connection string to OLE DB. When I make the change and execute it, I get the following...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET Core : problem with updating model I have this code in ASP.NET Core 7.0, and I'm using EF Core for working with my SQL Server database. I have 3 layers before reaching the API layer that is my Web API (including controllers): * *Layer #1 is repository layer *Layer #2 is domain layer *Layer #3 is applicat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly pass the data to a dio post request? I have a problem where anything I pass in the data of a post request in dio is not being received or is null. But I checked and printed in and it has values. I tried the link in postman but the request goes through nicely. I tried many ways like json.encode, jsonE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Invalid URL when creating CosmosClient in javascript I'm having a strange issue that when I try to create a client to connect to my CosmosDB, its throwing in an invalid URL error. The code is simple and I know the keys and connection string are correct because in a different project I'm using them to connect with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter runtime error with null safety assistance Have been following a tutorial made with earlier version of flutter, now with null safety, errors are bugging me though it has helped me with learning more about null safety, I am stuck. I need help. here is the code from class model class Category { late final int...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: difference between `include and import in SystemVerilog I am having some trouble with Vivado where it is saying that there is a previously defined package and I believe it is causing failure in synthesis due to the order that these packages are being compiled. I have the file that is being reported as being defined ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Extracting SwiftUI Stepper to subview changes its range? With SwiftUI I added a Stepper and use its infinite range to increment/decrement a value in my viewmodel. Extracting the Stepper to the subview StepperView it now has a range of 5. I can't find how they differ from another and can't find a way to fix the Stepp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL: Using access,Trying to select all record from a form if a text box is nul I am trying to select all record from a table if a textbox "txtoccupation" is null or elese records that match the string in the texbox. I follow a guide and used the following line: SELECT [EmpID] ,[FirstName] ,[LastName] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Disable logging of DbUpdateConcurrencyException Due to external circumstances, my application could run into a DbUpdateConcurrencyException when updating data in the database and then calling dbContext.SaveChangesAsync(). I'm handling this exception for myself by catch (DbUpdateConcurrencyException) and then reactin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to enable k8s to log label data in the log Is there a way to let docker/kubelet to log the labels of a pod in the log? What is the configuration? For now, we can only get the labels of a running pod, if a pod is gone, you cannot use kubectl/docker describe to get the metadata of a pod. I am trying to get the met...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace values in one dataframe with values from another dataframe using index in R I have to dataframes, which is called node_list and sup. Node_list consists of ID and loca2, which looks lile ID loca2 1 A 2 B 3 C and sup looks like ID To 1 2 2 1 3 1 and I wish to replace the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: victoria-metrics-k8s-stack with node_exporter I have Prometheus setup to scrape node_exporter from many Linux VMs. We have remote_write to VictoriaMetrics. But, now because of so many issues with Promethues resource requirements, I would like to move away from Prometheus and configure everything on Victoria Metrics....
{ "language": "en", "url": "https://stackoverflow.com/questions/75618174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regex to add (-) in between string I want to display string like this format : 784-2023-1234567-4 My regex: /^((784)([0-9]{12}))$/;​ A: 784[\d-]{15} or 784-\d*-\d*-\d* or 784-\d{4}-\d{7}-\d Your question is very vague and not informative, be careful in advance.
{ "language": "en", "url": "https://stackoverflow.com/questions/75618175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Merge two Dataframe without duplicate rows pandas We have problem in merge two different Pandas data frame, using the merge method it duplicate the rows with the same ID We have two different DF in Pandas: DF1: ID Gender 0 1 Male 1 2 Female 2 3 Female DF2 ID Vote 0 1 30 1 2 27 2 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I change the formatting of standard types in C++ std::format? How can I customize the behaviour of std::format so I can get e.g. thousand separators for integer and float types? A: The standard format used for standard types, like integers and floating-point types, has an L option to enable locale-specific f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why oncollisionenter2d not working in vs code c# Why is oncollisionenter2d method not working in vs code and my intellisence is working properly and only this method and ontriggerenter2d are not working I want a solution for this A: It should work just fine, but check if the two objects aren't a trigger and at le...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to find reverse-recursively find all call sites of a function in a codebase? This is relevant to both Python and Golang codebases, but I'm wondering what the easiest way to find all call sites to a function, including all functions that eventually call said function, whether directly, or through another function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Build failed in AWS console When i give npm run test, it shows like Entering phase PRE_BUILD is not completed. It stops inbetween. So build gets failed and it stops1 passing. Please look this code [Container] 2023/02/28 15:35:23 Phase complete: INSTALL State: SUCCEEDED [Container] 2023/02/28 15:35:23 Phase context s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need to connect header file to data file by reading some control chars I am trying to read data from a legacy system. I have a .dat file with no header and that contains data with no specific delimiter like comma or tab. It has a width/length base elimination system. Another file with an extension .fid contains head...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Facet ElasticSearch on list of dict (Python) Given Data in index looks like { "entity_tags": [ { "tags": [ "two", "three" ], "tag_data_type": "multitextselect", "tag_group_name": "one 3" }, { "tags": [ "new1" ], "tag_data_type": "textsel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why the space between my html buttons github and facebook or facebook and linkden are operating as links <div class="links"> <button id="writings">Writings</button> <button id="track">Track</button> <a href="https://github.com/Luffy01017" target="_blank"> <button id="github">Github</button> </a> <a hr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I prevent users from modifying AWS security groups? I've looked all over Google, and haven't found a solid solution yet that works. I have an environment set up in AWS where I do NOT want users to be able to make any changes to the EC2 security groups; these can ONLY be set via Terraform apply. I have the fol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot submit Html Forms when combine 2 view pages together in MVC In my application used have two View pages "AddHardware" and "EditHardware", they are used to create a html forms and add/edit information about hardwares. Now I was working on combine this two pages together to reduce code duplicates, I'm using: @us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618199", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Code for background plot between candles and Ma I wonder if someone has a piece of pinescript code that plot the Background between the candles and the (pink) 200 SlowMa. I was looking to do a background plot as the attached picture is showing. But, cannot find something like that atm, I tried to do that from de T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issue with hashcat 5.1.0 when used on LUKS header file I'm on Ubuntu 20.04 and looking to use hashcat to crack LUKS. In order to prepare the operation I copied the LUKS header from my device with the command : dd if=/dev/sdXX of=hashcat.luks bs=512 count=4097 Note that the type used is LUKS1. Once the header is obta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error "None of... index are in the columns I'm trying to use the Stratified k-fold on my dataset but this is the error when i run the code: import pandas as pd import numpy as np from sklearn.model_selection import StratifiedKFold from imblearn.over_sampling import SMOTE #leggo dataset df_train = pd.read_csv("trai...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i achieve this glow effect on tab bar flutter I have been trying to build a tab bar in flutter with side border glow effect the effect is also dynamic depending on the selected tab whether left center in case of three tabs or right. here is an image of the required effect
{ "language": "en", "url": "https://stackoverflow.com/questions/75618203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set button to visible in different class So I have 5 buttons to set to the visibilty to false. However I cant do it in the class for the designer I need to do it in this class. I'm not sure if I should pass the buttons or if theres a better way? But this is where the data grid loads public static void CostSQL(st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Trying to demarshal JSON response using Java Classes I am trying to demarshal JSON response using Java Classes, I am new to Java so it may be a school boy error I am making. The JSON response is: [{ "index": 514042, "source_list_name": "insurance_group", "allow_multiple_account_associates": false, "s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618205", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How fix broken text in my menu and broken img I've been sitting here for an hour and I can't figure it out. I can't create a normal horizontal menu. I have 2 problems. * *the logo is cropped for some reason. *the menu, which has a space, is not lined up in a row, but connected in a column. And if you remove the s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can janitor::clean_names be used on only certain columns in a data frame? I'm wanting to use janitor::clean_names() on only some of my column names in my data frame. iris %>% janitor::clean_names() The above cleans all column names. I've tried using below to just clean the first 2 column names iris %>% janitor:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why can't I parse the following string to a JS string? I obtained the following as the output of a call to JSON.stringify: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<html>\n <head>\n <meta charset=\"utf-8\"/>\n </head>\n <body>\n <ul id=\"BcVWDENh\">\n <li id=\"3C\">\n <p>Hello World</p>\n ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I customize the values in this dropdown table for datatables? I am using datatables for my project and it works great. However I am not able to firgure out how to customize the filter dropdown values. Reason - some of the values are too long for example "Financial Controller abcdef tedfdffgg". I would like it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reactive values not updating when actionButton is clicked with shinyjs I have a Shiny app in which a pickerInput() is updated based on the value selected in another pickerInput(). library("shiny") library("shinyWidgets") ui <- fluidPage( shinyjs::useShinyjs(), tags$h2("Update pickerInput"), fluidRow( c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618218", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }