HNHacker News
TopNewBestAskShowJobs

malkosta

209 karma · joined May 9, 2020

submissionscomments
malkosta··on Blogging with Gleam, Org-Mode and Pandoc
mine has no org-mode...which is fine...I like markdown:

find . -name '*.md' -type f -exec sh -c '

  for file do  
    out="docs/${file#./}"  
    out="${out%.md}.html"
    mkdir -p "$(dirname "$out")"  
    pandoc --quiet --template template.html "$file" -o "$out"  
  done  
' sh {} +
malkosta··on Closing Canario Terminal source code
I'm probably missing something big...but after trying this herdr, conductor, etc...I always come back to ghostty+tmux+nvim....idk, maybe it's my old brain sticking to its existing synapses, but I find this setup much easier to maintain and more intuitive to think of whatever customization I need
malkosta··on Twenty Years of Pandoc
Love pandoc, I use it for all sorts of stuff…here is my minimal static site generator:

find . -name '*.md' -type f -exec sh -c '

  for file do  
    out="docs/${file#./}"  
    out="${out%.md}.html"
    mkdir -p "$(dirname "$out")"  
    pandoc --quiet --template template.html "$file" -o "$out"  
  done  
' sh {} +
malkosta··on Bashblog – a single bash script to create blogs
yes true, but I already have it on all my machines, for diverse reasons...it wouldn't be hard to implement a markdown support, but it would be worse to maintain that
malkosta··on Bashblog – a single bash script to create blogs
mine is:

find . -name '*.md' -type f -exec sh -c '

  for file do  
    out="docs/${file#./}"  
    out="${out%.md}.html"
    mkdir -p "$(dirname "$out")"  
    pandoc --quiet --template template.html "$file" -o "$out"  
  done  
' sh {} +
malkosta··on How to setup a local coding agent on macOS
All I remember is that it's pretty clear written in the post...
malkosta··on Running local models is good now
The problem with QWEN is that it just can't edit files reliably, I had to hack Pi all over to reduce the pain, but still far from perfect...does Gemma 4 strugle on this?
malkosta··on How to setup a local coding agent on macOS
That was exactly my same question. Then I finished reading the post. The reason is pretty clear, and written in the post: it is faster than ollama+mlx.
malkosta··on Doing nothing at work
What about just getting work done because you like to code, and not giving a damn about what others think because we will get rich anyways…I wonder why people are always trying to win instead of just having fun.
malkosta··on CSS is DOOMed
What a master class in linear algebra…
malkosta··on Austin’s surge of new housing construction drove down rents
Yes, it describes human nature better than psychology. We can’t fight even knowing about it.
malkosta··on Show HN: Jido 2.0, Elixir Agent Framework
How do you ensure security? Does it have a proper container? Otherwise, it's impossible to prevent leaking prod secrets.
malkosta··on Show HN: SQLite for Rivet Actors – one database per agent, tenant, or document
How do you intend to conquer the preemptive scheduler? System-wide fairness and preventing starvation are essencial steps for this to work well.
malkosta··on Show HN: SQLite for Rivet Actors – one database per agent, tenant, or document
It’s crazy how pretty much every tool people post to support AI systems is already in Erlang/OTP or in elixir standard libraries.
malkosta··on It's 2026, Just Use Postgres
Elixir + Postgres is the microservices killer...last time I saw VP try to convince a company with this stack to go microservices he was out in less than 6mo
malkosta··on Show HN: I made a memory game to teach you to play piano by ear
You read my mind sir! Also, great work by OP, I really needed this since a long time!
malkosta··on Writing your own BEAM
Beautiful! :clap:
malkosta··on Show HN: Rift – A tiling window manager for macOS
Rectangle+Apptivate made me stop looking for an i3 alternative, after years. The first for moving windows, the second for switching between them with super+number, just like i3.
malkosta··on Comprehension debt: A ticking time bomb of LLM-generated code
I fight against this by using it mostly on trivial tasks, which require no comprehension at all, also fixing docs and extending tests. It helps me to focus on what I love, and let the boring stuff automated.

For complex tasks, I use it just to help me plan or build a draft (and hacky) pull request, to explore options. Then I rewrite it myself, again leaving the best part to myself.

LLMs made writing code even more fun than it was before, to me. I guess the outcomes only depends on the user. At this point, it's clear that all my peers that can't have fun with it are using it as they use ChatGPT, just throwing a prompt, hoping for the best, and then getting frustrated.

malkosta··on Next.js 15 Markdown Boilerplate
I do almost the same, with a simple bash script, and no JS junk: https://github.com/alexandremcosta/alexandremcosta.github.io...
malkosta··on TODOs aren't for doing
TODO is a pretty clear name. If it's not to be done, then it should be just a regular comment, no need to tag as TODO.
malkosta··on TODOs aren't for doing
If it's not intended to be done, then you are using the wrong name. Don't call it `TODO`.
malkosta··on ChatGPT agent: bridging research and action
It's just a ~~reduce~~ loop, with an API call to an LLM in the middle, and a data-structure to save the conversation messages and append them in next iterations of the loop. If you wanna get fancy, you can add other API calls, or access to your filesystem. Nothing to go crazy about...
malkosta··on Building Modular Rails Applications: A Deep Dive into Rails Engines
Offset-based pagination will be a problem on big tables.
malkosta··on Membrane: Media Framework for Elixir
The official ones are still the best: https://hexdocs.pm/phoenix/overview.html and https://hexdocs.pm/elixir/introduction.html
malkosta··on Show HN: Mizu.js – Lightweight HTML templating library for any-side rendering
I have a 60 LOC [bash script][1] to do something similar to my personal blog

[1]: https://github.com/alexandremcosta/alexandremcosta.github.io...

malkosta··on Mouseless – fast mouse control with the keyboard
Also [Homerow](https://www.homerow.app/) is really good
malkosta··on Rewrite it in Rails
Too bad you didn't choose Phoenix/Elixir. Give it a try, and never come back to Rails.
malkosta··on Dollar Cost Averaging Calculator
Just a simple webapp I made to help with decisions some of us have to make every month.
malkosta··on The 4-chan Go programmer
It reminds me of Joe Armstrong's "My favorite Erlang Program": https://joearms.github.io/published/2013-11-21-My-favorite-e...
Page 1 of 4Next →