Newest Questions (original) (raw)

0 votes

0 answers

7 views

Typescript type whose element types intersect to form specified type

Context I have a class which contains a type representing the values I can "get" from it. type FullConfigType = {foo: string, bar: boolean, bing: number}; // the T mentioned here is a little ...

coderatchet's user avatar

asked 7 mins ago

0 votes

0 answers

6 views

OpenAPI Date param to GraphQL in Hive

I have an openAPI schema that includes some parameters for a list endpoint like so: parameters":[ { "in": "query", "name": "start_date__gt", "schema&...

Guy Bowden's user avatar

asked 12 mins ago

0 votes

0 answers

7 views

SSMA for Access fails to read Access Database with error: Unable to cast COM object of type 'Microsoft.Office.Interop.Access.Dao.DBEngineClass'

I am trying to get SQL Server Migration Assistant (SSMA) to Migrate an Access Database (.accdb) to Azure SQL on Windows 11, 64bit. When i attempt to add the Access database to the project, I get the ...

Brian H's user avatar

asked 15 mins ago

0 votes

0 answers

9 views

How do I import raw JSON from a URL in Google Sheets?

I am trying to import raw JSON data from a public API into a single cell in Google Sheets. (For the sake of an example, I'll be using data from Json Placeholder) {"id":1,"name":&...

Stevoisiak's user avatar

asked 21 mins ago

0 votes

0 answers

9 views

Laravel Sanctum generates new XSRF-TOKEN for stateful API Requests

I use Laravel Sanctum to authorize SPA application requests (NuxtJS). In general, I understood the idea with the /sanctum/csrf-cookie endpoint and am already sending a request using axios, which ...

jsssy's user avatar

asked 22 mins ago

0 votes

0 answers

7 views

Select Asterisk/Wildcard * on an attached DB

In a sqlite connection I attach another DB via ATTACH DATABASE 'file::memory:?cache=shared' AS backend A SELECT with asterisk/wildcard * resulting in a syntax error: SELECT db.table.* FROM db.table ...

Vertex's user avatar

asked 22 mins ago

0 votes

0 answers

7 views

Im trying to create an order for my application i have a big issue with the webhook

@login_required def cart_detail(request): # Try to fetch the cart for the logged-in user cart = Cart.objects.filter(user=request.user).first() if not cart or not cart.items.exists(): # Ensure that ...

Lafond Othniel's user avatar

asked 24 mins ago

0 votes

0 answers

6 views

AddJwtBearer OnAuthenticationFailed - skip validation for unprotected routes

on my controller i have both protected and unprotected routes. For the unprotected routes, I want the jwt pipeline to skip validation on those endpoints. This is how I handled it. However I'm not 100% ...

MiguelG's user avatar

asked 25 mins ago

0 votes

0 answers

7 views

Should reference counters always be used when creating a Tcl object?

There's a whole page on the Tcl wiki, but there are a lot of examples and it's hard for me to find them. Here are two simple cases that I often use: Tcl_Obj *innerObj = NULL; innerObj = Tcl_NewListObj(...

Mkn's user avatar

asked 30 mins ago

0 votes

0 answers

7 views

Dropbox oauth Understanding the access code

I have used this process in an application to obtain an access code from Dropbox for a synchronization process I am writing. Everything seems to work as it should - all the steps run without warning/...

Dennis 's user avatar

asked 31 mins ago

0 votes

0 answers

8 views

chartjs click event on the bar chart entire category

So i am using chartjs in my ionic angular project and I am able to attached a click event to tap on a specific bar and get the data. in my case I am rendering 3 bars in each category. for a better ...

Moblize IT's user avatar

asked 34 mins ago

0 votes

0 answers

7 views

Perl AnyEvent AnyEvent::CondVar: recursive blocking wait attempted

I'm trying to build a storage plugin for Proxmox and TrueNAS. TrueNAS is moving to WebSockets for API interaction. Proxmox already has a AnyEvent loop running and the storage plugin is perl ...

user3543187's user avatar

asked 34 mins ago

0 votes

0 answers

15 views

How to implement multilingual forms in WhatsApp Flows (dynamic labels based on language selection)?

I'm building a WhatsApp Flow with multilingual support. My idea is: Let the user choose their preferred language via RadioButtonsGroup. On selection, my backend receives the selected language via ...

Eugene's user avatar

asked 41 mins ago

-1 votes

0 answers

8 views

how to fix/anchor keypoints detected with yolo?

I need centralize, fix or anchor keypoints detected by yolo, as "move while standing still". I using the keypoints on LSTM and the position of keypoints moves on the screen, this cause loss ...

Luis Gomes D N's user avatar

asked 45 mins ago

0 votes

0 answers

8 views

trying to get events from icloud calendar using java/com.github.caldav4j

Using Java, I am trying to use com.github.caldav4j to download events from my iCloud calendar. Using caldav4j i am successfully getting the principal_url and got a list of calendars and got the ...

randy's user avatar

asked 48 mins ago

-1 votes

1 answer

27 views

Code reusability creates pointless unit tests in Java

Say I have a bunch of classes that imitate cars: SportsCar, Truck, and SUV. All of these classes share some public methods like start() and stop() which they inherit from an abstract class Car. While ...

Ruben Rundström's user avatar

asked 53 mins ago

0 votes

0 answers

5 views

NetSuite User Event Script with Query: ReferenceError Query is not defined

I am trying to determine when to run a beforeSubmit user event script on an invoice in NetSuite when an invoice is created in the transaction table. I am able to get the basic script to run and ...

RayJohn's user avatar

asked 1 hour ago

-1 votes

0 answers

16 views

Show image base64 in power bi in visual

I am creating a reporting in power bi. I have several tabs and this report is to be sold to clients. I want to have the client logo on each tab, but I don't want to do it by hand on each tab. I have a ...

Mario Duran's user avatar

asked 1 hour ago

0 votes

0 answers

15 views

python script to generate a token from Delinea Secure Server

I need to generate a token but can't seem to make it work. auth_details = { "usernname" : "fakeuser", "password" : "fakepassword", "grant_type&...

whitemilkfish's user avatar

asked 1 hour ago

Why doesn't Task.Yield() help in making WinForms UI responsive when used in a loop?

While writing this answer, I was under the impression that Task.Yield() will make the UI responsive during a loop started from a button click event: private async void button1_Click(object sender, ...

Ivan Petrov's user avatar

asked 1 hour ago

0 votes

1 answer

21 views

Delete duplicate rows without deleting End Row in vba

As I add an End row to a range I want to delete any rows above that have the same value in columnA. This code saves the new row I am adding but also keeps the first row of any duplicates and leaves ...

nickC's user avatar

asked 1 hour ago

0 votes

0 answers

17 views

DLL injection using Appinit not working on 64 bit OS

I have a 64 bit Windows OS, and I am trying to put my simple dll into appinit thats been written in C++: #include <windows.h> #include "pch.h" BOOL APIENTRY DllMain(HMODULE hModule, ...

Metin's user avatar

asked 1 hour ago

-2 votes

0 answers

16 views

How do I make a second text-shadow on a h1 element? [closed]

coders! This is the code on my style sheet: h1{ text-shadow: 3px 3px 5px hsl(0, 66%, 33%), -3px -3px -5px blue; } The red shadow works when alone. However, the red shadow stops working, and then the ...

Austin Payne's user avatar

asked 1 hour ago

Match start of line in multiline string in lua?

Let's say I want to match any sequence of the hash sign # at the start of a string; so I'd want to match ## here: local mystr = "##First line\nSecond line\nThird line" ... and ### here: ...

sdbbs's user avatar

asked 1 hour ago

-1 votes

0 answers

12 views

Cannot find 'GeneratedPluginRegistrant' in scope

I am not familiar with flutter but I am trying to deploy a flutter project. I initially got error from the awesome_notifications so I updated some packages in the pubspec.yaml file and now got an ...

Fares Mohamed's user avatar

asked 1 hour ago

0 votes

0 answers

9 views

MudBlazor upgrade from 7 to 8 causes Mono runtime error

I have a Blazor application that is using .NET9 and MudBlazor 7. When I upgrade to version 8, I get the following in browser console: [MONO] * Assertion at /__w/1/s/src/mono/mono/metadata/class-init.c:...

user3656651's user avatar

asked 1 hour ago

0 votes

0 answers

11 views

MySQL Alter Table Add Column Fails with 1553 Index Error

I want to alter a table called mvp to add a column. When I run the alter statement, I get an index error: **ERROR 1553 (HY000):** Cannot drop index '': needed in a foreign key ...

SMich's user avatar

asked 1 hour ago

0 votes

0 answers

12 views

Trouble removing side padding from Vimeo embed

I'm trying to embed a Vimeo player as a background, and for it to fill the container, but it keeps showing with gaps on either side. The only way I can kind of fix it is by setting the width and ...

user303096's user avatar

asked 1 hour ago

0 votes

0 answers

14 views

Animation causing other views to move in swiftui

So I have a rather simple animation of a heart image that scales using the spring animation. It's kind of an attempt to make my own little loading screen. The problem is that when the heart animates ...

Neglected Sanity's user avatar

asked 1 hour ago

-1 votes

0 answers

15 views

Qt for Android: How to allow app to write files to Documents folder

I'm trying to run a simple Qt Android app that creates a file in Documents folder. The program is prettry simple: #include #include #include #...

jpo38's user avatar

asked 1 hour ago

0 votes

0 answers

8 views

DuckDB total result count e.g. SQL_CALC_FOUND_ROWS

When doing a select in DuckDB I would like to get the total number of results found. At the same time I would like to use OFFSET and LIMIT for paging. E.g. in MySQL this is handled by ...

Jacob's user avatar

asked 1 hour ago

-3 votes

0 answers

18 views

RC circuits parameters calculation [closed]

I am calculatiing paramaters for RC circuits from HPPC data. I am new to the field and do not fully understand how it work and online sources quite confuses. So I really need a formal way to ...

mikenguyen1712's user avatar

asked 1 hour ago

0 votes

1 answer

20 views

req.cookies is empty in Express middleware but accessible in route handlers

I'm trying to fetch the current user using the /users/current endpoint to get user data. Before that, I'm using a vailedToken middleware to validate the user. However, inside the vailedToken ...

manishpargai's user avatar

asked 2 hours ago

0 votes

0 answers

16 views

tf.keras.utils.image_dataset_from_directory Found 0 files belonging to 0 classes

I am currently attempting to develop an image classification model and have organized my data using the following DATASET/ ejercicio1/ train/ frames/ ejercicio1_train_0001.jpg ...

Adri's user avatar

asked 2 hours ago

-3 votes

0 answers

22 views

Автоматическая табуляция в VSCode [closed]

Я не понимаю почему, но почему-то VSCode использует разную табуляцию в разных файлах в одном проекте как сделать так, чтобы табуляция в ts всегда была два пробела?

Максим Яхонтов's user avatar

asked 2 hours ago

0 votes

1 answer

26 views

SQL Like Clause, how to match a keyword

I'm trying to write a query which searches the inventory system and given a keyword if the keyword matches on any product attribute e.g. color description size etc I can find those products. I have ...

user2043759's user avatar

asked 2 hours ago

0 votes

0 answers

9 views

Testing Firebase GoogleAuthProvider on Localhost

Feeling a bit stuck after reading a ton of articles and following a bunch of other Stack answers (none of which have worked, most of which don't relate to my exact problem). I'll describe the problem ...

Paul's user avatar

asked 2 hours ago

0 votes

0 answers

13 views

libldap.so.2 undefined symbol: EVP_md2, version OPENSSL_3.0.0

Context I am trying to build a small demo application that passes data between RTI DDS Connext topics and Kafka topics. This involves running RTI's Routing Service utility, which in turn runs a [kafka ...

rocksNwaves's user avatar

asked 2 hours ago

-3 votes

0 answers

16 views

Should File Handling Be a Separate Microservice in a Microservices Architecture? [closed]

I’m currently exploring microservices and working on a pet project. I’m unsure what the best approach is for the following scenario: There is a form on the front end with some text fields, and there’s ...

Vladyslav Veretilnyk's user avatar

asked 2 hours ago

0 votes

0 answers

6 views

SQLSTATE 42601 error on DB2 Community Edition attempting to connect by prior

We are trying to migrate from an old DB2 database to a newer DB2 Community addition and we get an error: "ERROR: syntax error at or near "WITH"; Error while executing the query, Error 1,...

Wayne B.'s user avatar

asked 2 hours ago

0 votes

0 answers

14 views

How to put optional label and/or tooltip on OPENSTREETMAP map marker

I'm using this function to put multiple map markers on an OPENSTREETMAP. It works great. Now, I want to add a hover tooltip to each marker to note what the map marker is for. Is this easily done? What ...

user3384413's user avatar

asked 2 hours ago

-2 votes

0 answers

10 views

Leach Implementation in Contiki-ng

Does anyone have the LEACH Algorithm in Contiki-ng they're willing to share. This would help me on my research. Thanks for your help!

Leonardo Gallego's user avatar

asked 2 hours ago

0 votes

0 answers

23 views

Open folders within same window in different tabs

I have this powershell script and it opens the folders in sepearate windows, in Win 11 I want them to open in different tabs Start-Process explorer.exe "C:\Users\Users\Documents" Start-...

EB farnum's user avatar

asked 2 hours ago

-1 votes

0 answers

19 views

Specifier quantifier list error while building kernel [closed]

Having some internet driver issues with Arch Linux right now, so I’m on a phone Please help! I tried using Make to build the Linux kernel 6.13.4. I patched it with some patches I found from kernel ...

user18094505's user avatar

asked 2 hours ago

0 votes

0 answers

21 views

MathML in SVG - Square root of fraction causes root symbol to extend excessively

Usually, MathML displays roots with the center of the crook of tail aligned with the bottom of the root content: When taking the square root of a fraction though, the tail extends well past the the ...

agtl's user avatar

asked 2 hours ago

-3 votes

0 answers

15 views

Finding Post ID from an Instagram Dark post, so I can keep the engagement

Does anyone know how to get the actual numerical post ID from an instagram dark post (an ad created in FB Ads Manager, that is not an actual post on your instagram) I am trying to duplicate an ...

Sean Hayes's user avatar

asked 2 hours ago

-1 votes

0 answers

10 views

Best cordova plugin barcodescanner [closed]

What would be the best barcodescanner plugin recommended for a cordova app I understand cordova-plugin-barcodescanner is depracated or is not compatible to the latest sdk versions I'm currently using ...

fcaserio's user avatar

asked 2 hours ago

0 votes

0 answers

8 views

Dapper is not mapping 1-to-many entities correctly c#

I am fetching nested 1-to-many entities dynamically. Dapper is not mapping 1-to-many nested entities correctly. Within map function, objs has 2 items. objs[0] is parent. Parent entity is good with ...

saibin's user avatar

asked 2 hours ago

0 votes

0 answers

14 views

GitHub Copilot removes important comments when using "auto-apply"

I'm working on a few Python projects that are specifically designed for teaching programming to students. In these projects, I include detailed comments that explain exactly what each part of the code ...

Programmic's user avatar

asked 2 hours ago

0 votes

0 answers

14 views

modify java protobuf and protobuf extensions in parallel, version > 3.17

I have generated java protobuf class. This class has protobuf extensions also. Is it safe to modify different unrelated fields and extensions of the same protobuf builder in parallel? message ...

Capacytron's user avatar

asked 2 hours ago