Newest Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Detect cards when its in the specific area in the camera live feed in SwiftUI

I want to create a custom camera app in swiftUI for detecting cards and capturing it. I have four corner brackets so when a card like object comes inside those brackets I need to detect it and capture ...
Sins97's user avatar
  • 367
0 votes
0 answers
2 views

Why is my MailMerge Toolkit Add-in not sending emails at the very last step?

'The RPC server is unavailable.' --------------------------- 'Error: "The RPC server is unavailable." Description: "Call of [OnResolveNameBefore] failed: 'The RPC server is unavailable.'...
Alina Shcherbakova's user avatar
0 votes
0 answers
2 views

I have a dynamic component in Angular, it won't import any modules such Common and Forms module

I have a component that use a dynamic component to display a child component: in parent component, the child is declared as such @ViewChild('lscRef', { read: ViewContainerRef, static: false }) // ...
Dwarknight's user avatar
0 votes
0 answers
2 views

How to get authorization header in Vue project?

I have a project written on Vue and uses Vue Router. I want to get Authorization header. As I can understand, Vue Router manages requests and route components. There is a method beforeEach in router ...
chudin26's user avatar
  • 1,172
0 votes
0 answers
10 views

Why does my code not run an if statement after the while loop?

from random import randint print("Get 7+ right to win.") cycle = 0 count = 1 def FUNC(): global count global cycle rand = randint(1,10) print(rand) Var0 = int(input(&...
pyandbatdudeorsmtlikethat's user avatar
0 votes
0 answers
4 views

Swift - mutate struct after downcast

This is the abstraction of my code: protocol MyProtocol { var value1: Int {get set} var value2: Int {get set} } struct MyStruct: MyProtocol { var value1: Int = 1 var value2: Int = 2 ...
MassMover's user avatar
  • 539
0 votes
0 answers
4 views

How can I resume a paused motion in Incisor?

I'm working on a project where I set a graphic object in motion, then pause and resume it after specific time intervals. However, I’m having trouble with the resume functionality. Here’s a simplified ...
Boston_CrazyToothStudio's user avatar
0 votes
0 answers
4 views

What is the time complexity of this function to compute equivalence classes using IORefs?

I've lifted the most relevant bits of code from the persistent-equivalence package. I've been staring at this for quite a long time and can't seem to figure out the time complexity of equateAll. I ...
lanf's user avatar
  • 511
0 votes
0 answers
2 views

Is it possible to get information about the dropzone target in the progress-all event in jquery-file-upload?

I have jquery-file-upload working in terms of uploading the file and getting the progress with the progressall. The dropZone is set to be a tbody, and in the submit function, I added a parameter that ...
Ben Holness's user avatar
  • 2,707
0 votes
0 answers
5 views

Is it possible to use reflection to compare two arrays with the same element types?

My class looks something like this: public class Test { public A[] ArrayA { get;set; } } public class A { public string P1 { get;set; } public int P2 { get;set; } } Suppose I have two ...
Shao Skywalker's user avatar
0 votes
0 answers
2 views

Logs not getting sent to Datadog when running Django shell inside a container

The logs that are created by the code running inside the container do get sent to Datadog, but when I'm in a shell session inside the container those logs get outputted in the terminal, but not sent ...
Fredy's user avatar
  • 2,063
0 votes
0 answers
4 views

Next JS app not rendering properly after delete function

When testing on my local environment this works fine but when pushed to the main branch and delayed on Vercel with a Postgres DB it behaves strangely. Creating projects and skills works fine but when ...
Cal's user avatar
  • 1
0 votes
0 answers
5 views

Is there a way to create index slowly on a big table in postgresql 15?

I am using PostgresSQL 15 hosted by AWS Aurora serverless v2. I have a table includes 200 millions rows and I need to create an index on that table. The problem is that creating an index would take a ...
Joey Yi Zhao's user avatar
  • 42.1k
-1 votes
1 answer
13 views

what is the output of this simple recursive function? can you explain in detail?

void test(int start) { for(int i=start; i<2; i++) { printf("%d", start); test(i+1); } } --> test( 0 ); I know the output will be 0-1-0, but I don't ...
Pengcheng's user avatar
0 votes
0 answers
2 views

How do I run multiple BackgroundWorkers that use the same code at the same time in Visual Basic

I want to monitor several folders at the same time and when files arrive process them synchronously. To get a handle on the structure I'm starting by just trying to report the number of files in each ...
Jon Fisher's user avatar
-1 votes
0 answers
18 views

How do I call exit whithout getting an error [closed]

When calling exit I always get an error eg: (1)<class 'TypeError'>: bad argument type for built-in operation or unknown exception data I tryed exit() exit(0) exit(1) and the same with sys....
ratmalwer's user avatar
  • 733
0 votes
0 answers
3 views

How do I use a proxy with chromium-shell-headless?

I am using AWS ECS and docker. I have chromium-shell version 129.0.6668.100-1~deb12u1 from https://snapshot.debian.org/package/chromium/ And I am using node:20.18.0-slim I'm starting a proxy server, ...
Trevor Tiernan's user avatar
0 votes
0 answers
6 views

Displaying an option's Name rather than ID in a MUI multi-select dropdown's renderValue

I am working with a MUI multi-select dropdown and I am struggling the get the renderValue to populate a comma-separated list of the selected options' names. The example from the MUI website ends up ...
Mtullis's user avatar
  • 17
-1 votes
0 answers
8 views

hash seems to be changing every time toga app is run

I'm trying to make a password manager app using toga as a Christmas present for my dad. I want to make it so that you can have multiple users on one device, and one users saved passwords are ...
user24067968's user avatar
0 votes
0 answers
7 views

python multiprocessing gets slower with additional cpus

I'm trying to parallelize a code that should be embarrassingly parallel and it just seems to get slower the more processes I use. Here is a minimally (dys)functional example: import os import time ...
Finncent Price's user avatar
0 votes
0 answers
6 views

VS Code C++ IntelliSense not showing documentation comments

Summary of issue: My VS Code C++ IntelliSense is only showing type information, not documentation comments, in hover tooltips. Behavior: When hovering over types like vector, I only see the type ...
chrisware's user avatar
0 votes
0 answers
2 views

How to Route Specific Paths to AKS Service and Others to an External Azure Web App in AKS Ingress?

I am using Azure Kubernetes Services (AKS) with the NGINX Ingress Controller to manage traffic to my application. I want to configure my ingress so that: All requests to /v2 are routed to a Kubernetes ...
James McCorkindale's user avatar
0 votes
0 answers
12 views

Make menu scrollable on smaller horizontal mobile screen

My menu is using a series of links to appear when you hover over the parent menu item. To make my website work well on mobile devices, I have decided to take a more responsive design approach and use ...
Raptor's user avatar
  • 23
0 votes
0 answers
4 views

AG Grid filtering without an active AG Grid instance?

I've got my hands on a persisted ag-grid filter-model object, I have a set of rows that conform to it's expectation. But I don't actually have an ag-grid component anywhere on the page. Is there a way ...
nclu's user avatar
  • 1,059
0 votes
0 answers
2 views

Add Microsoft account login in Laravel application

I currently have a web application made with Laravel, which already has the standard login system provided by Laravel. I would like to add the option of being able to log into the application also ...
Omar Mohamed's user avatar
0 votes
0 answers
10 views

Python timing of modular exponentiation

We have learned that modular exponentiation can potentially leak private data. For example, consider the following implementation of the left-to-right square-and-multiply algorithm: def ...
Moran's user avatar
  • 9
0 votes
0 answers
8 views

Excel Macro Runtime error: Method 'Copy' of 'Range' failed

I have an Excel VBA script that has been running fine for a year or more that has all of a sudden started acting up and throwing an error "Runtime error '-2147417848 (80010108)': Method 'Copy' of ...
Michael's user avatar
  • 11
-1 votes
0 answers
12 views

Punch-In/Out Machine Downtime Visual Tracker

Programming nooblette here. I'm looking to create a simple program to track machine downtime on my production line. These are the requirements: Open program and prompt to confirm the current date / ...
Rocco Croce's user avatar
0 votes
1 answer
7 views

Why isn't the space complexity of program adding values to a letter keyed hash map linear?

Imagine a program that takes a string of length p as an argument, and counts each letter by adding 1 for every occurrence using a hash map that only uses the 26 letters of the English alphabet as keys....
lordgort's user avatar
0 votes
1 answer
14 views

How do I solve this error message in ubuntu "curl: (1) Protocol "http" not supported or disabled in libcurl"? I have tried a lot of solutions already

I want to run nexus code on ubuntu and when I run the code: curl --proto "=https" --tlsv1.3 sh.rustup.rs -sSf | sh It gives me this error message: "curl: (1) Protocol "http"...
Kieni Idumo's user avatar
0 votes
0 answers
10 views

In Rust can I filter lines of a String that contain codes like "1.2.3" OR "1.2.3.4"?

I am building a program to help count the number of distinct codes that occur in multiple PDFs. I have got the data from the PDFs, that's not a problem. I just need to filter the lines based on ...
figgyfarts's user avatar
-1 votes
1 answer
13 views

In MySQL is it redundant to include id as the last field in a composite index?

Knowing id is the primary key... Lets say we have an index in MySQL like account_id / assignee_id / is_public but the sorting of a query that needs this index is by id (the primary index) changing ...
drhenner's user avatar
  • 2,198
0 votes
0 answers
4 views

How to use a dictionary as parameter in a fixture

When I try to use a dictionary as parameter in a fixture I get this issue: @pytest.fixture(scope="session") def user_create(hp_authentification_page,request) -> None: page ...
Nawel Mele's user avatar
0 votes
0 answers
6 views

python in snowflake - UDF with aggregation seemingly not working

I am trying to do some aggregations with pandas df groupby/transform inside UDF, using python with snowflake. I come across incorrect results - when I do aggregations outside of UDF, all works well, ...
Delude's user avatar
  • 1
0 votes
0 answers
9 views

Table filtering in HTML and JavaScipt [closed]

I have a table that I want to be able to filter in JavaScript (see below). I would like the filter to be as the ones in an Excel spreadsheet, where I can filter multiple columns at once. I have the ...
user103760's user avatar
0 votes
0 answers
5 views

Appropriate GPU deepface

I am currently using only CPU(intel-13700K) for deepface to run face recognition. I have achieved 15 images per second on my dataset; however, striving for more. I am using a combination of ArcFace + ...
Andrey's user avatar
  • 1
-1 votes
1 answer
10 views

console log results adding to each other, rather than printing separately

I have a function that works, and it gives me the correct return when I only use one consol.log statement. But as soon as I add 2 or more console.log statements when calling my function, it will add ...
Andrew McGivney's user avatar
0 votes
0 answers
2 views

How to use seleniumbase in Streamlit cloud

There are a few ressources on how to run selenium in Streamlit cloud with chromium, and this example with google-chrome-stable. But I couldn't find any specific instructions for seleniumbase. ...
abdelgha4's user avatar
  • 411
0 votes
0 answers
12 views

Documenting Software Architecture Component Interfaces Level of Detail

We are currently working towards ASPICE software engineering workflow built around agile for embedded C software development. As part of milestones, different artefacts need to be produced for units ...
stevod's user avatar
  • 19
0 votes
1 answer
5 views

.Net export to CSV file using javascript, and replacing character

I'm using .NET 8.0. I am exporting a grid to CSV file using javascript... One column of the grid has this value AAA;BBB;CCC When I export to CSV I need that the cell that contains this value appear ...
Diego's user avatar
  • 2,334
0 votes
0 answers
2 views

Google Search Console API using Service-Account get Links-Referral report

i want to get Referral link-domain list as report from Google Search Console API as showing in the image Note: my service-account.json is connected with Google-Analytics and Google-Search-Console ...
Nisar Khalid's user avatar
0 votes
0 answers
8 views

Is there a way to fix the inconsistent colors from Unity's Unlit shaders?

I'm having issues with Unity's Unlit shaders making objects different colors from what is expected. For example, when choosing a simple red color, the display shows this However, when the shader is ...
Yohan Kang's user avatar
1 vote
0 answers
3 views

Swiper.js pagination issue - Angular 18

I'm using Angular 18 and Swiper.js The problem is that the pagination disappears for one of the *ngIf in the parent HTML, when there is no *ngIf and when the component with the swiper is located once ...
Elma Bejtovic's user avatar
1 vote
0 answers
1 view

Why is idToken nested under data instead of top-level when using @react-native-google-signin/google-signin?

I’m using @react-native-google-signin/google-signin in my React Native app (for Android and iOS), and the documentation states that when I call GoogleSignin.signIn(), the returned userInfo object ...
Dedition's user avatar
1 vote
0 answers
3 views

Cannot share the board between LED matrix and button in microbitV2 using rust

I am learning embedded rust by trying to recreate microbitV2 library using nrf52833_hal but got stuck. pub struct LedMatrix { col: [Pin<Output<PushPull>>; 5], row: [Pin<Output&...
Rom Rakharb's user avatar
1 vote
0 answers
5 views

Multiple retry spec mutually resets each other. How to avoid this?

I'm using Spring WebClient with ExchangeFilterFunction which adds retry logic to all webclient instances. public ExchangeFilterFunction filterFunction() { return (req, next) -> next.exchange(...
Whiteyesx's user avatar
0 votes
0 answers
6 views

How to open and display different files in WindowGroup windows (tabs) using fileImporter from CommandGroup on the WindowGroup?

In code below the @State var modelData initializes with empty structures, and in that case the ContentView shows nothing. (This is fine.) The modelData can also initialize from a file obtained from ...
TT--'s user avatar
  • 3,170
0 votes
0 answers
5 views

Storing tokens using Cache API in a service worker

I have a project where I need to attach a bearer token onto HTTP requests going to an API. The straightforward way to persist the token is to store it in localStorage and then manually attach it to ...
wyvern's user avatar
  • 136
0 votes
1 answer
7 views

Count how many times an unknown array entry appears across all rows

I have data similar to with data(custid, descriptors) as ( select 1, ['Corporate', 'fun times', 'but not really'] union all select 2, ['lame times', 'Corporate', 'boring'] union all ...
Steven's user avatar
  • 3,290
0 votes
0 answers
5 views

System.Resources.MissingManifestResourceException when Form and resx are in project folder

I have a legacy .NET Framework Winforms application that I am migrating from the old csproj file format to the new SDK-Style format. I did this by creating a new SDK-Style project in the solution ...
NⵙⵙB's user avatar

15 30 50 per page
1
2 3 4 5
484840