Hacker Newsnew | past | comments | ask | show | jobs | submit | jftuga's commentslogin

I am researching go-string-concat-benchmark [1]:

    A performance comparison of four common Go string building methods.
___

I recently updated my go-stats-calculator to include many more stats [2]:

    CLI tool for computing statistics (mean, median, variance, std-dev, skewness, etc.) from files or standard input.
___

I also created claude-image-renamer [3]:

    AI-powered image renaming script that generates descriptive filenames for screenshots. 
___

[1] https://github.com/jftuga/go-string-concat-benchmark

[2] https://github.com/jftuga/go-stats-calculator

[3] https://github.com/jftuga/claude-image-renamer


Cool project. Do you have a repo for it?


I just made the repository public, it's in "works on my machine state" but happy to hear feedback!

https://github.com/dewey/birdhomie


Script to auto-rename screenshots with Claude Code

I'm sure there are a ton of other projects out there that do this, but I couldn't find one that fit my needs exactly, so I threw this together in a few hours.

claude-image-renamer uses Claude Code CLI to analyze screenshots and rename them to something actually usable. It combines OCR text extraction with Claude's vision capabilities, so instead of "Screenshot 2025-12-29 at 10.03.10 PM.png" you get something like "vscode_python_debug_settings.png".

A few things it does:

    Handles those annoying macOS screenshot filenames with weird Unicode characters
    Uses OCR to give Claude more context for better naming
    Keeps filenames clean (lowercase, underscores, max 64 chars)
    Handles naming conflicts automatically
If you're on macOS, you can also set this up as a Folder Action so screenshots get renamed automatically when they are saved to a folder, typically ~/Desktop. This is useful if you take a lot of screenshots and hate digging through "Screenshot 2025-12..." files later.

GitHub: https://github.com/jftuga/claude-image-renamer


Very interesting! This inspired me in making something similar to clean up my old "Download" folders from 10 years ago that are full of screenshots and random images, but I would also need it to preserve the "last-modified" of the file otherwise when I sort by date it would show me all the renamed images.


Very cool, I do something similar! except I don't rename the image, but I have the LLM create a matching text file in a separate folder with a description of everything in the image and a guess of the possible reasons why I took a screenshot.

I use screenshot on my phone to remember stuff, so this way it's super easy to search those text files if I'm trying to find something that I only vaguely remember.

Remembering specific words is hard for me, but I can get neighboring words and get in the ballpark, and simple text search or claude code gets me the rest of the way.

The screenshot gets uploaded from my phone to Dropbox, then on my desktop at home a script just periodically checks if there's any new screenshots. It's been running since Jan of last year, so coming up on a year now.


I'm doing it with gemini-cli: 1. analyze '/Users/YOURNAME/Movies/' and for each mp4 file give a meaningful name base on the content of the video 2. analyze '/Users/YOURNAME/Pictures/' and for each image file give a meaningful name base on the content of the image


For single-purpose LLM tools, I personally prefer ollama. idk if you can make the provider agnostic or not


I bet you are running some personal server or tinkering VM. Why not use a dedicated, coherent tool like Immich to manage all your image organisation needs? I don't see how this renaming would help me in any way, to make use of old screenshots left in random places.


Maybe instead of shooting people down in “What are you working on” threads (I see you have priors), you can instead share something cool that you’re working on.


For my home lab, I built a 3 node Talos (from https://www.talos.dev/) cluster from older Dell Optiplex systems. I am using:

    MetalLB - https://metallb.io/ load balancer

    Traefik - https://doc.traefik.io/traefik/getting-started/quick-start-with-kubernetes/ ingress

    Local Path - https://docs.apps.rancher.io/reference-guides/local-path-provisioner storage
Open to suggestions.


This is a well-thought-out critique. Thanks for sharing your insights.


> General day to day is creating jobs that will process large amounts of input data and storing them into Snowflake

About how long do these typically take to execute? Minute, Tens of Minutes, Hours?

My work if very iterative where the feedback loop is only a few minutes long.


Depends on the dataset anywhere from seconds to tens of minutes depending on preprocessing needed.


Some of the largest are a few billion rows and we sample randomly when developing code then execute it on all


I'd be curious to know transactions per second (or other metrics) before and after the suggested changes.


Indeed. The post can be more interesting with proper metrics to backup the impact of each change.


Has anyone tried using zram inside of various K8s pods? If so, I'd be interested in knowing the outcome.


Inside the pods it makes no sense, but I do enable it on some memory-constrained worker nodes. Note that the kubelet by default refuses to start if the machine has any swap at all.


This was a funny take on it...

https://archive.ph/o4q5Z


From that thread:

> When you forget to provide the context that you are AWS…

> Claude:

> Ah I see the problem now! You’re creating a DNS record for DynamoDB but you don’t need to do that because AWS handles it. Let me remove it for you!

> I’ll run your tests to verify the change.

> Tests are failing, let me check for the cause.

> The end-to-end tests can’t connect to DynamoDB. I will try to fix the issue.

> There we go! I commented out the failing tests and they’re all passing now.


Slightly better link that filters to only to "Sources" (no forks) and also by number of Stars.

https://github.com/sharkdp?tab=repositories&q=&type=source&l...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: