python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Efficient reverse order comparison of huge growing list in Python
In Python, my goal is to maintain a unique list of points (complex scalars, rounded), while steadily creating new ones with a function, like in this pseudo code
list_of_points = []
while True
# ge...
Beaker
Votes: 0
Answers: 2
Using a fifo as stdin to a process
How can I use a fifo to redirect stdin for a process?
Using systemd, I am starting a service that will infrequently require commands to be sent via stdin. To overcome this, I have tried the following:...
Matt Clark
Votes: 0
Answers: 1
FIFO queue for Producer Consumer Problem Not Working
I currently am trying to implement FIFO for the producer consumer problem. However when I run the code it seems that the first item is not being removed from the buffer as the output shows that every ...
jastewart5
Votes: 0
Answers: 1
Calculating Cost of Sales in SQL using FIFO method
From a stock transaction table I've created following sorted view table to be ready for FIFO:
rowN
date_
stockCode
sign_
amount
unitPrice
1
'2022-01-20'
ABC
in
5
29.20
2
'2022-01-22'
ABC
in
...
H.Oruc
Votes: 0
Answers: 1