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

Is object fix-sized in java

In the Java programming environment, where each data type has a predetermined size, can it be inferred that objects also possess a fixed size post-initialization?I've consulted ChatGPT and read...

View Article


merge two arrays by matching on different columns where arrays are of unequal...

I am trying to merge two arrays on columns with similar dataI can get this to work if both arrays have the same length dimension, but how can I generalize my function to work if arrays have different...

View Article


how to append a distinct value for each iteration to a pandas dataframe...

I am trying to add the stock name value for each iteration to it's corresponding data bulk upload to a pandas dataframe:This is what I've tried so far:from pandas_datareader import data as pdrimport...

View Article

How can I check if numbers of the table column are grather than X?

I need validating if values of the table column are greater Than 0.01 and least than 99999999.99The table have 230 rowsI have already did this:cy.get('#credits [align="right"]') .invoke('text')...

View Article

cookies are not getting set in my layout page in ny next app using app router

I'm encountering an issue while attempting to delete a cookie named auth_token from within a catch statement in my Next.js application. The deletion logic is placed within a layout.js file. Despite...

View Article


Can you have 2 queries on different tables to create check boxes and have...

I am currently using a table that uses a show columns query to echo all the columns into checkboxes. The below code works for that. I tried to create another query right under the query to search a...

View Article

Make code faster to solve which letter represents which digit in a given...

I am going to do a math competition which allows writing programs to solve problems.The code attempts to solve this problem:WHITE+WATER=PICNIC where each distinct letter represents a different digit....

View Article

boost serialization incompatibility between 1.74 and 1.83 with multi index...

I am serializing a set of contents, indexed by multiple properties using boost::multi_index_container, and a params struct, into a binary archive which I want to deserialize latter. I am facing two...

View Article


How to allow read in firebase to a user if both requesting user and requested...

I want to formulate a firebase security rule where:a user with a document in the users collection is allowed read in a driver document in the drivers collection;if there exists atleast one document in...

View Article


Image may be NSFW.
Clik here to view.

Change displayed order item meta key to a readable name in WooCommerce Admin...

I've taken over my companies WordPress site after the web company we used went bust. I'm not a strong programmer, so bare with me. I'm trying to edit the metadata fields on our WooCommerce admin order...

View Article

Players connected to the game are not rendered in the browser online game

I'm learning how to use websocket and the socket.io library. I am creating a test 2d online game. In the game, the user controls a ball, the communication scheme is as follows:Client (game.js):Sends a...

View Article

Image may be NSFW.
Clik here to view.

How to set child to fill dynamically-sized parent's width

I'm working on a design (picture below) where a container's width is dynamically set by the text content it contains. While I can get the text container to fill just fine, I'm struggling to find a...

View Article

Sort variables value while being able to call the values - JavaScript

I would want to sort the values in multiple variables and still be able to call on the variable's names (value1) var value1 = 4 var value2 = 3 var value3 = 5 var value4 = 1 var value5 = 2 //This are...

View Article


What is happening in numpy advanced index containing slice?

Let's say I have 3d ndarray a, created like this:a = np.arange(0, 24).reshape(2, 3, 4)When I run a[1, [[0, 1], [1, 0]]], below is the result.array([[[12, 13, 14, 15], [16, 17, 18, 19]], [[16, 17, 18,...

View Article

Troubleshooting Multi-Slice Volume Loading Issues in NRRD Files

What's wrong with this NRRD file? When loading a single slice, it works correctly, but when loading multiple slices to generate a volume, it fails to load. The file is:NRRD0004Complete NRRD file format...

View Article


Realtime Firebase Reconnection Issue in Chrome Extension

I am facing a persistent issue with my Chrome extension that uses Firebase for real-time data sync. The extension works fine on installation, but encounters problems reconnecting after network...

View Article

Angular 17 - Mat Tab not rendering Mat Table rows

I am using latest Angular version in my project.In my component I have a Mat-Tab-Group with a Mat-Tab. Inside this tab I want to display a table component that I have created by myself. This component...

View Article


How Azure Function can be unit tested?

How the Azure Function like the one below could be unit tested?How blob storage can be mocked? [Function("Blob_GetTodoById")]public IActionResult GetTodoById( [HttpTrigger(AuthorizationLevel.Anonymous,...

View Article

Picamera2 init in Flask

In a Python app, or in Python at the command line, I can initialize a Raspberry pi camera like this:from picamera2 import Picamera2picam2 = Picamera2()config =...

View Article

How to locate the right package in ResolveAssembly event handler?

I am writing an app in .NET 6.0. It allows the end user to load an arbitrary assembly using "Assembly.LoadFrom". Then it uses reflection to display its public interface such as types, methods, etc. I...

View Article
Browsing all 12111 articles
Browse latest View live


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