MurphyA/hacker-news huggingface dataset:
Show HN: CLI for writing SYLT synced lyrics to MP3 files
by mogita | 2025-11-02 07:39:40+00:00
I was setting up Navidrome on my home lab and discovered its web interface supports synchronized lyrics, but only in a SYLT format which I never heard of. I wanted to display lyrics for my early song demos, so I tried a few existing tools that claimed to write SYLT lyrics. None of them worked.

Turns out SYLT is just a specific ID3 tag type, so I needed to write proper ID3v2 tags. I found the excellent https://github.com/n10v/id3v2 library and built go-sylt on top of it to solve this specific problem. The tool reads from common formats (LRC, SRT, VTT) to make it easy to add synced lyrics.

One limitation: go-sylt only supports ID3v2.3 and ID3v2.4. If you have older ID3 versions, you'll need to convert them first (I use Kid3 for this).

I only discovered this pretty obscure format existed through Navidrome. But if anyone else has run into this issue, I hope this helps. Happy to answer questions!
by refurb | 2025-11-02 07:39:45+00:00
I think you're confused about civil versus criminal violations. Just because a violation is civil does not mean it can't have serious consequences.

JP Morgan was sloppy in it's mortgage approvals contributing to the financial crisis of 2007. Do you think that's not a serious matter? That was entirely a civil, not criminal matter.

And overstaying a visa has serious consequences. It's not a fine and you can go on living in the US illegally. You will be deported and receive a 3-10 year ban on re-entry. Reenter again and it's criminal matter.

But you're also ignoring the numerous criminal violations that occur with illegal immigration. Illegal entry, reentry after deportation, immigration fraud, using fraudulent documents, human trafficking, recieving social services reserved for citizens. All of these are criminal violations.

And no, investigating a possible civil or criminal matter and detaining people while you conduct your investigation has nothing to do with due process. Police and immigration officials need these limited powers to do their job. Each of these people detained will either be released or stand in front of a judge, which shows they received due process.
by alyxya | 2025-11-02 07:39:50+00:00
More generally, it's often worth learning and understanding things one step deeper. Having a more fundamental understanding of things explains more of the "why" behind why some things are the way they are, or why we do some things a certain way. There's probably a cutoff point for balancing how much you actually need to know though. You could potentially take things a step further by writing the backwards pass without using matrix multiplication, or spend some time understanding what the numerical value of a gradient means.
by astrocadeai | 2025-11-02 07:40:20+00:00
Astrocade is an AI game generator and game maker built for players and creators. Create games with AI in minutes using natural-language prompts and no-code, user-friendly tools. Our generative AI platform automates art, animation, sound, and gameplay mechanics so beginners and professionals can design, iterate, and publish fast. Join a global UGC gaming community to build, share, discover trending interactive experiences, and play instantly on a leading social gaming platform. Get started today and create your own game.

Website : https://www.astrocade.com/ Phone: 650-223-5338 Email: info@astrocade.com

Address: 265 Mount Hamilton, Los Altos, CA 94022, United States
by JonathanBeuys | 2025-11-02 07:40:43+00:00
Do I understand your logic correctly that after 14 years of 30% growth another year is extremely unlikely and after 14.99 years it is almost impossible?

My logic is that we only have to take the next 10 years into account when calculating the probability.

And lots of things grew 30% or more for 10 years.

Bitcoin's market cap grew over 70% pa for 10 over years now.

Amazon's revenue grew over 60% pa for over 10 years in their early days.

I can think of many numbers, but would have to check: global solar installations, smartphone usage are examples that come to mind.
by solumunus | 2025-11-02 07:41:15+00:00
All I can say is when I switched from Cursor to Claude it took me less than 24 hours to realise I wouldn’t go back. The extra UI Cursor slaps on to VS Code is just bloat, which I found quite buggy (might be better now though), and the output was nowhere near as good. Maybe things have improved since I switched but Claude CLI with VS Code is giving me no reasons to want to try anything else. Cursor seemed like a promising and impressive toy, Claude CLI is just a great product that’s delivering value for me every day.
by rendaw | 2025-11-02 07:41:21+00:00
Iris-opt seems to be pioneering ChLCD so there's probably some bias here, but I'd never heard of ChLCD before and it looks great.

