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

UNIX Signal mistreated for communication suddenly receives from pid 0

I am doing a test setup where I use UNIX signals for communication.The following code uses SIGUSR1 and SIGUSR2 to transfer a string from a client process to a server process that will listen for...

View Article


Image may be NSFW.
Clik here to view.

Problem with Crystal Reports - Creating Database Connections [closed]

I'm having problem trying to do a connection with crystal reports in visual studio, I already made a reports days ago but now im trying to create another connection for a new reports and its giving me...

View Article


Set a variable from a json file and get a second API json

I'm a total newb when it comes to javascript and json. As it will soon show. I had some experience with javascript back 12 or so years ago. But it was minimal. So, go easy on me.It's difficult to...

View Article

Image may be NSFW.
Clik here to view.

Unable to use physical partitions although using partition key in Azure...

We are using Azure Cosmos DB, Azure Cosmos SDK v3.35.4, .NET Core 7.In our data, one of the columns values is distinct number like 1, 2, 3, 4, ...., 7869, ...., 34562, 34563,... So we created a 'range'...

View Article

custom google login button in React

I am developing using React.While creating a personal project, I implemented a login pop-up, but I didn't like Google's default button, so '< /a>' I decided to use this tag, but onclick doesn't...

View Article


How to make child element, with bigger width than parent, appear behind it in...

I have the following HTML structure::<header style="width: 100%; position: fixed; left: 0; z-index:1;"><nav style="position: relative;"><button style="width: 20px; height: 4px;"> Open...

View Article

ANN training in pytorch giving me unchanged lossfunction

i am learning pytorch. when I have run my code in jupyter cell the loss function is remaining unchanged. It should be either raised or get down. why is this happening?import torchimport torch.nn as...

View Article

Image may be NSFW.
Clik here to view.

How to Read Image Tags in VB.NET Using the Description Section

I am trying to extract image tags from the description section of an image using VB.NET. The image tags are stored in the description section:Tags I...

View Article


Is it a good idea to use `std::move` with a function that receives const ref?

Here's a snippet that compiles and works:#include <iostream>#include <string>void print_str(const std::string& str) { std::cout << str << '\n';}int main() { std::string str...

View Article


Image may be NSFW.
Clik here to view.

How to make such a frame in html [closed]

How to make such a frame in html.I've tried fieldset and legend, but that's not it. There is an option with svg, but I don't know how to do it.

View Article

To build a max Heap from Array. implementation. How to dynamically manage...

To build a max Heap from Array. In implementation part. How to dynamically manage size of Array?. I am supposed to increase arr size when I use Insert method. Tried but it does not return desired heap...

View Article

Why have I mark a string field as readonly in a immutable class if strings...

I have an immutable class with only immutable properties. Strings are immutable so why I have to mark string field as readonly or use "init" in that class?public class ImmutableType{ public readonly...

View Article

Image may be NSFW.
Clik here to view.

parse csv data with databricks

There is a csv file, content like( splitter is \u0001)try read as a table :SELECT * FROM read_files('{csv_file_path}', format => 'csv', header => false, sep=>"\u0001", quote=>'"',...

View Article


The difference Between Python's += and + Operators with Lists

I'm observing a discrepancy in Python's behavior when using the += and + operators with lists. Consider the following code snippets:x = [1, 2]y = xx += [3]y += [4]print(x is y) # Output is TrueIn this...

View Article

dotnet restore fails in docker

I have created an ASP.NET Core Web API project, later I added docker support from Visual Studio. When I start the project with the container launch settings profile, it is working fine, but using the...

View Article


Why cant I use a reference to class object within its constructor when...

game.cpp#include "game.h"Game::Game() : tileMap(mapRows, mapCols), player(this),{...}When instantiating the Game class, I pass a pointer reference of this class to player.When instantiating player I...

View Article

How to get a list of available VS Code versions and their download links?

Seems MS has an API to retrieve data on VS Code versions, although couldn't find docs on all the endpoints. Be it this API or another, is there a way to get a list of available VS Code versions...

View Article


What is 'magic number' (0xdebb20e3) in pkzip's APPNOTE?

In section 4.4.7 (CRC-32) of APPNOTE.txt you can findThe 'magic number' for the CRC is 0xdebb20e3.However, the regular polynomial (0x04C11DB7) of CRC-32 works fine. Bit-reflected, it is 0xEDB88320. I...

View Article

Image may be NSFW.
Clik here to view.

How to restructure a treemap graph in R so that categories, subcategories and...

I need create treemap plot,here my datafd=structure(list(geo = c("FR", "ID", "KE", "NG", "TH", "BD", "BF", "GB", "ID", "US", "DE", "FR", "GB", "US", "ZA", "BR", "DE", "GB", "IN", "US", "GB", "KR",...

View Article

WChar_t set to null in C++

I have a variable is in WCharArray form. I want to empty the array and to reuse it. How can I set this variable to null? fileName[1024] = L'\0';Is this the way to empty the array?

View Article
Browsing all 12111 articles
Browse latest View live


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