Skip to content

Instantly share code, notes, and snippets.

View brunoborges's full-sized avatar
🏠
127.0.0.1

Bruno Borges brunoborges

🏠
127.0.0.1
View GitHub Profile
@brunoborges
brunoborges / dark-matter-opening-conversation-season2-episode3.txt
Last active September 18, 2026 15:52
Dark Matter, Season 2 Episode 3 opening conversation
JASON
Everybody here is, in one way or another,
involved in the same basic pursuit.
On the one hand, we are all just trying to
make sense of the universe, our place in
it. And the work that we do creates
technological change that leads to
cultural change. So, the question is:
How do we deal with the uncertainty of
@brunoborges
brunoborges / gist:73b308c25b0db4ef7aab4bdfa1e26bb9
Created September 3, 2026 19:21
kubernetes-security-agent.md
Act as a senior Kubernetes security engineer and threat-modeling specialist. Perform a read-only security assessment of this repository based on its actual source code, manifests, Helm charts, container images, CI/CD workflows, and documentation.
Use STRIDE or an equivalent structured methodology.
Analyze:
- Kubernetes operators, controllers, admission webhooks, CRDs, and reconciliation logic
- RBAC, service accounts, cluster-scoped permissions, and namespace isolation
- Pods, DaemonSets, RuntimeClasses, security contexts, Linux capabilities, host namespaces, hostPath mounts, and privileged containers
- Container runtime and node-level integrations
@brunoborges
brunoborges / gist:921db646efe6d7a6036e289495cbbd2e
Created September 2, 2026 19:45
AGENT: Security Expert on Kubernetes
Act as a senior Kubernetes security engineer and threat-modeling specialist. Perform a read-only security assessment of this repository based on its actual source code, manifests, Helm charts, container images, CI/CD workflows, and documentation.
Use STRIDE or an equivalent structured methodology.
Analyze:
- Kubernetes operators, controllers, admission webhooks, CRDs, and reconciliation logic
- RBAC, service accounts, cluster-scoped permissions, and namespace isolation
- Pods, DaemonSets, RuntimeClasses, security contexts, Linux capabilities, host namespaces, hostPath mounts, and privileged containers
- Container runtime and node-level integrations

The AI Model Is No Longer the Moat

Author: Bruno Borges

Date: 2026-07-27

For the past few years, AI competition has focused on one question: Who has the best model? That question still matters, but it is becoming less decisive.

Open-weight models are rapidly approaching the capabilities of proprietary frontier systems. Moonshot AI’s Kimi K3 is only the latest example: although it does not lead every benchmark, it demonstrates that frontier-level intelligence is increasingly available outside a handful of closed labs.

void main() {
IO.println("rock/paper/scissors:");
var u = IO.readln();
if (u.equals("exit")) return;
var c = "rock,paper,scissors".split(",");
var i = List.of(c).indexOf(u);
if (i < 0) return;
var j = new Random().nextInt(3);
IO.println("Computer: " + c[j]);
IO.println(i == j ? "Tie!" : (i == (j + 1) % 3

Aspire + Java Integration Proposal

See 2024 JetBrains Java Developer Survey and Spring Boot Statistics for context on the Java ecosystem.

Note: The Community Toolkit provides Java/Spring Boot hosting. Aspire 13 elevated Python and JavaScript to first-class citizens with polyglot connection properties including JDBC format. This proposal outlines bringing Java to the same first-class status.

Executive Summary

Java is the second most popular enterprise language after JavaScript/TypeScript, with Spring Boot dominating the web framework space (~70% of Java web applications). With Aspire 13's rebrand from ".NET Aspire" to "Aspire" and first-class Python/JavaScript support, Java is the natural next step. This document outlines a Spring Boot-centric approach while maintaining flexibility for other Java frameworks.

void main() {
IO.println("rock/paper/scissors:");
var u = IO.readln();
if (u.equals("exit")) return;
var c = "rock,paper,scissors".split(",");
var i = List.of(c).indexOf(u);
if (i < 0) return;
var j = new Random().nextInt(3);
IO.println("Computer: " + c[j]);
IO.println(i == j ? "Tie!" : (i == (j + 1) % 3 ? "You win!" : "Computer wins!"));
void main() {
var s = """
void main() {
var s = %c%c%c
%s%c%c%c;
IO.print(String.format(s, 34, 34, 34, s, 34, 34, 34));
}""";
IO.print(String.format(s, 34, 34, 34, s, 34, 34, 34));
}
#!/usr/bin/env bash
# check-jvm-env-precedence.sh
# Pairwise precedence test for: _JAVA_OPTIONS, JAVA_TOOL_OPTIONS, JDK_JAVA_OPTIONS
set -euo pipefail
say() { printf "%s\n" "$*"; }
hr() { printf "%s\n" "----------------------------------------"; }
# Tiny source-file program
[
{
"id": 389291,
"title": "Kotlin Multiplatform Conversions at Android Jetpack Scale",
"description": "This is a case study of how we converted several Jetpack libraries to Kotlin Multiplatform as part of our ongoing experimentation with the multiplatform technology."
},
{
"id": 405587,
"title": "Compose Multiplatform on iOS",
"description": "An overview of the exciting present and future of Compose Multiplatform, including live demos and how to get started with the latest additions to the multiplatform UI framework built by JetBrains."