Skip to content

Instantly share code, notes, and snippets.

@opparco
opparco / streamed-tinkering-planet.md
Created June 11, 2026 02:32
Generated by Fable 5. Prompt: We need to redesign the system critically and cyclically. We're even willing to delete files if necessary.

LunaticSim Cyclic Redesign — 4 Cycles

Context

The project has outgrown its v0.1 prototype shape. A critical review found four structural costs:

  1. Dual play UI: WinForms duplicates ~15 play surfaces that the Godot client fully covers, and WinForms is already second-class (tactical combat exists only in Godot). WinForms' unique value is the DebugForm editor/workbench (2,225 LOC: inspector, Map Editor, NPC/Quest editors, Validation).
  2. God classes: MainPresenter.cs (1,761 LOC, all session state + every flow) and Presenters/MainViewModel.cs (2,692 LOC, ~53 top-level types in one file).
  3. No save versioning: JsonWorldRepository bare-deserializes WorldState; schema changes silently corrupt or hard-break saves.
  4. Dead weight: test-only ResolveExploreInstant/ResolveHuntBanditsInstant/ResolveFightInstant, legacy serialized fields Quest.Description/Rumor.Text/TravelEncounter.Description, write-only ExplorationSession.Floor.
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>THE BIT-CRUSHER - Fix</title>
<style>
body {
background-color: #050505;
color: #00ff41;
font-family: 'Courier New', Courier, monospace;
@opparco
opparco / anima-artist-tag-case-report.md
Created May 6, 2026 10:11
Verification of Artist Tag Case Sensitivity in Anima

Verification of Artist Tag Case Sensitivity in Anima

Overview

This report verifies, at the codebase level, whether artist tags in circlestone-labs/Anima are treated as case-insensitive, meaning camelcase and lowercase inputs would be processed as the same prompt text.

Target strings:

  • @onikobe rin
  • @Onikobe rin
@opparco
opparco / automatic-scheduler.md
Created April 28, 2026 07:49
code reading: Automatic Scheduler in stable-diffusion-webui-forge-neo

Automatic Scheduler

How the "Automatic" scheduler sentinel is defined, resolved, and executed.

Definition

"Automatic" is the first entry in the schedulers list (modules/sd_schedulers.py:268), with function=None:

schedulers = [
@opparco
opparco / 技術的に面白い箇所.md
Created September 9, 2025 03:55
Summarize by Claude

X (Twitter) レコメンデーションアルゴリズムの技術的に面白い箇所

概要

このドキュメントでは、X(旧Twitter)のレコメンデーションアルゴリズムのコードベースから、技術的に特に興味深い実装や設計について解説します。

1. Navi: Rust製高性能MLモデルサーバー

特徴

  • プロダクション最適化: 超高性能、安定性、可用性を重視したミニマリスト設計
@opparco
opparco / dungeon-hack.html
Last active February 25, 2025 14:42
Dungeon Hack generated by Claude 3.7 Sonnet lang:ja
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ダンジョンハック</title>
<style>
body {
font-family: 'Helvetica Neue', Arial, sans-serif;
background-color: #1a1a2e;
@opparco
opparco / prompt-o1-generate-scenario.md
Last active December 7, 2024 16:57
Generate stage directions based on a scenario.

あなたは、ハイファンタジー RPG の世界でクエストの詳細を記述するアシスタントです。世界は次のように定義されます:

### 世界の概要
- **大陸**: エラリス
- 5 つの異なる地域に分かれた広大な大陸:
- **タリオン平原**: 肥沃な土地と繁栄した農業コミュニティで知られています。
- **ドロスカーピークス**: ドワーフの王国と古代の遺跡がある山岳地帯。
- **熱湯の荒野**: 遊牧民が太陽神ソリナーを崇拝する厳しい砂漠。
- **フロストヴェイル大地**: 戦士の一族が支配する凍ったツンドラ。
- **エメラルド盆地**: エルフや神秘的な生き物が住む緑豊かな森林地帯。
@opparco
opparco / Gacha-L48-C16-W512-H512-T768-T1024.json
Created September 28, 2023 04:05
prompt.json for EasyPromptAnime
{
"name": "",
"path": "share/Stable-diffusion/darkSushi-Corneos7thHeaven-0.3.safetensors",
"vae_path": "",
"motion_module": "models/motion-module/mm_sd_v14.ckpt",
"compile": false,
"tensor_interpolation_slerp": true,
"seed": [
2174415336
],
@opparco
opparco / Starfield-Ultra-Performance.ini.patch
Created September 3, 2023 13:32
Performance Ultra Settings 60fps in cities
--- Ultra.ini 2023-09-01 08:57:51.408400700 +0900
+++ Ultra-Performance.ini 2023-09-03 06:43:22.568596100 +0900
@@ -1,6 +1,6 @@
[Display]
bVolumetricLightingEnable=1
-bDepthOfFieldEnable=1
+bDepthOfFieldEnable=0
[Decals]
uMaxDecals=100
diff --git a/scripts/animatediff.py b/scripts/animatediff.py
index 9696b5a..37e1705 100644
--- a/scripts/animatediff.py
+++ b/scripts/animatediff.py
@@ -137,6 +137,22 @@ class AnimateDiffScript(scripts.Script):
p.batch_size = video_length
self.inject_motion_modules(p, model)
+ beta_start = 0.00085
+ beta_end = 0.012