boriselec
Quite satisfied with that, haven't opened vscode/zed in a while. Making something like that is easy with LLMs now.
I didn't know about Deno and streams, but this looks fine
const file = await Deno.open("huge-quotes.txt");
const quotes: string[] = [];
await file.readable
.pipeThrough(new TextDecoderStream())
.pipeThrough(new TextLineStream())
.pipeTo(new WritableStream({
write(line) {
quotes.push(line);
}
}));My biggest progress in English was when I started to read the English internet (HN, Reddit, etc.). I used an browser extension to translate words that I didn't know.
I'm learning Spanish now, but there is no content that interests me. Maybe the Spanish Wikipedia sometimes.
So this extension gives me that language exposure.
http://www.democracynow.org/blog/2011/10/12/part_2_john_carl...
"...Pete, I have a concern, man. What’s this about you don’t want to have your statue there? What, are you backing away from me? Are you ashamed of us?" And he laughed, and he said, "No, John." He said—you know, the deep thing is, he said, "Man, I didn’t do what you guys did." He said, "But I was there in heart and soul to support what you did. I feel it’s only fair that you guys go on and have your statues built there, and I would like to have a blank spot there and have a commemorative plaque stating that I was in that spot. But anyone that comes thereafter from around the world and going to San Jose State that support the movement, what you guys had in ’68, they could stand in my spot and take the picture."