There are some more examples here https://www.genetouch.com/page/news/show.aspx?num=74&lang=US

Is Spectra 6 the current top contender from E-Ink? I can never figure out their lineup. Not Gallery Plus?
by conradludgate | 2025-11-02 07:43:26+00:00
I frequently use single threaded async runtimes in Rust. Particularly if it's background processing that doesn't need to be particularly high throughput.

Eg in a user application you might have the performance sensitive work (eg rendering) which needs to be highly parallel - give it a bunch of threads. However when drawing the UI, handing user input, etc you usually don't need high throughput - use only 1 thread to minimise the impact on the rendering threads

In my work with server side code, I use multiple async runtimes. One runtime is multithreaded and handles all the real traffic. One runtime is singlethreaded and handles management operations such as dispatching metrics and logs or garbage collecting our caches
by phil21 | 2025-11-02 07:43:42+00:00
The primary reason the invasion of Afghanistan failed was because the US tried to pretend it wasn’t an invasion or domination. Telling the local warlords and factions beforehand they just had to outlast things was a plan doomed to failure before it even began.

If the government had sold “we are making this place the 51st state and it will take 100 years to make that happen” there would be an entirely different outcome.

I’m not saying that’s what should have happened. I actually feel nothing should have happened. But if you are going to take extensive lethal action like that, at least man up and be honest over what it will take to be successful.

The US populace is bizarrely afraid of admitting they live the amazing lives they do due to empire. It’s politically untenable to actually state the reality of what it takes to subjugate a population, no matter if the death numbers are similar for abject pointless failure versus eventual success.
by blub | 2025-11-02 07:44:02+00:00
The general problem is that there’s a lot of activists online nowadays. I used to call myself an activist, but now it’s a dirty word which I associate with obsessive behaviour, harassment, cancellation attempts and being generally obnoxious with the purpose of achieving some goal.

I think it’s a combination of religion decreasing in importance and social media driving people mildly nuts. Many undertakings are collecting “true believers”, turning into their religion and social media is how they evangelize.

Rust is a pretty mild case, but it still attracts missionaries.

So, the people are different, Western society’s different and social media’s giving everyone a voice while bringing out the worst in them.
by drnick1 | 2025-11-02 07:45:06+00:00
My main objection to Rust is how ugly it looks. Why did they have to change things such as how types and functions are defined? I really hate keywords such as def, fn, and other "explicit" function declarations. Also all the :: and <> from C++. Language-wise Java and C# did a much better job at introducing the features they needed without breaking the readability and familiarity of C.
by JonathanBeuys | 2025-11-02 07:47:12+00:00
I would think that no matter what the percentage of AI in the revenue is - mankind keeps automating their work via software. And so far, we automated only very little. We probably can keep increasing it at 30% pa for 10 years. That would mean we just automate 14x more than we do now. In 10 years, that seems not even fast to me.
by almosthere | 2025-11-02 07:47:12+00:00
Start here and just roll down. Majority of incidents are Islamic related:

https://en.wikipedia.org/wiki/List_of_terrorist_incidents_in...

There are a bunch of thwarted attacks too, here's one where an Islamic person was planning to attack London's Pride parade:

https://news.sky.com/story/mohiussunnath-chowdhury-extremely...

Also, this might help people in the future:

https://pbs.twimg.com/media/G4s4tkOWEAA2R3O?format=jpg&name=...
by cookiengineer | 2025-11-02 07:49:04+00:00
This demo is pretty great, I love it!

And it reminded me a little about NeuralOS, which appeared here a couple months ago [1]. NeuralOS is different though as they decided to just skip the UI part, too, and let the UI generate based on intent.

