Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12111 articles
Browse latest View live
↧

Cant load a particular module in Powershell

I am trying to use[Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext] as follows:$authContext = [Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext]$authUrlI have...

View Article


Image may be NSFW.
Clik here to view.

How to use MUI Drawer in a separate .jsx file with BrowserRouter?

I have prepared a simple test case at Github for my question:In my App.jsx there is following code:<NavDrawer /><BrowserRouter><Routes><Route path="page1" element={<Page1 />}...

View Article


Image may be NSFW.
Clik here to view.

Would like to stack multiple rows of data to single lines

Giving a really simplified example I have a datasheet that looks a little bit like this:Currently each order has the information on the order, name of customer and address on the main line. But the...

View Article

Image may be NSFW.
Clik here to view.

Cannot find module '...' imported from '...' when trying to import functions

I trying to set up a Node.js backend for an Angular app I am creating.I got the server set up, and am now trying to call a function from a different class that will hit a third-party API.My file...

View Article

Image may be NSFW.
Clik here to view.

How change polish chars to unicode in php?

How i can change polish chars to unicode in php?Without use str_replace.Is there any function?Example i try change "Ä™" to "\u0019"edit: The answers that people suggest are incorrect unfortunately :(

View Article


Playwright fetch can't retrieve Post request ended up with test ended error

lately I was doing some research of playwright .. my use case is get Post api call response while page loading and print out for further process...,I came across an issue that fetch post always returns...

View Article

How can I make camera movements more natural?

I'm struggling to make the camera movements feel more natural. Currently, the camera movements are rigid and don't smoothly follow user input or animations.Here's a simplified version of my code:import...

View Article

how can i solve the DNN error?hgvfjbkjnlkmn

what can i do to solve this problem:Traceback (most recent call last): File "d:\class python\pythoncode\forexbotV\Vخالیبرایتست.py", line 5, in <module> from keras.models import Sequential File...

View Article


Image may be NSFW.
Clik here to view.

Using apache http client to upload file using multipart to spring boot

I have an spring boot application that has end point like this@PostMapping("/")public ResponseEntity<FileUploadResponseDto> upload(@RequestPart("details") FileUploadDto...

View Article


Execute JavaScript DOM with .NET

I have an HTML string that contains JavaScript code in the <script> tag. This string is passed to a C# program. I've read a lot about executing JS in C# (Jint, etc.), but I haven't found a...

View Article

How to let a Discord Bot run a Slash Command created by himself (Python)

I am currently searching for a solution to my problem:I want to know if it is possible to let a Discord Bot run a Slash Command which was created by the same Discord Bot.This is my current Code of the...

View Article

df -h showing all the space occupied in root, instead of secondary disk [closed]

I have two disks:/dev/vda where Ubuntu is installed, and /dev/vdb that is mounted on /home/ubuntu/Disk (Note that /home/ubuntu is the home).However, when I type sudo df -h, it shows that /dev/vda is...

View Article

Speeding up a rolling sum calculation?

I'm doing some work with a fairly large amount of (horse racing!) data for a project, calculating rolling sums of values for various different combinations of data - thus I need to streamline it as...

View Article


How to count rows above the current one based on conditions in polars?

Let's have a polars df:df = pl.DataFrame( {'date': ['2022-01-01', '2022-01-02', '2022-01-07', '2022-01-17', '2022-03-02', '2022-06-05', '2022-06-07', '2022-07-02'],'col1': [4, 4, 2, 2, 2, 3, 2,...

View Article

Swiftui NavigationSplitView - last part not working - Why and whats the...

Still Playing with the NavigationSplitView, but found no solution for the following.I need/want to use here the .navigationDestination(for: .....) modifierand want to call the different DetailViews...

View Article


Issue with Zooming to a Single Pixel using AffineTransform in Java

How can I zoom into 1 pixel as a final zoom in result?I'm attempting to zoom in on an image in Java so that eventually only the central pixel is visible, effectively resulting in a single solid color...

View Article

I have a problem.I want to turn on\of ps3&4 devices from pc

What should we do to turn Playstation 3 and Playstation 4 devices on and off from the computer? Is there such a software or device? I want this for a club that provides playstation game services.Who...

View Article


Filter vector inside MutexGuard without cloning

I have a locked a with a vecotr of B struct inside. I'd like to filter a.b without cloning B struct. Is it possible in Rust?use std::sync::{Arc, Mutex};#[derive(Debug)]struct B { n:...

View Article

Go: convert big.Int to regular integer (int, int32, int64)

I assumed this would be a simple issue with abundant answers on the Internet. But that does not appear to be the case.I need to convert a Go big.Int into a regular integer (e.g., int, int32, or int64)....

View Article

Concatenated Video created with FFMPEG is longer than expected

I am using this Video-List:file 'C:\Users\X\Documents\test\input.mp4'inpoint 00:00:02.7650000outpoint 00:00:04.7650000and the following Command:ffmpeg -y -safe 0 -f concat -i output.txt -map 0:v -map...

View Article
Browsing all 12111 articles
Browse latest View live