Newest Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
11 views

How to create and apply a new layout with _Imports.razor's directives then embed this into existing templated authorization project?

I'm unable to separate the Login.razor, Register.razor, ForgotPassword.razor, and ResendEmailConfirmation.razor components from the MainLayout.razor layout properly. I am using _Imports.razor to ...
DevQt's user avatar
  • 1,388
0 votes
0 answers
13 views

Can't get gtest to run in VS Code

I created a super simple C++ project to practice writing some sorting algorithms. I want to create some simple unit tests for my the algorithms to confirm correctness. My code directory is as follows: ...
Kafka's user avatar
  • 1
0 votes
0 answers
10 views

C++ class template with conditional data members

Consider the following C++ code. #include <iostream> #include <set> #include <string> enum class Field { kX, kY }; std::string ToString(const Field f) { switch (f) { case Field:...
Stirling's user avatar
  • 391
0 votes
0 answers
6 views

In git PR i see a file without any change, how to fix this?

In git PR i see a file without any change, how to fix this? I tried to replace the source branch file in another branch created from target branch in changes i see no diff/changes made in file. still ...
prashant's user avatar
0 votes
0 answers
10 views

How do you list all pods of a specific type using kubectl?

In the past I would use something like this kubectl get svc --field-selector spec.type=LoadBalancer kubectl get svc --field-selector spec.type=ClusterIP However this stopped working when I updated ...
Bryan Tan's user avatar
  • 365
-1 votes
0 answers
10 views

React Mixed Content

I have deployed an API server and a client to azure containers. The client makes HTTPS requests to the API URL, This URL is set both at build time and as env variable, following the REACT_APP_API ...
Rodrigo A's user avatar
  • 785
0 votes
0 answers
13 views

Android System Monitoring: ADB polling vs. APK with Socket.IO - Which has lower performance overhead?

I need to collect various system metrics from an Android device, including: Frame rate (FPS) Memory usage CPU frequency Battery level Battery voltage Battery temperature Battery current Power ...
Bellong's user avatar
  • 49
1 vote
0 answers
10 views

Usage of the "tuneup" program for the GNU GMP library

I was reading again gmp-man-6.3.0.pdf, and I happened to notice section 2.6 Performance optimizations. I can read there: In particular for long-running GMP applications, and applications demanding ...
virolino's user avatar
  • 2,299
0 votes
0 answers
12 views

Results of Questionnaire to be downloaded as a spreadsheet

