SpiceQA
Questions
Tags
Users
Badges
All Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
user_5632400
0
•
asked Sep 22, 2022
Number of occurrences of digit in numbers from 0 to n
Given a number n, count number of occurrences of digits 0, 2 and 4 including n. Example1: {code...} Code Output: 10 Desired Output: 11 Constraints: 1 <= N <= 10^5 Note: The solution should not cause outOfMemoryException or Time Limit ...
data-structures
python-3.x
list
algorithm
python
3
votes
5
answers
109
views
user_20065404
0
•
asked Sep 22, 2022
How to display mirror image of camera in aframe?
If I'm using the front-facing camera of my laptop, I want to display the mirror image on the screen. How can I achieve this? Right now, when I raise my left hand, the image feed raises its right. I want to invert this if possible, such that...
ar.js
aframe
three.js
1
votes
0
answers
19
views
user_13677853
0
•
asked Sep 22, 2022
NATS Client throws NATSConnectionException timeout
I'm trying to connect to NATS that uses docker compose.CreateConnection throws a NATSConnectionException: timeout exception. By the way, I took the docker compose from the official [documentation] . How do I fix it? try { _connection = new ...
nats.io
.net
c#
1
votes
0
answers
21
views
user_20065454
0
•
asked Sep 22, 2022
Adding t-test value to grouped data set in r
When running stat_compare_means I am unable to run a t-test. If I leave the brackets empty it will attempt a Wilcoxen but I don't think it is accurate. I have tried editing several settings under stat_compare_means and tried changing to usi...
t-test
ggplot2
r
1
votes
0
answers
19
views
user_12338839
0
•
asked Sep 22, 2022
How to receive a response to React from FastAPI when Postman receives a response?
I have a FastAPI server running at localhost:8000 and a react dev server running at localhost:3000. I have an endpoint set up as follows: {code...} It seems as if the code is flowing just as I want it to, all the way until the final step wh...
fastapi
reactjs
sqlalchemy
1
votes
1
answers
39
views
user_9476628
0
•
asked Sep 22, 2022
Generate Permutation With Minimum Guaranteed Distance from Elements in Source
Given a sequence a with n unique elements, I want to create a sequence b which is a randomly selected permutation of a such that there is at least a specified minimum distance d between duplicate elements of the sequence which is b appended...
permutation
time-complexity
list
algorithm
python
6
votes
1
answers
43
views
user_3450548
0
•
asked Sep 22, 2022
Where I can find the full Indesign Javascript Reference?
Weirdly Adobe itself hasn't a browseable website where you can find all the Javascript Reference for it's programs, and you pay a lot for their softwares... Some time ago, there was a full awesome website with all the Indesign Javascript re...
adobe-indesign
adobe
javascript
1
votes
2
answers
23
views
user_15676321
0
•
asked Sep 22, 2022
How to setup twitter and github username Jekyll
So I'm exploring what we can do through github hosting static website service. However, I could'nt find an explanation why in the _config.yml file, the setting twitter_username and github_username aren't rendering nor working. This is my _c...
jekyll-theme
jekyll
github-pages
github
2
votes
1
answers
21
views
user_18456509
0
•
asked Sep 22, 2022
menu is broken in desktop view on mobile devices
My website menu is working ok on mobile and desktop version but when open in desktop view on mobile devices its look disorganized can you assist me how to fix this [ ] that my code that I use to fix menu for desktop devices {code...}
wordpress
menu
1
votes
0
answers
20
views
user_8954291
0
•
asked Sep 22, 2022
SQLAlchemy: Get bind parameters from sql dynamically
I'm trying to use pd and sqlalchemy to run all the sql files in a directory. Currently I can load the text of a sql file into a sqlalchemy.sql.text object, and send that directly to pd.read_sql. What should I use to locate the bind paramete...
sqlalchemy
python
1
votes
1
answers
24
views
Prev
Prev
120
121
122
(current)
123
124
Next
Next
Hot Questions
How do I return the newest row per group in Postgres without a window function? [demo-2026-07-29]