HN user

tkgally

5,953 karma

gally.net

Posts108
Comments1,086
View on HN
www.newyorker.com 1mo ago

One Fast Fish (2002)

tkgally
2pts0
virtualrailfan.com 1mo ago

Virtual Railfan

tkgally
2pts0
www.youtube.com 2mo ago

Bonsai of the Imperial Palace [video]

tkgally
1pts0
www.bbc.com 2mo ago

Ukraine's drone commander has Russian oil, troops and morale in his sights

tkgally
57pts38
www.youtube.com 4mo ago

Claude auto-dream [video]

tkgally
1pts0
www.nytimes.com 6mo ago

When A.I. Took My Job, I Bought a Chain Saw

tkgally
13pts0
www.newyorker.com 7mo ago

What If Readers Like A.I.-Generated Fiction?

tkgally
10pts10
gally.net 8mo ago

Show HN: Extending LLM SVG generation beyond pelicans and bicycles

tkgally
16pts1
www.youtube.com 9mo ago

Video of Simon Willison vibe coding live

tkgally
3pts0
replit.com 10mo ago

Replit Agent 3

tkgally
1pts0
www.youtube.com 10mo ago

Terence Tao: Research Powers Progress [video]

tkgally
3pts0
www.theatlantic.com 10mo ago

What It Costs to Be a Sorority Girl

tkgally
3pts0
www.gally.net 10mo ago

Show HN: Hacker News em dash user leaderboard pre-ChatGPT

tkgally
377pts266
www.youtube.com 11mo ago

Interpretability: Understanding how AI models think [video]

tkgally
2pts0
deadessays.blogspot.com 11mo ago

Dana Morgan Jr.

tkgally
2pts0
www.youtube.com 1y ago

How A.I. really works [a "documentary" made with VEO3]

tkgally
2pts0
www.youtube.com 1y ago

Affective Use of AI (Anthropic) [video]

tkgally
1pts1
asia.nikkei.com 1y ago

Prompt injections for better peer reviews in papers on arXiv.org

tkgally
5pts1
angrystaffofficer.com 1y ago

Failure Mechanisms in Democratic Regimes – An Army's Role

tkgally
126pts97
www.nytimes.com 1y ago

'We Are the Most Rejected Generation'

tkgally
4pts0
www.foreignaffairs.com 1y ago

America's Coming Brain Drain

tkgally
7pts7
www.youtube.com 1y ago

"OpenAI Is Not God" – The DeepSeek Documentary [video]

tkgally
6pts2
www.newyorker.com 1y ago

Will the Humanities Survive Artificial Intelligence?

tkgally
45pts68
www.youtube.com 1y ago

Demos of Manus AI agent use cases [video]

tkgally
1pts0
www.youtube.com 1y ago

DeepSeek has a major issue [video]

tkgally
1pts2
www.youtube.com 1y ago

Anthropic's Race to Build a Smarter Claude and Human-Level AI [video]

tkgally
4pts0
simonwillison.net 1y ago

Claude Tries Standup

tkgally
7pts1
www.theatlantic.com 1y ago

Another Theory of the Trump Movement

tkgally
3pts2
simple-bench.com 1y ago

SimpleBench: A text benchmark on which nonexpert humans outperform SOTA LLMs

tkgally
1pts0
www.youtube.com 1y ago

I Tried Real Augmented Reality Glasses [video]

tkgally
1pts0
I Changed My Name 13 days ago

When I moved to Japan in 1983, not much was computerized and I was able to use my preferred short version of my name--eight letters or five katakana, surname last in both cases--for nearly everything. But over the years more and more places started requiring that names be input into labeled fields, which would reverse the given-name surname order. And many places started to insist on the same name as on my passport--nineteen letters, eleven or twelve katakana, depending on how I wrote it. Many input forms don't allow so many characters, none that I have encountered distinguish first from middle names, and there's usually no way to link that long name to the short name that I have been using for work and in daily life for more than forty years. It's a constant annoyance, not just for me but for other people.

Now that Fable is back, I had it create two more browser-based music generators. For the first, I had Fable in chat write a full prompt based on the same metaprompt as above. Here is the prompt it wrote:

https://gally.net/temp/20260701_Fable_synthesizer_2_with_pro...

I then gave that full prompt to Fable in Claude Code. Here is the result:

https://gally.net/temp/20260701_Fable_synthesizer_2_with_pro...

For the second, I just gave a short prompt [1] directly to Fable in Claude Code. Here is that result:

https://gally.net/temp/20260701_Fable_synthesizer_3_with_dir...

I can’t say that one is better than the other; that would take a lot more tests, and the judgments would be pretty subjective in any case.

Both were completely one-shot. Last year, when I was doing similar tests with various models, the synthesizers rarely worked right on the first shot, and I would have to do some back-and-forth to get them functioning. This time, Fable was able to open the files in Chrome itself, view and adjust the page layout, and monitor the browser events for errors. Each time it made some adjustments to the file. The only thing it wasn’t able to do was listen to and assess the sounds produced.

[1] “Write a browser-based synthesizer for me. The synthesizer should automatically create interesting polyphonic music in which the various voices play off against each other in both harmony and contrast. The controls will affect the tone, rhythmic patterns, number of voices, complexity and randomness of the melodies, and other features. The controlled features should be original—not just standard synthesizer functions—and encourage creative explorations even by naive users.”

That occurred to me, too, when I posted that metaprompt above. But that was only the second or third prompt I gave to Fable during the couple of days I had access to it, and I used the metaprompting strategy that had worked well with earlier models. If and when I get access to Fable again, I will try giving it a similar short prompt directly.

I should mention that Fable also did an impressive job on a couple of major project-redesign tasks I gave it. Those aren't things I can share here, though.

Just for reference, here is the metaprompt I first gave to Opus:

“I want to ask Claude Code to write a browser-based synthesizer for me. Please prepare a prompt for it that I can give to it for it to write the synthesizer. The synthesizer should automatically create interesting polyphonic music in which the various voices play off against each other in both harmony and contrast. The controls will affect the tone, rhythmic patterns, number of voices, complexity and randomness of the melodies, and other features. The controlled features should be original—not just standard synthesizer functions—and encourage creative explorations even by naive users. So write a prompt that I can give to Claude Code to create that synthesizer.”

I then gave the prompt produced by Opus to Fable in Claude Code.

My Fable example is not nearly as cool but still (to me) impressive.

Last year, I would occasionally test the latest models by vibe-coding in-browser music generators using only HTML, CSS, and JS. Here’s one made in July by Gemini:

https://gally.net/temp/20250701synthesizer-gemini2/index.htm...

And one made in September by Claude:

https://gally.net/temp/20250917rhythmdrone/index.html

With Fable, I was able to one-shot something much more sophisticated:

https://gally.net/temp/20260610-fable-synthesizer/index.html

It’s still a long way from creating music I would want to listen to, though.

As a former freelance translator (1986 to 2005, Japanese to English), I have much sympathy for the writer. But I wouldn’t be so confident that AI cannot do professional-level translation.

She writes: “I adapt, I localize, and I find the best way to convey the original message so it makes sense and feels natural. I research terminology. I make sure it’s consistent throughout.”

I’m sure she has other important insights into what enables her to do her job well. The problem is whether or not such insights can be incorporated into an AI-driven translation system, too.

Since early this year, I have been experimenting with a variety of agentic systems for language-related tasks, including dictionary-writing, research on topics in the philosophy of language, essay-writing, and translation. Other than the dictionary [1], I am keeping the results private, so they haven’t been evaluated by others. But my personal assessment is that agentic systems given suitable high-level guidance can be very good at such tasks now.

If I were still freelancing and I had a large translation job to do for a client, here is the outline of the prompt I would give to Claude to get it started:

“Use this private GitHub repository to build a system for translating [genre of text] from [Language1] to [Language2]. The directory samples/ contains examples of the type of document to be translated, high-quality human translations of those documents, and texts in [Language2] that are in writing styles that I believe to be appropriate for this genre of translation. The file guidelines.md contains my general instructions about the needs of my client and my preferences for how you should translate texts along various axes (natural vs. literal, informal vs. formal, preferred dialect in [Language2], consistency vs. variety in terminology translation, etc.). Begin building (1) a knowledge wiki for this project using Karpathy’s LLM-wiki framework and (2) a system inspired by Karpathy’s Autoresearch, AutoResearchClaw, etc. for testing and recursively improving both the functioning of the system and the quality of the translations. For the actual translation, editing, checking, etc., use not only your own ability and the knowledge assembled in (1) but also outsource such tasks to other frontier models through OpenRouter, and use adversarial evaluations among those models and yourself to check and recursively improve the system design, the prompt-writing for other models, and any translations created by the system. My OpenRouter API key is available in this environment. You may spend up to $xx per day in API calls until this project is ready to do real translations; before beginning a real job, give me an estimate for how much the API calls will cost for that job. The initial build-out of this project will take many sessions, so write a prompt called resume-prompt.md that I can point you to at the start of a scheduled Routine to have you work on this. Commit and squash-merge to main at the end of each session. I will be checking in occasionally to view your progress and to ask you to run translation tests, and I will offer guidance then on how to improve the pipeline further and make the translations closer to what my client needs. If you have any questions before you begin, please ask me.”

