Skip to content

Instantly share code, notes, and snippets.

View rustanacexd's full-sized avatar
💭
token fasting!

Rustan Corpuz rustanacexd

💭
token fasting!
View GitHub Profile
@rustanacexd
rustanacexd / README.md
Last active October 26, 2026 01:10
Native Parallels macOS explicit and implicit guest-account proof for PR 2958

Native Parallels guest-user compatibility proof

Recorded 2026-10-26 UTC for openclaw/crabbox#2958.

The revised candidate is 446b8d8d0c10c0579e59e3f90438fb87f44e77f9. It preserves the selected guest account and retains the existing macOS host-USER fallback when the guest account is omitted. The original upstream baseline is d003d8f33deaf62ebfe48602fc683823b4440ecf. The rejected first candidate is 6479f2e7499e9c8a35ac637e636b7332030a90e5.

Native results

Scenario Binary revision Guest account setting Result
@rustanacexd
rustanacexd / README.md
Created October 25, 2026 09:39
Crabbox PR 2957: real native Windows acquisition and controlled result-loss proof

Windows staging recovery: real behavior proof

The native acquisition used a private CLI build from clean published commit 58afb7654e3b80c87fec6fdb957adda52dba7921. That commit adds only an opt-in test to the reviewed production fix 630c00edda4c1e4d1d9a9039b113b9c8def56470. Binary SHA256 and vcs.modified=false are in summary.json.

This is controlled result loss over real Parallels Tools and Windows PowerShell, not a claim that the injected failures occurred naturally. The injector delegates to real prlctl, requires exit 0, independently reads the applied 400-character chunk at offset 400 in the guest, then discards that result. It also discards one successful real readiness-probe result. The CLI performs its real readiness retry and overwrites offset 400 before completing the upload.

The unchanged final bootstrap was dispatched once and returned exit 0. Its 28,044 guest bytes and SHA256 match the expected bytes reconstructed from the actual staging inputs. The native acquisition reached SSH read

Practice Exam Attempt (3) Carefully taken with notes

Got an 16/20 on the latest practice exam. Missed questions 5, 7, 12, 13.

Summary of why missed each question:

5
always favor simpler method (cbt (cloud big query tool) vs hbase cli) … I feel uneasy with this answer
7
prefer simpler method. pub/sub more than capable. kafka is overkill. this question showed my lack of knowledge of pub/sub capabilities

Webhooks vs Polling

What are webhooks, and why should you be using them? A webhook is a way to deliver real-time data to applications. Unlike traditional APIs where you need to poll for data frequently in order to get quasi real-time information, webhooks send data immediately.

You can think about webhooks like push notifications on your mobile phone. Rather than burning up the battery on your phone fetching information (polling) from applications to get updates, push notifications (webhooks) automatically send data based on event triggers. And just like push notifications, webhooks are less resource-intensive.

How Do Webhooks Work?

A webhook is an HTTP request (typically a POST sent to a pre-defined callback URI, where the server application is configured to handle the request on that URI. In many cases, webhooks are triggered by stimulus events, making them a faster and more efficient met