All Questions

New search experience powered by AI

Stack Overflow is leveraging AI to summarize the most relevant questions and answers from the community, with the option to ask follow-up questions in a conversational format.

Get early access
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Text input and Focus in Adornment Layer (VSIX)

I am making a Visual Studio IDE extension that has an Inline Difference View feature. I used CreateDifferenceView to create a FrameWorkElement, be aware that this method will create two inner ...
thedemons's user avatar
  • 1,156
-1 votes
0 answers
14 views

Is there any tutorial available in which explain about how to connect a online server with android application without firebase [closed]

"I'm looking for a solid tutorial on app backend development. Struggling to find a good one. Seems like there's only content for Firebase. As a beginner Kotlin developer, I'm a bit lost on ...
Ankit yaduwanshi's user avatar
0 votes
0 answers
6 views

Telegram MiniApps (WebView) debugging - Add developers' extension to DevTools

I created a sample DevTool extension like "Hello world" that just adds a tab to DevTools panel, it appears when I launch DevTools in the browser. But when I push "Inspect" menu on ...
Ivan Khorin's user avatar
0 votes
0 answers
6 views

What is the efficient way to filter and copy files from Azure blob storage that contains million files using Azure Data Factory?

I want to copy files in a Container in an Azure blob storage which contains around 10,000,000 CSV or Zip files. Filename format looks like "Energy_ReportName_Timestamp_VersionNumber.zip". ...
Mohammad's user avatar
  • 843
0 votes
0 answers
17 views

SQL select substring which is before the specified words

I'm attempting to SELECT a substring from a larger string that should end before the words "STORE" or "PROTECT". The problem is that there are a few scenarios in which the words &...
Rahul Hendawe's user avatar
0 votes
0 answers
7 views

Swift AVFoundation function to flip camera doesn't work

I have a function below to toggle between the front and back camera. This function below works but I have to click a button twice that calls this function for the camera to actually flip. I tried ...
ahmed's user avatar
  • 245
0 votes
1 answer
17 views

How to dynamically remove height calculation when window is resized to a specific media query?

I have set a height calculation on the class .col-sm-12.col-md-6. But I don't want the height calculation if the window size is less than 780px. Is there a way to remove the height calculation on .col-...
George's user avatar
  • 25
0 votes
0 answers
10 views

Why can't access a two dimension array elements in the following situation? [closed]