Maybe together with your approach we can finally reproduce all the funny holodeck bugs from Star Trek!

[1] https://github.com/yuntian-group/neural-os
by weinzierl | 2025-11-02 07:50:11+00:00
"Unfortunately, Cloudflare is pretty much the only reliable way to protect against bots."

With footnote:

"I don’t know if they have any good competition, but “Cloudflare” here refers to all similar bot protection services."

That's the crux. Cloudflare is the default, no one seems to bother to take the risk with a competitor for some reason. They seem to exist but when asked people can't even name them.

(For what it's worth I've been using AWS Cloudfront but I had to think a moment to remember its name.)
by throwaway7356 | 2025-11-02 07:51:10+00:00
> A minimal Debian installation doesn't contain bash, but rather dash, which doesn't support bash extensions.

Please don't make up wrong facts that would be trivial to check first.

All minimal Debian installations include bash as it is an essential package. Where essential is used in the sense of https://www.debian.org/doc/debian-policy/ch-binary.html#esse...
by blackbear_ | 2025-11-02 07:51:40+00:00
Two thoughts:

> how important is computing the exact gradient using calculus

Normally the gradient is computed with a small "minibatch" of examples, meaning that on average over many steps the true gradient is followed, but each step individually never moves exacty along the true gradient. This noisy walk is actually quite beneficial for the final performance of the network https://arxiv.org/abs/2006.15081 , https://arxiv.org/abs/1609.04836 so much so that people started wondering what is the best way to "corrupt" this approximate gradient even more to improve performance https://arxiv.org/abs/2202.02831 (and many other works relating to SGD noise)

> vs just knowing the general direction to step

I can't find relevant papers now, but I seem to recall that the Hessian eigenvalues of the loss function decay rather quickly, which means that taking a step in most directions will not change the loss very much. That is to say, you have to know which direction to go quite precisely for an SGD-like method to work. People have been trying to visualize the loss and trajectory taken during optimization https://arxiv.org/pdf/1712.09913 , https://losslandscape.com/
by deemkeen | 2025-11-02 07:52:07+00:00
Thanks for the thoughtful pointers — super helpful.

Where diffwatch is today: it’s a portable directory watcher (fsnotify → inotify/FSEvents/ReadDirectoryChangesW) that coalesces events and renders live unified diffs in a tiny TUI.

What I’m planning based on your suggestions (and others here):

1. Two-tier design

Default (no admin): keep the current directory-watch mode for quick, portable use.

Power mode (attach): diffwatch attach --pid <PID> | --cmd "<…>" to trace a process and its children and feed any touched paths into the same diff UI.

2. Per-OS backends for “attach”

Linux: eBPF/bpftrace when available; fallback to strace -ff -e trace=file for zero extra deps.

macOS: opensnoop / fs_usage (DTrace-based).

Windows: ETW (Kernel File provider) via a tiny helper (e.g., KrabsETW) that streams JSON events.

3. Admin rights caveat

macOS (DTrace) and Windows (ETW kernel) typically require admin. I’ll keep the default dir-watch mode as the “no-admin” path, and document the elevated-rights requirement clearly for “attach”.

4. Normalized event stream

All backends emit a common JSON line: {"ts": "...", "pid": 1234, "op": "create|write|rename|unlink|close", "path": "..."} Then a short stability window (debounce + retry on transient ENOENT) before reading to diff.

5. Scalability & ergonomics

Handle editor/atomic-save tempfiles gracefully.

Respect .gitignore and add --exclude/--include globs.

Guardrails for watch count limits; skip non-regular files; optional --record (NDJSON) and --save-patch.

6. Containers / agents

Nice follow-on: diffwatch attach --cmd ... inside a container (or attach by PID in the container namespace) to confine the blast radius for agent runs.

Ask: I’d love help and pointers to minimal tracer scripts:

A small bpftrace/DTrace snippet that reliably captures opens/writes/renames for a PID(+children).

A tiny Windows ETW consumer example focused on File I/O, filtered by PID, emitting JSON.

