All Questions
22,909,657
questions
0
votes
0
answers
3
views
Is there any way to change the button image while clicking/the button is active in Tkinter Python?
There are ways to change the foreground and background with activebackground and activeforeground, but activeimage doesn't exist - that or it doesn't work for me
Working button changing background and ...
0
votes
0
answers
3
views
Can I select multiple ranges in an Ace editor?
Can I select multiple ranges in an Ace editor? I don't want to use markers in this case, I want to set more than one selection in the editor. I have this code:
selectedCodeBlocks.forEach(...
0
votes
0
answers
5
views
How to add all close rgb values together
I want to add all rgb values that are close
Example:
rgb = [(0, 0, 78),(0, 254, 255),(255, 30, 90),(255, 0, 60),(106,190,30),(21,30,28),(0,0,0)]
Output:
blue = [((0, 0, 78),(0, 254, 255),]
pink = [(...
0
votes
0
answers
3
views
Symfony render service content in view
I have issue with service with symfony. I do not know why, but my view render raw php code in view. Anyone has any suggestion. This is my view.
{% extends 'base.html.twig' %}
{% block title %}Hello ...
0
votes
0
answers
4
views
How to convert 'Jul 24 2022' to '2022-07-24' in spark sql
I want to convert a string date column to a date or timestamp (YYYY-MM-DD). How can i do it in scala Spark Sql ?
Input:
D1
Apr 24 2022|
Jul 08 2021|
Jan 16 2022|
Expected :
D2
2022-04-24|
2021-07-08|
...
0
votes
0
answers
2
views
Code generation failed : Critical : No class name set error for HELD.xsd
The xsd schema appears to be valid so I am not sure what causes the code generation error in Liquid Studio Code Generator 20.0.6.11591 for the schema https://www.iana.org/assignments/xml-registry/...
0
votes
0
answers
2
views
I'm not getting RX from a bluetooth PAN network I setup with my raspberry pi and another device. How can I debug?
I have one device that is bluetooth PAN capable and had success with a different raspberry pi. I think I messed up the configuration files on this new one but didn't change them before I enabled some ...
0
votes
0
answers
4
views
Add the subtracted value from previous user value in laravel
I have run into an issue where i am adding the point for a user with the previous point already stored in the table via laravel. Now I have an issue where i need to loop all the points of a specific ...
0
votes
0
answers
2
views
How to properly uninstall AdMob from iOS app
I have uninstalled the AdMob SDK by commenting out the lines in the Podfile. Then I run pod update. The AdMob SDK and the utilities are removed. However, I get framework not found FBLPromises error.
I ...
0
votes
0
answers
5
views
Delete last record/row from memsql table on condition?
I wanted to delete the last row from a table where a serial_num matches. We can order by transcation_date. I wrote the procedure below but am still getting a syntax error. Any idea?
CREATE OR REPLACE ...
0
votes
0
answers
4
views
Keras List index out of range after I merged trained models
Hi everyone I have 5 classes and each one has 2000 images
I built 5 Models with different model names and that's my model code
model = tf.keras.Sequential([
tf.keras.layers.Conv2D(32, (3, 3), ...
0
votes
0
answers
4
views
value inside a linked lists Node exists after change, why?
lets say we have a linked list = [1] -> [2] -> [3] -> [4]
typedef struct Node
{
int val;
struct Node* next;
}Node;
I have the head and to free all the allocated memory I do
printf(&...
0
votes
0
answers
10
views
I have an issue that my swiper slider load first image then load others after some time
https://foneprice.pk/ This is my website Please check slider where heading is Latest Phones .I want to load all images .But here I image will show and after some times others will load
0
votes
0
answers
4
views
How to setState dynamically referencing data from redux hook
I have a redux hook responsible for server data that I want to pass into a set state.
But with a dynamic condition.
// states
const [drilledData, setDrilledData] = useState([])
Current Code:
const ...
0
votes
0
answers
4
views
How to write user data along with image in Firebase
I implement the functionality of adding user data to Firebase. I write the picture to Firebase Storage. Now there is an error - TypeError: Cannot read properties of null (reading 'name'). How can it ...