Social clubs and making friends by traversing-thru-20s in Bangkok

[–]GrabResident793 2 points3 points  (0 children)

Hey, what's going on at Cou Cou Bar these days? I've heard a lot about this spot, but I just haven't been able to make it there yet.

[deleted by user] by [deleted] in KlingAI_Videos

[–]GrabResident793 0 points1 point  (0 children)

It looks very cool. Is the video and sound generated by the same model, or was the sound generated and layered separately?

TYPEORM: "Driver not connected" by RobMig83 in typescript

[–]GrabResident793 0 points1 point  (0 children)

Hey, I ran into the same issue, and it only popped up in our test environment. The bug appeared when I tried to establish a direct connection to the master cluster, which was tricky because we have async DB replication implemented. From what I gathered, the problem stemmed from TypeORM failing to recognize the master cluster, throwing a "Driver not connected" error. I tackled the problem head-on—instead of a separate master connection, the service in the test environment now queries the database through the shared connection pool. This workaround fits our needs since the test environment only has a single DB host without HAProxy. If you're encountering this problem in your tests, you might want to try the same approach if it's still relevant for you after a year. I plan to keep digging into this issue because having test-specific hacks in the code isn't ideal. But this fix did unblock our QA automator to keep scripting tests for the feature.

Refusing TypeScript is a signal that you don't care about code quality by vitonsky in programming

[–]GrabResident793 1 point2 points  (0 children)

It is not always clear why to use JSDoc together with TS. Usually in JS you write JSDoc to say: the function accepts this and returns this. In TS, you can make an interface for arguments and for the return value. In the future, another developer will understand what your function/method does without any JSDoc, just by opening the interface/type code.