Repo: https://github.com/deemkeen/diffwatch I’ll open issues for:

“Attach mode” backends (Linux/macOS/Windows)

.gitignore/globs

Event coalescing + transient ENOENT handling

JSON recording / patch export

If you or anyone wants to collaborate, I’ll tag them good first issue / help wanted and am happy to review PRs quickly. Thanks again for the nudge to go beyond plain FS events — the PID/container “attach” mode should make agent debugging much more robust.
by indigoabstract | 2025-11-02 07:52:53+00:00
Interesting idea, it never crossed my mind, but maybe we can take it further?

Let's say, in the future, when AI learns how to build houses, every time I want to sleep, I'll just ask the AI to build a new house for me, so I can sleep. I guess it will have to repurpose the old one, but that isn't my concern, it's just some implementation detail.

Wouldn't that be nice?

Every night, new house?
by mariusor | 2025-11-02 07:54:28+00:00
With all due respect, but almost all I see in this thread is people looking down their nose at a proven solution, and giving advice instead of doing the work. I can see how you are a _very important person_ with bills to pay and money to make, but at least have the humility of understanding that the solution we got is better than the solution that could be better if only there was someone else to think of it and build it.
by _kidlike | 2025-11-02 07:57:54+00:00
but we do... 4 years after Rust, we got a first glimpse at Zig. Even today, there's a lot of people that believe that Zig would have been a better choice for the Linux kernel than Rust.

And the answer to "why now" is quite simple - Because of the whole Rust in kernel debate, people started scrutinizing the situation.
by throwaway290 | 2025-11-02 07:58:51+00:00
And to all the LLM heads here, this is his work process:

> Yesterday I was browsing for a Deep Q Learning implementation in TensorFlow (to see how others deal with computing the numpy equivalent of Q[:, a], where a is an integer vector — turns out this trivial operation is not supported in TF). Anyway, I searched “dqn tensorflow”, clicked the first link, and found the core code. Here is an excerpt:

Notice how it's "browse" and "search" not just "I asked chatgpt". Notice how it made him notice a bug
by joaquincabezas | 2025-11-02 08:03:58+00:00
I took a course in my Master's (URV.cat) where we had to do exactly this, implementing backpropagation (fwd and backward passes) from a paper explaining it, using just basic math operations in a language of our choice.

I told everyone this was the best single exercise of the whole year for me. It aligns with the kind of activity that I benefit immensely but won't do by myself, so this push was just perfect.

If you are teaching, please consider this kind of assignments.

P.S. Just checked now and it's still in the syllabus :)
by afiori | 2025-11-02 08:05:22+00:00
You can see it another way: everyone wants to be the one that controls access to services; it is what search and news aggregators have in common.

Even if pizza hut wanted people to order pizza the most efficiently with no time wasted it would still want it to happen on their own platforms.

Because if people went to all-pizzas.com for their pizza need then each restaurant and chain would depend on them not to screw them up
by supermatt | 2025-11-02 08:07:22+00:00
What subsequent developments? It sounds like you are alluding to the DMA.

The DMA is an attempt to reclassify what “market” means in the modern age where we have a global tech oligopoly. This is because a simple “test” for monopolism doesn’t work in this world of multinational megacorps.

Again, your complaint is a double standard. You are doing similar in the USA - albeit without an actual structured act - as per the recent rulings on the Google Play store.

The EU has simply codified the rules for their vision of the future where people aren’t beholden to a handful of tech overlords, whereas the USA is making similar incremental “changes” through case-law. I’m not saying either way is correct, but it seems like they are both headed in the same direction.
by yorwba | 2025-11-02 08:08:25+00:00
One problem with testing one change at a time is that if you can only run a small number of experiments because each one requires many GPU hours to get results, you can also only test a small number of changes. If you can come up with and implement new changes much more easily than you can test them, it would be more efficient to test multiple changes at a time and use some form of Bayesian optimization to find the best combination of changes with as few experiments as possible.
by ThrowMeAway1618 | 2025-11-02 08:09:53+00:00
>So the model is verifying faces against ... A database of zero faces? Surely there's 200M faces in there, or else how does it work?