I have a two dimensional array like this: array(4) { [0]=> array(4) { [0]=> string(3) "INT" [1]=> string(3) "0.1" [2]=> string(1) "0&...
Zsugo's user avatar
  • 23
0 votes
0 answers
13 views

Two distinct Services for connecting and sending to server? Better performance?

I perform some actions inside a service: public void performAction() { String text = getText(); ... if(text!=null) { ... } } Now I want ...
gutey's user avatar
  • 76
-2 votes
1 answer
42 views

How can I prevent JSON from being overwritten?

When you run the code, the JSON is overwritten. I would like to prevent that and add data. const fs = require("fs"); exports.getHome = (req,res) => { res.render('../views/home.ejs',{ ...
okome omochi's user avatar
0 votes
0 answers
14 views

safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge

When fine-tuning a Large Language model (Qwen), there is no .bin ending model files but only .safetensors. The following error occurs when importing this pre-trained model. The specific code and error ...
zhibing zhang's user avatar
-2 votes
0 answers
10 views

some time it not install why the reason react js [closed]

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! ...
ravindra's user avatar
0 votes
0 answers
18 views

Why does parse_ini_file only work with .ini extension? #php

As per this post: Load a .env file with PHP I am trying to load my .env file. If I use parse_ini_file(".env") it doesn't work. But when I copy .env to .env.ini and use parse_ini_file("....
StackMasterGeneral's user avatar
0 votes
1 answer
24 views

FormMethod.Get with Html.BeginForm gives error in ASP.NET Core MVC

I an trying to implement a search query string for my searchbar. Following the Microsoft documentation: Adding search, it suggested using Html.BeginForm("action", "controller", ...
ZNAXNOR's user avatar
  • 100
0 votes
0 answers
10 views

How to copy new files from a blob storage container to another container using Azure Data Factory?

I have an Azure blob storage and I want to copy files from "Container_Source" to "Container_Sink" with the below conditions: I want to copy files starting with "Energy", ...
Mohammad's user avatar
  • 843
0 votes
0 answers
20 views

How would I take user input and convert it to a runnable equation?

I am currently trying to make a graphing calculator in Java in which the user inputs an equation, for example, 3x^2+4x-14, which is fed into the program and graphed. How could I take any user equation ...
SpicyPark's user avatar
0 votes
0 answers
20 views

I get an error "TypeError: object of type 'Number' has no len()" in my laptop or any other system while the same code run fine in my system

This is the definition file which is being used to run another .py file. I do not know what's wrong here as the same code runs fine in my desktop system. class scalarpow(object): """...
Trupti Vijay Patil 1910513's user avatar
0 votes
0 answers
8 views

(node:23108) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token '??='

(node:23108) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token '??=' I was caught with this error when is switch to node 14.17.2 from node 20.1.2 for test my another project in node ...
Narayana Rao's user avatar
0 votes
0 answers
23 views

how to get data from other table that is not directly related in laravel?

I'm quite new to Laravel so I don't quite understand the eloquent and it's query syntaxes. I want to get the name field in table products from ProposalController, but the table relationships are like ...
dapidmini's user avatar
  • 1,532
1 vote
1 answer
30 views

Golang HTTP Request types

The "net/http" golang package has a response type which I find confusing. It defines a member Body io.ReadCloser which requires an additional call to some form of an io writer to process. ...
EnnFour's user avatar
  • 343
0 votes
1 answer
21 views

Nest.js " Nest can't resolve dependencies" Error

While learning nest.js I got following dependencies Error in my nest.js API, I tried to debug the code in lot's of ways but it's not helps me! [Nest] 21172 - 09/12/2023, 10:16:19 am ERROR [...
Berlin Johns. M's user avatar
0 votes
1 answer
22 views

How to do condition check if optional fields in a typescript union type?

I have several similar types like { value: number, type: 'number' } and I was going to put them in union types such as: type UnionType1 = { value: number, type: 'number' } | { value: string, type: '...
jayatubi's user avatar
  • 2,037
0 votes
1 answer
9 views

Nuxt 3 default.vue layout loads components in the wrong order

I pulled a project that was working fine, I changed my npm tool to yarn, removed node_modules, installed with yarn and ran with yarn dev, and all of a sudden I've got this strange bug, where the order ...
Miguel Stevens's user avatar
0 votes
0 answers
4 views

ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 256, 256, 3), found shape=(32, 256, 4)

import tensorflow as tf from keras.preprocessing.image import ImageDataGenerator def load_and_pred(file,sizes=256): img = tf.io.read_file(file) img = tf.image.decode_image(img) img = tf....
Gaurav Joshi's user avatar
0 votes
1 answer
17 views

How do you specify which file you want to save to in the PIL save function in python?

The goal is to convert any images in a given directory to png and then add them to a new directory. I can't seem to find a way to save the images to the directory I want using the PIL save function: ...
Alex S.'s user avatar
-4 votes
0 answers
22 views

Why SQL is important? [closed]

I am intrigued by the growing prominence of SQL within diverse companies and industries. It seems that SQL, or Structured Query Language, is experiencing a surge in popularity, becoming a staple skill ...
Thanh Nguyen's user avatar
-2 votes
0 answers
16 views

i have Question about Adobe Services API in Java [closed]

I am planning to use this tool to read text from PDFs and automate the data organization process by incorporating logic. I understand that this API uses OCR technology to recognize and extract data ...
Dsyt's user avatar
  • 1
0 votes
0 answers
15 views

Identifier construction in nim macros (instead of templates)

In nim, if I am writing a macro, how do I explicitly construct a name from an argument. Specifically in the nim manual (see here) we have the following example of "identifier construction" ...
Nate Ackerman's user avatar
0 votes
0 answers
14 views

Openai ChatGPT (GPT-3.5) API error: "Invalid URL (POST /chat/v1/completions)"/ Raw response for the API , Status code 400

I was planning on developing a chatgpt app and I keep on facing the same error. There was an issue setting up your call. Raw response for the API Status code 400 "error": { "message&...
LUTHFI NASSIR's user avatar
0 votes
0 answers
17 views

Why I am not able to get upper half of the HTML structure?

I am learning web scraping and tried to scrape HTML structure on my MAC, I tried using multiple libraries(Selenium, BeautifulSoup, request-html) but still I am getting just the lower half of the HTML ...
Shivashish Mishra's user avatar
0 votes
0 answers
5 views

Trouble installing Siemens TIA Portal

enter image description here 07:13:01 | BEGIN. Execution started. 07:13:08 | OK RunningProcesses () Complete 07:13:08 | OK ...
NkuthaloSA's user avatar
1 vote
1 answer
17 views

Responsive grid that responsively resizes to fit parent div, preserving parent div's own responsive height

I need a grid of squares that responsively (page resize) fills, but does not expand, its parent div. The basic structure I have is below, with the parent div at 50% height of page. I want the grid to &...
Skeptigon's user avatar
0 votes
0 answers
17 views

I can't connect MySQL VPS with SSH tunnel with Workbench

I've installed MySQL on my VPS server. Via MySQL Workbench, I was able to connect to the MySQL server on my VPS to create a database with tables. However, as my IP address is dynamic, MySQL Workbench ...
walkingtomron's user avatar
0 votes
0 answers
22 views

Getting Assertion error when emit a state in aysnc function in Flutter bloc

Future<void> fetchInitialData(FetchInitialDataEvent event, Emitter<WalletState> emit) async { if (wallets != null) { emit(WalletListState(wallets: wallets!)); } else { ...
Mohammed Safiq's user avatar
0 votes
1 answer
23 views

Album Art now visible in Android 11

My android application works fine till Android 9 but is failing to show thumbnails for music files in Android 11. In the logs I'm receiving UnsupportedOperationException: Unknown or unsupported URL ...
LAKSHYA AGARWAL's user avatar
0 votes
0 answers
23 views

Execution failed for task ':app:compileFlutterBuildRelease'

image error code1 /C:/tools/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-2.1.0/lib/src/utf16.dart:16:1: Error: Can't have modifier 'final' here. Try removing 'final'. final class Utf16 extends ...
Amuzha's user avatar
  • 1
0 votes
1 answer
28 views

Python overwriting dictionaries while iterating

I'm currently trying to write data to a json file. It's a dictionary with a nested dictionary inside. I'm iterating through jsonArray which is a list of dictionaries. Each dictionary has information ...
Nathan's user avatar
  • 11
0 votes
0 answers
9 views

why is the next/image not loading images on production?

smaple code `/** @type {import('next').NextConfig} */ const path = require("path"); const nextConfig = { reactStrictMode: true, unoptimized: false, transpilePackages: ["@nextui-...
ANKIT SAURABH's user avatar
0 votes
0 answers
33 views

How do I read a file object into parallel arrays (2D string and 1D int)?

Trying to make a Spanish-English dictionary. I'm writing strings (for the words) and ints (for a "times word searched" feature) into a file, reading them into parallel arrays, and displaying ...
Loading Screen's user avatar
0 votes
0 answers
27 views

"Could not install packages due to an OSError" while trying to download python packages

I've been using python v3.12 for the past month without any problem, but now out of nowhere i'm unable to download any packages at all. It gives this long list of warnings and an error. > WARNING: ...
Bushra's user avatar
  • 13
-2 votes
2 answers
29 views

How to resolve "Uncaught TypeError: console is not a function script.js:1:1 " error

I simply create a script.js and connect it with index.html In script.js i write console("Hello World from js"); I want to see the console statement Hello World from js in the browser console....
Shivam Thakur's user avatar
-1 votes
0 answers
23 views

How to implement custom markdown rules in SwiftUI? [closed]

I want to make a chat app where you can enter custom emojis and then render them in line with the rest of the text. It's very similar to how Discord's emojis are rendered with markdown. However, I ...
12944qwerty's user avatar
  • 1,995
0 votes
0 answers
12 views

socat: forward remote character device to local

How to forward a character device from rmote to local using socat? I'm trying to use URH with an SPI(cc1101) device. My local computer has a lack of SPI Interface and my BananaPI can't run URH (at ...
mawe222222's user avatar
0 votes
0 answers
19 views

React web forget the navigation after refresh

We have react website where we are using redux, useParams and data is coming from api, We are taking some data from redux and use params to pass that to api so we can show dynamic response, website ...
Aditya's user avatar
  • 1
0 votes
0 answers
9 views

How to write opencv function to find out if user is looking to the right of the camera, to the left of the camera, or straight towards the camera?

I am trying (and struggling) to write an opencv function to find out if a user is looking to the right of the camera, to the left of the camera, or straight towards the camera? Here's what I have ...
David's user avatar
  • 11
0 votes
1 answer
14 views

QGraphicsLineItem::shape() crash while calling QGraphicsLineItem::boundingRect()

the program immediately crashed once i called the boundingRect() method: QPainterPath CLineItem::shape() const { qreal radius = 1.0; QPainterPath path; path.moveTo(this->line().p1()); ...
Natural_User's user avatar
0 votes
0 answers
20 views

Springboot Caching is not working as expected

I am trying to implement caching via SpringBoot but its still always submitting the message. I have implemented my CacheManager @Component @EnableCaching public class SimpleCacheCustomizer implements ...
ritul sinha's user avatar
1 vote
0 answers
30 views

Jetty server started but not able to hit the apis

I am trying to create a spring webflux application (java 17) which is expected to: - Listen to sqs events and do some processing. (Working fine) Respond to some configured apis. (Not working). From ...
Saurabh Choudhary's user avatar
0 votes
2 answers
52 views

I don't understand how this user array is sorted using sort function

there is an array called users which has objects with in there is personal information of different persons. there is a function called getDatesfromString which strips string to date format. there is ...
Abrham_m's user avatar
0 votes
0 answers
6 views

Difference in using properties in validation methods in Objective-C

I'm working on a validation system in Objective-C and I'm encountering a difference in behavior between two types of validation functions that use a validateHandler property. Firstly, I have a method ...
Jael  Ruvalcaba's user avatar

15 30 50 per page