Emmanuel Ortiz
Emmanuel Ortiz
Hello, what if we add `delete` as a `soft delete` that performs a `rename` to a random name and `disable` it?
@lryong I wasn't able to replicate the result of `golangci-lint`, but it seems to be related to the `smtpTimeout = 30 * time.Second` unused variable. I believe it should pass...
The json output remains unaffected in the latest version. I prefer simplicity, hence the callback only receives `totalBytes, downloadedBytes`. With these, eta, speed, progress bars can be easily calculated. Sending...
Currently, I am using the following [commit](https://github.com/eos175/go-ytdlp/commit/57adbd1c3422efd7eec1c616a6fcb60fc557ab6e) I use it as follows: ```go dl := ytdlp.New(). PrintJSON(). Format("251"). Output("%(extractor)s - %(title)s.%(ext)s"). SetProgress(100*time.Millisecond, func(totalBytes, downloadedBytes int, status string) { if totalBytes...
If it were a database, yes, but since it is a cache, its data is volatile. The use that i am giving it is to avoid the cold cache.
what do you think of this? ``` version 4 | create_at 4 ... crc 2 | key_size 2 | value_size 4 | expire_at 4 | key N | value N...
A single crc at the end of the file? I propose that each entry has a checksum, it can be xxhash, crc32... and only use 2 bytes.
> On restore, we will load all the entries at once, so a singe checksum will be sufficient. the problem is that it must be read 2 times, first to...
> > > On restore, we will load all the entries at once, so a singe checksum will be sufficient. > > > > > > the problem is that...
Hello! The method it uses is intrusive it fully opens a TCP connection, which means the kernel will hand over the connection to the program. By not sending the final...