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

Valgrind: Memory still reachable with trivial program using

Take the following trivial program:#include <iostream>int main() { return 0;}If I run this using valgrind, I'm told that there are 72,704 bytes in 1 blocks that are still reachable. There have...

View Article


How do I pass disjoint slices from a vector to different threads?

I am new to Rust, and struggling to deal with all those wrapper types in Rust. I am trying to write code that is semantically equal to the following C code. The code tries to create a big table for...

View Article


How to create a loading bar in java

I need to create a progress bar with java swing for a loading screen of my standalone application.

View Article

How do I use my SQLite Query in my React Application?

Recently, I created a small react application that creates a quiz for the user to complete. However, I wanted to grab the questions from a database. Therefore, in VScode, I imported SQLite3, created a...

View Article

Power Button or volume button trigger for notification service using flutter

I am a student working on kinda SOS app in flutter. i am stuck on a feature piece of code. When i press the power button for like 3 second or double tap the power button instead of showing the power...

View Article


Docker: Error response from daemon: invalid mount config for type "bind"

Admittedly, the issue relates to ROS2, but the problem arises in relation to running a Docker container so I believe it is more suitable here.I'm trying to install this distribution according to the...

View Article

Google picker in Electron returns 403 when packaged but not local dev

We are running into an issue where the Google picker is working fine in our web builds and our local development Electron build, but when we go to package up a staging build, opening the picker gives...

View Article

Trouble saving workout data to database using Entity Framework Core and...

I'm encountering difficulties when attempting to save workout data to a database using Entity Framework Core and ASP.NET Web API. I have a Workout class defined with properties such as WorkoutId,...

View Article


Laravel Livewire form: no action on create button click

In Laravel Livewire, nothing happens when I click the "Create" button on the form.namespace App\Livewire\Components;use App\Models\ProjectLists;use Livewire\Component;use Livewire\WithFileUploads;use...

View Article


I am trying to create filename using the UserForm text box with VBA in Word

I am working in Word 2007. I have created a Macro-Enabled Template that I am trying to automate the .SaveAs based on the input of a text box from a UserForm. How do I dim and set the input text to use...

View Article

Crystal Reports Summarize Detail by Conditional Groups

In Crystal Reports XI R2, I would like to split my details into two groups based on conditions. Currently the details show all parts and their names and costs in detail. I would like for products with...

View Article

How to select a type for a method based on the generic type provided in the...

I have the following class:class Processor<TReq, TRes> { constructor( private handler: (input: TReq) => TRes ) {} public handleRequest(input: TReq): TRes { ... const res = this.handler(input);...

View Article

Tensorflow image classification model peaks after second epoch and keeps the...

I have a simple classification model with 4 different classes, stop, go, right, left traffic hand signals. After the second epoch i get the same accuracy for the rest of the epochs. I have tried using...

View Article


I am encountering an issue within IntelliJ IDEA, specifically as follows:

"unresolved plugin": 'org.apache.maven.plugins:maven-surefire-plugin:2.22.2'"unresolved plugin": 'org.codehaus.mojo:wagon-maven-plugin:1.0'"unresolved plugin":...

View Article

How to use CONST instead of ENUM in a template class

So I'm trying to implement template class that holds a static array and I would like to use const int size as a parameter but the only way I can implement this class is by using enum technique for...

View Article


How to connect to a local Windows SQL Server Instance from WSL?

I'm using WSL, running Ubuntu. I have a local instance of SQL Server 2022 installed in Windows, and want to connect to it from WSL. I have remote connections enabled, however, I can't seem to get...

View Article

Global error handler's JSON-response not being sent to client

I have a global error handler which maps any uncaught error into a HTTPError object which I want to send to the client.Setting the status code is working as expected, however, on the client I can see...

View Article


Error NG2: Object is possibly 'undefined' when painting in the HTML Angular 17

I get this error when I put for example {{pokemon.name}} in the HTML and I get this NG2: Object is possibly 'undefined'. ngOnInit(): void { this._route.params.subscribe(params =>{...

View Article

EPERM when opening a block device on a FUSE filesystem

TL;DRAttempting to format a block device on my FUSE filesystem fails with EPERM at the open syscall. Permissions are set to 0o777, the necessary ioctls are stubbed but no logs are printed from within...

View Article

Nodejs Socket.io v4 disconnection problem on 1000 connections with 100...

I am trying to create one application using nodejs socket.io with version 4.I am using very simple script that is accepting a connection and send a JSON dummy ({"abc":"abc"}) payload on an event(say...

View Article
Browsing all 18095 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>