All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
27 views

Can someone show me what's wrong with my Redux state?

EDIT The component that state is not rendering in is called TournamentShow, which calls the state and whatever functions I need to use for the Show page. Nested within it is a conditional to call one ...
0
votes
0answers
6 views

How do I stop my text overflowing in and HTML div?

I have got a pricing table on my website, the design is all good but I cannot get the text in one div to not overflow. I have tried text-overflow: ellipsis; but that doesn't work. The relevant (or at ...
0
votes
0answers
15 views

Docker LOG getting full in AWS EC2 [closed]

I have airflow running with postgres as it metadata db in my AWS EC2. And I used docker compose to address that. Last week my system crashed and noticed space is full issue (the log getting full). I ...
0
votes
0answers
2 views

How to print ONCE if there are multiple correct answers? (MATLAB)

So I have arr = randi([0,20],20,1). I want to show: If there are numbers less than 5, fprintf('Yes\n') only once. Im using a for loop (for i = 1 : length(arr)) and indexing it.
2
votes
1answer
137 views

Continued logarithm arithmetic: floor operator on run-length encoded terms

I'm trying to implement basic arithmetic on Bill Gosper's continued logarithms, which are a 'mutation' of continued fractions allowing the term co-routines to emit and consume very small messages even ...
0
votes
0answers
2 views

Is there a limit on the maximum parallel running web workers in a browser?

add a comment if this question requires a description I suppose not and it should depend on the system hardware. Is it so?
0
votes
0answers
20 views

Create binary variable C conditional on partial match between columns A and B

I'd like to create a binary variable, C, conditional on 1 or more match between entries in variables A and B. So in the case of A, row 1 entry "123" is equal to 3 separate entries, "1,2,...
-2
votes
1answer
23 views

3D Plot function Python

I am trying to create a 3D Plot. And I also have a Code. However, the ouput is not the one I would like to have. There are 'nan' and inf in the Z list which shouldnt be there. I somehow need to use ...
0
votes
0answers
9 views

how to show captured image using CameraX api on top of previewView or in other activity?

this is main activity where camerax api is implemented. MainActivity.java public class MainActivity extends AppCompatActivity { private ListenableFuture<ProcessCameraProvider> ...
0
votes
0answers
4 views

Caesar Cipher: How to create an effective loop?

The goal of this program is to encrypt a message by swapping the letter with another letter that is specified number away from the original letter. I have to use pointers and arrays and I think my ...
-1
votes
0answers
20 views

How do I keep class values constant across functions in pygame?

Ok so what I'm trying to do is create a turn based game system where there's a function which runs the part of the code where the player 'attacks' and then another function is called where the ...
1
vote
1answer
13 views

Inconsistent translation of dollar amounts

Easy to replicate: Either using API or Google translate from web browser, translate the following text from English to Spanish: For plan year 2020: Your Flexible Spending Account balance is $800.00. ...
1
vote
1answer
19 views

How to specify @ in username and password for curl command?

$ curl -k -i -X POST -d '{ "path" : "/" }' http://abc@example.com:qwer@@53096wrxgcg.ibmaspera.com:33001/files/workspaces/42796/all/12345:2 results in: curl: (3) Port number ended ...
0
votes
1answer
20 views

How can I compare values in 2D array with values in 1D array in GoLang?

I need to compare 1D array's and 2D array's values and to return the result array which has similar values using Go: func absolutePermutation(n int32, k int32) []int32 { var position []int32 ...
3
votes
3answers
19 views

pandas read csv ingore ending semicolon of last column

My data file looks like this: data.txt user,activity,timestamp,x-axis,y-axis,z-axis 0,33,Jogging,49105962326000,-0.6946376999999999,12.680544,0.50395286; 1,33,Jogging,49106062271000,5.012288,11.264028,...

15 30 50 per page
1
2 3 4 5
1357353