r/stackoverflow • • Nov 20 '25

Question Feedback on the new question type on Stack Overflow?

2 Upvotes

My team recently rolled out a beta version of some new question types on Stack Overflow in order to support more open-ended questions. Has anyone posted one of these successfully? If so, I'd love to hear how was your experience and anything you'd improve?


r/stackoverflow • • Sep 15 '25

Question Is this email address legit?

2 Upvotes

Hi, I got an email from [email protected] about telling about my experience in a meeting for a gift card. Is this email legit?

Edit: Got a response from stackoverflow, it is legit


r/stackoverflow • • Aug 09 '25

Question I want to understand how moderation works

2 Upvotes

Hello,

Once I asked my friend to upvote few of my answers, and next day I lost all of those points. So I understand promoting each other isn't allowed here, but recently I got someone on my back, thinking the content I wrote is AI generated, and downvoted all of my posts, when I put hours of work into the subject, tested solutions and refined my posts (which is obviously visible through history). Why does StackOverflow allow such hostility on the platform, but forbid friendly upvotes, is this something nobody's concerned about? I am slowly loosing motivation here, so please understand, most of professionals are not coming back to the platform and it's getting harder to get upvotes on narrow topics where I contributed, and got like 3-4 upvotes over 5 years, if he calls few of his friends I might go into negative easily here.

Any input is appreciated


r/stackoverflow • • Jul 22 '25

Question Flutter + Jitsi Meet + Stripe SDK – Crash on launch (JitsiMeetView InflateException)

2 Upvotes

Flutter + Jitsi Meet + Stripe SDK – Crash on launch (JitsiMeetView InflateException) Hi everyone,

I'm working on a Flutter app that uses the latest versions of:

jitsi_meet latest

flutter_stripe latest

When trying to start a Jitsi meeting using JitsiMeetView, the app crashes with the following error:

pgsql Copiar código E/JitsiMeetSDK: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app/org.jitsi.jitsi_meet_flutter_sdk.WrapperJitsiMeetActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class org.jitsi.meet.sdk.JitsiMeetView

Caused by: java.lang.NoSuchMethodError: No static method runOnUiThread(Ljava/lang/Runnable;)Z in class Lcom/facebook/react/bridge/UiThreadUtil; or its super classes (declaration of 'com.facebook.react.bridge.UiThreadUtil')

at com.facebook.react.modules.core.ReactChoreographer.<init>(ReactChoreographer.kt:71)
at com.facebook.react.modules.core.ReactChoreographer$Companion.initialize(ReactChoreographer.kt:131)
at com.facebook.react.ReactInstanceManager.<init>(ReactInstanceManager.java:315)
at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:364)

🔍 Things to note:

When using Jitsi Meet in a clean project alone, it works fine.

The issue only happens when I also include Stripe.

I suspect it's a version mismatch with React Native or a shared library conflict (libc++_shared.so), but I’m not sure how to resolve it properly.

I'm using FlutterFragmentActivity as required by Stripe.

Has anyone run into this issue before? How can I make both flutter_stripe and jitsi_meet coexist peacefully?

Any guidance is greatly appreciated


r/stackoverflow • • Jun 24 '25

Python Onnxrefernce error whenever packaging with Pyinstaller

2 Upvotes

Pretty much the title. Making a TTS application for my capstone but the packaging is giving me 'child process died onnx reference" error everytime. Have tried Nuitka but doesn't help. Anybody have a solution?


r/stackoverflow • • Jun 13 '25

Question How does adding quad variables to stack machine in x86-64 Assembler work?

2 Upvotes

I'm working on a task where I have to translate a simple C function into x86-64 assembly:
long long int funcU(long long int x, long long int y) {
long long int t1, t2;
t1 = 5; t2 = 6;
return (x + y + t1) * t2;
}

I am also given this skeleton:

.section .text 
funcU: 
  push %rbp 
  mov %rsp, %rbp 
  subq $16, %rsp           # reserve space for t1 and t2
  movq $5, ________        # t1 = 5
  movq $6, ________        # t2 = 6

  movq %rdi, %rax          # rax = x
  addq %rsi, %rax          # rax = x + y

  addq ________, %rax      # rax = x + y + t1
  movq ________, %rdx      # rdx = t2

  imulq %rdx, %rax         # rax = result = (x + y + t1) * t2

  mov %rbp, %rsp
  pop %rbp
  ret

