Latest Questions

How to spawn only one object in Unity AR foundation

I new for Unity and C# can someone help me? I'm creating a kids game and they tend to tap on the screen accidentally and as they look around but then they spawn

How to allocate heap in kernel space for an array of fix-sized arrays of characters?

I know that in kernel space one usually uses ExAllocatePoolWithTag function, but I don't know how to allocate memory for a dynamically-sized array of fixed-size

Rijndael Encryption/Decryption C# to PHP conversion

I have an encryption decryption class written in C# and i need help writing same algorithm in PHP to obtain same output result, any help finding a reliable solu

How to skip Azure function output binding when there is an error?

We are using a simple python azure function to forward a JSON payload to an event hub. We have configured the event hub as the function output binding. Our req

How to expand particle system angle spread to 3 dimensions

I am trying to understand how to implement angle spread for a 3D particle system, to achieve an effect similar to a fountain. I can get it to work for a 2D syst

How to detect the "closed_by_user" event via the new "Google 3P Authorization JavaScript Library API"

I'm currently using the Google Sign-In JavaScript Platform Library for web. Via the grantOfflineAccess() function I request access to scopes from the users Goog

Properly convert blob audio to webm format

Hy, I am using tone.js to record audio using my mic and then downloading the audio. Here is my code; function test() { var mic, recorder; recorder = new

How to insert multiple JSON rows into a T-SQL table

I am trying to insert following JSON document into T-SQL: { "GLDETAIL": { "RECORDNO": "264378-1756289-919567--accrual", "BATCH_DATE": "02/01/2

Vscode cannot connect to remote Linux (_WebSocket close with status code 1006)

Remote connection to Linux. After entering the password, there are two prompts on the right coude not fetch remote environment failed to connect to the remote e

How to make MSTest grab all console output from unit test? Output behind WebHost.CreateDefaultBuilder() goes missing (VS2022, .NET 6, MSTest 2.2.10)

I'm creating an integration test for a Web API, so I'm starting an entire application in a unit test using WebHost.CreateDefaultBuilder() and the usual setup bi

How to get all the objects in a table where the coordinates intersects with polygon with SQL Spatial Data

I have an SQL table which called DATAB which contains thousands of objects ordered by the following colunms: [id] [angel] [latitude] [longitude] And i have this

Don't understand how to code the condition [duplicate]

There are no errors in this but I can't understand how to code the condition. If I change the condition to if money != string.digits: and run

SketchUp and Unity3D

I use SkethUp for 3d-modelling. I have some problems with exporting the models with images in Unity, the images aren't exported if I use file.skp and are export

ParquetSharp's UTC adjustment

I am trying to use the ParquetSharp library (https://github.com/G-Research/ParquetSharp) to write some Parquet files from an SQL server database. As the origina

pls HELP ME HELP ME HELP ME HELP ME [closed]

i was making a game in unity and i got this error: Assets\PlayerController.cs(37,21): error CS0120: An object reference is required for the no

Blender 3.0 with Modifiers in Python

The following script from https://b3d.interplanety.org/en/how-to-apply-modifier-on-selected-objects/ doesn't work. I'm using Blender 3.0 with the Python API. I

C# Encode Bitmap to DDS (DXT1, DXT3, DXT5)

I have a simple Bitmap in my app. I need to save it as DDS (Direct Draw Surface) not like a simple image with .dds extension, but need to encode pixel data and

Memory issues with a list of lists [closed]

I am having some memory issues and I am wondering if there is any way I can free up some memory in the code below. I have tried using a genera

JSONDecodeError: Expecting value: line 1 column 1 (char 0) on Raspberry Pi's Imager (GNU/Linux)

I've made an image recognition neural network in windows. Tested it, and it works (hurray!). It uses tensorflow. Now I wanted to transfer it on Raspberry Pi's I

Uncaught ReferenceError: curl_init is not defined google maps api

I used the google maps api to get the driving distance between 2 points 1 - The Origin point -> my current location. 2 - The destination point -> The user

Github problems with project files

Screen What's wrong with this file? I tried add .obj to gitignore file but that's doesn't helped. Also i don't even changed anything in this file i think that's

Count of filtered ngfor angular

Is there an easier way to get the count of actual displayed results in an ngFor that has a nested ngIf without? <div *ngFor="let stuff of things"> <

How to run this jquery function only on desktop

I'm a begginer in Javascript and I kindly need your help with this Jquery script I'm working on.. I need to make it work only on desktop and prevent it to run i

Google Spreadsheet: Hide/Unhide any row that meets x condition in a group of rows when clicking button?

When clicking "button1" I would like the code to check the First Cell (Column A) of Rows 38-58 and hide the Row if the corresponding cell is empty and show if i

In a probuilder object with inverted normals. Collision seems to not work with this one item

I have made my level out of a probuilder object that has inverted normals so the player may exist inside of it. This has caused some issues as for some reason.

Bootstrap failed: 5: Input/output error while running any service on macOS Big Sur version 11.5.2

I am trying to run [email protected] service using brew services start [email protected] (facing similar error, while running httpd service or any oth

Regex to match multiple numbers within string

I have a regex that looks like this to extract order numbers from columns: df["Orders"].str.extract('([0-9]{9,10}[/+ #_;.-]?)') The orders column can look like

Node gRPC returns "No status received" when deployed on Cloud Run with Docker

After deploying my server on Cloud Run, calling the endpoint with BloomRPC or other clients, the service returns "error": "2 UNKNOWN: No status received". Calli

Shortest path without given nodes

so I was given x amount of points generated randomly and need to find the shortest path for all of those points. So what would be the best method I could use gi