StackOverflow.com

VN:F [1.9.22_1171]
Rating: 9.4/10 (10 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

eslint-rspack-plugin - not failing the build on ESLint errors

2 September 2025 @ 5:36 pm

I’m working on a React project that uses eslint-rspack-plugin, a fork of eslint-webpack-plugin. The issue is that when ESLint errors are present, the process does not exit at all. It just hangs indefinitely, even though failOnError: true is set. This blocks CI/CD pipelines since the process never finishes. We previously reported this exact issue in eslint-webpack-plugin, and it was fixed. It looks like that fix hasn’t been carried over into eslint-rspack-plugin. My plugin configuration looks like this: const ESLintPlugin = require("eslint-rspack-plugin"); module.ex

ADF or Azure Functions for production environments reading from API?

2 September 2025 @ 5:36 pm

I'm developing a project that requires me to extract data from iTunes using a public API provided by them. To do this, I'm using Azure Data Factory (ADF) to perform the extraction via HTTP and store the data in Blob Storage, which will later be transferred to the Data Lake. However, during the project presentation, questions may arise about choosing ADF over Azure Functions. Currently, in which scenarios are ADF and Azure Functions best suited? Considering architectural and cost aspects, which option is more advantageous? Furthermore, I'd like to know which of these solutions is most commonly used by companies in production environments.

Vs 2022 Docker support not working when trying add to project

2 September 2025 @ 5:34 pm

I have API and i am trying to add docker file by docker support. Vs2022 doing nothing when i right click and add/docker support. Also when i try to create project with docker support vs2022 crashing. I dont undrestand what is the problem.

What is this annoying screw?

2 September 2025 @ 5:33 pm

I disassembled my iphone xs max. Every screw was definetely NOT easy to unscrew and it took much time. And when i finally got to taking out motherboard this screw is still blocking me. This is not normal philips i guess because i tried. Please help me and provide with great cheap solution or cheap but good, enough for this task screwdriver. Please. Common lightning replacing turning out being hard.. #iphone #assemble #repairing Below images added through StackOverflow (https://i.sstatic.net/tOzHdmyf.jpg)(https://i.sstatic.net/6HYAQxcB.jpg)

postgres jsonb array aggregate functions

2 September 2025 @ 5:30 pm

Please help me write a query. I have a table with data on user applications. It contains several fields: employee_id text, date date, app_info jsonb. The info field app_info contains the following code: [ { "apps": [ { "date": "2025-07-31", "app_name": "Postman", "type_name": "Native", "domain_site": "", "employee_id": "2223eb0f0d0c4941a16e83dc7274771b", "count_seconds": 155.334 } ], "granula_end": "14:50:00", "granula_start": "14:45:00" }, { "apps": [ { "date": "2025-07-31", "app_name": "CLion", "type_name": "Native", "domain_site": "", "employee_id": "2223eb0f0d0c4941a16e83dc7

IDA Pro 9.1. Displayng wrong values of local variables in Locals window

2 September 2025 @ 5:27 pm

Could you please advise on how to resolve the issue with variable display in the Locals window during debugging? When execution is halted at a breakpoint at the beginning of a function, the variables in the Locals window are displayed correctly, and the Location column shows "rsp+NN" (for variables on the stack). Next, I step through the code using Step Into. As soon as the first instruction that accesses the stack content using the rbp register is executed, the content of the Locals window changes. The address in the Location column is now displayed as "rbp-NN," and the values of ALL stack variables in the Locals window change to incorrect ones. As far as I understand, the offsets relative to rbp are incorrect, and the incorrect variable values are a consequence of this. Here is the code at the beginning of the function: PAGE:FFFFF8045FF70778 ; __unwind { // __GSHandlerCheck PAGE:FFFFF8045FF70778 mov [rsp-8+arg_8], rbx PAGE:FFFFF8045FF7077D push r

Camera is skipping frames after turning a little bit

2 September 2025 @ 5:25 pm

I'm observing that when I move the camera a little bit it works normally, but if I move more then I'll skip chunks of the screen. I enabled "press CTRL twice to show cursor" with Powertoys and I think I figured out what is causing the issue, but I have no idea how to fix it. In this image hopefully you can see that when the cursor hits the edge of the screen it'll recenter the cursor to the center of the screen, the issue is that when this happens the camera in game moves way more than it should. look Is this a common issue? Or how can I prevent this from happening? I'm using Convai. Potentially relevant code:

3D models in console game on C++ [closed]

2 September 2025 @ 5:21 pm

Davidbest404 это ссылка на мой GitHub в котором находится проект с которым нужна помощь. Дело в том что это будет что-то в роде консольного мультиплеерного RPG, где обьекты которые игрок захочет изучить должны открыться в новом окне в виде 3D модели, как это можно реализовать и если будет не сложно показать пример. Мне знакомый советовал какуюто библиотеку, однако к своему несчастью, моя короткая память помогла мне забыть её название, но кажется мне это была dll

Pygame character keys not working in Pydroid 3 [duplicate]

2 September 2025 @ 5:18 pm

I was trying to make key controls on Pydroid 3 when I notice that the KEYDOWN events from character keys doesn't get recognized and also there are no exceptions or errors during pygame run. I tested every key and it only recognizes non character keys like shift,backspace,enter,D-pad,etc. This one is what I use to test it on Pydroid 3 but because I dont have a PC at the moment, I can't tell whats wrong. #Imports Here import sys import pygame from pygame import * #run pygame pygame.init() #Variables Here run = True while run: for event in pygame.event.get(): if event.type in [QUIT] or event.type in [KEYDOWN] and event.key in [ K_q]: run = False pygame.quit() On this, the only objective is to exit by pressing "q" on the keyboard. But it won't work on Pydroid 3 for some reason. No display, no extra thing because on Pydroid 3 when running Pygame, it will go fullscreen whatever the setup.

INFO: 127.0.0.1:40028 - "GET /socket.io/?EIO=4&transport=polli

2 September 2025 @ 5:15 pm

getting this error INFO: 127.0.0.1:40028 - "GET /socket.io/?EIO=4&transport=polling&t=sziu51pf HTTP/1.1" 404 Not Found INFO: 127.0.0.1:40038 - "GET /socket.io/?EIO=4&transport=polling&t=szmp99dg HTTP/1.1" 404 Not Found import React, { useEffect, useState } from 'react'; import './App.css'; function App() { // Estado para guardar el objeto Machine const [machines, setMachines] = useState([{ nombre: 'Loading...', valor: 0 }]); useEffect(() => { const ws = new WebSocket('ws://localhost:8000/ws/machines'); ws.onopen = () => { console.log('WebSocket connection opened'); }; ws.onmessage = (event) => { try { const data = JSON.parse(event.data); if (Array.isArray(data)) { setMachines(data); } } catch (error) { console.error('Error parsing WebSocket message:', error); } }; ws.onclose = () => { console.log('WebSocket