Skip to content

Commit 796fde0

Browse files
committed
docs: Add new journal entries for December 17-18, 2025, focusing on JetBrains DevContainer usage
- Documented experiences with JetBrains DevContainer, including performance considerations and setup challenges. - Created a new page linking to JetBrains devcontainer examples for reference. - Added a brief entry for December 18, 2025, to maintain continuity in journaling.
1 parent b8b8eae commit 796fde0

File tree

4 files changed

+65
-1
lines changed

4 files changed

+65
-1
lines changed

journals/2025_12_16.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
- I use AI heavily as a thought partner when reading today, I just have to do it outside of Kindle. I use Readwise Reader's "ghostwriter" feature, which similarly allows asking AI questions, at least once a day. I also regularly use ChatGPT with audio mode to do something similar when walking.
33
- Most of my queries are requests to expand the details to fill in my knowledge or imagination,
44
- For example, this morning, while reading an article, I asked, "where are places where Energy Return on Investment is typically used as a metric?" or "what are some examples of what the author means by 'heterodox economists' in this passage?"
5-
- Some of my queries are attempts to explore connections between different ideas. This morning on the way in to work, I asked ChatGPT on the article [Ideas Aren’t Getting Harder to Find—Asterisk](https://asteriskmag.com/issues/12-books/ideas-arent-getting-harder-to-find), "the author is attempting to explain why GDP growth has stagnated in recent decades as though that were something that was unexpected. My intuition makes me wonder, though, if GDP growth was just no longer a fair metric to use due to structural changes in the economy. Regulatory capture and the pressure to create financial instruments to smuggle capital into private, untaxable enclaves have turned the economy into an officially endorsed Ponzi scheme (or maybe my terminology is inaccurate ... there are many types of "rigged games" and Ponzi scheme may not be the exact type of rigged game that is most comparable to our economy ... what are some others)? In particular, GDP doesn't capture tacit efficiencies that people make in their industry. For example, if someone uses AI to automate most of their job, but they don't switch jobs, get a raise, or create new products, their job may just change in kind to expand to more surface area of their responsibilities without that showing up in revenue or profit or other metrics until much later. Can you help me unpack this?"
5+
- Some of my queries are attempts to explore connections between different ideas. This morning on the way in to work, I asked ChatGPT on the article [Ideas Aren’t Getting Harder to Find—Asterisk](https://asteriskmag.com/issues/12-books/ideas-arent-getting-harder-to-find), "the author is attempting to explain why GDP growth has stagnated in recent decades as though that were something that was unexpected. My intuition makes me wonder, though, if GDP growth was just no longer a fair metric to use due to structural changes in the economy. Regulatory capture and the pressure to create financial instruments to smuggle capital into private, untaxable enclaves have turned the economy into an officially endorsed Ponzi scheme (or maybe my terminology is inaccurate ... there are many types of "rigged games" and Ponzi scheme may not be the exact type of rigged game that is most comparable to our economy ... what are some others)? In particular, GDP doesn't capture tacit efficiencies that people make in their industry. For example, if someone uses AI to automate most of their job, but they don't switch jobs, get a raise, or create new products, their job may just change in kind to expand to more surface area of their responsibilities without that showing up in revenue or profit or other metrics until much later. Can you help me unpack this?"
6+
- [[Read/ing]] [[Person/Corey Doctorow/Book/23/Red Team Blues]] - about 10% in. It's about [[Security]] and [[Crypto]]. Just love using Doctorow to review the crypto landscape in a fun story without having to peruse tech bro reddit. Pure [[Edu/tainment]]

journals/2025_12_17.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
- [[JetBrains/RustRover]]
2+
- Today I used a [[DevContainer]] in for the first time in Jetbrains ...
3+
- I saw a warning this morning when opening [[Langstar]] in Rust LRover:
4+
- ### Create Dev Container
5+
- Mounting sources on Windows and macOS can lead to performance degradation. We recommend using a clone of the sources inside the container.
6+
- `Cancel` ==Continue==
7+
- So, I need to use a devcontainer to standardize how my dev envirnoment marshals resources, but now I need to do that not just in a way that can be utilized in [[Codespaces]] as well as locally, but ALSO I need to somehow do that in such a way that filesystem syncing is turned off, implying that it's cloned ...
8+
- It seems like the way devcontainers are **meant** to work in [[VSCode]] is different than in [[JetBrains]]. In Jetbrains, they **want** you to **clone** the project into a container AFAICT.
9+
- | Feature | VS Code default | JetBrains Clone |
10+
| ---- | ---- | ---- |
11+
| Filesystem | Host-mounted | Container-native |
12+
| Performance | Medium–poor | Fast |
13+
| LSP / builds | Slower | Faster |
14+
| Git UX | Local Git | Container Git |
15+
| Warning dialog | Yes | No |
16+
| CI parity | Lower | Higher |
17+
- As a result, we need to do `File → Close Project`, then do `Remote Development → Dev Containers`, then enter in the path to `.devcontainer.json`, then it will build the image.
18+
- I ended up filing [Use named volume for /workspace in devcontainer to fix JetBrains file watching · Issue #711 · codekiln/langstar](https://github.com/codekiln/langstar/issues/711) for this.
19+
- BTW w.r.t. [[Mermaid Diagrams]] ...
20+
- I used to use Mermaid diagrams exclusively for sharing representations of architecture with LLMs. Lately, I've noticed that they can just as well generate, and crucially, understand ascii art diagrams as well, which don't require a mermaidjs runtime to render for humans.
21+
- ```
22+
┌─────────────────────────────────────────────────────────────────┐
23+
│ HOST MACHINE │
24+
│ ┌─────────────────────────────────────────────────────────┐ │
25+
│ │ .devcontainer/ │ │
26+
│ │ ├── .env ← Your secrets (gitignored) │ │
27+
│ │ ├── docker-compose.yml ← Reads .env for substitution │ │
28+
│ │ └── devcontainer.json │ │
29+
│ └─────────────────────────────────────────────────────────┘ │
30+
│ │ │
31+
│ Docker Compose │
32+
│ substitutes ${VARS} │
33+
│ │ │
34+
│ ▼ │
35+
│ ┌─────────────────────────────────────────────────────────┐ │
36+
│ │ CONTAINER │ │
37+
│ │ Environment variables set via docker-compose.yml │ │
38+
│ │ ├── GITHUB_PAT=<from .env> │ │
39+
│ │ ├── AWS_ACCESS_KEY_ID=<from .env> │ │
40+
│ │ └── LANGSMITH_API_KEY=<from .env> │ │
41+
│ │ │ │
42+
│ │ /workspace ← Named Docker volume (code lives here) │ │
43+
│ └─────────────────────────────────────────────────────────┘ │
44+
└─────────────────────────────────────────────────────────────────┘
45+
```
46+
- For example, in this diagram, if you paste it into chatgpt, it will know exactly what's going on.
47+
- [[POSIX]] issues
48+
- using [[Claude Code]] in a terminal ends up not receiving the `ESC` key for some reason using the new terminal in [[JetBrains]].
49+
- In terminals, **`Ctrl-[` is literally the ASCII Escape character**.
50+
- Use:
51+
- ```
52+
Ctrl + [
53+
```
54+
- instead of:
55+
- ```
56+
Esc
57+
```
58+
- Claude Code will treat it exactly the same.
59+
-

journals/2025_12_18.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [[JetBrains/DevContainer/Example]]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
alias:: [[Jetbrains DevContainer Examples]], [[JetBrains/GitHub/devcontainers-examples]]
2+
3+
- [JetBrains/devcontainers-examples](https://github.com/JetBrains/devcontainers-examples)

0 commit comments

Comments
 (0)