So i have this Model namely Questionnaire in models.py file of a Django project class Questionnaire(models.Model): title = models.CharField(max_length=200) description = models.TextField(blank=...
raza hussain's user avatar
0 votes
0 answers
15 views

How to override Specific CMSParagraphComponent in SAP Spartacus and inject custom styles/scripts from CMS?

We're using SAP Spartacus as the frontend and fetching dynamic content from SAP Commerce Backoffice. Our CMS team is managing FAQ-style content using the CMSParagraphComponent. Problem: The content ...
Varun Joshi's user avatar
0 votes
1 answer
16 views

How to extend fixture from the base class?

I'm trying to extend a fixture: that means not only overriding, but partially reusing the old one. For example, in the code below the fixture Test.values uses the fixture values and concatenates lists ...
Dmitry Kuzminov's user avatar
-1 votes
1 answer
16 views

Using both clang-format and cpplint leads to race condition

How can I resolve this race condition? Original CPP file content #include "header/doc.hpp" #include "header/node.hpp" #include <string> #include <cstdint> #include &...
Dinesh's user avatar
  • 1,888
0 votes
0 answers
17 views

How to scatter plot marker size based on astronomy image data?

For example, in this code I plot a astronomy FITS image: def displayimage(img, wcs): fig, ax = plt.subplots( figsize=(5, 3), layout="compressed", subplot_kw={"projection&...
Firestar-Reimu's user avatar
0 votes
0 answers
19 views

Managing plaid integration for the same institute for different products

I am building an app that is supporting plaid integration. So, far with my research and endless tickets with plaid team it's still a huge issue to make things work. In my situation, i support pulling ...
Moblize IT's user avatar
  • 1,344
0 votes
0 answers
23 views

Any way to know which wallet to be used to sign in One-Click Auth with Reown iOS SDK?

I posted the same question in their GitHub but no response yet so let me ask here too. I'm integrating Reown iOS SDK to do personal_sign via wallets. I understand there are One-click auth and Two-...
Toru's user avatar
  • 1,284
0 votes
1 answer
32 views

How to Programmatically Style the Google Sheets Sidebar Container with Apps Script

I'm trying to change the background color and font color of the main Google Sheets sidebar container—the frame that holds the title and close button—using server-side Google Apps Script. I know how to ...
Kenneth's user avatar
  • 11
0 votes
0 answers
9 views

Hyperledger Fabric chaincode typescript deploy error "MissingRefError: can't resolve reference Object from id PatientModel#"

I'm working on a smart contract using Hyperledger Fabric with TypeScript. I have the following model import { Object, Property } from 'fabric-contract-api'; @Object() export class PatientModel { @...
Khang's user avatar
  • 181
0 votes
1 answer
24 views

GitHub updating old PR branch

ALL, I have about a year old branch with submitted PR. About 6 month later I tried to pull the latest master in but for some reason didn't finish. Now I'll try to complete the PR and submit it for ...
Igor's user avatar
  • 6,395
0 votes
0 answers
27 views

Getting StopIteration when using HuggingFaceEndpoint with LangChain and flan-t5-large

I'm trying to use the langchain_huggingface.HuggingFaceEndpoint integration to call the "google/flan-t5-large" model from Hugging Face in a LangChain pipeline. Here's my code: from langchain....
coderbhai's user avatar
0 votes
0 answers
21 views

How can I click the first div class under a div class in Playwright testing?

new to Playwright Testing here. Here's my HTML structure, I'd wanna click the first "div.card-body" under "div.position-relative", or even under "div.row". <div class=&...
meowyn0316's user avatar
0 votes
0 answers
9 views

React Native Android fetch to Ngrok URL fails

I'm building a React Native Android app and trying to send a request to my local backend server, which is exposed using Ngrok the request fails The Ngrok URL works perfectly in: Browser, Postman Node....
Sukhwinder Saini's user avatar
-1 votes
0 answers
17 views

Is assigning a reference to a temporary undefined behavior? [duplicate]

I found this code in the wild. Does it produce undefined behavior? struct Foo { Data data; Foo f1(const Foo&) const; Foo f2() const { return Foo().f1(*this); } Foo&...
SU3's user avatar
  • 5,479
0 votes
0 answers
14 views

How to cache serializable data class to Redis using @Cacheable in spring boot?

I am trying to cache a Kotlin data class(serializable) to Redis, but I am getting this error- org.springframework.data.redis.serializer.SerializationException: Cannot deserialize at org....
Pawandeep Singh's user avatar
1 vote
0 answers
14 views

How to get the directory of the published package for Windows Forms application [closed]

I want to get the path of the folder from which the user accesses the application. This is the folder with setup.exe, .application, and the Application Files folder. Everything I have tried in my ...
dwilliams's user avatar
-1 votes
0 answers
22 views

How to guarantee idempotency while i'm enqueuing?

I'm developing a new feature, that is basically this: I put a file in the S3. I set up a trigger that will create an event for new files uploaded. A consumer will read the message and starts to ...
David Santos's user avatar
0 votes
1 answer
29 views

Excel VBA - Is It possible to merge 2 ObjectLists

I have a For Each loop that I'm trying to use with a For Each objs In Sheets("Categories").ListObjects Blah blah blah Next This works fine. The problem is that there is an outlier ...
wallybanger's user avatar
0 votes
0 answers
17 views

How to compute the smoothed curve defined by gml:CubicSpline in a WAFS SIGWX Forecast?

I'm studying the gml:CubicSpline smoothing algorithm used in the IWXXM WAFS SIGWX Forecast, based on the WAFS-Example.xml sample. For example, consider the following GML curve: enter code here <...
Carl Wang's user avatar
0 votes
0 answers
21 views

Spring Data - Sharing a common model between a transformer API and persistence layer API

I am working on a Java project where certain xml files are converted to POJOs and then saved to the database in Cassandra. The 2 projects have a common model which are identical in every way. Since ...
BreenDeen's user avatar
  • 718
0 votes
0 answers
15 views

Both auto-reload and auto-preview stopped working on SNAP OpenSCAD-Nightly

I wish I could explain more succinctly but it makes no sense. I bought a new computer which had Ubuntu 24.04.2 LTS preinstalled. From the Snap-Store I installed OpenScad-Nightly latest/edge. I use the ...
bielawski's user avatar
  • 1,722
1 vote
1 answer
25 views

Align text bottom with floating images

I'm trying to have my text wrap nicely around two images, but I'd like the text to be aligned at the bottom of it's content (the last line touching the bottom margin of the wrapper). <!DOCTYPE html&...
Raphael's user avatar
  • 1,740
0 votes
0 answers
14 views

Error while setting a value using Actuator on kuksa

I am using https://github.com/eclipse-kuksa/kuksa-mock-provider in my local to try. My kuksa broker is up and running fine. When do GET for a actuator path 'Vehicle.Body.Windshield.Front.Wiping.System....
user12's user avatar
  • 339
-2 votes
0 answers
40 views

Template class construction

I'm fairly new to cpp, and stumbled upon this problem. Suppose I have a template class like below, when I return the typename only in the function it seeems like the template class gets constructed. ...
sealiufhase's user avatar
0 votes
0 answers
15 views

What is the equivalent of Android Toast on iOS in Expo/React Native?

What is the equivalent of Android Toast on iOS in Expo/React Native? In Android development, the Toast component is commonly used to display short, unobtrusive messages to the user. What would be the ...
Imad's user avatar
  • 11
0 votes
0 answers
18 views

VSCode: Highlighting active "section" (e.g. explorer sidebar vs. main editor vs. bottom terminal/output/problems/etc)?

First, please note I'm not sure of the proper terminology, so by "section", I mean, for example, the explorer sidebar, or the main editor, or the thing containing terminal, problems, etc.). ...
Bob Vesterman's user avatar
-1 votes
0 answers
23 views

Can npm modules be shared between environments?

I have a project that involves developing a website using NodeJS, and I've just run into a bit of a problem regarding my bad habit of jumping back and forth between Windows and WSL. I don't like ...
TRD's user avatar
  • 27
1 vote
0 answers
27 views

How to build multiple HTML entry points with TypeScript injection and nested output folders in Vite?

Background I'm migrating a complex multi-page application from Webpack to Vite. Each HTML file has a corresponding .ts script, and the files live in nested directories. Note: These entry HTML and TS ...
Hieu Pham's user avatar
0 votes
0 answers
23 views

Delphi 12 localization tools are gone

I have a huge project where I was using Delphi 11.x and its embedded localization tools, like menu "Update localized project" and I could compile a DLL that contains all I need to localize ...
user1816813's user avatar
0 votes
1 answer
21 views

Expect script handling ssh key

I have script for running ssh, and it's running well when connected to new ssh version, the problem is when connected to old devices and still using diffie-hellman-group1-sha1. this is my script spawn ...
Yohan Oc's user avatar
-1 votes
2 answers
46 views

How to implement a method that receives two strings and displays a message with the longest string and its length, respecting the restrictions

How to implement a method that receives two strings and displays a message with the longer string and its length, without using if, switch or ternary operators?
Marce Puente's user avatar
-4 votes
0 answers
72 views

Write a program that uses dynamic programming to solve the following problem. Find the point closest to P [closed]

I've been trying to solve this question. Need it done in python. Every time I try I somehow get to the wrong answers and I think I may be trying to hard to figure it out. Someone please help me figure ...
user3599922's user avatar
0 votes
0 answers
18 views

How do I get my Ajax code to pass a Google Sheets ID parameter so my datatable can show that Google Sheet's data on my website?

I'm attempting to pass a parameter into an app script function so that it returns a specific Google Sheet by using Ajax. This is going on my hostinger website so I'm utilizing datatables for a more ...
Lemonade Limenade's user avatar
0 votes
0 answers
16 views

Fluent HTML Builder that accepts html code in a funtion

I am trying to build a repeating list with a model class: public class Item<TModel> : IHtmlContent { public Func<TModel, IHtmlContent, IHtmlContent>? TemplateAction { get; set; } ...
The Modulator's user avatar
0 votes
1 answer
33 views

How can I return a Filter Formula reference range?

I'm trying to return a range I've gotten results with via cell formula with the app script equivalent so I can in turn overwrite the array with different values. This is the formula I'm using which ...
Cog's user avatar
  • 1
0 votes
1 answer
23 views

Laravel12 rename() issue during composer install

I am going to setup Laravel12 MVP project, but I have a problem in installing packages with composer. When I run composer require or php artisan config:clear , it gives me error. rename(D:\workspace\...
pro guard's user avatar
1 vote
0 answers
17 views

Android Emulator not consistently receiving push notifications from various apps

I'm using an Android Studio emulator hosted on my mac and for some reason I only sporadically receive push notifications from apps like Gmail. I've noticed that toggling airplane mode off/on or cold ...
rachelyw's user avatar
  • 138
0 votes
0 answers
13 views

Conflict between RequiredFieldValidator and Client Side CustomValidator

3rd time's a charm. Let me apologize for not knowing proper StackOverflow etiquette in my previous two question attempts. I am trying to validate a page. By design, it is allowable for the user to ...
Nancy K's user avatar
  • 51
0 votes
0 answers
15 views

Draw a straight line between two visual elements in MAUI app. .NET 9

I’ve developed a cross-platform Sudoku app for Android and Windows using MAUI (.NET 9) and Shell, following the MVVM design pattern. The UI is defined in XAML using StackLayout to organize visual ...
SigmaSolutions's user avatar
0 votes
0 answers
24 views

Flutter: inlineData content part not yet supported

I have been trying to implement Gemini image generation in Flutter, and I have use the sample code from their official documentation: https://firebase.google.com/docs/ai-logic/generate-images-gemini?...
Daniel Sega's user avatar
0 votes
0 answers
21 views

Why does Spring WebFlux use CharSequenceEncoder instead of KotlinSerializationJsonEncoder when returning a Kotlin data class?

I'm building a Spring WebFlux API with Kotlin and using Kotlinx Serialization for JSON serialization. build.gradle.kts plugins { alias(libs.plugins.kotlin.jvm) alias(libs.plugins.kotlin....
Pawandeep Singh's user avatar
0 votes
1 answer
21 views

How can I modify a statically-served file in express before serving it?

I have a simple website that stores cat pictures. (Ok not really but I'll use this example.) The server is a simple express server: app.use(express.static("./public_html")); But I have a ...
Isaac King's user avatar

15 30 50 per page
1
2 3 4 5
484307