Random snippets of all sorts of code, mixed with a selection of help and advice.
ArgoCD hydrator scaling issues
14 April 2026 @ 8:03 am
ArgoCD has a feature called Source Hydrator which is able to render kubernetes manifests from a source and move the manifests to a new destination. I was thinking of using this feature, however I am worried about how well this feature scales.
For example, manifest rendering has scaling issues. The hydrator does basically the same, but is it also affected by scaling issues?
Would also like to hear if there are any other known issues with the feature.
Scheduled bat file was working fine - wmic os get localdatetime suddenly failing
14 April 2026 @ 7:50 am
Intro
I have the a BAT file I am executing through cronical ( a windows cron like service).
Everything was working fine for 10 days..and then today suddenly the timestamp calculation is failing, and it's also destroying the script.
Interesting thing:
The log files seem to be like this for today:
dailyOne_~0,8dt
Instead of like:
dailyOne_20260412_2000.log
My gut feeling is that the problem is here... I just don't know why it exploded today...
REM ===== 3. Timestamp =====
for /f %%a in ('wmic os get localdatetime ^| find "."') do set dt=%%a
set "TIMESTAMP=!dt:~0,8!_!dt:~8,6!"
Questions
It was working fine... I tested this ... and I changed nothing.
Could it be related to today's date? 14/04/2026?
Could it be an antivirus issue? Something blocking the timestamp lookup?
Full Code
Here
How can i use passportJS strategy with ApolloServer
14 April 2026 @ 7:46 am
I'm using the PassportJS GitHub strategy and ApolloServer. I'm opening a separate '4001' port for PassportJS and another '4000' port for GraphQL endpoints. My question is: How can I use PassportJS operations with GraphQL endpoints? Can I use both on a single port, or should I run them on two separate ports? Are there any issues if I run both ports open?
import express from 'express';
import { prisma } from '@peerpush/db';
import { ApolloServer } from '@apollo/server';
import { startStandaloneServer } from '@apollo/server/standalone';
import { typeDefs } from './src/graphql/schema/typeDefs.js';
import { resolvers } from './src/graphql/resolvers/index.js';
import passport from 'passport';
import { Strategy as GitHubStrategy } from 'passport-github2';
import session from 'express-session';
import dotenv from 'dotenv';
(async function () {
dotenv.config();
const app = express();
const server = new ApolloServer({
typeDefs,
RealityKit Complains "Could not locate file 'default-binaryarchive.metallib' in bundle."
14 April 2026 @ 7:43 am
I am getting following warning while woking with UIView ArVİew app;
Could not locate file 'default-binaryarchive.metallib' in bundle.
The thing is in an other UIView + ArVİew app we don't receive it.
I tried to find what is the cause and could not find.
General structure of two apps are similar. Arview setting code is the same.
There could be many reasons so I am here.
Opayo Pi - PayPal Integration - Enabling Opayo/PayPal Connection
14 April 2026 @ 7:42 am
I am having problems trying to enable the Opayo/PayPal connection on paypal.com.
Has anyone recently managed to do this (adding the Opayo api on PayPal)?
The Opayo documentation (https://developer.elavon.com/products/en-uk/opayo/v1/paypal-integration) requests that you use the following link titled enable the Opayo/PayPal connection to do this.
When I click on the link, I sign into my PayPal business account but I am then taken to a page-not-found page.
I have been in contact with Opayo support for over a week with no solution.
I ha
OpenClaw v2026.4.9: All CLI commands hang indefinitely and get terminated with SIGKILL when called from agent exec skill
14 April 2026 @ 7:40 am
I recently upgraded OpenClaw from v2026.4.2 to v2026.4.9 and now all CLI commands consistently hang indefinitely and are eventually killed with SIGKILL when invoked from within an agent's exec skill. This worked perfectly in the previous version.
What works:
Gateway runs normally and serves HTTP on port 18789
Control UI at http://localhost:18789 works flawlessly
CLI commands work fine when run directly from a standalone terminal (though noticeably slower than before)
Direct HTTP requests to the gateway health endpoint succeed
What doesn't work:
Any openclaw command called via the agent's exec tool during an active agent turn
Commands tested: openclaw status, openclaw version, openclaw cron list, openclaw sessions cleanup
All commands hang indefinitely and are terminated with SIGKILL after the default timeout
Oracle Debezium user grants issue
14 April 2026 @ 7:39 am
I am an facing issue like this.
DebeziumException: java.sql.SQLException: ORA-31603: object \"TEST\"
of type TABLE not found in schema \"TEST\"\nORA-06512: at
\"SYS.DBMS_METADATA\", line 6731\nORA-06512: at
\"SYS.DBMS_SYS_ERROR\",
line 105\nORA-06512: at \"SYS.DBMS_METADATA\", line
2588\nORA-06512: at \"SYS.DBMS_METADATA\", line 2827\nORA-06512:
at \"SYS.DBMS_METADATA\", line 3608\nORA-06512: at
\"SYS.DBMS_METADATA\", line 5008\nORA-06512: at
\"SYS.DBMS_METADATA\",
line 5336\nORA-06512: at \"SYS.DBMS_METADATA\", line
6702\nORA-06512: at \"SYS.DBMS_METADATA\", line 9734\nORA-06512:
at line 1\n\n\tat io.debezium.pipeline.source. I did some research
and found that CATALOG_ROLE or ANY DICTIONARY access privileges are
needed.
Are these mandatory? Will Debezium not work without them?
TypeError: Cannot read properties of undefined in JavaScript [closed]
14 April 2026 @ 7:33 am
I am getting this error when trying to access an object property.
console.log(user.name);
Error:
TypeError: Cannot read properties of undefined
What could be causing this, and how can I fix it?
C++26 Reflection - How to actually do class metaprogramming?
14 April 2026 @ 7:19 am
A while ago I watched this talk by Herb Sutter, which showed some in my eyes nice ways to do class metaprogramming, e.g. to generate methods based on the members, like:
class MyClass(serializable, allocator_aware) {
myStd::vector mMember;
}
auto alloc = myStd::alloc();
auto instance = MyClass(alloc);
auto moved = MyClass(std::move(instance), alloc);
Now when I read that C++26 has landed with reflections I thought I could write something like the above ... but crucially, while one can now do metaprogramming on members with nonstatic_data_members_of, add annotations to them and access members using .[:...:], I do not see how I can currentl
How can I retrieve the fraction of functions with examples purely from an R Package source archive without installing that package?
14 April 2026 @ 6:11 am
Given a CRAN R Package's source code. e.g. an extracted tar.gz directory from CRAN. How can I, without installing the package, calculate the fraction of functions that have directly associated examples purely from the source code?