All Questions
21,082,987
questions
0
votes
0answers
2 views
Bootstrap 5 offcanvas disable close on click
I'm using the offcanvas component (https://getbootstrap.com/docs/5.0/components/offcanvas/). However I was wondering if it is possible to prevent it from closing when I click outside the offcanvas ...
0
votes
0answers
2 views
Django deploy Pythonanywhere
The site work fine on my localhost, but I have problems deploying It.
wsgi
log
0
votes
0answers
2 views
if str-dtype, convert. Date triggers value change in another column
Trying to figure out what I'm doing wrong, new to python and not sure how to solve my AssertionError. If the date in column "sa_death_date" is less than or =to 2020, column "Final ...
0
votes
0answers
2 views
Flatten a JSON document using jq by filtering an array by keys
I have a JSON in the following format:
{
"subFields": [
{
"id": "question_1",
"type": "radioGroup",
"description"...
0
votes
0answers
3 views
Changing from a subplot, violin plot stops working?
I want to make a plot like the first subfigure here:
import matplotlib.pyplot as plt
import numpy as np
fig, axes = plt.subplots(nrows=1, ncols=2, figsize=(9, 4))
# generate some random test data
...
0
votes
0answers
4 views
Retrieve an image from UserDefaults
I am able to successfully save my image in user defaults as I use my app and retrieve it just fine but am having trouble figuring out how to retrieve it in a simple via init(). In my example it will ...
0
votes
0answers
4 views
The function does not return an output, but when ran individually it works
This function solves ODE's using the eulers method or huens method, depending on whether a '1' or '2' is ran as an input for 'diff'. Both chunks of code return the desired output, but when I try to ...
0
votes
0answers
4 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 sucessfully gotten ...
0
votes
0answers
2 views
retrive key ID from UIPicker View saved in firebase swift
Im trying to fiuger out , How to get UIPicker ID saved In firebase .
my goal is to linke Department ID With Tutor ID , so my Department Name Saved to firbase as nood
app screen :
my observer to ...
0
votes
0answers
3 views
Using argument of outer function as global variable for a function defined inside outer function
Is this bad practice? It seems like a lot could go wrong here*.
I am setting the argument of an outer function to be a global variable for a function defined inside it. I am just doing this to work ...
0
votes
0answers
5 views
Scaling canvas to window size when resized in Tkinter (with grids)
I am using the method laid out here: Scrollable Frames in Tkinter
What I would like to do is make this but with a grid and have the canvas scale when the window is resized (dragged, not just maximized)...
-1
votes
0answers
7 views
When I type git init in Command Prompt, it says “Permission Denied”
I'm trying to upload a fullstack website on heroku app and I was following a tutorial on it. After I logged into Heroku i typed git init to remote connect onto my heroku repository but after typing it,...
0
votes
0answers
9 views
How to optimize the search loop in text groups of words that can be composed from word?
I took the words out of the text, which contains about 100000 unique words, and made a dictionary out of them.
d=dict.fromkeys(lines)
for i in d:
d[i]=dict(Counter(i).items())
Then to find words ...
0
votes
0answers
3 views
Pass data from a table view to another error
what I want is when im tapping a cell, to go to another table view controller, but I got an error restaurantTableView.delegate = self
Unexpectedly found nil while implicitly unwrapping an Optional ...
0
votes
0answers
6 views
My flutter screen only show 18 characters error
When it exceeds 18 characters, the message stops showing or when it is very long it only shows its last 4 characters, how can I solve this?
Since I need the screen to show a total of about 1000 ...