text
string
meta
dict
Q: Node Package attempted import error with imports from folder structure I have a node package with the following file structure: dist/ (build / publish folder) src/ general/ ... index.ts inputs/ ... index.ts utilities.ts index.ts package.json Where each index.ts just e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Property 'submitter' does not exist on type 'Event' Banging my head against the wall on this one... given this function const handleFormSubmitByButton = (event: FormEvent<HTMLFormElement>) => { event.preventDefault(); const submitter = event.nativeEvent.submitter; console.log(submitter?.value) }; and mark...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Random error in expressJS app goes into uncaught exception handler We keep getting this error randomly in our expressjs app, we tried going through the logs to see if there is any particular endpoint that gets called before this error occurs, but none were found, what could be causing this random issue? Error: socke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problem Discord bot opening a .bat file with Node.js and a child process I am not a programmer. I’m not in the least bit knowledgeable about anything regarding code. Yet, I really wanted to do this one thing so I got my hands a bit dirty. I’m attempting using discord.js, Node.js and the child process module to make ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Pytorch - Training loss not changing with simple CNN model In an image classification task of around 15 classes, the classes are rathe simple, categorized by color. Not some very high level detail. The graphs of loss and accuracy over 100 epochs I am using the below simple CNN model consisting of 2 convolutions and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Using passport js along multiples microservices I am using Passport JS for authentication in an application composed by many microservices. I have 2 options: each microservice can implement passport, and validate the tokens against the database, or create a specific auth microservice that receive the token and valid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I rename a property that already exist and that has values in it? Is there a clause in Cypher that would allow me to rename property o.operating_system into o.os? I already have values assigned to a property. A: In general, with Cypher/openCypher, you can do this by copying the old property and then removing it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JavaFX Mac M1 errors I'am using JavaFX and SceneBuilder on Eclipse. Here is my setup : Installing the aarch64 in 19.0.2.1 for Mac here : * *https://gluonhq.com/products/javafx/ Project -> Properties -> Java Build Path and I added the following .jar in the module path. Main -> Run As -> Run configurations I added ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: using got() to downkload data with nodejs (typescript) i have a problem using got in nodejs with typescript getting this file: https://isk.geobasis-bb.de/ows/alkis_vereinf_wfs?version=2.0.0&outputFormat=application%2Fgml%2Bxml%3B%20version%3D3.1&typeNames=ave%3AFlurstueck&count=10000&bbox=362035.40713660954%2C580823...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Entity Framework Find second query that is invoked in parallel I know, that parallel query execution is not supported in Entity Framework. Now I ran into the issue, that there is a parallel call detected by EF. I already had a look into the documentation mentioned within the exception message: https://go.microsoft.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Remove a Large File from the History of a Bitbucket Server Repo In-Place So, someone pushed a large file to a repo in our Bitbucket (we use Bitbucket Server, so it's hosted by us). We have deleted the file but want to get rid in history too as the repo is now quite large to clone. We can see how to get rid o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Checklist/Standard rules for Versioning with Github Do you have any state of the art and/or official documents about Standards/Checklists for versioning in github? I am approaching DevOps and I am wondering if there are any Standards/Checklists for doing Versioning with Github.
{ "language": "en", "url": "https://stackoverflow.com/questions/75605718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Extract Last Commit Activity Information I am using the below code in the Jenkins console to extract a list of all users known to Jenkins import hudson.model.User def users = User.getAll() for (User u : users) { def userid = u.getId() def fullname = u.getFullName() println("User ID - " + userid + ", F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Calendar Scheduler in ASp.net MVC getting Error public IEnumerable Get(DateTime from, DateTime to) this function [SchedulerAPIExceptionFilter] public class SchedulerController : ApiController { private SchedulerContext db = new SchedulerContext(); // GET: api/scheduler [[public IEnume...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WebOS web app that plays video stream in iframe crashes randomly on WebOS 6 I have an application that loads an iframe that contains a player that streams a m3u8 video stream. <iframe src="https://MY_SITE//IFRAME" width="100%" height="100%" allowFullScreen="" allow="autoplay; encrypted-media; picture-in-picture"/> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't load my ONNX model (converted from Pytorch) in OpenCV DNN As known, OpenCV DNN does not support Pytorch models (.pt). So, I followed the Pytorch Documentation for converting my model to .onnx and then run with OpenCV DNN. Following this, i did this steps: 1. First My NN definition in pytorch: class ModelTeste(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Robust way to handle options in awk I am looking for a robust way to handle user-defined options in awk. It does not help to use obscure values, or care whether a variable is set or not. Flags are set to specific values. If I do not see those values set, I would set them to a default, which may be null. For instan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605727", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: jshint issues a warning with this closure jshint doesn't like the code below, and reports: Functions declared within loops referencing an outer scoped variable may lead to confusing semantics. ($) const suffix = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H']; for(let i=0; i<suffix.length; i++) { (function(i)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PayPal transactions won't track properly in Google Analytics 4 using GTM implementation I'm trying to track transactions in Google Analytics 4. I have two options on this ecommerce site for users to make payment - PayPal and credit card. The credit cart details fields are contained within an iFrame, so the user stay...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Leaflet: can't find variable "require" (geleaster, geoTIFF) I'm desperately trying to put some georeferenced tiff images in my leaflet. I found the Georaster layer for leaflet and Georaster plugin. I downloaded the package and linked the data in my HTML. The JS code looks easy: var parse_georaster = require("georast...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I do so one value in List can't be changed? (Dart) something like this void main() { List list = [0, 0, 0]; final list[1] = 1; } i want so something like for(i in list) { list[i] = 2; } changes every value but the second one in list here's my code for anyone ho's interested why do I need this https://g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tkinter, how to return results from class method to new frame This is my first complex Tkinter App, and it takes in user inputs and generates an instance of an imported class. What's the best way to pass the details into another frame? I'm using a lambda to run "generate_more_stuff" which creates an instance of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't import new costum fonts in angular i have generated new costum fonts using this commande $ pdfmakefg ./my-fonts ./pdf/fonts/custom-fonts.js. then i have added it in assets/fonts/ When i try to import ne costum fonts in angular component, i get this error import pdfFonts from '../../../assets/fonts/custom-fonts...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fs.unlink vs fs.unlinkSync and fs.exists vs fs.existsSync I am new to JS and programming in general, trying to understand how and when to choose one over the other. What are the differences between them? While the existing questions have generic answers to what they are, I am looking to understand under what circums...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: "pod lib lint" command throws error with mixed objective-c and objective-c++ files I try to create a simple cocoapods library with objective-c and objective-c++ files. When executing the command pod lib lint I get an error. Pod structure: * *mypod * *src * * // A.h #pragma once #import <Foundation/Foundation....
{ "language": "en", "url": "https://stackoverflow.com/questions/75605747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Organise multiple meshes (with refinement) in to a single mesh file I have divided my domain into multiple meshes with different resolutions and have performed the simulation with multiple processors. Now the results consists of variables obtained from multiple meshes. I would like to stitch the different meshes tog...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's the difference between the two list comprehension in Python? I just solved a question in LeetCode, however I found that the two different list comprehensions produce different results. So what's the difference? ans = [[0] * (n-2)] * (n-2) ans = [[0] * (n-2) for _ in range(n-2)] The question is LeetCode 2373...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Docker build target is ignored in bitbucket pipeline I'm facing a problem to build a docker image in a bitbucket pipeline. I'm using the bitbucket cloud hosted solution, not a self-hosted runner. I have a Dockerfile with multiple build stages. When running the following command in the bitbucket pipeline, the --targe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I want the two bars to run first and in the middle the banner from pyfiglet import figlet_format as pyfiglet import time,sys banner = pyfiglet("Banner") #I want the two texts to be executed and finally the banner to be executed print ("\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━") for i in banner: sys.stdout.flush() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Batch - How to handle an object buffering on the ItemProcessor's level I am using a Spring Batch under the hood in my application. I have a lot of the already written ItemReader(s), ItemWriter(s) and a composite ItemProcessor(s) that allow me to build a Job that contains a chunk steps. All of the components s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to dynamically load json file in nodejs application? I am working on a nodejs application that bootstraps a small game. The release build is eventually deployed to S3 bucket and served from there in production. Now, I have a json config file that I want to read when the application bootstraps. The contents of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Are ntdll's exported functions the same whatever the version? I am currently planning on hooking some ntdll's exported functions to monitor them. I would like this idea to work on every sub-version of Windows 10 and 11. On every computers I checked, the exported functions that got my interest were defined as: mov ea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to restrict connection with access key and secret key only from specific ip? I am trying to limit using access and secret key only from specific set of ip addresses. Does anyone has an example which can be useful for this case?
{ "language": "en", "url": "https://stackoverflow.com/questions/75605763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jupyter Notebook not showing in Coder Code-Server I set up Coder (with code-server) via a docker-compose.yml but encounter the problem, that Jupyter Notebooks can not be displayed or used is VSCode. How the issue looks like with no cells showing up despite being present as seen in the outline on the left: docker-co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: await per call vs Task.WaitAll why no performance gain when using latter I thought it might be wiser to use Task.WaitAll over multiple awaits. I looked into multiple awaits vs Task.WaitAll - equivalent? discussion and was confident that the latter would reap more benefits, but to my surprise, multiple awaits aren't ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Pivot Table Macro for Different Data Sheets I have a macro that creates a pivot table with the data from a sheet titled β€œIBC”. How do I get the macro to create the pivot table from any sheet, not just the one titled β€œIBC” I know this code is specifying that pivot table should use Source data from the table "IBC" but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does the number of columns have to be the same as in regression model when making predictions? I have made a linear regression model with a data set that contains more columns that are actually needed in the regression. However, the columns are named in a proper manner. When I make the prediction with a predict() fu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove input value upon clicking enter I'm making a function that uses the value of an input to determine which function is going to be executed. After every time a value is inserted i want the input to clear the value so you don't have to do that manually everytime. I succeeded to clear the value upon clicki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace a string in a file using jenkins pipeline script I am trying to edit a file package.json and trying to replace a string("version:1") inside it using jenkins pipeline script. I have written below script but its not working. def readContent = readFile './package.json' updatedProp = readContent.replaceA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: SQL Stored Procedure Works in DB but not in C# Code As the title suggests I have a SQL Stored Procedure which runs with no issues and returns the expected values when called from within SSMS. However, when I run the same procedure from C# it fails. The specific error message I get in return when debugging is: "The c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there anyway to restrict items in InterChoices in wagtailhooks modeladmin I have a model which includes the following: class Event(BaseModel): class WagrType(models.IntegerChoices): PR = 1, _("Power Ranking") NC = 2, _("Non Counting") ST = 3, _("Deprecated: 'Strength' - do not use") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vscode: Changing the color of filename in searchbar I am searching across many files in my local repo. But the search results and the filenames are all the same color. Is there any way to make the filename color change for better readability? I'm using a theme called Cobalt2 A: There is no way to change the color ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Uncaught TypeError: Cannot read properties of undefined (reading 'utils') bootstrap-table-sticky-header.js:1648 I have a bootstrap-table that I am trying to implement bootstrap-table-sticky-header in, but I am getting the following error: Uncaught TypeError: Cannot read properties of undefined (reading 'utils') boot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: blank page using Vite React Electron I use Vite Bundler for an react App with Electron. There is the link : https://github.com/electron-vite/electron-vite-react Before, I use Electron React Boilerplate and I did the migration for Electron-Vite-React. But, when I launch my project, there is juste a white page, and no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting up Mandrill with CloudFare to receive emails from a contact form I'm setting up Mandrill transactional email to receive emails from a contact form on a website. I created a MailChimp and Cloudflare account. I added the DKIM and SPF records along with the MX records in Cloudflare. My domain in Mandrill is ver...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPA3 PRF(SHA256) Key derivation algorithm in Python I exercised successfully the key derivation algorithm (customPRF512(key,A,B) known as PRF(SHA1))on WPA2-PMF. However, on WPA3 that algorithm did not work as in did not generate the expected values (see below) of PTK, KCK, etc. I gathered from my research that I ne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: laravel dusk invalid session id by testing *Tests\Browser\MedewerkerContactTest::testGeenBericht Facebook\WebDriver\Exception\InvalidSessionIdException: invalid session id it mostly fails on this piece of code i believe protected function setUp(): void { parent::setUp(); foreach (static::$...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can set localization for a list of items in flutter? I am using easy_localization package Suppose I have a list of item that's I want to have translations like - List<Person> persons = [ {name: 'a', profession: 'xxx', age: 24}, {name: 'b', profession: 'xxx', age: 24}, {name: 'c', profession: 'xxx', age: 24}, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oracle SQL query is working by itself, but failing when wrapped into "select count(*) from ()" I have the following example of the Oracle SQL query which is failing with β€œORA-00979: not a GROUP BY expression”. If remove the β€œselect count(*) from (...)” wrapper the query works as expected. The idea is to get the coun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get the most frequent value of a column and how frequently it occurs My query concerns two tables on my app, areas and happenings. An area has many happenings with each happening having a primary_area_id foreign key. I'm trying to get the most frequent day that happenings take place in each area, and what proportion...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: change current directory to its windows short path equivalent by one command I'm searching a way to change current long name directory to its short name equivalent in one batch command. I've written something like that: C:\Users\Mj\.VirtualBox>for %A in (%cd%) do @echo %~sA C:\Users\Mj\VIRTUA~1 but I do not know ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Appending results of two LAMBDA functions I have the two below LAMBDA functions =LAMBDA(z,filter(z,index(z,,17)=max(index(z,,17))))(IMPORTRANGE("1l_xGjh4YNCANLg-npQWzlXXpQJ3nidC4RzBvR62efuE", "Overview!A2:Z")) =LAMBDA(z,filter(z,index(z,,12)=max(index(z,,12))))(IMPORTRANGE("1madkVso_zaoU9MH2gvtVlTaT2iJ9nMcCxS8ux0Vp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Matplotlib: how to combine existing graphs I have built a function which I apply to different partial strings - all of this works (see steps below). My function applied to the partial strings works, but creates a different graph for each partial string. Is there a way to combine all of these graphs? * *Crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set column's type when exporting DataTable to Excel using Microsoft.Office.Interop.Excel c# .NET? I'm trying to export DataTable to Excel using Microsoft.Office.Interop.Excel and define columns type properly. DataTable's columns are all string (DataTable parameter comes from external source- oracle) so I'm us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i capture enum value in if? I want capture the associated value with enum case in if statement, here is my code: enum TestEnum: Equatable { case a, b(value: String) } func f35() { let my: TestEnum = TestEnum.b(value: "Hello") if my == .b(value: let string) { print(string) } } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: trying to create a rotation function to determine the new postion of my vector in my code below i created a endPoint of a chain that needs to be rotated so, that is parallel to the black line that is drawed in the direction from point 1 & 4. (i added some some visualizations in the links below) the function is used ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I insert a "time bomb" into my Swift iOS static lib to make it fail beyond a certain calendar date? We want to make sure if our lib that we provide to "overseas" contractors winds up in the hands of unauthorized coders, they cannot use it beyond a specific date in time, or reverse engineer it. What can we ad...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Move Terabytes of data from one container to another in ADLS (Azure Data Lake Storage) We have a requirement to move many containers and files within containers from one subscription to another in the Azure realm. We have tried AzCopy and ADF. The data movement either errors out or takes forever to complete. Has any...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why some of my webapp users receive service restricted error from families.google.com on login? I have a webapp on Google Cloud and, after the migration to Google Identity Services SDK, it has an issue: some accounts (using Google Workspace for educational or Family Link) can't login. Google show to them this error:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Different tokenizers gives the same input_ids to same tokens I am training a tokenizer and use huggingface for pretrained models. I train a tokenizer using XLM-roberta-base and it gives input_id = 224 to token 'size'. When I changed XLM-roberta-base with another tokenizer, it also gives input_id = 224 to token 'size...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bot discord button I'm making a bot to approve users on my discord server, and I came across this error! my code: import discord from discord_components import Button, DiscordComponents from discord.ext import commands import os import discord.ui from discord import ui intents = discord.Intents.all() intents.mem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Clicking accept on cookies pop-up when it requires cursor on screen? I am trying to click accept on a cookie popup and it was being very flaky. It is extremely flaky and only seems to execute when the cursor is in a select few places on the screen. My current code: current flaky code I have tried alert(both dismiss ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to fix Amazon SP API putTransportDetails: access denied? The putTransportDetails operation in the Fulfillment Inbound Shipment process of the Amazon SP API is giving us problems. Something is denying access. That means we cannot send up transport contents for our shipments, and we cannot automate the transport c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTTP POST multipart/form-data - no data being sent I'm making a custom HTTP server in python. I won't be using any existing library, only sockets. I'm trying to make a simple file upload, but this turned out to be unnecessarily hard. For some reason, I'm only ever receiving the headers, and never any actual multipar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to build the Dockerfile that is in parent directory I'm using gradle docker plugin for building dockerfiles. my workding directory tree is as bellow: test/ β”œβ”€β”€ build.gradle.kts β”œβ”€β”€ buildSrc β”œβ”€β”€ Dockerfile β”œβ”€β”€ gradle β”œβ”€β”€ gradle.properties β”œβ”€β”€ gradlew β”œβ”€β”€ gradlew.bat β”œβ”€β”€ mini └── settings.gradle.kts I want to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a way to specifically filter out buses with certain name from GTFS? I am dealing with some tricky GTFS from Belgian public transport operator De Lijn, which somehow added belbus (demand-response buses) as a bus route that comes every hour on their GTFS, making some poorly served countryside misleadingly app...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a new column using index in python I have a df with double indexation in python, where Asset and Scenario are the indexes obtained after using pandas. As Scen V1 v2 v3 0 1 34 45 78 0 2 30 95 58 0 3 14 -5 68 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am having problem while fetching data. How do I fetch data like this? { "type": "champion", "format": "standAloneComplex", "version": "12.23.1", "data": { "Aatrox": { "version": "12.23.1", "id": "Aatrox", "key": "266", "name": "Aatrox"} This is what I am trying to fetch. (This goes on with some more heroes.) cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error opening the IExpress Self Extraction Directive file So I tried to make a program in C# that connects two .exe files by IExpress command but it throws an error in the title of the thread. Code that seems to not work: StreamWriter sw = new StreamWriter(File.OpenWrite(@$"{workdir}\script.sed")); sw.Write($"[Versi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getting runtime exception occurred in filters with Swagger (OpenAPI) iwhen parsing headers on https When I am parsing header as x-abc-test, it working in my local but when deploy in my dev server it it running on https and it not working throwing error as "runtime exception occurred in filters" when I hit any end p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do .Net's hash-based collections avoid 101 and 101*N+1 when picking primes? I was browsing the source code of .Net's Dictionary and HashSet, which are implemented as a hash table, basically. They always select prime numbers for the internal size of their tables. I assume this is because the hash values these col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Drag and drop container in desired location I have been trying to use drag and drop to allow a user to rearrange the order of some containers on display. Because the screen needs to scroll I have used the long press listener of a button to set the container to draggable. Advice from other questions showed that addin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: docker build: #1 ERROR: Error response from daemon: No such image: moby/buildkit:buildx-stable-1 [UPDATE] The error comes from a build container that houses a docker version that was changed. Upgrading that docker version solved the problem. So in a way this gitlab/runner: manifest for moby/buildkit:buildx-stable-1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ubuntu 20.04 Stop install upgrade - Found 0 versions of PHP-FPM - /usr/bin/dpkg an error code Cloudlinux I really need help. I am trying to update Ubuntu 20.04 via command line. To install CloudLinux . This is extremely necessary for me to get the option (Setup Python) in the dashboard (cPanel). But unfortunately fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Problems when trying to calculate the Gunning-fog score of a string cells in a Pandas dataframe I have a dataframe that has a column containing Facebook post text descriptions, I found out about the Readability module and wanted to use it to calcute a score for each text description/row. I found a code that is suppo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to use dapper or Automapper to map each SqlDataReader row to different object? We have a database provided by an external team (means can't easily change schema). Say there is a table MyData: Each row has a version field, but for Version 1 data, only fields V1Field1,V1Field2 will contain data. Then fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') in react js I was creating a to do app with React js and when I call npm start, this error appears: Uncaught TypeError: Cannot read properties of null (reading 'addEventListener') this is in file App.js in src folder: import React from '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pdfMake, bugged height in pageSize I am creating some simple text pdf and each page has a dynamic height... so i am using var dd = { content: [ {text: 'RANDOM', pageBreak:'after'}, {text: 'more text'} ], pageSize: {width: 300, height: 'auto'} } but after pageBreak, the height is not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create enum of operators? This is my data model: 'use strict'; module.exports = (sequelize, DataTypes) => { const QueryCondition = sequelize.define('QueryConditions', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: DataTyp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VBA Export to PDF losing outlines When I'm using VBA to export to PDF I am losing some of the formatting. Image when printed Same section exported I am trying to use VBA to export a selected group of tabs to PDF. If I use the below code it works and the formatting is perfect but I have to use the pop up box to save ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Image property layout is broken using nextjs" image layout not working Trying to Change Image layout
{ "language": "en", "url": "https://stackoverflow.com/questions/75605864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to enable the enhanced ecommerce tracking using GTM and GA4 knowing that my website was created with Odoo? I am not at all in the IT field. However, my employer recently asked me to set up his website on Google Tag Manager. The goal is to be able to retrieve ecommerce data from the website in order to send them ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nest can't resolve dependencies repository I do have the next application: https://github.com/Aleonor1/barber-shop Im getting the next error: Nest can't resolve dependencies of the BarberRepositoryImpl (?). Please make sure that the argument BarberRepository at index [0] is available in the AppModule context. Poten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple foreign key value SQL Please tell me, is it possible somehow in Postgres to specify an array as a data type that contains foreign key elements I have next table: CREATE TABLE User ( id SERIAL PRIMARY KEY, name VARCHAR(50) ); CREATE TABLE Team ( id SERIAL PRIMARY KEY, idOwnerTeam INT, id...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605871", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using google authenticator PAM with vsFTPd on RedHat I have a requirement to use a TOTP-based authentication on some RedHat 8.7 servers running vsFTPd. I've managed to get TOTP working with vsFTPd on Debian / Ubuntu, but haven't had any luck so far on RedHat. I have been able to get TOTP working on SSH logins, and t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why sklearn.metrics.mutual_info_score can get mutual information without a joint distribution? The definition of mutual information is : wiki Apperantly if they are independent, p(x,y)=p(x)p(y), and then according to another form, I(x,y)=0 , so there must be a dependence. But as we know, we can't just get a joint ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create an ObjectPool in .NET 6 for a custom parameterless class? This is a continuation of a previous SO question I asked. I'm trying to create an ObjectPool of my FTP Clients. FTP Clients are expensive to use because of the "connection" step. So I thought -> lets pool them so after the initial connection ste...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Predictions on Data, using Linear Regression without a LinearRegresion() Library in Python im in problem to write python code with the linear regression method without using the LinearRegression() library to predict the number of products that will come in 2022 - 2025. Along with MAPE and R2 values. Data i had succe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is happening in std::vector::emplace() implementation? I implement my own vector class just to practice my C++ skill and my emplace() method is way slower than std::vector::emplace() so I checked the source code to see how they implemented it but it is just pain for me since that. I can't wrap my head around th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I fix error 1.006 install: missing file operand, when I am deploying Laravel in Railway? The Laravel deployment with Railway show this log error: #15 [11/12] RUN NIXPACKS_BUILD_CMD=composer install && npm i && npm run build && php artisan optimize && php artisan config:cache && php artisan migrate --force #...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pass a parent to a function in MAUI. Binding issues I am trying to solve binding issues in .NET MAUI. As you can see in screenshot 1, I have student card information. The first field is a label, then they go to three entries. The idea is when a user clicks the button, these 3 entries should be readable and the edit ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NLog using current date for folder and startup time for filename I'm running with NLog 4.6.6, and very new at it. I'm trying to configure the logging path and log files such that the the folder containing the log files uses the current date, and the log file is formatted with the startup time. I've gotten to success...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Use Socket.io to send Messages from Django views.py? so i am a bit new to this OK, so when i do it from outside the views.py it works perfectly and it console.logs in my browser running django my socketio_server.py file in the Django project folder import socketio import eventlet.wsgi # create a Socket.IO se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use Drag and drop to move a Composable Loosely following what I found for more common scenarios, for example here, I'm trying to use Drag and Drop to allow the user to move an image on the screen. It's a legacy app so I had to use a Fragment but this's irrelevant for the issue. class DAndDFragment : Fragment...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unreal Engine error C2440: '=': cannot convert from '_Other' to '_Ty' I am triying to work with Unreal Engine on Windows 10 and HoloOcean. I don't know if someone could help me but I am trying to add a new sensor, the one of the tutorial, and I am getting that error line. I am going to explain how I get to it and th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I use html2pdf.js to download a leaflet.js map containing tiles as pdf I'm currently trying to download a leaflet map containing OSM background tiles as a PDF using html2pdf(), but I'm running into the problem that the map (and in more complex cases also geometries I'm adding) is implemented, but the OSM bac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605892", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Timeout Jasmine Angular when Rxjs interval I am doing a simple meditation app, and i use rxjs intervals for breathe/exhale duration. Here is a part of the code : import { AudioService } from './../../services/audio/audio.service'; import { Router } from '@angular/router'; import { MeditateDataService } from './../.....
{ "language": "en", "url": "https://stackoverflow.com/questions/75605894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can't I access my req.body properties in Firebase functions while req.body does contain the properties? I am trying to get a property from the body from a firebase functions http request. I am trying to get the lat and lng properties as follows: exports.getAddressFromGeolocation = functions.https.onRequest((req,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: On Post Token becomes null .net mvc6 I have an [httpget] method which takes a token and stores it in Resetcode column of ResetPassword table. when [http Get] model takes the token value. After password is entered token takes a null value. P.s. I'm new to Asp.net [HttpGet] public ActionResult ResetPassword(s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load Maven project properties in Spring Boot Starter and add to Environment? Let's assume there are multiple Spring Boot applications having properties with @...@ placeholders referring to Maven project properties: spring.application.name=@project.name@ version=@project.version@ ... Since it's common to all ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75605898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }