<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: alkh</title><link>https://news.ycombinator.com/user?id=alkh</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 13 Jun 2026 12:45:44 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=alkh" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by alkh in "Show HN: Lowfat – pluggable CLI filter that saved 91.8% of my LLM tokens"]]></title><description><![CDATA[
<p>Thanks for your effort! I also think having examples of raw output before vs after using lowfat would be useful as well</p>
]]></description><pubDate>Fri, 05 Jun 2026 15:06:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=48413531</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=48413531</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48413531</guid></item><item><title><![CDATA[New comment by alkh in "Guide.world: A compendium of travel guides"]]></title><description><![CDATA[
<p>For Seoul, I think this is an interesting observation:<p><pre><code>  Seoul is not a pretty city, at least not by most Western standards of beauty.
  It is a sprawling, haphazard mix with little apparent cohesion beyond a shared culture.
</code></pre>
Personally, I really liked it because it has a different vibe from a more "sterile" city like Tokyo.</p>
]]></description><pubDate>Tue, 14 Apr 2026 18:51:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=47769729</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=47769729</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47769729</guid></item><item><title><![CDATA[New comment by alkh in "How to build a `Git diff` driver"]]></title><description><![CDATA[
<p>I bet there might be something but you can probably create your own by using ImageMagick[1] and some manipulations. For ex. for images, I would create a temp file or use a process substitition + open on OSX or xdg-open on Linux. Here is a first post about<p>Or you can make it even easier(cause the output is only a text) and simply print out the difference in metadata directly. You might need some other tools like ImageMagick but at least no shenanigans with viewing binary data as part of your diff.<p>[1]<a href="https://stackoverflow.com/questions/5132749/diff-an-image-using-imagemagick" rel="nofollow">https://stackoverflow.com/questions/5132749/diff-an-image-us...</a></p>
]]></description><pubDate>Sun, 12 Apr 2026 04:22:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=47736137</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=47736137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47736137</guid></item><item><title><![CDATA[New comment by alkh in "Shell Tricks That Make Life Easier (and Save Your Sanity)"]]></title><description><![CDATA[
<p>This snippet for zsh still has some rough edges but works for the majority of cases. Automatically extends any global alias when space is pressed in zsh. For ex. I have `alias -G G='rg -s'`, so if I type `command | G` it will autoexpand it to `command | rg -s` and so on.<p><pre><code>  globalias() {
    local raw word
    # raw last blank-separated token, exactly as typed
    raw=${LBUFFER##\* }
    # shell-parsed last word
    word=${${(z)LBUFFER}[-1]}
    # if user typed \alias, don't expand
    if [[ $raw == \\* ]]; then
        zle self-insert
        return
    fi
    if alias -- ${(q)word} &>/dev/null; then
        zle _expand_alias
        zle expand-word
    fi
    zle self-insert</code></pre>
}<p>zle -N globalias
bindkey ' ' globalias</p>
]]></description><pubDate>Thu, 26 Mar 2026 22:05:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=47536421</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=47536421</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47536421</guid></item><item><title><![CDATA[New comment by alkh in "Show HN: Mcp2cli – One CLI for every API, 96-99% fewer tokens than native MCP"]]></title><description><![CDATA[
<p>Can someone please explain how one would tell LLM to use such a CLI over a natively supported MCP server? Do you need to add the info about CLI into persistent memory(ex. AGENTS.md) and run an mcp server manually? Or it is something else?</p>
]]></description><pubDate>Mon, 09 Mar 2026 13:52:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=47309079</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=47309079</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47309079</guid></item><item><title><![CDATA[New comment by alkh in "Visual introduction to PyTorch"]]></title><description><![CDATA[
<p>Thank you, this seems like a very good intro to newcomers! Would be cool if you could continue these series with a few more advanced lessons as well</p>
]]></description><pubDate>Mon, 16 Feb 2026 22:25:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=47041201</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=47041201</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47041201</guid></item><item><title><![CDATA[New comment by alkh in "Oh My Zsh adds bloat"]]></title><description><![CDATA[
<p>Valid points, I learned something new today. Thanks, you were right. If using -ic flags I am getting around 300 ms... Interesting how I never noticed, guess I don't open many terminal during the day</p>
]]></description><pubDate>Sat, 10 Jan 2026 18:24:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=46568443</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46568443</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46568443</guid></item><item><title><![CDATA[New comment by alkh in "My article on why AI is great (or terrible) or how to use it"]]></title><description><![CDATA[
<p>Omg, this is so great, that you so much! Gonna set up a bunch of A320 warning sounds to scare me in case I am idle for too long :)</p>
]]></description><pubDate>Sat, 10 Jan 2026 06:20:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=46563287</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46563287</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46563287</guid></item><item><title><![CDATA[New comment by alkh in "Oh My Zsh adds bloat"]]></title><description><![CDATA[
<p>That's where I actually did it, by coincidence</p>
]]></description><pubDate>Sat, 10 Jan 2026 05:55:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=46563164</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46563164</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46563164</guid></item><item><title><![CDATA[New comment by alkh in "Oh My Zsh adds bloat"]]></title><description><![CDATA[
<p>Like many other people, I use oh-my-zsh for default setup and that's it. I literally use a single plugin for git and very actively autoload my custom functions to avoid startup delay. With my 384 line config and oh-my-zsh on, here are the results:<p>$ hyperfine -N "zsh -lc 'exit 0'" "zsh -c 'exit 0'"<p>Benchmark 1: zsh -lc 'exit 0'<p><pre><code>  Time (mean ± σ):      54.5 ms ±   6.3 ms    [User: 10.2 ms, System: 14.3 ms]

  Range (min … max):    38.1 ms …  64.9 ms    78 runs
</code></pre>
Benchmark 2: zsh -c 'exit 0'<p><pre><code>  Time (mean ± σ):       6.5 ms ±   1.4 ms    [User: 0.8 ms, System: 1.3 ms]

  Range (min … max):     3.9 ms …  14.2 ms    424 runs
</code></pre>
It's crazy how their startup time is 380 ms, and I suspect something else might be the reason, not just oh-my-zsh</p>
]]></description><pubDate>Sat, 10 Jan 2026 05:35:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=46563076</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46563076</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46563076</guid></item><item><title><![CDATA[New comment by alkh in "Assorted less(1) tips"]]></title><description><![CDATA[
<p>True. To combat that you can define a variable LESS with default options in your config file. In my case, I have export LESS='-R --quit-if-one-screen -i' (interpret escape sequences, cat input instead of showing it in a pager if it fits on a screen, enable smart-case searching)</p>
]]></description><pubDate>Sun, 04 Jan 2026 18:15:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=46490592</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46490592</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46490592</guid></item><item><title><![CDATA[New comment by alkh in "MyTorch – Minimalist autograd in 450 lines of Python"]]></title><description><![CDATA[
<p>Imho, we should let people experiment as much as they want. Having more examples is better than less. Still, thanks for the link for the course, this is a top-notch one</p>
]]></description><pubDate>Sun, 04 Jan 2026 05:39:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=46485277</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46485277</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46485277</guid></item><item><title><![CDATA[New comment by alkh in "Assorted less(1) tips"]]></title><description><![CDATA[
<p>Don't forget that you can enable syntax highlighting/file rendering(like pdf, markdown) in less with lesspipe <a href="https://github.com/wofr06/lesspipe" rel="nofollow">https://github.com/wofr06/lesspipe</a>. It is exteremely useful and improves readability a lot. What's nice is that this functionality is typically disabled in pipes, so you can be sure that your script will behave as intended.</p>
]]></description><pubDate>Fri, 02 Jan 2026 22:32:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=46470286</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46470286</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46470286</guid></item><item><title><![CDATA[New comment by alkh in "Go away Python"]]></title><description><![CDATA[
<p>Have to post this monstrocity that let's you either run a python script with uv or with python directly if uv is not installed(for some of my collegues)<p>#!/usr/bin/env bash<p>""":"<p>if command -v uv > /dev/null<p>then exec uv run --script "$0" "$@"<p>else<p>exec python3 "$0" "$@"<p>fi<p>":"""</p>
]]></description><pubDate>Tue, 30 Dec 2025 19:56:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46437281</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46437281</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46437281</guid></item><item><title><![CDATA[New comment by alkh in "Ghostty is now non-profit"]]></title><description><![CDATA[
<p>Thanks, looks cool but not available for OSX (:</p>
]]></description><pubDate>Fri, 05 Dec 2025 02:48:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46156333</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46156333</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46156333</guid></item><item><title><![CDATA[New comment by alkh in "Ghostty is now non-profit"]]></title><description><![CDATA[
<p>Yeah, exactly, like Ctrl+Alt+T opening Xterm in Ubuntu. If I am not mistaken, if you have a file explorer open it will automatically open terminal in that specific folder(i.e. kind of like `cd`ing there first)</p>
]]></description><pubDate>Wed, 03 Dec 2025 20:00:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=46139267</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46139267</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46139267</guid></item><item><title><![CDATA[New comment by alkh in "Ghostty is now non-profit"]]></title><description><![CDATA[
<p>The only thing I am missing now from Ghostty is being able to open it in any open Finder folder with a keyboard shortcut(like standard Ubuntu terminal). Ghostty already provides Finder-specific GUI shortcut but you need to use a mouse. Otherwise, stellar work(especially the ease of configuring it) and congrats to everyone involved!</p>
]]></description><pubDate>Wed, 03 Dec 2025 19:41:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=46139007</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=46139007</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46139007</guid></item><item><title><![CDATA[New comment by alkh in "Cognitive and mental health correlates of short-form video use"]]></title><description><![CDATA[
<p>Just want to thank you for the comprehensive extension list, this is very useful!</p>
]]></description><pubDate>Thu, 20 Nov 2025 00:26:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=45987218</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=45987218</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45987218</guid></item><item><title><![CDATA[New comment by alkh in "The Pragmatic Programmer: 20th Anniversary Edition (2023)"]]></title><description><![CDATA[
<p>I’m really glad I got it after stumbling across the original at my university library. It’s really nice reading it from time to time and getting inspired to become a better developer</p>
]]></description><pubDate>Mon, 17 Nov 2025 05:02:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=45950957</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=45950957</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45950957</guid></item><item><title><![CDATA[New comment by alkh in "State of Terminal Emulators in 2025: The Errant Champions"]]></title><description><![CDATA[
<p>Lol, mb, but I don't believe that's the case for Alacritty. As for the Apple Terminal, it is not great</p>
]]></description><pubDate>Mon, 03 Nov 2025 19:35:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=45803395</link><dc:creator>alkh</dc:creator><comments>https://news.ycombinator.com/item?id=45803395</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45803395</guid></item></channel></rss>