No. The model is, "Hey! this guy is being a pain in the ass. He even claimed that The President wasn't blessed with superintelligence and doesn't actually smell really good!

We need to get this terrorist off the streets! He sure looks a whole lot like that illegal on the FBI most wanted list, doesn't he? Off to CECOT with him!

What's that? He's a twelfth generation citizen? No way! Look, the app I used to claim this guy matches an illegal who's also a child rapist!

Your papers are all fake (if, as a citizen he's even carrying them). Onto the plane with you Senor.

That's the model. Feel free to disagree, but come back and reread this comment in 18 months. I hope you read it then and think "what a paranoid guy! Nothing like that could ever happen here!" But I'm not holding my breath. :(
by heavyset_go | 2025-11-02 08:12:25+00:00
ffmpeg is deployed everywhere, and old versions of ffmpeg are baked into a lot of devices.

If you have a device that does image, audio or video, libav and/or ffmpeg is likely somewhere in the stack. Your TV, camera, console or streaming device might use the software.

If you're using SaaS that does image, audio or video, they are likely using ffmpeg related software somewhere in their stack.

Same thing with apps, Android and iOS apps might use the libraries, as well as desktop apps.
by matsemann | 2025-11-02 08:14:42+00:00
What are you on about? I genuinely don't understand your point. Of course they make money by selling pizzas, not something else. And they've figured the way to maximize that is by having a brand and a presence and own the customer relationship, thus people buy from then.

If they end up as just a pizza-api they have no moat and are trivially replaced by another api and bakery, and will make less money.
by defrost | 2025-11-02 08:15:02+00:00
I know it from amateur radio, emergency services, and maritime communications, it's "officially" the International Radiotelephony Spelling Alphabet, shorthanded by some as the NATO Alphabet.

Others may know it by virtue of being fans of, or simply exposed to the Bloodhound Gang.

( FWiW I'm neither in nor from middle North America )
by Animats | 2025-11-02 08:16:13+00:00
The article doesn't address the hard problem of figuring out array sizes. There's some work going on as part of the DARPA TRACTOR program to work on that. This area, of course, is the usual cause of buffer overflows.

The goal is to convert C pointers to Rust arrays, pointer arithmetic to Rust slices, and array allocations to Vec initialization. The hard problem is figuring out the sizes of arrays, which is going to require global analysis down the call chain.

If you're going to publish papers on this, please address that problem.
by neumann | 2025-11-02 08:20:20+00:00
I've given up on America. Democracy has essentially been destroyed in front of our eyes. So many of the current ICE and administrations acts are clearly setting up/testing response to secure the midterms through fear, intimidation, corruption, and blatant disregard for the law. And it will succeed because there is no one at this stage in authority to speak up, and they already fired anybody who wasn't aligned/acolytes.

Now I just hope these Nazi tactics don't continue to become a playbook in my country. Meanwhile, actual Nazis are emboldened and encouraged.
by asim | 2025-11-02 08:21:25+00:00
I donate part of my wealth to the poor every year and whatever more I feel is adequate based on a code of law e.g religion. I am just an individual. If I was a multi billion dollar conglomerate that incentive would be much higher. To bring the world out of poverty is to enrich all of humanity and my work would benefit from that as more people would benefit from the technology I built. But if the incentive is to spend everything and borrow more to build data centers to fuel addictive services and exploit people then this is quite a disservice to mankind.
by hdjrudni | 2025-11-02 08:21:39+00:00
This one company I worked for created like 5 databases for every client they had.

So we had hundreds of databases. And no migrations or way to keep them in sync.

One day I got fed up and ran some statistical analysis on all the databases to find inconsistencies and figure out what the most popular schemas were, because sometimes even when they had the same table and column names, the types were slightly different.

I don't recall if I managed to get them all in sync before I quit.