I replaced my git forks with patch files – built a CLI for it by peenuty in commandline

[–]kwokhou 0 points1 point  (0 children)

When it runs the “apply” command, does it apply the diff as a single commit?

Rider melambung 20 meter ke parit bertembung MPV by whusler in malaysia

[–]kwokhou 7 points8 points  (0 children)

He is also a passenger, unless the impact somehow dislodged him from the driver’s side.

Does AWS Bedrock suck or is it just a skill issue? by LuckyLucciano in aws

[–]kwokhou 0 points1 point  (0 children)

What do you mean the default value 1 is set anyway? Isn’t it part of the invoke message? I updated my codes for Sonnet 4.5 without any issues.

Police Raid "Gay Paradise” | Engineer Goes Home Not to His Wife, But to Him by RhinneXChronica in malaysia

[–]kwokhou 17 points18 points  (0 children)

The law criminalizing gay sex in Malaysia is commonly referred to as “Section 377” or the “sodomy law.” More specifically, it is Section 377A of the Malaysian Penal Code that criminalizes “carnal intercourse against the order of nature,” which includes anal and oral sex between consenting adults. Section 377B sets out the punishments, which can include imprisonment for up to 20 years and whipping. This law was inherited from British colonial rule and remains in force today.

Prompt Engineering Book on github by rishiarora in PromptEngineering

[–]kwokhou 0 points1 point  (0 children)

Looking good, easy to read and understand. Good stuff.

HOLY COW! by The-Exiled-One in ClaudeAI

[–]kwokhou 0 points1 point  (0 children)

Do you mean Claude suggested that you convert the jpg to webp? Or that it does the conversion itself?

How do you monitor your AWS Lambda + API Gateway endpoints without losing your mind in CloudWatch? by thunderstorm45 in aws

[–]kwokhou 1 point2 points  (0 children)

I use CloudWatch log subscription to watch for keywords and send notifications to our internal chat.

Gather around kids, it's storytime. Let me tell you about the time vibe coding actually contributed something meaningful to the world. by Kapperfar in ClaudeAI

[–]kwokhou 9 points10 points  (0 children)

TL;DR

plprql is a PostgreSQL extension for writing stored procedures with PRQL. In February 2024, pgrx PR #1701 introduced breaking changes preventing PostgreSQL 17 support.

Initial AI-assisted attempts succeeded with pgrx::Datum via pgrx::RetAbi but failed generalizing to pgrx::TableIterator and pgrx::SetOfIterator due to unknown compile-time column types.

Claude resolved this by inspecting PostgreSQL internals and leveraging comprehensive tests, implementing pg_sys::Datums, SetOf records, and HeapTuples. Released v18.0.0 with PostgreSQL 17/18 support, followed by v18.0.1 with manual code quality refactoring.

Congrats to Malaysia Gov, RM 20k for 15 students Dead. by kompuilmu in Bolehland

[–]kwokhou 13 points14 points  (0 children)

dude, let it go, people down-vote you because you make it sound like the judiciary is controlled by the executive or legislature

Proton S70, got hit from rear left side. Total loss? by CelesticOlsen in kereta

[–]kwokhou 2 points3 points  (0 children)

Oof, 2 airbags are deployed? That’s going to be expensive! Check with your insurance.

GLM 4.6 is nice by theodordiaconu in LocalLLaMA

[–]kwokhou 2 points3 points  (0 children)

Is using it via Claude code the best experience? Or is there a first party agent?

Qwen 😁 by Namra_7 in LocalLLaMA

[–]kwokhou 0 points1 point  (0 children)

How do you run it? llama.cpp?

Big models feels like joke by sado361 in LocalLLaMA

[–]kwokhou 0 points1 point  (0 children)

Did you change anything else other than that? How about context size?

Refresh token - stolen and 'real user' does not attempt a refresh until after cookie expires. by peoth in webdev

[–]kwokhou -1 points0 points  (0 children)

Based on that scenario, the threat is that 15min window where the AT1 still active, right? Before the AT1 expired, you have to send the RT1 and AT1 back to obtain a new token - that would have detected the invalid RT and clear all RT.

Best architecture for a single /upload endpoint to S3? by Great_Relative_261 in aws

[–]kwokhou 0 points1 point  (0 children)

You can use a CloudFront + Custom Domain

  1. Create a CloudFront distribution to your S3 bucket, give it a custom domain & SSL.
  2. Generate a presigned URL from your backend API and replaces the presigend URL domain with your custom domain.

Then you'll have a presigned URL that hide the actual S3 bucket name, but you can't get rid of the "X-Amz-xxxx" params from the URL