The provided solution fills in the blanks like this:
movq $5, 8(%rbp)
movq $6, 16(%rbp)
addq 8(%rbp), %rax
movq 16(%rbp), %rdx

This is what’s confusing me: since the code subtracts 16 from %rsp to reserve space on the stack, I would expect the local variables (t1, t2) to be placed at negative offsets, like -8(%rbp) and -16(%rbp), because the stack grows downward.

But the solution is using positive offsets (8(%rbp) and 16(%rbp)), which seems to go above the base pointer instead of into the reserved space.

Am I misunderstanding how stack frame layout works? Is there a valid reason for locals to be stored above %rbp even after subtracting from %rsp?


r/stackoverflow • • Feb 12 '25

Question Is there a Ruby gem or API for Google Analytics 4?

2 Upvotes

I'm not talking about a helper that would inject the JS code for me. I have done that already. I'm talking about a gem that would allow me to do the same thing that gtag() does in JS but in Ruby (on Rails). Specifically set properties and send events.

Why do I need this? Say you have a webhook on a payment processor app that points to your app when a successful payment happens. This endpoint on my end isn't going to load a web page, as there's no "client" per se. So JS won't run. But I still want to be able to send some payment data to GA.

Is there any workaround to do this? Perhaps an API instead of a whole gem?


r/stackoverflow • • Dec 12 '24

Question Datastage Sequencer Stage doesn't continue the process after Nested Condition

2 Upvotes

I have a DataStage Sequence Job that needs to branch the process on the basis of which value is passed to a parameter. I decided to add a Nested Condition Stage from which three links part. This is how the three paths are made:

Link1: Nested Condition Stage -> Job Activity1 -> Job Activity2 -> Sequencer Stage Link2: Nested Condition Stage -> Sequencer Stage Link3: Nested Condition Stage -> Job Activity3 -> Sequencer Stage The Nested Condition Stage mentioned in the list is common to all the three branches. The Sequencer Stage is in common to the branches as well. I need the Sequencer Stage because I need to connect the ultimate links of the three branches to the same activity, which closes the job.

The problem is that Link1 and Link3 correctly lead to a successful run, Link2 doesn't. The value of the parameter checked in the Nested Condition Stage for Link2 is correct. The only thought I have is that the Sequencer Stage a link coming from a Job Activity Stage. But there is no Job Activity I can put between the Nested Condition and the Sequencer. The proper definition of the process is as described in the list above. Is there something I can do to solve this problem? Maybe I can substitute the Nested Condition with a Execute Command Stage, keep only Link1 and Link3, and using a command to skip the Job Activities in those links (maybe on the basis of the value of a certain parameter), but I don't know how and what to write as command.

Thanks in advance to anyone willing to help. Ask if you need more information.


r/stackoverflow • • Dec 07 '24

Python Urgent help in Twilio phone call API, on Python

2 Upvotes

Fellas,

I want to use Twilio to just make a phone call on a phone number. I basically created account on it and it gave me about $15 worth of credit as a Free Trial.

Upon registration a US number was given that I assumed would help me achieve my goal. During the initial setup they also provided a Python code snippet that had auth token and I think 'sid' that would be enough for the credentials side.

I code has also to and from numbers written and in the "to" I wrote my Twilio verified number which when I checked comes under the verified caller section of the Twilio portal.

The issue I am facing:

Every time I run the Python script it always gives back that the phone number is unverified. I searched but couldn't find solution so came here to take help from you guys. Please check python code and error.

I am using twillo even though when creating account i verified my phone number by providing OTP and my Pakistani number is visible in the verified caller id but I am not getting call. I am using Trial account.

For security reason I have hidden few details

POST /Accounts/Abb994a0a97/Calls.json

Twilio returned the following information:

Unable to create record: The number is unverified. Trial accounts may only make calls to verified numbers.

More information may be available here:

https://www.twilio.com/docs/errors/21219

