Tuesday, October 13, 2026

What is Colossus

 Colossus is Google’s proprietary, exabyte-scale distributed file system and the direct successor to the original Google File System (GFS). [1] (https://en.wikipedia.org/wiki/Google_File_System), [2] (https://abhishekkumar2718.github.io/programming/2020-03-15-google-file-system.html), [3] (https://siliconangle.com/2021/04/19/google-shares-technical-overview-exabyte-scale-colossus-file-system/)


Core Purpose & Scale


• Underpinning Infrastructure: It serves as the core storage backbone for Google's internal services (like YouTube, Gmail, and Google Search) and Google Cloud offerings (like Cloud Storage, BigQuery, and Cloud SQL). [1] (https://cloud.google.com/blog/products/storage-data-transfer/a-peek-behind-colossus-googles-file-system), [2] (https://www.infoq.com/news/2021/04/google-colossus/), [3] (https://abhishekkumar2718.github.io/programming/2020-03-15-google-file-system.html)

• Real-Time & Batch Workloads: While GFS was built mainly for batch processing, Colossus is architected to handle both low-latency, real-time services and heavy batch workloads simultaneously. [1] (https://research.google.com/pubs/archive/44877.pdf), [2] (https://abhishekkumar2718.github.io/programming/2020-03-15-google-file-system.html)

• Borg Integration: Unlike GFS—which ran on dedicated master machines—Colossus runs natively inside Google's Borg cluster management infrastructure. [1] (https://news.ycombinator.com/item?id=39756262), [2] (https://cloud.google.com/blog/products/storage-data-transfer/a-peek-behind-colossus-googles-file-system)


Key Architectural Components


Colossus breaks down its tasks into specialized distributed pieces:

• Curators: The control plane metadata servers that handle file creation, deletion, and directory operations. They scale horizontally and store metadata inside Google's Bigtable, allowing the system to scale over 100 times larger than legacy GFS clusters. [1] (https://cloud.google.com/blog/products/storage-data-transfer/how-colossus-optimizes-data-placement-for-performance), [2] (https://techfieldday.com/video/the-latest-in-high-performance-storage-rapid-on-colossus-with-google-cloud/), [3] (https://www.scribd.com/document/829043634/Colossus-Google-s-File-System), [4] (https://www.infoq.com/news/2021/04/google-colossus/)

• Custodians: Maintenance workers that handle data durability, replication, disk space balancing, garbage collection, and RAID reconstruction. [1] (https://www.infoq.com/news/2021/04/google-colossus/), [2] (https://cloud.google.com/blog/products/storage-data-transfer/how-colossus-optimizes-data-placement-for-performance), [3] (https://techfieldday.com/video/the-latest-in-high-performance-storage-rapid-on-colossus-with-google-cloud/)

• "D" File Servers: A massive fleet of network-attached disk servers (HDDs and SSDs) that store the actual raw bytes of files. [1] (https://techfieldday.com/video/the-latest-in-high-performance-storage-rapid-on-colossus-with-google-cloud/), [2] (https://www.infoq.com/news/2021/04/google-colossus/), [3] (https://cloud.google.com/blog/products/storage-data-transfer/how-colossus-optimizes-data-placement-for-performance)

• Colossus Client Library: The entry point for applications; it talks to Curators to resolve file handles and metadata, then communicates directly with D servers for data transfer (minimizing physical network hops). [1] (https://www.storagenewsletter.com/2025/04/14/google-cloud-colossus-secret-ingredient-in-rapid-storages-high-performance/), [2] (https://www.infoq.com/news/2021/04/google-colossus/), [3] (https://techfieldday.com/video/the-latest-in-high-performance-storage-rapid-on-colossus-with-google-cloud/)

Would you like to explore how Colossus compares to other distributed file systems like HDFS or how it integrates with Google Cloud Storage?



What is pmsampsize?

 


1. What is pmsampsize?

pmsampsize (Prediction Model Sample Size) is a statistical procedure used to calculate the minimum sample size needed to develop a reliable multivariable prediction model.

It was developed from research by Riley and colleagues on sample-size requirements for clinical prediction models.

Unlike traditional sample-size methods that focus on testing a single hypothesis, pmsampsize considers whether the dataset is sufficiently large to develop a model with an acceptable risk of overfitting.

It supports three types of prediction outcomes:

- Binary: Two possible outcomes, such as PHQ-9 ≥ 10 versus PHQ-9 < 10.

- Continuous: A numerical outcome, such as total PHQ-9 score.

- Time-to-event: An outcome involving the time until an event occurs.

For your NHANES capstone, you used the binary-outcome planning procedure because your machine-learning models predict whether a participant has elevated depressive symptoms.

2. Why is pmsampsize important for your capstone?

Your Research Question 3 investigates whether demographic, socioeconomic, lifestyle, and health-related factors can predict elevated depressive symptoms.

You are comparing Logistic Regression, Random Forest, and XGBoost.

Before developing these models, you need to answer:

Do we have enough participants and enough positive cases to develop a reasonably stable prediction model?

Simply having thousands of records is not sufficient. For example, if only 20 participants have the outcome, fitting a model with many predictors could produce unreliable results.

pmsampsize helps address this by considering outcome prevalence, model complexity, expected predictive performance, and overfitting.

Monday, October 12, 2026

What is AI Slop

AI slop is low-quality, mass-produced digital content created using generative artificial intelligence that lacks real effort, meaning, or human oversight. [1] (https://en.wikipedia.org/wiki/AI_slop), [2] (https://www.youtube.com/shorts/tEJpzzfpJEE)

The term functions as a pejorative slang label—similar to online spam—and was selected as the 2025 Word of the Year by both Merriam-Webster and the American Dialect Society. [1] (https://en.wikipedia.org/wiki/AI_slop)


Core Characteristics of AI Slop


• High Volume, Low Value: Produced rapidly and in large quantities, often to game social media algorithms, chase ad revenue, or drive clicks and engagement. [1] (https://www.coursera.org/articles/ai-slop), [2] (https://www.youtube.com/shorts/sU32pKKxb68), [3] (https://www.weforum.org/videos/ai-slop/), [4] (https://en.wikipedia.org/wiki/AI_slop), [5] (https://www.youtube.com/shorts/tEJpzzfpJEE)

• Three Main Types:

• Text: Repetitive phrasing, generic or shallow statements, lack of specific evidence, and an emotionless tone (such as generic blog posts or poorly written books).

• Images and Art: Unnatural or plastic textures, distorted hands, faces, or anatomy, bizarre/absurdist mashups (like Jesus fused with prawns), and melted or garbled text.

• Videos: Unnatural movement, synthetic computerized voiceovers, and absurd scenarios (such as kittens in pools of rainbow goo). [1] (https://www.merriam-webster.com/dictionary/slop), [2] (https://www.coursera.org/articles/ai-slop)


Why It Matters


• Clutters Feeds: It floods search engines, social media timelines, and video platforms, making it harder to find authentic, human-created material.

• Spreads Misinformation: Unchecked AI generation can mimic reality or create deepfakes, confusing users—particularly older audiences who may share it without realizing it is fake.

• Erodes Trust: It breeds general skepticism toward online media and brands that rely on automated, low-effort content. [1] (https://www.youtube.com/shorts/1tiyaxwzg7Y), [2] (https://www.charityexcellence.co.uk/ai-for-charities-slop/), [3] (https://www.facebook.com/AARPLatino/videos/should-we-be-worried-about-ai-slop/1425251762398182/), [4] (https://www.coursera.org/articles/ai-slop), [5] (https://www.youtube.com/shorts/tEJpzzfpJEE)

You can read more about how the dictionary defines the phenomenon on the Merriam-Webster Dictionary Entry or explore guidance on spotting it through the Coursera Guide on AI Slop. [1] (https://www.merriam-webster.com/dictionary/slop), [2] (https://www.coursera.org/articles/ai-slop)

Would you like help learning how to spot AI slop in a specific medium (like images, articles, or video), or are you looking for tips on how creators can avoid making it?


What is GcPing and Performance dashboard

 


gcping is an open-source utility (available as both a website and a command-line tool) that measures network latency from your device to various Google Cloud Platform (GCP) regions around the world. [1] (https://github.com/googlecloudplatform/gcping)

However, gcping is now deprecated and shutting down. Users are officially instructed to transition to the Google Cloud Performance Dashboard, which is the exact tool described in your provided Google Cloud documentation link. [1] (https://www.gcping.com/)


1. What was gcping?


Developed originally as a community side-project and later hosted under the Google Cloud Platform GitHub repository, gcping.com allowed users to open a browser tab and immediately see a real-time list of median ping times (latency) to Google’s global data centers. It achieved this by sending localized HTTPS requests to small Google Cloud Run services deployed across different regions. Developers used it to quickly choose the best Google Cloud region for deploying their apps or to troubleshoot baseline internet lag. [1] (https://gcping.com/?ref=mikkipastel.com), [2] (https://github.com/imjasonh/gcping), [3] (https://www.libhunt.com/compare-gcping-vs-cloudping.co), [4] (https://github.com/googlecloudplatform/gcping)


2. What is the Performance Dashboard?


The Google Cloud Performance Dashboard is a robust, enterprise-grade module inside the Network Intelligence Center. Unlike the simple outside-in check of gcping, the Performance Dashboard provides granular visibility into the actual packet loss and network latency of your live cloud architecture. [1] (https://docs.cloud.google.com/network-intelligence-center/docs/performance-dashboard/concepts/overview), [2] (https://medium.com/google-cloud/network-performance-diagnostics-with-gcp-performance-dashboard-52d93bc85a02)

It breaks network observability into two main views:

• Project Performance View: Focuses exclusively on your own infrastructure. It tracks metrics for your Virtual Machine (VM)-to-VM traffic, as well as traffic moving between your cloud instances and the internet locations of your actual end-users.

• Google Cloud Performance View: Shows global, macro-level zone-to-zone packet loss and latency across the entire Google Cloud infrastructure. You don't need resources deployed in these areas to see this data.


Key Differences at a Glance



Feature gcping (Deprecated) Performance Dashboard (Official Replacement)

Primary Scope Outside-in latency from your browser/machine to GCP. Intra-cloud performance (VM-to-VM) and Cloud-to-Internet metrics.

Metrics Captured Median HTTP latency only. Packet loss averages and Latency (RTT) medians.

Data History Live instant snapshot. Up to 6 weeks of historical tracking logs.

Workers & Probes Browser HTTPS requests to Cloud Run endpoints. Infrastructure-level probe workers that do not consume your VM resources.

Actionability Manual observation. Supports custom alerting policies and Cloud Monitoring dashboard exports.



Why use the Performance Dashboard over a ping tool?


The primary advantage is Performance Diagnostics. If your live application suddenly slows down, you can cross-reference your project's latency charts with the global Google Cloud network view. If a latency spike aligns perfectly with a regional Google Cloud infra anomaly, you immediately know the root cause lies in the underlying network provider, instantly saving hours of software troubleshooting. [1] (https://docs.cloud.google.com/network-intelligence-center/docs/performance-dashboard/concepts/use-cases-google-cloud)

Would you like help navigating to the Performance Dashboard inside the Google Cloud Console, or are you looking to set up alerting thresholds for your existing project workloads?



AI-XF — AI eXchange Format

A portable, vendor-neutral format for curated knowledge that both humans and AI agents produce and consume. It adds what a reasoning agent needs on top of a folder of markdown: stable identity, typed relationships, provenance, media identity, federation, and change semantics.


AI-XF is a strict superset of Google Cloud's Open Knowledge Format (OKF) v0.2. Every AI-XF bundle is also a valid OKF bundle: OKF-only agents read it today, AI-XF-aware agents read the same files and see more.


Spec SPEC.md — v0.5 released; v0.6 proposed (one resolution order across bundles)

Experiments experiments/ — runnable evidence: federation (E1–E7), freshness and interoperability (E8–E9), maturity journeys into a database, from a wiki and into another system (E10–E12), canonical form and withheld links (E13–E14), resolution order with an independent implementation (E15); numbers in RESULTS.md

Curation policy (non-normative) CURATOR.md — seven rules and four numbers to paste into an agent's instructions

Worked example examples/ — passes the validator at Level 3

Validator tools/ai-xf-validate.py — conformance ladder, --stats (curation health and freshness), --federation, --resolve (explains how one link resolves); no dependencies

Canonical form (v0.5) tools/ai-xf-canon.py — writes the one canonical serialisation of a concept and its sha256: content hash (SPEC §5.7, Appendix D); needs PyYAML



The idea in one paragraph

Keep knowledge as markdown files with YAML frontmatter, exactly as OKF says. Give each concept a permanent id so files can move. Give each link a rel so an agent knows whether B replaces A or B depends on A. Carry OKF's trust fields unchanged so a human-reviewed concept means the same thing in every bundle. Give binary assets a content hash so a diagram keeps its identity when it moves. Let bundles from different teams cite each other by namespace/id. Record what happens when new knowledge meets old: an open contradiction, a merge, a claim gaining support. And when a concept leaves, keep it as a tombstone that says so, rather than deleting it. Everything stays "just files"




Sunday, October 11, 2026

Few rules that can be used for RAG and agents

 If exact search works, keep it.

If semantic recall is poor, add embeddings.

If questions repeatedly cross entities and relationships, add a graph.

If agents repeat mistakes across sessions, add durable decision memory.

If people cannot explain why an answer used a source, fix provenance before adding another model.


Friday, October 9, 2026

What is TCREI framework

 What is TCREI framework 



[Why Prompt Engineering Is the Most Important AI Skill You're ...](https://medium.com/@CobiOneCanobi/why-prompt-engineering-is-the-most-important-ai-skill-youre-not-learning-7432dc9e7aff)

[Another Prompting Framework: RACE (Role, Action, Context ...](https://drayseozturk.org/2025/02/22/another-prompting-framework-race-role-action-context-execute/)

[What is the TCREI Framework? A 5-Step System for Better AI ...](https://canadianaiguy.ca/definition/tcrei-framework/)

[How to Craft Effective AI Prompts with T-C-R-E-I Framework ...](https://www.linkedin.com/posts/mona--ebrahimi_generativeai-aiprompting-businessanalysis-activity-7351077167629225988--Jq2)

[How to Write Better Prompts for AI: Google's TCREI Framework ...](https://www.linkedin.com/posts/nakohamen-ekeoba_your-prompts-fail-because-you-skip-the-framework-activity-7379755442924830720-pPye)


The TCREI Framework is a five-step prompting system used to structure inputs for Large Language Models (LLMs) and get high-quality, consistent results. [1, 2] 

The acronym stands for: Task, Context, References, Evaluate, and Iterate. [2] 

------------------------------

## The 5 Components of TCREI## 1. T — Task


* What it means: Clearly define the core action you want the AI to perform. [3] 

* Details to include: Specific command verbs, assigned personas or roles, and the exact output format (e.g., bullet points, a short table, or a structured report). [3, 4] 

* Example: "Write a punchy LinkedIn post for a leadership coach targeting first-time tech managers." [5] 


## 2. C — Context


* What it means: Provide the background story, target audience, goals, and constraints. [3, 5] 

* Details to include: Who the audience is, why you are writing, what problem you are trying to solve, and what has been tried before. [4] 

* Example: "They struggle with confidence, delegation, and communication." [5] 


## 3. R — References


* What it means: Share examples, source materials, or style guides to steer the AI's tone and structure.

* Details to include: Few-shot examples (2 to 5 sample outputs), links, documents, or data sets. [4] 

* Example: "Follow the tone of modern expert-led posts: short, story-driven, and ending with a question." [5] 


## 4. E — Evaluate


* What it means: Review the AI's generated response critically.

* Details to include: Check for accuracy, missing details, tone alignment, and whether it fulfilled the task instructions. [5, 6] 


## 5. I — Iterate


* What it means: Refine your prompt or follow up based on your evaluation.

* Details to include: Add more constraints, break long prompts into smaller steps, try different phrasing, or ask the AI to suggest alternative options (like a new hook or layout). [5, 6, 7] 


------------------------------

If you are working on a prompt right now, share your goal/task and I can help you rewrite it using the TCREI framework.


[1] [https://canadianaiguy.ca](https://canadianaiguy.ca/definition/tcrei-framework/)

[2] [https://drayseozturk.org](https://drayseozturk.org/2025/02/05/prompting/)

[3] [https://aiwithkatarina.com](https://aiwithkatarina.com/googles-tcrei-prompting-framework/)

[4] [https://www.youtube.com](https://www.youtube.com/watch?v=wYeG0HzqTg8&t=325)

[5] [https://www.linkedin.com](https://www.linkedin.com/posts/ifioknkem7_heres-your-step-by-step-guide-to-writing-activity-7432861187416997888-bmDh)

[6] [https://community.atlassian.com](https://community.atlassian.com/learning/path/get-the-most-out-of-rovo/course/best-practices-for-using-rovo/lesson/best-practices-for-writing-ai-prompts)

[7] [https://www.linkedin.com](https://www.linkedin.com/posts/nakohamen-ekeoba_your-prompts-fail-because-you-skip-the-framework-activity-7379755442924830720-pPye)