Newest Questions
24,159,954 questions
0
votes
0
answers
21
views
How can I make the application that imports 3D models in .fbx file in Unity? [closed]
I tried to make the application like following.
The name is "The World on 3D".
When the user signs up, he should import his model(.fbx file) that he made using 3D Printer.
At this point, he ...
0
votes
0
answers
9
views
Error converting python DataFrame to MATLAB table
I have used the following commands to load in a python .pkl file in MATLAB:
fid = py.open("data.pkl");
data = py.pickle.load(fid);
T = table(data);
This loads a python DataFrame object and ...
0
votes
0
answers
18
views
Use designated initializer for std::optional struct members
Designated initializers, added in C++20, allow us to name the arguments passed to the initializer list, making the code easier to understand.
Commented out is the syntax I would like to use in this ...
0
votes
0
answers
34
views
AKS deployment consistently fail due to readiness probe status code 500
While we are doing the recent deployment testing on one of our .NET code implementation over a web application, we found that the readiness probe consistently starts to fail with code 500.
Here is the ...
Advice
0
votes
8
replies
48
views
I would like to get some advice on this sql connenction with php. We use this in our school. Can you guys help if there is a better way to do it?
So this is the connection file. This is what we are using but my classmate said its not the best and not the safest but i want to use the structure of it.
<?php
function getData($muvelet, $...
Advice
0
votes
0
replies
14
views
Derived attribute storing
I understand that derived attributes should generally be calculated .. When should a derived attribute be physically stored in a database table?
I understand that derived attributes should generally ...
0
votes
0
answers
20
views
Why does webpack's [contenthash] asset name sometimes return 403 behind an nginx WAF
I'm serving a Create React App (react-scripts 5, webpack 5) build behind
nginx in production. Roughly 7% of my hashed static assets return
403 Forbidden even though the files exist on disk and ...
0
votes
0
answers
21
views
Is it possible to keep the exact Parameter of an overloaded function and change the return type?
If I have a function that takes P params and Returns R , I would like it to Take in P params but return Z..
How can I cast it to such that it keeps the identical signature for Params but returns a ...
0
votes
0
answers
28
views
Why does chmod 600 result in 777 permissions in WSL2? [closed]
I'm trying to change the permissions to my ssh key so that I can use it, but the permissions do not change as expected (e.g. 600 becomes 777, 400 becomes 555)
~$ chmod 600 ~/.ssh/*
~$ ls -l ~/.ssh
...
0
votes
0
answers
16
views
How to make a nonlinear color bar?
I have a data file which has a lot of data between [-5:5] and some extreme data with values around -20. If I use a linear color scale, the smaller magnitude data cannot be seen on the plot. So I am ...
Advice
0
votes
1
replies
45
views
What is the significance of the number 2147480064
I noticed that the number 2147480064 comes up occasionally as a max achievable value in games/programs. I'm curious why this is, as it doesn't seem to be at any conventional integer or floating point ...
0
votes
0
answers
16
views
Timeout blocking read while connecting to ASB
Getting below error while trying to send a message to ASB topic.
Timeout on blocking read for 245600000000 NANOSECONDS; java.lang.IllegalStateException: Timeout on blocking read for 245600000000 ...
Advice
0
votes
0
replies
16
views
How to secure a Node.js API for a smart home security system?
I am working on a smart home security system using Node.js where devices like cameras and sensors send data to an API.
I want to make sure the API is secure and protected from unauthorized access. ...
Advice
0
votes
4
replies
43
views
How can I read and parse a semicolon-separated file into objects in C# in a clean and readable way?
I’m working with a simple text file containing car data, and I’d like to parse it into strongly typed objects in C#.
The file structure looks like this:
Brand;Model;FuelType;Year;Price
Toyota;Corolla;...
0
votes
0
answers
20
views
Is it possible to create a Typed Function that would apply Multiple Funcitons?
Is it possible to create a functions that can apply multiple Functions while preserving the type information?
// example
const add1 = (n: number) => n + 1;
const makeArray = <T>(t: T) =&...