[1] https://www.tkgje.jp

My first came in late 2016, when Google Translate switched from statistical machine translation to a neural-network-based system. I had worked as a Japanese-English translator and lexicographer for two decades, and I had been testing various machine-translation services over the years. For translation between Japanese and English, at least, they were uniformly terrible: the output for genuine texts was mostly incomprehensible and could not be used for any real-life applications. The neural Google Translate, while still far from perfect, was suddenly useful for some purposes.

But the neural models were still not translating meaning, which is the whole point of translation. I devised a variety of tests to see if GT could identify the meaning of ambiguous words from the context, and it couldn’t. One example I would show people was the sentences “I was born in 1998, and my sister was born in 1999” and “I was born in 1999, and my sister was born in 1998” translated into Japanese. Japanese uses different words for older and younger siblings, but GT translated “my sister” with the same word in both sentences. It was easy to come up with other examples where GT would fail, such as when the meaning of a word could only be determined based on context in a previous sentence; at that time, GT seemed to be translating sentence-by-sentence, with no consideration of what came before or after. I kept waiting to see whether computers would ever be able to handle meaning when translating, and for years thereafter there was little progress.

A minor shock came in mid-2022, when DALL-E 2 was released. Its ability to create images from natural-language prompts suggested that something deeper was going on than just statistical correlations. But I couldn’t see yet what the useful applications might be.

My biggest “oh shit” moment came with ChatGPT in late 2022. While the initial release didn’t translate Japanese well (I seem to recall that there were character-encoding issues), I ran various tests to see if it could, for example, identify the antecedents of pronouns and the meanings of polysemous words in English based on the context. It did really well. Last December, I gave a talk at a university in Tokyo in which I showed some examples done with the 2022-era GPT-3.5. They appear in slides 4 to 8 of the following:

https://www.gally.net/miscellaneous/20251206_Gally_ICU_slide...

There have been a lot of “oh shit” moments for me since, especially after the release of reasoning models and, now, long-running agents.

The focus of the course wasn't writing criticism or particular authors. It was on how writing teachers can teach current and future researchers how to write research papers. A narrow field, perhaps, but at the research university where I worked there was demand for such writing courses, and my class looked at how such classes can be taught at a meta level. Many of the students themselves became writing teachers.

This was all before LLMs. The assumptions behind my class have since been upended, now that easily available chatbots can produce academic writing that, at least at the structural level, is perfectly fine.

There is danger in evaluating for language patterns over its content

I agree, but it’s worth noting that that has been done since long before LLMs. Fifteen years ago, I used to teach a graduate course on academic writing pedagogy. The students and I would read research papers on the teaching of academic writing; we also analyzed textbooks and course syllabuses to get an idea about what was actually being done in classrooms. While phrases like “critical thinking” did come up, the overall focus was clearly on language patterns: sentence and paragraph structure, the use of transition words, vocabulary for hedging and boosting (i.e., making assertions seem weaker or stronger), etc.

In a university context, it can be very difficult to evaluate student writing based on its content. In humanities-focused and creative writing, what the student decides to say can be seen as an extension of the student’s personality, identity, and individual experience; if a teacher evaluates the content, including the reasoning, it can seem that the teacher is evaluating the student as a person. And if the students are in the sciences, especially at the graduate level, the writing teacher often won’t even understand what the students write because it is too technical. Teaching and evaluating language patterns, not content, is often the only option.

Very, very nice.

Since January, I’ve been having Claude build a static Japanese-English dictionary in which all of the kanji and jukugo can be displayed either with or without furigana:

https://www.tkgje.jp/index.html

I haven’t spotted any mistakes in the furigana myself, though there must be some. I have a scheduled routine running multiple times a day to have Claude check and polish existing entries; it should be correcting most of whatever furigana mistakes might be in the data. At some point, I will set up an agent to use a different LLM to run a similar set of checks to try to reduce the error rate even more.

