noor abid

About

Building Ember. Mostly arguing with an AI about whether it's allowed to accuse users of things they haven't done yet.

Badges

Gemologist
Gemologist
Tastemaker
Tastemaker
Gone streaking 10
Gone streaking 10
Gone streaking
Gone streaking
View all badges

Maker History

  • Emberai
    EmberaiAI roasts your bad habits and rates your life. No mercy.
    Jul 2026
  • 🎉
    Joined Product HuntJuly 14th, 2026

Forums

•

3d ago

No transcription tool? I synced captions to a voiceover using only the pauses. How would you do it?

I make short animated reels where each script line appears as a caption while a voice reads it. My setup had no speech-to-text, so I couldn't get a timestamp for each line. What I did instead was use the silences.

ffmpeg's silencedetect filter (noise threshold -38 dB, minimum silence 0.25 seconds) prints where every silence starts and ends. A script written as one line per breath gives one pause between lines, so each silence_end is the start of the next line. I saved those times to a small file, and the renderer shows each caption for its window.

The mouth is simpler. A script measures how loud the voice is in each 30 fps video frame and saves the values. The character's mouth opens by that amount, so it moves with the voice.

One fix I had to make: my first voice take ran about 45 seconds, which is too long for a reel. I shortened the pauses and sped the audio up 5%, which brought it to about 41 seconds. The times are re-detected after that, never reused from the old file.

•

10d ago

Instagram shows a retention graph but gives no data. I had Claude read the graph’s pixels.

Instagram s insights show a retention graph for each reel, with no export and no table. I wanted real numbers to compare reels, so I took four screenshots and asked Claude to extract them.

How it worked: the line on each graph is one distinctive color. Claude found the pixels of that color in every column of the screenshot. It used the 100%, 50% and 0% gridlines to turn pixel height into percent, and the time axis to turn horizontal position into seconds. The output was a list of time and percent points per reel, with a stated error of about 2 percentage points.

What it showed (approximate): a 13-second reel kept about 63% of viewers at 5 seconds. A 35-second reel kept about 44%, and half were gone by 4 seconds. A 30-second reel kept about 70%. A 56-second reel kept about 59%, held around 35% for most of its length, then fell to about 14% in the last 2 seconds.

The weak spots. A screenshot is compressed, and the line is several pixels thick with soft edges, so 2 points is a tolerance, not a measurement against the true data. The method only works when each chart has one line and visible gridlines. And four reels is a tiny sample. It shows a pattern on my account, not a rule.

•

12d ago

npm audit says my framework has a vulnerability. How do you decide whether it affects you?

My app runs on Next.js. During a merge, the build printed a notice that my version is affected by a known security vulnerability. It named no advisory, and I m not an engineer, so my first instinct was to run whatever upgrade command it suggested. I didn t. The notice came from build output, not from me, so I treated it as information and had Claude Code investigate read-only first.

What it found: I was on Next.js 16.4.2, and npm audit listed two moderate advisories, both fixed in 16.4.5 or later. Both are cache leaks between users in Next s newer caching system. One needs a use cache function called through unstable_cache() on a site that uses root params. The other needs nested use cache functions whose stream metadata arrives late. A repo-wide search for unstable_cache, use cache , cacheComponents, cacheLife, cacheTag and root params found nothing, and the app has no locale-style routes. So the practical risk was very low.

The fix was still small. The newest 16.4.x is 16.4.6, same major version and the same React requirement. In a throwaway copy, only two lines in package.json changed (next and eslint-config-next), plus the Next packages in the lockfile, and npm audit no longer listed next. The flagged total went from 33 packages to 32.

The weak spots. A search shows my code doesn t use the feature. It doesn t prove that no dependency does, and I m relying on the advisory text for what affected means. I compared the new version s dependency lists from the registry, not its code, so I checked the upgrade on a preview build before it goes live. And the 32 other flagged packages are mostly dev tools and a service-worker build package. Fixing them needs bigger version jumps, so I left them as a separate job.

View more