News for hackers. Stuff that matters.

malkosta

Re:Open Sound Connect – Control Sony Headphones from Your Mac on Thursday October 29, 2026 @11:21AM (#50290522)
What is "open" about it?
Re:Blogging with Gleam, Org-Mode and Pandoc on Friday October 02, 2026 @04:55PM (#49938512)
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 {} +
Great, now they can put much more Ads in my notes app...
Re:Closing Canario Terminal source code on Tuesday August 11, 2026 @10:47AM (#49259291)
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
Re:Twenty Years of Pandoc on Monday August 03, 2026 @08:04PM (#49162918)
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 {} +
Re:Bashblog – a single bash script to create blogs on Tuesday June 30, 2026 @12:05PM (#48734697)
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
Re:Bashblog – a single bash script to create blogs on Sunday June 28, 2026 @11:40AM (#48708347)
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 {} +
Re:How to setup a local coding agent on macOS on Tuesday June 16, 2026 @12:33PM (#48557887)
All I remember is that it's pretty clear written in the post...
Re:Running local models is good now on Tuesday June 16, 2026 @12:32PM (#48557880)
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?
Re:How to setup a local coding agent on macOS on Friday June 12, 2026 @03:35PM (#48508527)
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.
Re:Doing Nothing at Work on Thursday June 11, 2026 @08:55PM (#48498506)
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.
Re:CSS is DOOMed on Saturday March 28, 2026 @09:17PM (#47559592)
What a master class in linear algebra…
Yes, it describes human nature better than psychology. We can’t fight even knowing about it.
Re:Show HN: Jido 2.0, Elixir Agent Framework on Thursday March 05, 2026 @12:02PM (#47264150)
How do you ensure security? Does it have a proper container? Otherwise, it's impossible to prevent leaking prod secrets.
How do you intend to conquer the preemptive scheduler? System-wide fairness and preventing starvation are essencial steps for this to work well.
It’s crazy how pretty much every tool people post to support AI systems is already in Erlang/OTP or in elixir standard libraries.
Re:It's 2026, Just Use Postgres on Thursday February 05, 2026 @05:08PM (#46906082)
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
You read my mind sir! Also, great work by OP, I really needed this since a long time!
Re:Writing Your Own Beam on Tuesday November 11, 2025 @10:53AM (#45888744)
Beautiful! :clap:
Re:Show HN: rift – a tiling window manager for macOS on Monday October 13, 2025 @10:18AM (#45568600)
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.
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.

Re:The easy way to make a website with Markdown on Tuesday September 02, 2025 @03:13PM (#45107698)
I do almost the same, with a simple bash script, and no JS junk: https://github.com/alexandremcosta/alexandremcosta.github.io...
Re:TODOs Aren't for Doing on Wednesday July 23, 2025 @12:24PM (#44660977)
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.
Re:TODOs Aren't for Doing on Tuesday July 22, 2025 @12:55PM (#44649926)
If it's not intended to be done, then you are using the wrong name. Don't call it `TODO`.
Re:ChatGPT agent: bridging research and action on Thursday July 17, 2025 @01:20PM (#44595696)
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...
Offset-based pagination will be a problem on big tables.
I have a 60 LOC [bash script][1] to do something similar to my personal blog

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

Re:Mouseless – fast mouse control with the keyboard on Thursday December 12, 2024 @02:42PM (#42402611)
Also [Homerow](https://www.homerow.app/) is really good
Re:Rewrite it in Rails on Monday November 04, 2024 @01:28PM (#42044572)
Too bad you didn't choose Phoenix/Elixir. Give it a try, and never come back to Rails.

Older »