<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: piotrrojek</title><link>https://news.ycombinator.com/user?id=piotrrojek</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 24 May 2026 23:51:18 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=piotrrojek" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by piotrrojek in "Show HN: CPU-only transcription for YouTube, TikTok, X, Instagram videos"]]></title><description><![CDATA[
<p>To be frank I didn't know there's such an option :-)</p>
]]></description><pubDate>Thu, 21 May 2026 11:58:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48221206</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=48221206</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48221206</guid></item><item><title><![CDATA[New comment by piotrrojek in "Show HN: CPU-only transcription for YouTube, TikTok, X, Instagram videos"]]></title><description><![CDATA[
<p>If someone is interested, this is my supershort zsh/bash scripts that I keep in .zshrc for doing the same thing using plain whisper.cpp, ffmpeg and yt-dlp (`brew install whisper-cpp yt-dlp` for Mac); I output it in vtt format (subtitles) though, but it's easy enough to change it to txt.<p><pre><code>  yt_to_srt() {
    local url="$1"
    local output_base="$2"
    local language="${3:-en}"

    yt-dlp -x --audio-format wav --postprocessor-args "-ar 16000" -o "$output_base.wav" "$url"
    whisper-cli --language "$language" --model "$WHISPER_MODEL" --split-on-word --max-len 65 --output-vtt --output-file "$output_base" --file "$output_base.wav"
    rm "$output_base.wav"
  }

  file_to_srt() {
    local filepath="$1"
    local language="${2:-en}"

    local filename=$(basename "$filepath")
    local filename_no_ext="${filename%.*}"
    local output_base="$filename_no_ext"
    local temp_wav="$output_base.wav"

    ffmpeg -i "$filepath" -vn -acodec pcm_s16le -ar 16000 -ac 1 "$temp_wav"
    whisper-cli --language "$language" --model "$WHISPER_MODEL" --split-on-word --max-len 65 --output-vtt --output-file "$output_base" --file "$temp_wav"
    rm "$temp_wav"
  }
</code></pre>
plus additional bootstrap script for large-v3-turbo model from my chez-moi dotfiles:<p><pre><code>  #!/bin/bash
  # Download whisper.cpp models from Hugging Face (runs once per machine).
  set -euo pipefail
  MODELS_DIR="$HOME/whisper-models"
  BASE_URL="https://huggingface.co/ggerganov/whisper.cpp/resolve/main"
  MODELS=("ggml-large-v3-turbo.bin" "ggml-tiny.bin")
  mkdir -p "$MODELS_DIR"
  for model in "${MODELS[@]}"; do
    if [ ! -f "$MODELS_DIR/$model" ]; then
      echo "Downloading $model..."
      curl -L --progress-bar -o "$MODELS_DIR/$model" "$BASE_URL/$model"
    else
      echo "$model already exists, skipping."
    fi
  done
  echo "Whisper models ready at $MODELS_DIR"</code></pre></p>
]]></description><pubDate>Thu, 21 May 2026 05:45:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=48218363</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=48218363</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48218363</guid></item><item><title><![CDATA[New comment by piotrrojek in "GraphRAG is now on GitHub"]]></title><description><![CDATA[
<p>Replying to my own comment - it's trivially possible to replace `api_base` in settings.yaml. The only problem is that Ollama doesn't support OpenAI style embedding endpoint yet. But looking through PRs to Ollama, this is very close to being merged.
All steps before actual embedding work fine with e.g. Llama3-8B.</p>
]]></description><pubDate>Wed, 03 Jul 2024 09:06:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=40864134</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=40864134</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40864134</guid></item><item><title><![CDATA[New comment by piotrrojek in "GraphRAG is now on GitHub"]]></title><description><![CDATA[
<p>Does anyone know how to run it against Ollama?</p>
]]></description><pubDate>Tue, 02 Jul 2024 19:54:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=40859901</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=40859901</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40859901</guid></item><item><title><![CDATA[New comment by piotrrojek in "Tiny GPU: A minimal GPU implementation in Verilog"]]></title><description><![CDATA[
<p>Really awesome project. I want to get into FPGAs, but honestly it's even hard to grasp where to start and the whole field feels very intimidating.
My eventual goal would be to create acceleration card for LLMs (completely arbitrary), so a lot of same bits and pieces as in this project, probably except for memory offloading part to load bigger models.</p>
]]></description><pubDate>Thu, 25 Apr 2024 10:34:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=40155728</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=40155728</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40155728</guid></item><item><title><![CDATA[New comment by piotrrojek in "Internet traffic in Israel surged 170% right after the Hamas attack"]]></title><description><![CDATA[
<p>Slightly offtopic, but it's interesting to read comments from that day knowing what we know now. Especially those stating that there will be no conventional war nor loss of life.</p>
]]></description><pubDate>Sat, 07 Oct 2023 17:50:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=37803891</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=37803891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37803891</guid></item><item><title><![CDATA[New comment by piotrrojek in "OCR at Edge on Cloudflare Constellation"]]></title><description><![CDATA[
<p>What's the best for OCR currently that I could deploy for myself? Like time I tried Tesseract 5 I wasn't too impressed.</p>
]]></description><pubDate>Mon, 03 Jul 2023 12:50:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=36572170</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=36572170</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36572170</guid></item><item><title><![CDATA[New comment by piotrrojek in "Motors for Makers: A Guide to Steppers, Servos, and Other Electrical Machines (2015)"]]></title><description><![CDATA[
<p>Am I missing something? It doesn't seem like this book is available online to read, just TOS and link to Amazon to buy paperback version.</p>
]]></description><pubDate>Wed, 25 Jan 2023 11:15:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=34516977</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=34516977</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34516977</guid></item><item><title><![CDATA[New comment by piotrrojek in "I've Listened to Loud Rock Music All My Life. Now My Hearing Is Paying the Price"]]></title><description><![CDATA[
<p>Lots of comments about ear-plugs for concerts and such. I'd like to remind every motorcycle rider to buy them too! Especially if you're riding a naked bike. Going moderately high speed on a highway for two hours made my ears ring for another couple of hours after I reached the destination.<p>There are special ear plugs for riders too, that would cut out the wind noise, while you're still able to hear your engine, other occupants of the road and comms inside helmet if you do ride with intercom.</p>
]]></description><pubDate>Tue, 12 Mar 2019 10:25:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=19366762</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=19366762</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19366762</guid></item><item><title><![CDATA[New comment by piotrrojek in "Suggestionbox: Personalization and recommendation machine learning for Docker"]]></title><description><![CDATA[
<p>i love how machinebox provides excellent developer experience, other companies should learn from these guys</p>
]]></description><pubDate>Wed, 31 Jan 2018 19:49:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=16276948</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=16276948</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16276948</guid></item><item><title><![CDATA[Vice – Go channels across multiple machines with message queues]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/matryer/vice">https://github.com/matryer/vice</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=14875226">https://news.ycombinator.com/item?id=14875226</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 28 Jul 2017 16:01:23 +0000</pubDate><link>https://github.com/matryer/vice</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=14875226</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14875226</guid></item><item><title><![CDATA[New comment by piotrrojek in "Spacemacs 0.105.0 released"]]></title><description><![CDATA[
<p>I don't have any experience in neither Vim, nor Emacs. Should I try it? Looks awesome.
Also - is there any way to add Go (golang) support?</p>
]]></description><pubDate>Mon, 04 Jan 2016 20:05:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=10838125</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=10838125</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=10838125</guid></item><item><title><![CDATA[New comment by piotrrojek in "The Vector Space of the Polish Parliament in Pictures"]]></title><description><![CDATA[
<p>Thanks! I'll experiment with neo4j (graph db) and let's see what can we learn more about our politicians.</p>
]]></description><pubDate>Thu, 02 Jul 2015 18:28:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=9820676</link><dc:creator>piotrrojek</dc:creator><comments>https://news.ycombinator.com/item?id=9820676</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=9820676</guid></item></channel></rss>