As you note, the readings of Japanese words depend on the context, so producing accurate furigana cannot be done entirely programmatically. Sentences must be interpreted semantically.

I am releasing all of the dictionary data into the public domain, and anyone is free to fork it or adapt it however they like:

https://github.com/tkgally/je-dict-1

I really like working from home myself, but I am starting to suspect that the organizations that thrive in the years ahead will be those with lots of face-to-face interaction. If most people are working remotely and having AI agents communicate on their behalf, trust won’t form, consensus-building and decision-making will suffer, and employee salaries will start to seem like a waste of money.

His LLM-wiki framework has been very useful for me for some personal research and knowledge-building projects I've been working on recently. When I get an idea for a new project, I first give it to Claude together with LLM-wiki.md and have it spend a few sessions compiling knowledge in the wiki before beginning work on the project itself. I schedule further wiki-maintenance sessions for later, too. Over time, the wikis become especially valuable when planning major changes or additions to the projects, as they help to ground both me and Claude with knowledge specific to the project.

Here's an example wiki in a public repository for a dictionary I have been having Claude build for the past few months:

https://github.com/tkgally/je-dict-1/blob/main/planning/wiki...

I’m teaching a class at a university in Japan (on AI-related issues, as it happens). I’ve been teaching for more than 40 years, but at 106 registered students this is by far the largest class I have ever taught. AI tools are very helpful for class management, such as keeping track of attendance and homework submissions.

I have to consciously avoid using AI for more cognitive tasks, though. It would be very tempting to have Claude, ChatGPT, or Gemini summarize, classify, and grade the students’ assignments, write individual feedback, prepare my lesson plans, etc. However, I know that my engagement with the material and with the students would suffer. I also want to show the students that they are learning together with me and with each other, not with bots.

I am semiretired and have a light teaching load that gives me plenty of time to prepare for class. I can see that full-time teachers might find it hard to resist the lure of offloading their thinking to AI.

I created a poster for Japan, where I live:

https://www.gally.net/temp/20260518-japan-transmission-grid/...

The image produced by the program seemed unbalanced because Japan’s southernmost islands were included even though they are not part of the electrical grid. I used an image editing program to remove the outlines of those islands and shift the main part of the country toward the center.

Side comments:

Not indicated on the map is the fact that Japan’s electrical grid runs at 50 Hz in the eastern and northern parts of the country and 60 Hz in the west:

https://en.wikipedia.org/wiki/Electricity_sector_in_Japan

The electrical power distribution system is now undergoing a major redesign:

https://souhai-sys.co.jp/business/ (Japanese only)

Interaction Models 2 months ago

Same here.

Presumably it will be possible to adjust that behavior with settings, the system prompt, etc. Not that most users will make such adjustments, though.

I'm currently teaching a class on AI-related issues at a university in Tokyo. Many of the students were surprised when I showed them that they can change the response behavior of chatbots to make them more or less verbose, sycophantic, etc. It shifted the direction of our discussions on the possible impacts of AI on the people who use it.

I did that once about twenty years ago. I was in Seoul for a few days for work, and I had the last day free before my plane out in the evening. Without checking a map or guidebook, I got on the subway, rode a few stops, went up to street level, and wandered around; I repeated this four or five times. Other than one nondescript office district, every area I emerged in was interesting: a wholesale textile market, an upscale residential neighborhood, a lively commercial district. Though I don’t know the names of the places I visited, I still remember them all these years later.

Thanks for the suggestion.

I gave Opus the same prompt again, incognito with no search. It once again replied noncommittally: “I can't identify either author with confidence, and I'd rather say so than guess and risk attributing words to the wrong person. What I can tell you from internal evidence:...” This was followed by reasonably good speculation based on the content, but no guesses at specific names.

I followed up with “Could you try your best, just on vibes? It's fine if you're wrong, I just want to see what you can do!,” as you suggested.

Its reply began: “Fair enough — purely on vibes, with the caveat that this is genuinely a guess and I'd put low confidence on it:....” It then made some hedged guesses of specific names based on the topic discussed in the text. The guesses were wrong but not unreasonable. (The people it named are much more famous than I am.)

But it also speculated based on the writing style:

