diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-04 17:06:00 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-04 17:06:00 +0300 |
| commit | e18fbd29cb0c41828802fd2eb0cc491b5baf1270 (patch) | |
| tree | 8116bc5ea93465841f7662accab6f65d85da758e | |
| parent | 526092c8c2fe5c00177c89624fa0bd819dd0aa86 (diff) | |
Update content for gemtext
| -rw-r--r-- | about/resources.gmi | 188 | ||||
| -rw-r--r-- | gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi | 34 | ||||
| -rw-r--r-- | gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi.tpl | 34 | ||||
| -rw-r--r-- | gemfeed/atom.xml | 36 | ||||
| -rw-r--r-- | index.gmi | 2 | ||||
| -rw-r--r-- | uptime-stats.gmi | 2 |
6 files changed, 148 insertions, 148 deletions
diff --git a/about/resources.gmi b/about/resources.gmi index 33dbc944..449e5331 100644 --- a/about/resources.gmi +++ b/about/resources.gmi @@ -35,105 +35,105 @@ You won't find any links on this site because, over time, the links will break. In random order: +* C++ Programming Language; Bjarne Stroustrup; +* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook +* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers * The Pragmatic Programmer; David Thomas; Addison-Wesley -* Modern Perl; Chromatic ; Onyx Neon Press -* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner * The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible -* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton -* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly -* Ultimate Go Notebook; Bill Kennedy -* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress -* Higher Order Perl; Mark Dominus; Morgan Kaufmann +* Raku Fundamentals; Moritz Lenz; Apress +* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications +* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf * DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible -* C++ Programming Language; Bjarne Stroustrup; -* Developing Games in Java; David Brackeen and others...; New Riders -* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly -* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications -* Java ist auch eine Insel; Christian Ullenboom; -* Pro Puppet; James Turnbull, Jeffrey McCune; Apress -* Leanring eBPF; Liz Rice; O'Reilly -* Raku Recipes; J.J. Merelo; Apress +* DNS and BIND; Cricket Liu; O'Reilly +* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly +* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson * Funktionale Programmierung; Peter Pepper; Springer -* Data Science at the Command Line; Jeroen Janssens; O'Reilly +* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications +* Ultimate Go Notebook; Bill Kennedy +* Concurrency in Go; Katherine Cox-Buday; O'Reilly * Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press -* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf -* Terraform Cookbook; Mikael Krief; Packt Publishing -* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson -* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly * Site Reliability Engineering; How Google runs production systems; O'Reilly -* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press -* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly -* Systemprogrammierung in Go; Frank Müller; dpunkt +* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly * Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt -* Concurrency in Go; Katherine Cox-Buday; O'Reilly -* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly -* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly -* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications -* Effective Java; Joshua Bloch; Addison-Wesley Professional -* DNS and BIND; Cricket Liu; O'Reilly -* Raku Fundamentals; Moritz Lenz; Apress +* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press +* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton +* Java ist auch eine Insel; Christian Ullenboom; +* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner * Polished Ruby Programming; Jeremy Evans; Packt Publishing -* Effective awk programming; Arnold Robbins; O'Reilly -* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook -* The Docker Book; James Turnbull; Kindle -* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional +* Developing Games in Java; David Brackeen and others...; New Riders * Perl New Features; Joshua McAdams, brian d foy; Perl School +* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress +* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional +* Effective Java; Joshua Bloch; Addison-Wesley Professional +* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly +* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly +* Systemprogrammierung in Go; Frank Müller; dpunkt +* The Docker Book; James Turnbull; Kindle +* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly +* Terraform Cookbook; Mikael Krief; Packt Publishing +* Higher Order Perl; Mark Dominus; Morgan Kaufmann +* Effective awk programming; Arnold Robbins; O'Reilly +* Pro Puppet; James Turnbull, Jeffrey McCune; Apress +* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly * Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers -* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers -* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly +* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly +* Leanring eBPF; Liz Rice; O'Reilly +* Modern Perl; Chromatic ; Onyx Neon Press +* Raku Recipes; J.J. Merelo; Apress +* Data Science at the Command Line; Jeroen Janssens; O'Reilly ## Technical references I didn't read them from the beginning to the end, but I am using them to look up things. The books are in random order: * BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley -* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly -* Go: Design Patterns for Real-World Projects; Mat Ryer; Packt +* Relayd and Httpd Mastery; Michael W Lucas * The Linux Programming Interface; Michael Kerrisk; No Starch Press +* Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly * Implementing Service Level Objectives; Alex Hidalgo; O'Reilly -* Relayd and Httpd Mastery; Michael W Lucas +* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly +* Go: Design Patterns for Real-World Projects; Mat Ryer; Packt * Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley -* Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly ## Self-development and soft-skills books In random order: -* 101 Essays that change the way you think; Brianna Wiest; Audiobook -* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing -* Digital Minimalism; Cal Newport; Portofolio Penguin +* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select +* The Bullet Journal Method; Ryder Carroll; Fourth Estate +* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne +* Slow Productivity; Cal Newport; Penguin Random House +* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd * Ultralearning; Anna Laurent; Self-published via Amazon +* So Good They Can't Ignore You; Cal Newport; Business Plus +* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books +* Ultralearning; Scott Young; Thorsons +* Deep Work; Cal Newport; Piatkus * The Power of Now; Eckhard Tolle; Yellow Kite +* 101 Essays that change the way you think; Brianna Wiest; Audiobook +* The Joy of Missing Out; Christina Crook; New Society Publishers * Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion -* Atomic Habits; James Clear; Random House Business -* Solve for Happy; Mo Gawdat (RE-READ 1ST TIME) -* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business -* Influence without Authority; A. Cohen, D. Bradford; Wiley * Psycho-Cybernetics; Maxwell Maltz; Perigee Books -* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne -* So Good They Can't Ignore You; Cal Newport; Business Plus -* Slow Productivity; Cal Newport; Penguin Random House -* Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook +* Stop starting, start finishing; Arne Roock; Lean-Kanban University +* Getting Things Done; David Allen +* Digital Minimalism; Cal Newport; Portofolio Penguin * Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook -* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd -* Ultralearning; Scott Young; Thorsons -* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select -* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook -* Meditation for Mortals, Oliver Burkeman, Audiobook -* The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME) +* Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook * Eat That Frog!; Brian Tracy; Hodder Paperbacks -* Getting Things Done; David Allen -* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books -* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press * Eat That Frog; Brian Tracy +* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business +* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press +* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing +* Solve for Happy; Mo Gawdat (RE-READ 1ST TIME) +* The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME) +* The Good Enough Job; Simone Stolzoff; Ebury Edge * Soft Skills; John Sommez; Manning Publications -* The Joy of Missing Out; Christina Crook; New Society Publishers +* Influence without Authority; A. Cohen, D. Bradford; Wiley +* Atomic Habits; James Clear; Random House Business +* Meditation for Mortals, Oliver Burkeman, Audiobook * Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly -* The Good Enough Job; Simone Stolzoff; Ebury Edge -* Stop starting, start finishing; Arne Roock; Lean-Kanban University +* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook * The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK -* Deep Work; Cal Newport; Piatkus -* The Bullet Journal Method; Ryder Carroll; Fourth Estate => ../notes/index.gmi Here are notes of mine for some of the books @@ -141,30 +141,30 @@ In random order: Some of these were in-person with exams; others were online learning lectures only. In random order: -* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online -* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online -* Functional programming lecture; Remote University of Hagen -* AWS Immersion Day; Amazon; 1-day interactive online training +* MySQL Deep Dive Workshop; 2-day on-site training +* Scripting Vim; Damian Conway; O'Reilly Online * Developing IaC with Terraform (with Live Lessons); O'Reilly Online +* Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need) * Protocol buffers; O'Reilly Online -* MySQL Deep Dive Workshop; 2-day on-site training -* Ultimate Go Programming; Bill Kennedy; O'Reilly Online +* AWS Immersion Day; Amazon; 1-day interactive online training * Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon +* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online +* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training * Apache Tomcat Best Practises; 3-day on-site training -* Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need) * F5 Loadbalancers Training; 2-day on-site training; F5, Inc. -* Scripting Vim; Damian Conway; O'Reilly Online * The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online -* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training +* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online * Structure and Interpretation of Computer Programs; Harold Abelson and more...; +* Ultimate Go Programming; Bill Kennedy; O'Reilly Online +* Functional programming lecture; Remote University of Hagen ## Technical guides These are not whole books, but guides (smaller or larger) which I found very useful. in random order: -* Advanced Bash-Scripting Guide -* Raku Guide at https://raku.guide * How CPUs work at https://cpu.land +* Raku Guide at https://raku.guide +* Advanced Bash-Scripting Guide ## Podcasts @@ -172,57 +172,57 @@ These are not whole books, but guides (smaller or larger) which I found very use In random order: +* The Changelog Podcast(s) * Hidden Brain -* Pratical AI * The ProdCast (Google SRE Podcast) -* Cup o' Go [Golang] -* Dev Interrupted * Fork Around And Find Out -* Modern Mentor -* Deep Questions with Cal Newport -* Fallthrough [Golang] +* Dev Interrupted * Maintainable * Backend Banter -* The Pragmatic Engineer Podcast -* The Changelog Podcast(s) +* Fallthrough [Golang] +* Deep Questions with Cal Newport +* Pratical AI +* Cup o' Go [Golang] * BSD Now [BSD] +* The Pragmatic Engineer Podcast +* Modern Mentor ### Podcasts I liked I liked them but am not listening to them anymore. The podcasts have either "finished" (no more episodes) or I stopped listening to them due to time constraints or a shift in my interests. +* Modern Mentor +* Java Pub House * FLOSS weekly * Ship It (predecessor of Fork Around And Find Out) -* Modern Mentor * Go Time (predecessor of fallthrough) * CRE: Chaosradio Express [german] -* Java Pub House ## Newsletters I like This is a mix of tech and non-tech newsletters I am subscribed to. In random order: * The Valuable Dev -* Changelog News +* The Imperfectionist * Ruby Weekly * byteSizeGo -* The Pragmatic Engineer -* Applied Go Weekly Newsletter -* Register Spill +* VK Newsletter * Golang Weekly +* Applied Go Weekly Newsletter +* The Pragmatic Engineer +* Changelog News * Andreas Brandhorst Newsletter (Sci-Fi author) -* VK Newsletter -* The Imperfectionist * Monospace Mentor +* Register Spill ## Magazines I like(d) This is a mix of tech I like(d). I may not be a current subscriber, but now and then, I buy an issue. In random order: -* Linux User +* freeX (not published anymore) * LWN (online only) +* Linux User * Linux Magazine -* freeX (not published anymore) # Formal education diff --git a/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi b/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi index 6688c7b8..37542fa1 100644 --- a/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi +++ b/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi @@ -279,11 +279,11 @@ I edited `~/.config/helix/languages.toml` to include: ``` [[language]] - name = "go" - auto-format= true - diagnostic-severity = "hint" - formatter = { command = "goimports" } - language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt" ] +name = "go" +auto-format= true +diagnostic-severity = "hint" +formatter = { command = "goimports" } +language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt" ] ``` Note that there is also a `gpt` language server configured, which is for GitHub Copilot, but it is out of scope of this blog post. Let's also configure `lsp-ai` settings in the same file: @@ -315,7 +315,7 @@ max_tokens = 64 max_context = 8096 ## Configure the messages per your needs -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "system" content = "Instructions:\n- You are an AI programming assistant.\n- Given a piece of code with the cursor location marked by \"<CURSOR>\", replace @@ -330,47 +330,47 @@ a comment, complete the comment meaningfully.\n- Handle ambiguous cases by providing the most contextually appropriate completion.\n- Be consistent with your responses." -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func greet(name) {\n print(f\"Hello, {<CURSOR>}\")\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "name" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func sum(a, b) {\n return a + <CURSOR>\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "b" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func multiply(a, b int ) int {\n a * <CURSOR>\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "b" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "// <CURSOR>\nfunc add(a, b) {\n return a + b\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "Adds two numbers" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "// This function checks if a number is even\n<CURSOR>" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "func is_even(n) {\n return n % 2 == 0\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "{CODE}" ``` diff --git a/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi.tpl b/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi.tpl index 5b972864..b0de8e43 100644 --- a/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi.tpl +++ b/gemfeed/2025-08-05-local-coding-llm-with-ollama.gmi.tpl @@ -279,11 +279,11 @@ I edited `~/.config/helix/languages.toml` to include: ``` [[language]] - name = "go" - auto-format= true - diagnostic-severity = "hint" - formatter = { command = "goimports" } - language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt" ] +name = "go" +auto-format= true +diagnostic-severity = "hint" +formatter = { command = "goimports" } +language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt" ] ``` Note that there is also a `gpt` language server configured, which is for GitHub Copilot, but it is out of scope of this blog post. Let's also configure `lsp-ai` settings in the same file: @@ -315,7 +315,7 @@ max_tokens = 64 max_context = 8096 ## Configure the messages per your needs -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "system" content = "Instructions:\n- You are an AI programming assistant.\n- Given a piece of code with the cursor location marked by \"<CURSOR>\", replace @@ -330,47 +330,47 @@ a comment, complete the comment meaningfully.\n- Handle ambiguous cases by providing the most contextually appropriate completion.\n- Be consistent with your responses." -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func greet(name) {\n print(f\"Hello, {<CURSOR>}\")\n}" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "name" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func sum(a, b) {\n return a + <CURSOR>\n}" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "b" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func multiply(a, b int ) int {\n a * <CURSOR>\n}" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "b" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "// <CURSOR>\nfunc add(a, b) {\n return a + b\n}" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "Adds two numbers" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "// This function checks if a number is even\n<CURSOR>" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "func is_even(n) {\n return n % 2 == 0\n}" -[[language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "{CODE}" ``` diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index c0c7cd48..46db7922 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> - <updated>2025-08-04T17:00:52+03:00</updated> + <updated>2025-08-04T17:04:39+03:00</updated> <title>foo.zone feed</title> <subtitle>To be in the .zone!</subtitle> <link href="gemini://foo.zone/gemfeed/atom.xml" rel="self" /> @@ -330,11 +330,11 @@ http://www.gnu.org/software/src-highlite --> <br /> <pre> [[language]] - name = "go" - auto-format= true - diagnostic-severity = "hint" - formatter = { command = "goimports" } - language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt" ] +name = "go" +auto-format= true +diagnostic-severity = "hint" +formatter = { command = "goimports" } +language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt" ] </pre> <br /> <span>Note that there is also a <span class='inlinecode'>gpt</span> language server configured, which is for GitHub Copilot, but it is out of scope of this blog post. Let's also configure <span class='inlinecode'>lsp-ai</span> settings in the same file:</span><br /> @@ -366,7 +366,7 @@ max_tokens = 64 max_context = 8096 ## Configure the messages per your needs -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "system" content = "Instructions:\n- You are an AI programming assistant.\n- Given a piece of code with the cursor location marked by \"<CURSOR>\", replace @@ -381,47 +381,47 @@ a comment, complete the comment meaningfully.\n- Handle ambiguous cases by providing the most contextually appropriate completion.\n- Be consistent with your responses." -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func greet(name) {\n print(f\"Hello, {<CURSOR>}\")\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "name" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func sum(a, b) {\n return a + <CURSOR>\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "b" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "func multiply(a, b int ) int {\n a * <CURSOR>\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "b" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "// <CURSOR>\nfunc add(a, b) {\n return a + b\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "Adds two numbers" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "// This function checks if a number is even\n<CURSOR>" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "assistant" content = "func is_even(n) {\n return n % 2 == 0\n}" -<<language-server.lsp-ai.config.completion.parameters.messages]] + [[language-server.lsp-ai.config.completion.parameters.messages]] role = "user" content = "{CODE}" </pre> @@ -1,6 +1,6 @@ # Hello! -> This site was generated at 2025-08-04T17:00:52+03:00 by `Gemtexter` +> This site was generated at 2025-08-04T17:04:39+03:00 by `Gemtexter` Welcome to the foo.zone! diff --git a/uptime-stats.gmi b/uptime-stats.gmi index bf715927..32fe1204 100644 --- a/uptime-stats.gmi +++ b/uptime-stats.gmi @@ -1,6 +1,6 @@ # My machine uptime stats -> This site was last updated at 2025-08-04T17:00:52+03:00 +> This site was last updated at 2025-08-04T17:04:39+03:00 The following stats were collected via `uptimed` on all of my personal computers over many years and the output was generated by `guprecords`, the global uptime records stats analyser of mine. |
