Skip to content

Instantly share code, notes, and snippets.

View G36maid's full-sized avatar
🇹🇼

G36maid G36maid

🇹🇼
View GitHub Profile
@G36maid
G36maid / PAPERS.md
Created July 1, 2026 03:15
Optimality Theory — 2024-2025 最新論文精選與研究方向推薦(10 篇,含原始出處連結)

Optimality Theory — 最新論文清單與連結 (2024–2025)

10 篇論文,含原始出處連結。排序依主題。


A. 理論基礎與形式性質 (Theoretical Foundations & Formal Properties)

01. Universal Generation for Optimality Theory Is PSPACE-Complete

  • 作者: Sophie Hao (NYU)
@G36maid
G36maid / gsw.py
Created July 1, 2026 02:47
GSW Fully Homomorphic Encryption (Gentry-Sahai-Waters 2013) - approximate eigenvector method
"""
Implementation of the GSW (Gentry-Sahai-Waters) Fully Homomorphic Encryption Scheme.
Based on: "Homomorphic Encryption from Learning with Errors:
Conceptually-Simpler, Asymptotically-Faster, Attribute-Based"
by Craig Gentry, Amit Sahai, Brent Waters (2013).
Core idea (approximate eigenvector method):
A ciphertext C is an N x N matrix over Z_q such that
C . v = mu . v + e
@G36maid
G36maid / akuma-audio-design.md
Created June 16, 2026 12:34
AkuMa — Pitch-aware audio output design (text + tone → sound)

Design: Pitch-aware audio output (text + tone → sound)

For AkuMa (Next.js 16 + React 19 + TypeScript, the Japanese furigana + pitch-accent tool). Feature: given a word's reading and its pitch/tone pattern, fetch audio that pronounces it with the correct pitch.


0. Current state (verified)

@G36maid
G36maid / poster.md
Created June 15, 2026 04:15
Hades: A Multi-Agent Security Harness Powered by OpenCode — Poster & 7-min Script

基於多 Agent 協作的 AI 資安分析系統

零代碼整合四開源專案 × Hades 多面向平行資安分析 OpenCode · oh-my-openagent · Ghidra-MCP · VulnClaw

作者: [姓名] · 學號: [學號] · 指導教授: [教授] · 課程: [課程名稱] · 國立臺灣師範大學


🎯 TL;DR — 快速看懂這份專案

你必須在回答前先進行「事實檢查思考」;
只用已驗證的資料:僅接受使用者提供的內容、模型內明確知識或已查證的來源;
不足就說不知道:若資料不夠,回覆「我無法確定」或「沒有足夠資料,不得猜測或補完;標示依據與推論:引用來源或推論時說明依據;若是推論要標註「這是推論」;不新增未授權內容:不得引入未被明確提及的人名、數字、事件或假設;重述要標示:若重述使用者語句,標為「重述版本」,且不得改變原意;語氣明確:避免「可能」「應該」等模糊用語,除非使用者要求;答覆格式:有明確資料 → 給答案並附依據;無明確資料 → 回「無法確定」並說明原因;原則:寧可空白,不可捏造。
我的輸出風格與優先偏好為:語言:自然、工程師導向(直接、實用);社群或寫文:保留幽默與自嘲的語氣;工具推薦:優先推薦開源方案;若提到商業/專有方案,說明 trade-offs;採用簡潔、有條理的段落與標題;技術題可深入細節並提供關鍵命令或設定範例。
https://docs.google.com/presentation/d/1sLVPYde69UqZT0kLf_Jax0qeiaAEuQxS/edit?usp=sharing&ouid=103861947514269279161&rtpof=true&sd=true
UnknownError: UnknownError
at <anonymous> (/$bunfs/root/chunk-fjdkqtpe.js:1678:2247)
at SessionPrompt.createUserMessage (/$bunfs/root/chunk-fjdkqtpe.js:1679:366)
at SessionPrompt.createUserMessage (definition) (/$bunfs/root/chunk-fjdkqtpe.js:1678:1998)
at SessionPrompt.prompt (/$bunfs/root/chunk-xme7jyq8.js:2:237553)
at SessionPrompt.prompt (definition) (/$bunfs/root/chunk-fjdkqtpe.js:1679:250)
at SessionHttpApi.promptAsync (/$bunfs/root/chunk-xme7jyq8.js:2:91972)
at SessionHttpApi.promptAsync (definition) (/$bunfs/root/chunk-xme7jyq8.js:2:237460)
@G36maid
G36maid / freebsd-support-analysis.md
Created May 14, 2026 13:41
FreeBSD Support Feasibility Analysis for minidump-writer (Issue #162)

FreeBSD 支援可行性分析報告

Issue: #162 — Please add support for FreeBSD 分析日期: 2026-05-14

一、總結

項目 評估
可行性 ✅ 可行 — FreeBSD 具備所有核心能力 (ptrace, procfs, process memory access)
@G36maid
G36maid / metro-tycoon.md
Created May 11, 2026 16:13
Metro Tycoon — Zach-like Metro Station Puzzle Game (Bevy/Rust) Work Plan

Metro Tycoon — Zach-like Metro Station Puzzle Game

TL;DR

Quick Summary: Build a Zach-like puzzle game where players construct metro stations in restricted city spaces using Bevy 0.18 (Rust). The game features a diamond isometric grid, multi-size prefab facilities, need-based passenger AI with A* pathfinding, and a 3-axis optimization scoring system (Cost/Time/Space) with histogram comparison.

Deliverables:

  • Playable tutorial level with build/simulate/optimize loop
  • Diamond isometric grid map with restricted/unbuildable areas and existing railway
  • Building placement system for large/medium/small prefabs + floor tiles

Building Zed Remote Server for FreeBSD via zigbuild

This document records the complete process of cross-compiling the Zed remote server binary for FreeBSD 15.0 from an Arch Linux host using cargo-zigbuild.

Prerequisites

Component Version / Details
Host OS Arch Linux