Newest Questions
24,188,350 questions
-1
votes
0
answers
6
views
Plastic Waste Collection and Recycling System
Plastic waste has become one of the fastest-growing environmental problems in both urban and semi-urban regions. Rapid population growth, increased consumption of packaged goods, and poor waste-...
0
votes
0
answers
8
views
The NEO-8M produces incomprehensible characters
I have that code:
#include <stdio.h>
#include <stdbool.h>
#include <unistd.h>
#include "esp_system.h"
#include "esp_timer.h"
#include "freertos/projdefs.h&...
1
vote
2
answers
17
views
Why is my list not updating when I use append inside a loop in Python?
I’m trying to add numbers to a list using a loop:
nums = []
for i in range(5):
nums.append(i * 2)
print(nums)
But the list prints [] instead of values.
Am I missing something basic?
How can I ...
Best practices
0
votes
1
replies
17
views
Why is my Python recursive function returning None instead of the expected value?
I wrote a simple recursive function to calculate the sum of digits of a number.
But instead of returning an integer, it prints None.
def digit_sum(n):
if n < 10:
return n
print(...
0
votes
0
answers
16
views
Parameter Transmission Problems with Purchase Events in GA4 Measurement Protocol
Our server sends a `s2s_purchase_all` event to GA4 using the Firebase data stream. After sending, we noticed that while Firebase displays the correct total event count and value, in the Google Ads ...
0
votes
0
answers
14
views
Python: Refining reading words/chars from a file after a specified keyword, until a specified character is hit
I am trying to copy data from game files to my own files to mod said game, after some updates to the game I would need to rewrite one specific line on over a thousand files, however due to the mod ...
0
votes
0
answers
14
views
I'm having serious issues with simple pymysql initialization with my localhost sql instance on 33060
Some time ago I had tried to install MySQL workbench correctly on my system, and it was a tremendous headache. This is because I use Kubuntu with a very new version of Ubuntu Release, and I had a lot ...
-1
votes
0
answers
14
views
RevenueCat subscriptions stuck in "Waiting for Review" - Apple rejects app
I've set up auto-renewable subscriptions in App Store Connect and RevenueCat, but I'm stuck:
Status:
- App Store Connect: "Waiting for Verification"
- RevenueCat: "Waiting for Review&...
0
votes
1
answer
16
views
Continue.dev contextLength parameter doesn't work for Ollama model
I'm trying to use Continue.dev with a local model running on Ollama, but keep getting the "file exceeds context length" error.
My config looks like this:
- name: qwen3-coder
provider: ...
-1
votes
0
answers
15
views
How to revert the code to span replacement of code tags with translated text in between which was translated by Google translate? [duplicate]
How to revert the code to span replacement of code tags with translated text in between which was translated by Google translate ?
Google translate was not translating text between <code ....> ...
-1
votes
1
answer
24
views
How can I join two tables on different columns?
I have two tables; the first one consists of clients' names and their id.
For example:
name surname1 519651
name surname2 496879
name surname3 848465
The second one consists of clients'...
0
votes
0
answers
16
views
Understanding Time Complexity and Space Complexity in Recursive Algorithms
I am trying to analyze and optimize recursive algorithms, particularly with regards to their time and space complexity. I have written a recursive solution for the Fibonacci sequence and a merge sort ...
Advice
0
votes
0
replies
12
views
Generating Logo's with different styles - I get distorted results
I am building a small app and one of the features is, the user upload a logo and can select different types of visual styles.
the logo should be generated in that style.. like minimalistic design , 3d ...
0
votes
0
answers
20
views
How to implement rotation and custom node-based reshaping for SVG ellipse inside a resizable reference box? Using D3.js and angular 19
Reference: screen recording link
I’m working on a feature similar to Figma or Lucidchart where an ellipse (or circle) is placed inside a reference box (a square) with four corner handles for resizing.
...
0
votes
0
answers
17
views
OpenAPI Spec client fail to compile with ambiguous types
I downloaded the OpenAI's OpenAPI Spec file and tried to generate and compile the client and faced a few issues and wonder if anyone knows the fix for it.
This is the specification: https://app....