question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`epoch` should be renamed to its meaning

See original GitHub issue

Checklist

Description

Hello

I have a small suggestion that should improve the understandability of yt-dlp: epoch, the output template field name, states in its name that “it is of the type ‘Unix epoch’”.

This, unfortunately, leads to tedious questions and misunderstandings, because field names should not say what type they are from, but what content, what value they represent. Unfortunately, the help description is also vague, too:

epoch (numeric): Unix epoch when creating the file

I thought that epoch represents the time at which the YouTube Video / Audio file was produced. This is probably wrong: I suspect that the field records the time at which yt-dlp downloads the file.

Proposal: Rename the field epoch to download_timestamp

Because of the help text “epoch (numeric): Unix epoch when creating the file” one could also choose creation_timestamp, but then it is unclear which time is meant: the time when the video was produced? Or the time when the file was downloaded?

Therefore I think that download_timestamp would be the clearest and most useful name instead of epoch.

Thanks a lot, kind regards, Thomas

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

What is epoch and How to choose the correct number of epoch
The number of epoch will decide- how many times we will change the weights of the network. As the number of epochs increases,...
Read more >
Epoch Definition - DeepAI
An epoch is often mixed up with an iteration. Iterations is the number of batches or steps through partitioned packets of the training...
Read more >
Difference Between a Batch and an Epoch in a Neural Network
One epoch means that each sample in the training dataset has had an opportunity to update the internal model parameters. An epoch is...
Read more >
What is Epoch in Machine Learning?(2023) | UNext Jigsaw
An epoch in machine learning means one complete pass of the training dataset through the algorithm. This epoch's number is an important ...
Read more >
Anthropocene: is this the new epoch of humans? - The Guardian
The working group must first thrash out a definition of the anthropocene ... we're still within that period, and it's called the holocene....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found