Erik V
flotes-dev.bsky.social
Erik V
@flotes-dev.bsky.social
Senior Software Engineer @ Cisco · BJJ Black Belt · Daddy

Independently building at night
- Flotes · Markdown Note-taking Built for Learning
- Tomatillo Timer · Study timer that syncs to music
- Better Commits · CLI to make conventional commits
Anyone using Svelte + Neovim want to share their dots / config? 🙂

I've been using both for a long time, but recently the LazyVim extra for Svelte crashes the svelte-language-server on big svelte projects.

I can't get ts file changes to show in svelte files without LspRestart. 🥲
November 10, 2025 at 9:50 PM
Does FiniteStateMachine from Svelte Runed library have the ability to handle nesting similar to X-State?

I was trying different ways but couldn't figure it out or find any examples.

Runed: runed.dev/docs/utiliti...
X-State Example: github.com/statelyai/xs...
FiniteStateMachine
Defines a strongly-typed finite state machine.
runed.dev
November 9, 2025 at 5:31 PM
First time writing Svelte Kit Remote Functions.

Used commands for cookie updates to save ssr layouts/preferences.

Sheeeesh, remote functions kick ass. The code is so much nicer now.
November 6, 2025 at 12:59 AM
If you had a setting page in written Svelte / Svelte-Kit. No save button, every change event on a select, checkbox, etc... saves to the server.

Do you use a form remote function with a form element, or omit the form element and use a command remote function?
November 2, 2025 at 9:39 PM
Recently switched from Harpoon2 to Grapple.nvim.

Insanely good plugin. I think Harpoon is so well known that people don't look at alternatives. Definitely worth the switch IMO and even has a harpoon-to-grapple config example in the readme.

github.com/cbochs/grapp...

#NeoVim #Vim
GitHub - cbochs/grapple.nvim: Neovim plugin for tagging important files
Neovim plugin for tagging important files. Contribute to cbochs/grapple.nvim development by creating an account on GitHub.
github.com
October 31, 2025 at 12:34 AM
tonsky.me/blog/syntax-... by @tonsky.me

Looking at the first color.js example, the idea made sense, but I was still like ehhh IDK.

By the end of reading the article, the playSound example highlighting really had me convinced on a lot of ideas here. - Great read :)
I am sorry, but everyone is getting syntax highlighting wrong
Applying human ergonomics and design principles to syntax highlighting
tonsky.me
October 30, 2025 at 5:25 PM
How is anyone running agents in large monorepos with success? - Even if there is some tool that uses multiple contexts, isn't each context missing the big picture?

I constantly crash to the point it's not even worth it to attempt.

"prompt token count of 308154 exceeds the limit of 128000"
October 28, 2025 at 3:55 PM
I'm using Neovim+CodeCompanion+Copilot. After a few months of this, I'm wondering. Is it just my experience based on my tools, or is the constant flickering of ghost text not annoying to others?
October 24, 2025 at 5:45 PM
flotes.app now loads significantly faster.

On the technical side, this uses a PWA + IDB to mirror data specific to the user. While some data uses a stale-revalidate strategy, notes utilize timestamps to verify if they need synced. This significantly reduces bandwidth usage from large markdown.
October 9, 2025 at 12:32 AM
You can now view/navigate backlinks in a graph in flotes.app. Typing [[ now searches across all notes (and notebooks).

On a technical side, this uses force-graph. Super easy to use and works via HTML 5 Canvas & d3-force. The backlink renderer is CodeMirror v6 autocomplete.

#svelte #d3
October 9, 2025 at 12:17 AM
How does one provide detailed instructions and extensive context to AI for coding, if after a month of providing detailed instructions and extensive context, the AI has written all of the parts of the code that you want now want to extend, by providing detailed instructions and extensive context?
October 7, 2025 at 5:59 PM
The older I get the more I prefer imperative code in event listeners and life cycle hooks over things like effects or rx libraries.

This is the type of opinion where people go "wow this guy is a ding dong". But, I can't help it. The heart wants what the heart wants.
October 6, 2025 at 6:10 PM
Multiply the number of lines of code in your side projects using a framework by the number of young children you have by the number of additional hobbies you have.

The higher the number, the more difficult to keep up with the changes to that framework.

My score for Svelte is well over 200,000 🤣
October 6, 2025 at 6:03 PM
The more I code with AI. The more I realize, I don't really care about being fast.
October 6, 2025 at 5:57 PM
Anyone writing Svelte with Ollama models?

I feel like there should a Svelte 5 llms.txt *mini* lol.

Smaller local models like gpt-oss:20b say they have a context of 128k tokens. But, it definitely seems like even the small llms.txt gets truncated.

Their reasoning when given the file is way off
August 13, 2025 at 12:05 PM
Ollama is really fun to use. So satisfying seeing my desktop's GPU run when I ask a model a question from code-companion.nvim on my Macbook.
August 12, 2025 at 4:05 PM
Question for those using Svelte-Kit and Vercel
- How do you co-locate your DB near your frontend?
- How do you deal with load functions and cold starts? (Aside from pro plan).
- Async in universal load blocks nav. But streaming requires server load functions, which may cold start, blocking nav.
August 5, 2025 at 8:04 PM
So much has changed 🥲. Yet still so many improvements to make 😅.
July 30, 2025 at 3:07 PM
Does anyone have recommendations for articles, videos, etc... on Svelte-Kit load + client side caching?

I have a hard time wrapping my head around using something like load functions and IndexDB. Since load may happen on the server without having the context of whats cached on the client.
July 28, 2025 at 9:08 PM
If you use better commits, consider sharing your config and an example commit for testing :)

github.com/Everduin94/b...
Better Commits V2.0 [Share your config] · Issue #122 · Everduin94/better-commits
🦋 Better Commits V2 I'm planning to refactor better-commits semi-soonish. The codebase doesn't really reflect how I tend to do things now. Before I do that, I want to gather some real world example...
github.com
July 25, 2025 at 1:11 PM
Question for my Svelte wizards. (1/2)

Context

I have code where my state is managed by a cookie and a form action (a button). This way, when I refresh, I SSR the state I want.

On Vercel free tier (project over 1mb, no edge) this puts a delay on my button, and on a slow network, a long delay...
July 24, 2025 at 7:10 PM
Remember when vibe coding meant listening to lofi bootleg boy with a cup of pour over coffee writing svelte?

www.youtube.com/watch?v=617L...
remember when lofi hip-hop still sounded like this.
YouTube video by the bootleg boy 2
www.youtube.com
July 17, 2025 at 9:02 PM
I'm in a software dev funk. I'm really starting to just not enjoy it.

I spent 2 days rebuilding my stairs. - Challenging, rewarding, safer for my kids.

I spent 4 months of nights refactoring my long-running svelte project. Tedious, exhausting, and the outcome leaves something to be desired.
June 29, 2025 at 1:42 AM
The more I *try* to use AI for programming, the more I feel like I'm apart of some global hoodwink lol.
June 13, 2025 at 6:59 PM
If all I need I want out of a PWA is the most basic install this on my phone with these icons and background color. - Is switching from @vite-pwa/sveltekit to svelte-kit service workers (svelte.dev/docs/kit/ser...) ideal?

I am very, very, very.... very, tired of @vite-pwa/sveltekit 🫠
Service workers • Docs • Svelte
Service workers • Svelte documentation
svelte.dev
May 27, 2025 at 3:11 AM