Newest Questions
24,190,797 questions
0
votes
0
answers
6
views
I am trying to solve a codeforces problem but can't even compile
my input code:
#include <bits/stdc++.h>
using namespace std;
int main() {
int x,y;
cin >> x >>y;
int sum,mul,sub;
cin >> sum >> mul >> sub;
...
0
votes
0
answers
6
views
How to translate CI to IC of the header of a in gtsummary table?
How to translate CI to IC (brazilian portuguese) of the header of a gtsummary table? Using theme_gtsummary_language() function, it doesn't work. I tried the modify_header() function too, but doesn't ...
0
votes
0
answers
9
views
Plotly Choropleth not showing with Geopandas
I've seen this issue come up in other pages but none of their solutions worked for me.
import plotly.express as px
import geopandas as gpd
import cartopy.crs as ccrs
regions = gpd.read_file("...
0
votes
0
answers
11
views
Django channels tutorial issue
As I am following the Django channels tutorial (here is the link:
https://channels.readthedocs.io/en/latest/tutorial/part_2.html
), I won't post any code except the specific problem I am having.
In my ...
0
votes
0
answers
10
views
Compatibility between streamlit and protobuf
I am unable to use the print(tf.version.VERSION) to check the tensorflow version. Reason being tensorflow looks for runtime_version in protobuf ( from what I have learnt) and that is only supported ...
0
votes
0
answers
7
views
Bun + Express on Vercel: How to Modularize Routes from Separate Files?
I'm deploying a Bun + Express application to Vercel. Locally, my Express app works perfectly with routes defined in separate files and imported into index.ts. However, on Vercel, the deployment ...
0
votes
0
answers
7
views
Critical notifications sound not playing OneSignal - ios
I'm having issue that notifications sounds doesn't play, specially for critical notifications i'm using react native.
i already have entitlement and approval from apple
i have the sound file .wav 3 ...
0
votes
0
answers
11
views
How can I create clouds in THREE.js?
I'm not asking anyone to build me anything; I'm mainly focused on how this is normally done. If anyone already has something built that they'd like to show me how they did it, then that would be great....
0
votes
0
answers
10
views
Unable to show line on Combined Bar and Line chart on React native Gifted charts
I want to implement a combined Bar and Line chart with Gifted charts.
I followed all the required steps from the documentation but it still doesn't work. It displays the bar chart but skips the line ...
0
votes
0
answers
20
views
How to move background while scrolling the page?
I`m just trying to figure out how to do a scroll effect. When background is moving with scroll, while you are on a certain block of the site. I tried something like this, but i feel wrong in here)
...
Best practices
0
votes
0
replies
10
views
AWS sagemaker Model Registry Vs. MLflow
On the AWS environment, what do you suggest: Sagemaker Model Registry or MLFlow?
If we want to use grid search to experiment with different configurations and log all experiments to then decide which ...
-1
votes
0
answers
11
views
how to deploy multi containers to an endpoint on AWS Sagemaker?
How to develop a deployment pipeline that deploys multiple containers to an endpoint (MCE) on AWS Sagemaker?
I need Python code or steps to set up in the AWS console.
Advice
0
votes
0
replies
14
views
How to Delete an IP from a Cloudflare IP list in Go?
How do you delete a single item from an IP list in Cloudflare using Go?
Cloudflare has a feature where it stores lists of IPs, hostnames, or ASNs to be used in formulas. The web UI for this is in ...
1
vote
1
answer
36
views
Trying to learn how getchar works
I am encountering a problem inside a while loop that is embedded in a for loop iterating through a struct of arrays. The issues I am coming across is before the array iterates again, I want to have ...
0
votes
0
answers
11
views
Is the hash for a Git submodule associated with the section key or with the path?
I'm doing something with git-filter-repo that is like the convert-svnexternals script here:
https://github.com/newren/git-filter-repo/blob/main/contrib/filter-repo-demos/convert-svnexternals
In that ...
0
votes
0
answers
10
views
Creating Materialized view in PG 17 ignores data types in SELECT
I have the following SQL generated by Atlas to create a materialized view and the SQL seems reasonable to me but it's unclear from Postgres docs what should happen in this case. I am listing the ...
0
votes
0
answers
10
views
How to dynamically create and data-bind ComboBox in code?
In my Avalonia app using the MVVM Community Toolkit, I need to dynamically create a ComboBox from code-behind, having it data-bound to a collection of a subclass of a class that encapsulates ...
0
votes
1
answer
18
views
Compare table meta across servers ignoring column order in KDB
I need to compare the schema (meta) of a table that exists on two different servers in kdb+. On Server A, the table has columns in order col1; col2; col3, and on Server B, the same table has columns ...
0
votes
0
answers
11
views
SSRS - access column group values in row
I am working this SSRS report. This is a count of how many holidays staff have worked over a supplied date range. The report is "Row Grouped" with Officer name. It is also "Column ...
1
vote
1
answer
29
views
How to check if two cells in the same column contain matching text in Excel?
Is there an Excel formula that can detect whether two cells in the same column contain similar or partially matching text?
For example:
F3 contains: "regulation BI, how to stop exploitation"...
0
votes
0
answers
16
views
How to enforce "linux/amd64" platform architecture in Visual Studio Code Dev Containers for Podman on Apple Silicon?
Environment
Host: macOS (Apple Silicon M1)
Container Engine: Podman (via podman-machine)
Extension: VS Code Dev Containers
Target Image: A private registry image with Poetry
Problem
When I try to ...
-2
votes
0
answers
13
views
AI effect on StackOverflow [migrated]
I would like to know how much the advent of AI tools like chatGpt and many other affected the usage of stackoverflow!
Before it was a holy place for developers right. How much did AI effect the ...
0
votes
0
answers
11
views
Message queue where each key is processed by only one consumer at a time, but other messages for the same key can be assigned to other consumers
I'm building a distributed system that processes messages from hundreds of thousands of sensors, each identified by a sensor_id.
I need to guarantee:
Strict ordering per sensor_id
No two consumers ...
0
votes
1
answer
44
views
Possible bug in gcc11 parsing include paths?
With gcc11 (11.3.1) I'm seeing a strange behavior where it seems that -idirafter path takes precedence over -iquote path if path is the same for both options.
Consider:
// test/foo.hpp
#pragma once
...
-1
votes
0
answers
27
views
Why is only my MySQL client on Windows 11 slow?
I have a brand new computer with Windows 11 and I am facing a performance issue with MySQL I do not know how to fix.
The MySQL server is running on a remote Linux and the problem is that my Windows ...
Best practices
0
votes
0
replies
18
views
Most efficient way to manage the lifecycle of HttpClient in many wrapper classes?
Our application is somewhat of a middleman that transforms data from numerous APIs. Initially to simplify things, we wrote a bunch of specific clients which wrap an instance of HttpClient created in ...
0
votes
0
answers
12
views
SharedPreferences not saving data in Flutter [duplicate]
I'm programing w/ Flutter and I have a error during the compilation. I can't run my app on android.
VS Code say this:
"The supplied phased action failed with an exception.\r\nCould not create ...
-2
votes
0
answers
20
views
FLKR Ransomware [email protected]. I was assigned at university to find encryption keys from memory [closed]
At work, I was assigned to find encryption keys from this ransomware example https://fex.net/uk/s/tcc8nxf and then recursively decrypt all files using them. I looked all over the internet and they say ...
-1
votes
0
answers
15
views
Zoho Mail contact form with Nodemailer not workign
I connected my domain to a Zoho mail account. Then I was trying to fill in the account data in my env file to use Nodemailer contact form in Next.js application.
Before that all the contact form ...
Advice
0
votes
1
replies
21
views
Have sphinx avoid naming `index.html` unnecessarily in its links?
Our project's sphinx-generated HTML includes many links to index.html files (e.g., path/to/index.html) rather than linking to the directories themselves (e.g., path/to/). Is there an option or best ...
0
votes
0
answers
28
views
In DuckDB, can there be proper UTF-8 output in duckbox mode to Windows console?
I cannot get non-ASCII characters to be properly displayed in DuckDB console, even if the console application supports UTF-8. I have a sample CSV file encoded in UTF-8 containing a few test strings:
...
Tooling
0
votes
1
replies
26
views
utility to restart a python script when the script changes
I'm working on a slackbot and I have to stop it and start it every time I make a change. I've worked in environments where simply saving a file caused the process to restart. It would also be cool if ...
0
votes
0
answers
14
views
scheduled notification with flutter
I’m building a warranty-tracking app, but I’m facing a problem with scheduled notifications. When I schedule a notification and stay in the app, it works and I receive it after the set time. However, ...
0
votes
0
answers
15
views
How to keep a specific LazyColumn item visible when the keyboard opens?
I have a bottom sheet used for search, and it has two UI states. Both states share the same LazyColumn.
State 1:
LazyColumn {
item { Row { ... } } // search categories
item { Text(text = &...
0
votes
0
answers
20
views
How to remove gray outlines appearing around my fluid? (Fluid simulation based on Jos Stam's paper)
weird gray outline image 1 weird gray outline image 2
I'm working on a fluid simulation based on Jos Stam's paper, but instead of just one density array, there are three density arrays for each color (...
1
vote
0
answers
20
views
Azure ODATA Source supporting compression
I‘m using an Azure Data Factory with an ODATA source from an external system. While everything works fine, I noticed the slow performance. So I checked this with postman and spotted immediately, that ...
-5
votes
0
answers
27
views
How to solve this numeric reasoning question [closed]
Can somebody please help me solve this interview question and explain the logic of solving too?
If 1863 is to 27 and 8109 is to 91 and 2745 is to 35 then 7236 is to ?
Best practices
0
votes
1
replies
19
views
Which VDI to choose
For an exercise, I am setting up a server on VirtualBox, i don't know which VDI to choose.
My choices are : VDI , VHD, VMDK, HDD, QCOW and QED.
My server will run on the absolute minimal. Its a Debian ...
0
votes
0
answers
10
views
When changing the Parent of a "larger" Folder in Google Drive ; at 89 seconds consistently it returns 500 Internal Server Error
This seems to be a recurring problem category with various uses of the drive API, but I've yet to see one that mentions it in this way.
It does not appear to matter how many files descendants there ...
2
votes
1
answer
74
views
Efficiently get first indices of consecutive identical digits in big pandas DataFrames
I have a DataFrame with a column Digit of digits at base 10. For example
import numpy as np
import pandas as pd
df = pd.DataFrame({
"Digit": [
1, 3, 5, 7, 0, 0, 0,
4, 8, ...
-4
votes
0
answers
16
views
I'm getting a Coolify/NextJS 15/ShadCN import problem [closed]
I'm getting this error from Coolify while trying to deploy a NextJS 15 app:
The files DO exist in git repo, locally (windows) so i dont understand the error. Its not a case sensitive issue, i already ...
0
votes
0
answers
15
views
CSS is not being applied correctly in Outlook Classic on macOS
I am experiencing an issue where the CSS of my email template is breaking on MAC devices that use Outlook Classic. I have tried adding some validations such as the following:
<!--[if mso]> ...
0
votes
0
answers
19
views
Long-running procedure being terminated before finishing
We have an End-to-End process which loads data into a Landing database. It used to run individual repopulate scripts for each data source in sequence, but that was taking more and more time to the ...
0
votes
1
answer
16
views
Why is my AWS EKS Access Entry not allowing me to access my cluster? [closed]
I'm using Terragrunt/Terraform to setup an EKS cluster:
module "eks" {
source = "terraform-aws-modules/eks/aws"
version = "21.8.0"
name = "eks-...
0
votes
0
answers
12
views
ERROR 415 Unsupported Media Type In Postman
I'm trying to upload a property object (JSON) along with multiple images using multipart/form-data, but Spring Boot keeps returning:
415 Unsupported Media Type
Content-Type 'application/octet-stream' ...
-4
votes
1
answer
37
views
I tried everything and I just wanna toggle my elements
I'm doing a mini project for a coding bootcamp and I'm trying to toggle elements.
I have a form on my page that I want to make invisible when you submit it, so that the rest of the page shows. It isn'...
1
vote
0
answers
22
views
Python Tkinter: Why won't the file dialog open when I use withdraw() early in the program?
I'm in a CS class for College right now, and we've gotten to the part in our Python course where we learn how to read, write, and append to external files. We were given some class work where we have ...
-2
votes
1
answer
53
views
Excluding NULL from a comparison [duplicate]
I've got a query which I will simplify it to be:
SELECT *
FROM BLAH
WHERE PPO_DISC_ID NOT IN ('009-003')
AND PPO_DISC_ID NOT LIKE '20%'
AND MyNum = '30788'
My problem arises when PPO_DISC_ID is ...
0
votes
0
answers
25
views
Postgres Recursive Query Behavior
I have a table test with two columns, each referencing the other
ID1
ID2
2
1
3
2
4
3
5
4
Given an id, I need to traverse the chain to return all the rows traversing the chain. Below is the query I ...
0
votes
1
answer
33
views
How to count appearance of all items in a row on Pandas Dataframe
II'm currently learning the Pandas library in Python (without AI assistance), and in one of my tasks I needed to count how many times each item appeared in a row of a DataFrame. Here's an example of ...