All Questions
21,082,994
questions
0
votes
0answers
2 views
StackOverflow reputation: how earn the first reputation points
I'm new here, and I would like to know how I can earn my first reputation points.
My main goal is to be able to positively evaluate questions and answers that helped solve my problems.
0
votes
0answers
2 views
main': CheckSymbolExists.c:(.text+0x1b): undefined reference to pthread_create
I am building Faunus software using cmake with command --> $cmake . -DENABLE_OPENMP=ON -DENABLE_PYTHON=ON -DCMAKE_INSTALL_PREFIX:PATH=/home/user/localInstall/tstFaunusInstOpenMP -...
0
votes
0answers
7 views
What is the easiest way to get a scanner to read a text document and implement a min-heap in Java?
I was tasked to implement a min-heap that can either read integers from a user's input, or read from a text file which consists of 100,000 random numbers (1 number per line).
I have successfully ...
0
votes
1answer
36 views
How to change the scale of RectTransfrom in script unity?
i can't find a way to change the scale of the rectTransform in script,
from this , i want to make a script that makes the y-scale change and attach it to the gameobject
0
votes
1answer
45 views
Can't read request from postman in webapi
I have issue with my webapi.
Im trying to send a post request to my webapi, but i always recive null value inside.
How my body in postman request looks:
{
"languageCharset" : 1045,
"...
0
votes
1answer
15 views
Renaming data in R
I am fairly new to R and am trying to make some figures, but having trouble with renaming data. Basically, I had a super large data set from SPSS that I imported into R and created a smaller data ...
0
votes
0answers
10 views
Error: Invalid hook call. Hooks can only be called inside of the body of a function component WHILE adding kepler.gl to React project
I am trying to add kepler.gl project to my React project. The way I do it is adding kepler.gl as a separate folder and binding it, NOT through npm install kepler.gl.
To explain more clearly,
I start a ...
0
votes
1answer
42 views
How do I define JavaScript variables in a namespace?
I've been using this namespace technique for a long time, but I've never been able to figure out how to declare and use variables inside it that are accessible as the functions are:
var creditapp = ...
0
votes
0answers
2 views
java.lang.ClassCastException: Search cannot be cast to android.app.Activity
Hi does anyone know why i am getting this error in runtime? I am unsure how to resolve it and i am new to this. Please help! I have called the Search class in my MainActivity and my app crashes when i ...
0
votes
0answers
2 views
DAX - Aggregation same column, compare and delete if rows is the same
I need to sum the same column and compare total column if the sum both column is zero I don't need to show this rows. ...
1
vote
1answer
21 views
TypeScript: Can not retrieve the type of property of another type
I am using create-react-app and its typescript template, but when trying to retrieve the type of the property 'pending' in 'GenericAsyncThunk' like in redux-toolkit docs like this:
type PendingAction =...
0
votes
3answers
68 views
How I could use tail call optimisation on this combination function?
My exercise, that you can see here, says that I need to
implement a recursive version of C(n, k).
That's my solution:
module LE1.Recursao.Combinacao where
combina :: Integral a => a -> a -> ...
0
votes
1answer
37 views
Template Specialization Based Upon is_pointer Trait
I am sure this has been answered before however, I am not sure what the correct terminology/wording of my question is.
Take the following example class:
class Fooable {
public:
int foo(int a);
};
...
0
votes
0answers
2 views
Error after elif statement is added to df.iterrows() loop
So I was not obtaining any syntax errors with the first if statement. When I add the second elif, i get a syntax error for the next line:
NPI = df["NPI2"]
^
SyntaxError: invalid syntax
Not ...
0
votes
3answers
67 views
Should I care about the number of classes in my game?
Well 1st, I am a person who learns by himself from the resources available on the web, and I didn't have a college education in programming, so I hope everyone will excuse me if this question sounds ...