Random snippets of all sorts of code, mixed with a selection of help and advice.
How to perform an internal account-to-account fund transfer using Jack Henry / Banno Consumer API v0?
30 March 2026 @ 5:48 am
I am building an integration using the Jack Henry / Banno Digital Toolkit Consumer API and I need to facilitate an internal fund transfer between two accounts owned by the same user within the same financial institution.
I have checked the v0 API reference under the "Transfers" category (https://jackhenry.dev/open-api-docs/consumer-api/api-reference/v0/transfers/). However, the documentation there seems to only detail endpoints for External Transfer Accounts (e.g., POST /a/consumer/api/v0/users/{userId}/transfers/accounts/external).
I cannot find the exact endpoint for a standard internal transfer.
Could someone provide:
The exact endpoint URL for initiating an internal account-to-account transfer?
The required JSON payload schema (e.g., how to format the source account ID, destination account ID, and amount)?
Is the torch.fx traced graph topologically sorted?
30 March 2026 @ 5:41 am
Dependency layer: The layers whose outputs are passed to the current layer. Basically, The current layer is dependent on the outputs of the dependency layers.
For a project, I need to know if the graph traced by torch.fx is topologically sorted(because i want the dependency layers to be computed before the execution of the current layer). I want an official reference or a snippet from the code base to verify(officially) that whether the traced graph will always be sorted or not.
Thanks a lot for your support, in advance.
ASP.NET Core DI error: Unable to resolve service for type StackExchange.Redis.IDatabase
30 March 2026 @ 5:34 am
I am working on an ASP.NET Core Web API and using Redis (StackExchange.Redis) for rate limiting.
Redis is running using Docker Desktop, and the container is up and accessible on localhost:6379.
However, when I start the application, it fails during startup with a Dependency Injection error saying IDatabase cannot be resolved.
System.AggregateException: Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: SmartApiSystem.API.Services.RateLimiterService Lifetime: Scoped ImplementationType: SmartApiSystem.API.Services.RateLimiterService': Unable to resolve service for type 'StackExchange.Redis.IDatabase' while attempting to activate 'SmartApiSystem.API.Services.RateLimiterService'.)
Error Says:
Unable to resolve service for type StackExchange.Redis.IDatabase
Deploy Python application to Raspberry Pi automatically using Azure DevOps CI/CD
30 March 2026 @ 5:09 am
so, I have a repository in Azure DevOps that contains Python scripts for a Raspberry Pi application. I build the project using PyInstaller, which generates an executable inside the dist/ folder.
Currently, my OTA update process is fully manual:
Build the executable locally
Copy it to the Raspberry Pi
Replace the existing file
Restart the application
Now I would like to automate this process with Azure CI/CD. I've read into Pi Connect and Swupdate but both doesn't even involve CI/CD and there's not a lot of resources I can find combining the two. Thank you!
Unable to connect to P4 server (WSAECONNREFUSED) - Second User (Not Host)
30 March 2026 @ 4:20 am
I have recently set up a Perforce server, but my second machine is unable to connect to it. It connected successfully when it was initially set up, but now when I try to re-open the connection, I get the error:
"Connect to server failed; check $P4PORT. TCP connect to 192.168.1.64:1666 failed. connect: 192.168.1.64:1666: WSAECONNREFUSED, No connection could be made because the target machine actively refused it."
I know this a very common error, but I can't seem to fix it (I'm not very savvy with this type of stuff).
I am able to connect from the host side and everything shows up normally when I use p4 info. I've enabled port 1666 through firewall (on both machines), tried port forwarding it with my router, and made sure "p4 set P4PORT" is correct. What could be going wrong here?
Edit: I have been on multiple forums already and tried the common suggestions but nothing has worked so far.
"hello chat" Door
30 March 2026 @ 3:39 am
I'm working on some projects in Python and JS.
Lately, I decided to speed up the creation process, only stopping to fix bugs.
I found an image in the root of my backend saying "hello chat" with a door in the background.
What could this be?
How to detect shelf horizontal angle deviation in a mobile app? (iOS and Android)
29 March 2026 @ 4:20 pm
I need a way to analyze retail shelf photos, detect the shelf rail/edge angle relative to a horizontal line, and return “Not Detectable” if no valid shelf line is found. If the detected deviation is more than 15 degrees from horizontal, it should be flagged as misaligned.
The reference photos show shelf rails, price strips, and product rows that could be used as horizontal cues.
What I need advice on
The most reliable way to detect shelf horizontal lines in a mobile app.
How to calculate the angle of detected lines from horizontal.
How to decide when the shelf is not detectable.
Best practices for handling blurry, occluded, or low-contrast shelf images.
I attempted to use OpenCV with the Probabilistic Hough Line Transform and Apple's VNDetectHorizonRequest.**
However, the results have not been accurate or
How can an average developer with basic communication skills land a job in Dubai?
29 March 2026 @ 3:07 pm
My name is Gowtham. I have around 3+ years of experience as a full-stack developer. I would consider myself an average developer in terms of technical skills, and my communication skills in English are also at an average level.
My goal is to get a job in Dubai with a good salary and grow my career. Right now, I feel a bit stuck and unsure what steps I should focus on to make this happen.
What should I improve first — technical skills, communication, networking, or something else?
Is it possible to get a job in Dubai from India with my current level?
If anyone has gone through a similar journey or is currently working in Dubai, I’d really appreciate your advice and suggestions.
Thanks in advance!
From where to begin practice
29 March 2026 @ 6:33 am
I am learning concepts and not practicing thinking that in the end I will practice first let me understand all the concepts and what happens is I become inconsistent and then all the concepts studied evaporates.
Where do start my practice concept by concept, any suggestion of websites?
I want to make a conditional component in React but didnt work, What am I doing wrong?
28 March 2026 @ 10:37 pm
I have code like this, and it works:
{(users.length === 0) ? (<></>) : (
<Pagination
sx={{ mt: '1rem' }}
page={page}
count={pagination.last_page}
onChange={handleChangePage} />
)}
But I want to have it like this:
const MyComponent = () => {
return (
<HideIf condition={users.length === 0}>
<Pagination
sx={{ mt: '1rem' }}
page={page}
count={pagination.last_page}
onChange={handleChangePage} />
</HideIf>
);
}
const HideIf = ({condition, children}) => {
if(condition){
return ( <></> );
} else {
return (
<>{children}</>
);
}
}
And with this form, it gave me the following error