Download the helper library from https://www.twilio.com/docs/python/install

Code:

import os from twilio.rest import Client

Set environment variables for your credentials

Read more at http://twil.io/secure

account_sid = "A99acbb2884a08a97" auth_token = "0d08f102be22d"

client = Client(account_sid, auth_token)

call = client.calls.create( url="http://demo.twilio.com/docs/voice.xml", to="", # I am putting my verified phone number here from_="" # The US phone number Twilio provided )

print(call.sid)


r/stackoverflow • • Nov 01 '24

Question DataStage Oracle Connector doesn't execute after SQL statement

2 Upvotes

I have a problem with an Oracle Connector. It should work as follows:

1 - Delete rows where the start date is equal to SYSDATE 2 - Insert data in that table 3 - Update rows with start date different from SYSDATE

I wrote the delete statement in "Before SQL statement" and it works. Stept 2 works as well. The update statement in step three is written in "After SQL statement", but it doesn't work.

The UPDATE is as follows:

UPDATE table SET end_date = TO_DATE(TO_CHAR(SYSDATE, 'YYYYMMDD'), 'YYYYMMDD') - 1, FLAG = 'N'

I tried to put the UPDATE and DELETE statements together,inside a BEGIN/END block, but then the job failed because it doesn't recognize the COMMIT statement after the block.

I tried to write the UPDATE statement just after the DELETE statement and before the COMMIT and it doesn't work, while, again, the DELETE statement keeps working.

I also tried to execute both statements directly on the DB with SQL Developer and it worked. The only thing I know is that it's not a syntax problem.

Can someone help me?


r/stackoverflow • • Oct 25 '24

Python Garbage Collection in Python3 - How to delete array and all elements of it?

2 Upvotes

I am doing image classification in pytorch and use the adversarial robustness toolbox (https://adversarial-robustness-toolbox.readthedocs.io/en/latest/index.html). This framework wants me to give my entire dataset as parameters to a wrapper function. But loading the entire dataset leads to OOM errors as I use the ImageNet 2012 dataset as training data which is 155GiB but I only have 28 GB of Memory.

My idea was to not use the entire dataset at once but use a for loop and each instance of the for loop load a part of the dataset and pass it to the wrapper. However even after only loading 1/200th of data at a time into the array I pass to the wrapper eventually I run out of memory.

for a in range((len(filelist)//MEMORYLIMITER)+1):
    print('Imagenet segement loaded: ' +str(a))
    if ((a+1)*MEMORYLIMITER-1<len(filelist)):
        x_train = np.array([np.array(Image.open(IMAGENET_PATH_TRAIN+'/'+fname)) for fname in filelist[a*MEMORYLIMITER:(a+1)*MEMORYLIMITER-1]])
        x_train = np.transpose(x_train, (0, 3, 1, 2)).astype(np.float32)
        x_train = x_train/255
        print('load was successful: '+ str(a))
        
        #pass x_train to wrapper
    else:
        x_train = np.array([np.array(Image.open(fname)) for fname in filelist[a*MEMORYLIMITER:]])
        x_train = np.transpose(x_train, (0, 3, 1, 2)).astype(np.float32)
        x_train = x_train/255
        #pass x_train to wrapper       

filelist is a list holding the filenames of all images MEMORYLIMIT is a int that says how many pictures there can be per 'slice' (total 1,281,167)

Is there a way to free the memory from the loaded images in python after I passed them to the wrapper?

I tried to delete the x_train array manually adding

del x_train
gc.collect()

after passing it to the wrapper but still I run out of memory.


r/stackoverflow • • Oct 14 '24

Question Free APIs for Indian Stock Market Data (NSE/BSE)?

2 Upvotes

Hey all,
I’m working on a project involving Indian stocks (NSE/BSE) and need free APIs for company overviews, financial data (PE ratio, market cap, etc.), and historical prices. So far, I’ve checked:

  • Yahoo Finance API (limited for Indian stocks)

  • Alpha Vantage (limited)

  • Screener.in (manual access)

I’m looking for automated, free solutions to retrieve this data. Any suggestions for reliable APIs or scraping techniques?

Thanks!


r/stackoverflow • • Oct 11 '24

Python help with transfer attributes script.

2 Upvotes

my friend and I are part of this mini scripting project and we have been going in circles trying to troubleshoot a transfer attributes script. Initially, it was to be able to transfer to more than 1 object. and then expanded to trying to be able to copy UVsets other than map1. currently we aren't able to copy/transfer any other uvset except map1.
thanks in advance.

apologies for my life, I don't know how to copy code with formatting over to reddit from maya.

import maya.cmds as cmds

def transfer_attributes(source, targets, options):

for target in targets:

cmds.transferAttributes(

source, target,

transferPositions=options['transferPositions'],

transferNormals=options['transferNormals'],

transferUVs=options['transferUVs'],

transferColors=options['transferColors'],

sampleSpace=options['sampleSpace'],

sourceUvSpace=options['sourceUvSpace'],

targetUvSpace=options['targetUvSpace'],

searchMethod=options['searchMethod']

)

def perform_transfer(selection, transfer_type_flags, sample_space_id, uv_option, color_option):

if len(selection) < 2:

cmds.error("Please select at least one source object and one or more target objects.")

return

source = selection[0]

targets = selection[1:]

sample_space_mapping = {

'world_rb': 0, # World

'local_rb': 1, # Local

'uv_rb': 2, # UV

'component_rb': 3, # Component

'topology_rb': 4 # Topology

}

sample_space = sample_space_mapping.get(sample_space_id, 0)

# Default UV set names

uv_set_source = "map1"

uv_set_target = "map1"

# Determine UV transfer mode

if uv_option == 1: # Current UV set

uv_set_source = cmds.polyUVSet(source, query=True, currentUVSet=True)[0]

uv_set_target = cmds.polyUVSet(targets[0], query=True, currentUVSet=True)[0]

elif uv_option == 2: # All UV sets

for uv_set in cmds.polyUVSet(source, query=True, allUVSets=True):

options = {

'transferPositions': transfer_type_flags['positions'],

'transferNormals': transfer_type_flags['normals'],

'transferUVs': True,

'transferColors': transfer_type_flags['colors'],

'sampleSpace': sample_space,

'sourceUvSpace': uv_set,

'targetUvSpace': uv_set,

'searchMethod': 3 # Closest point on surface

}

transfer_attributes(source, targets, options)

return

# Determine Color transfer mode

if color_option == 2: # All Color sets

for color_set in cmds.polyColorSet(source, query=True, allColorSets=True):

options = {

'transferPositions': transfer_type_flags['positions'],

'transferNormals': transfer_type_flags['normals'],

'transferUVs': transfer_type_flags['uvs'],

'transferColors': True,

'sampleSpace': sample_space,

'sourceUvSpace': uv_set_source,

'targetUvSpace': uv_set_target,

'searchMethod': 3 # Closest point on surface

}

transfer_attributes(source, targets, options)

return

options = {

'transferPositions': transfer_type_flags['positions'],

'transferNormals': transfer_type_flags['normals'],

'transferUVs': transfer_type_flags['uvs'],

'transferColors': transfer_type_flags['colors'],

'sampleSpace': sample_space,

'sourceUvSpace': uv_set_source,

'targetUvSpace': uv_set_target,

'searchMethod': 3 # Closest point on surface

}

transfer_attributes(source, targets, options)

def create_transfer_ui():

window_name = "attributeTransferUI"

if cmds.window(window_name, exists=True):

cmds.deleteUI(window_name)

window = cmds.window(window_name, title="Transfer Attributes Tool", widthHeight=(400, 500))

cmds.columnLayout(adjustableColumn=True)

cmds.text(label="Select Source and Target Objects, then Choose Transfer Options:")

transfer_type_flags = {

'positions': cmds.checkBox(label='Vertex Positions', value=True),

'normals': cmds.checkBox(label='Vertex Normals', value=False),

'uvs': cmds.checkBox(label='UV Sets', value=False),

'colors': cmds.checkBox(label='Color Sets', value=False)

}

cmds.text(label="Sample Space:")

sample_space_collection = cmds.radioCollection()

cmds.radioButton('world_rb', label='World', select=True, collection=sample_space_collection)

cmds.radioButton('local_rb', label='Local', collection=sample_space_collection)

cmds.radioButton('uv_rb', label='UV', collection=sample_space_collection)

cmds.radioButton('component_rb', label='Component', collection=sample_space_collection)

cmds.radioButton('topology_rb', label='Topology', collection=sample_space_collection)

cmds.text(label="UV Set Transfer Options:")

uv_option = cmds.radioButtonGrp(

numberOfRadioButtons=2,

labelArray2=['Current', 'All'],

select=1

)

cmds.text(label="Color Set Transfer Options:")

color_option = cmds.radioButtonGrp(

numberOfRadioButtons=2,

labelArray2=['Current', 'All'],

select=1

)

cmds.button(

label="Transfer",

command=lambda x: perform_transfer(

cmds.ls(selection=True),

{key: cmds.checkBox(value, query=True, value=True) for key, value in transfer_type_flags.items()},

cmds.radioCollection(sample_space_collection, query=True, select=True),

cmds.radioButtonGrp(uv_option, query=True, select=True),

cmds.radioButtonGrp(color_option, query=True, select=True)

)

)

cmds.showWindow(window)

create_transfer_ui()


r/stackoverflow • • Oct 07 '24

Question Automated Scholarship Application Program

2 Upvotes

i'm writing a program using python and the playwright library that is meant to automate scholarship applications for BOLD. so far, my program can successfully automate applying for no-essay scholarships and keeping track of everything. my main goal is to make this program be able to reference my resume to generate essays using openai's api, reiterate on them a couple times, then submit them to essay-required scholarships. i'm not too sure where to begin, so i had some questions that i'd appreciate help with.

  • has something like this ever been done before? seeing someone elses code would help me a lot. i tried searching online but couldn't find anything relating to this.

  • am i using the right tools for something like this. my main things are python, playwright, and openai's api.

  • is there any obstacles i should worry about? i haven't had a problem with captchas and i don't think my account would get banned. i've added human-mimicking delays before every interaction to make sure the program doesn't trip any alarms.

any help is appreciated. thank you :)


r/stackoverflow • • Oct 04 '24

Question Introduction to Distributed Ledger Technologies

2 Upvotes

Hi, I´m starting my PhD in Engineering and my advisor told me to learn about Distributed Ledger Technologies (DLTs) from a theoretical framework. I'd like to know if there is a basic handbook to start learning or some courses that I could take in order to learn more about distributed systems. All I found was about Blockchain only, but I´d like to learn about DLTs in general (obviously Blockchain included). Does anyone know any useful introductory handbook or course in DLTs?

Thanks in advance!


r/stackoverflow • • Sep 27 '24

Question Available domain shouldn't be available

2 Upvotes

Hello, I just saw that a domain I wanted to buy on Aruba is not available, but it is on GoDaddy. Is that normal? What happens if I buy it on GoDaddy and use it to create a personal email address?


r/stackoverflow • • Sep 26 '24

Question Can't receive emails sent to my Aruba webmail

2 Upvotes

Hello, I'm having issues with my Aruba webmail.

When I got it, I added it to my Gmail account in order to receive and write emails with it. I also kept using the Aruba webmail app to read emails. Some months ago it started having issues. When someone send me emails, I receive a notification, but I can't see the email neither on the webmail app for android nor on the Aruba website. I can see them on Gmail, but only some of them.

I tried to add my Aruba address to another Gmail account. First the SMTP and then the POP3. It downloaded some of the emails I can see on the other Gmail account, but not all of them.

Is there something I can do?


r/stackoverflow • • Sep 25 '24

Question The User Interface

2 Upvotes

I found not other place to put this so reddit it is. The user interface to submit questions could be improved. Frequently I see top right "You question couldn't be submitted" but the reasons why not seem to be hidden deliberately. Why not list a on page list of links to the section that prevents the question from being submitted? I hoped SO could do better UI than this.

If there is a place to suggest this to the SO developers I love to know where.


r/stackoverflow • • Sep 23 '24

Python Help my Tensorflow.keras wont work

2 Upvotes

Bros, I have been trying to get my tensor flow to work. I have the same warning (below 2) for these two lines (below 1).

from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import LSTM, Dense

Import "tensorflow.keras.models" could not be resolvedPylancereportMissingImports View Problem (Alt+F8)Quick Fix... (Ctrl+.)

Import "tensorflow.keras.models" could not be resolvedPylance
reportMissingImports

r/stackoverflow • • Sep 21 '24

Question how can I concentrate when I am coding

2 Upvotes

any tips


r/stackoverflow • • Sep 19 '24

Question Advice

2 Upvotes

I am 54 years old and would like to get into cybersecurity. Can I please let of it’s something possible as I heard it will take at least 4 years to learn it. What did I need to learn first. I like challenges


r/stackoverflow • • Sep 16 '24

Question I am 14 and I want to learn coding

2 Upvotes

How can I start


r/stackoverflow • • Sep 09 '24

Question Retryable write with txnNumber 4 is prohibited on session | Django and MongoDB

2 Upvotes

I have been assigned to do atomic update in below code.

I am not sure how to do for following line of code:

self._large_results.replace(json_result, encoding='utf-8', content_type='application/json')

Application Code

class MyWrapper(EmbeddedDocument):

# Set the maximum size to 12 MB

MAXIMUM_MONGO_DOCUMENT_SIZE = 12582912

# Lock object to lock while updating the _large_result

lock = threading.Lock()

# The default location to save results

results = DictField()

# When the results are very large (> 16M mongo will not save it in

# a single document. We will use a file field to store these)

_large_results = FileField(required=True)

def large_results(self):

try:

self._large_results.seek(0)

return json.load(self._large_results)

except:

return {}

# Whether we are using the _large_results field

using_large_results = BooleanField(default=False)

def __get_true_result(self):

if self.using_large_results:

self._large_results.seek(0)

try:

return json.loads(self._large_results.read() or '{}')

except:

logger.exception("Error while json converting from _large_result")

raise InvalidResultError

else:

return self.results

def __set_true_result(self, result, result_class, update=False):

class_name = result_class.__name__

valid_result = self.__get_true_result()

with self.lock:

try:

current = valid_result[class_name] if update else {}

except:

current = {}

if update:

current.update(result)

else:

current = result

valid_result.update({class_name: current})

json_result = json.dumps(valid_result)

self.using_large_results = len(json_result) >= self.MAXIMUM_MONGO_DOCUMENT_SIZE

if self.using_large_results:

self._large_results.replace(json_result, encoding='utf-8', content_type='application/json')

self.results = {}

self._large_results.seek(0)

else:

self.results = valid_result

self._large_results.replace('{}', encoding='utf-8', content_type='application/json')

We are using django with mongo deployed in cluster.We are using celery for running these statements. Currently, I am getting this error -

mongoengine.errors.OperationError: Could not save document (Retryable write with txnNumber 4 is prohibited on session e6d643cc-8f77-4589-b754-3fddb332b1b9 - 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= - - because a newer retryable write with txnNumber 6 has already started on this session.).

Any leads/help appreciated


r/stackoverflow • • Sep 08 '24

Javascript Global extensions in VS Code?

2 Upvotes

I had to download a bunch of stuff for my HTML Software Development Bootcamp for JavaScript, CSS, and HTML.

I have a local JavaScript environment and "Open in browser" set up perfectly on my Windows 10... but ONLY in the virtual network file that Linux created for me. When I try to open another set of HTML/JS/CSS files in a folder elsewhere, JavaScript doesn't work. Nor does Open in Browser.

I had the same issue with Python which is why I switched to Pycharm, but seeing how I can't use Java in Pycharm for free or split files properly in Pycharm, I'm forced to switch. How do I make all extenstions automatically apply regardless of where and how I want to open files?


r/stackoverflow • • Sep 03 '24

HTML Easier way to surround tag in HTML?

2 Upvotes

I've been using Pycharm to write HTML for personal ease as I learn.

I had to look up ctrl+alt+t to wrap a tag around highlighted text. Is there a method that requires less clicks? The class im taking for this doesn't offer a smarter, auto formatting web environment