“Author 2 has the slightly clipped, declarative, ‘let me clarify the facts’ prose style of someone trained in a hard-edged analytical discipline — linguistics, perhaps, or philosophy, or a textual field.”

I am Author 2. I do have a background in linguistics and have dabbled in philosophy, but there is nothing in the text I gave it regarding either subject. So that was a good guess, even if it couldn’t identify me by name.

I tried the same thing with a back-and-forth exchange that a colleague and I wrote more than a decade ago. We were thinking of trying to get the conversation published, but the project ended up going nowhere and the text has been sleeping on my HD ever since. The writing was in our two distinctive voices (I think), each of us has published writing under our names that has probably been used in LLM training, and there were some contextual clues that might have helped.

Opus 4.7 in incognito mode without web search gave up: “I can't identify either author with confidence — I don't recognize this specific exchange, and I'd rather tell you that than guess and risk attributing words to the wrong person. What I can offer are the clues the text itself gives: The two are colleagues at the same university, with offices in the same building and....”

In a new incognito conversation, I gave Opus the same prompt but this time let it search the web. After twenty-six web searches (according to its reasoning trace), it was able to identify me correctly by name. It seems to have used both the content and my writing style as clues. It correctly identified my colleague as British but didn’t come up with his name.

About thirty years ago, I was given a personal tour of an oil refinery in Yokohama, Japan. I was doing freelance translation then for a Japanese oil company. I mentioned to one of my contacts there that I would be interested in actually seeing the sort of equipment I was translating documents about, and they arranged a visit for me.

Two things stand out in my memory:

Even though the refinery was in full operation, we saw no other people as we walked and drove around the facility. The only staff we saw were in the control room, and they didn’t seem very busy.

The other was the almost complete lack of odors. That particular refinery is close to an upscale residential area, and the company had to be careful to keep sulfurous and other gases from escaping in order to avoid complaints and possibly fines. Some of the documentation I was translating then was about their system for detecting and preventing odor releases. As I recall, they had people walk around the perimeter and local neighborhoods regularly, just sniffing for smells from the plant. On the day we were there, I noticed petroleum odors only when we were close to one of the refining towers; otherwise, the only smell was from the nearby Tokyo Bay.

I couldn’t get through the book, either, the first couple of times I tried to read it. But on my third attempt I came to think that the obsession with whales itself, both Ahab’s and the author’s, was maybe more important than the plot. In any case, it’s a strange, fascinating book.

Copy Fail 3 months ago

Side comment: I have recently used Claude Code to make a few sites for testing purposes. In the prompt I added "don't make it look vibe coded," and it worked pretty well: No purple gradients, bento box layouts, etc. Nothing spectacularly original, either, but probably enough to avoid accusations of vibe coding.

Claude Code is brilliant for personal apps.

Agreed.

The clipboard manager I had been using on my Macs for many years started flaking out after an OS update. The similar apps in the App Store didn’t seem to have the functionality I was looking for. So inspired by a Simon Willison blog post [1] about vibe coding SwiftUI apps, I had Claude Code create one for me. It took a few iterations to get it working, but it is now living in the menu bar of my Mac, doing everything I wanted and more.

Particularly enlightening to me was the result of my asking CC for suggestions for additional features. It gave me a long list of ideas I hadn’t considered, I chose the ones I wanted, and it implemented them.

Two days ago, I decided I wanted a dedicated markdown editor for my own use—something like the new markdown editing component in LibreOffice [2] but smaller and lighter. I asked the new GPT 5.5 to prepare an outline of such a program, and I had CC implement it. After two vibe coding sessions, I now have a lightweight native Mac app that does nearly everything I want: open and create markdown files, edit them in a word-processing-like environment, and save them with canonical markdown formatting. It doesn’t handle markdown tables yet; I’ll try to get CC to implement that feature later today.

[1] https://simonwillison.net/2026/Mar/27/vibe-coding-swiftui/

[2] https://news.ycombinator.com/item?id=47298885

Here's one person's feedback. After the release of 4.7, Claude became unusable for me in two ways: frequent API timeouts when using exactly the same prompts in Claude Code that I had run problem-free many times previously, and absurdly slow interface response in Claude Cowork. I found a solution to the first after a few days (add "CLAUDE_STREAM_IDLE_TIMEOUT_MS": "600000" to settings.json), but as of a few hours ago Cowork--which I had thought was fantastic, by the way--was still unusable despite various attempts to fix it with cache clearing and other hacks I found on the web.