Recently Active Questions
24,217,728 questions
62
votes
18
answers
211k
views
git push not send changes to remote git repository
I am making changes to some file in my local git repository and then want to send the changes to the remote git repository from which the local was cloned via ssh.
After run "git commit -a" ...
0
votes
1
answer
26
views
Why python prometheus client collectors create metric object every time when collect method is invoked
https://github.com/prometheus/client_python/blob/master/prometheus_client/gc_collector.py
import gc
import platform
from typing import Iterable
from .metrics_core import CounterMetricFamily, Metric
...
0
votes
2
answers
38
views
How to track screen views in Jetpack Compose using Google Analytics?
In the previous XML-based Android development, it was relatively straightforward to track screen views in Google Analytics by using separate activities for each screen.
Now that I’m using Jetpack ...
1
vote
1
answer
349
views
`schemachange`, snowflake and oauth authentication in GitHub action
I have been trying to use Oauth Authentication of schemachange in my github action pipeline; however, I get the following error message
Traceback (most recent call last):
File "/opt/actions-...
227
votes
31
answers
226k
views
How to hide soft input keyboard on flutter after clicking outside TextField/anywhere on screen?
Currently, I know the method of hiding the soft keyboard using this code, by onTap methods of any widget.
FocusScope.of(context).requestFocus(new FocusNode());
But I want to hide the soft keyboard by ...
0
votes
0
answers
23
views
Sequence of Events in : mutex.unlock() vs returning from a function
short brief - I want to understand the sequence of event when returning from a function and unlocking a mutex in the same function.
helper macro: to print to screen
#define TRACE() {std::cout <&...
7
votes
7
answers
32k
views
What does `public static void main args` mean?
I am not sure what this means, whenever before you write a code, people say this
public static void main(String[] args) {
What does that mean?
34
votes
14
answers
142k
views
Why does my program to find prime numbers not return any output?
I want to find the prime number between 0 and a long variable but I am not able to get any output.
The program is
using System;
using System.Collections.Generic;
using System.Linq;
using System....
0
votes
3
answers
554
views
Unable to Use Specialization of std::hash for Pointer-to-Member?
I thought that std::hash's specialization for generic pointer types can be used for pointer-to-members, however I am unable to use it as such; instead, my compiler gives me an "incomplete type&...
3
votes
8
answers
9k
views
App must target Android 15 (API level 35) or higher
I have an kivy app and i compile it via Buildozer.
My settings are:
# (int) Target Android API, should be as high as possible.
android.api = 34
# (int) Minimum API your APK / AAB will support.
...
0
votes
1
answer
28
views
Why is my plotly.graph_objects.Bar graph displaying increments of one rather than the values in my pandas DataFrame?
I have workouts logged in JSON like this:
[
{
"date": "2025-07-14",
"workout_name": "Lower",
"exercises": [
{
"name&...
0
votes
0
answers
81
views
How to do pandas grouping, filtering, and a pie chart using chained operations?
How can I simplify the code below and make it more efficient using chained operations? Currently, I am creating intermediate objects and using a for loop.
I use this data: https://www.kaggle.com/...
1
vote
1
answer
23
views
need to combine an enum and a timesstamp in DRF
Django Admin: How to combine archived_at and archive_status into one archival source?
I’m building a feature to archive users via Django Admin. Currently, I’m using both a DateTimeField (archived_at) ...
83
votes
7
answers
113k
views
How can I handle CORS using JAX-RS with Jersey?
I'm developing a JavaScript client application, in server-side I need to handle CORS, all the services I had written in JAX-RS with JERSEY.
My code:
@CrossOriginResourceSharing(allowAllOrigins = true)
...
0
votes
4
answers
43
views
In python: How to generate only one box plot for a matrix?
This code generates 4 separate box plots.
How can i generate only one box plot for the entire matrix?
data = np.random.random(size=(4,4))
df = pd.DataFrame(data)
df.boxplot()