Posts

Showing posts from July, 2025

The type or namespace name 'Builder' does not exist in the namespace 'System.CommandLine'

Agregando una version anterior: dotnet add package System.CommandLine --version 2.0.0-beta1.20158.1  Lo agrega al .csproj pero falla el Build. Unas horas más tarde ... Maravillosamente, y luego de repetir el proceso varias veces, en el que, de nuevo, rm bin/ y dotnet run, con downgrade para System.CommandLine, pues --prerelease instala la más reciente, version="2.0.0-beta3.22114.1" en el csproj, llego a obtener solo este error: The type arguments for method 'Handler.SetHandler<T>(Command, Action<T>, params IValueDescriptor[])' cannot be inferred from the usage. Try specifying the type arguments explicitly. Otras horas más tarde ...  ¡No mamar!: ya me salió, tras una breve revisión de los parámetros (churrazo): poner <string,string> aquí addLinkCommand.SetHandler<string,string>(OnHandleAddLinkCommand, nameOption, urlOption); Por esto: var nameOption = new Option<string> var urlOption = new Option<string> Cfr. source code Building CLI...

showing timeline throught javascript

Image
Using W3Schools HTML and CSS timeline design , and  code a JavaScript timeline , get showing timeline ... const events = [  { date: 2017, descrip: "Lore ipsum ..." },  { date: 2018, descrip: "Lore ipsum ..." },  { date: 2019, descrip: "Lore ipsum ..." }, ];  const timeline = document.getElementById("timeline")  /* Loop for enumerable property names of an object */ for (let i=0; i<events.length;i++) {     // Displays elements     const eventContent = `         <div class="container ${i % 2 == 0 ? 'right' : 'left'}">             <div class="content">                 <h2>${events[i].date}</h2>                 ...

solved ERROR You installed yt-dlp from a manual build or with a package manager

So, you have forgotten how you installed yt-dlp? ❯ yt-dlp -U Current version: stable@2025.06.25 from yt-dlp/yt-dlp Latest version: stable@2025.06.30 from yt-dlp/yt-dlp ERROR: You installed yt-dlp from a manual build or with a package manager; Use that to update How do I upgrade? which yt-dlp should give you some idea:  ~/.local  13:43 ❯ which yt-dlp /usr/bin/yt-dlp Installation used was by yt-dlp latest release for Linux …/yt-dlp/yt-dlp/releases 13:55 ❯ ls -al -rw-r--r--. 1  Jul 10 13:06 yt-dlp_linux Note: maybe is better just to use chmod a+rx yt-dlp_linux, renamed as yt-dlp and then move it to /usr/bin. 😀  …/yt-dlp/yt-lp/releases  13:55 ❯ sudo mv yt-dlp_linux /usr/bin  …/yt-dlp/yt-dlp/releases  13:56  ❯ ls  …/yt-dlp/yt-dlp/releases  13:56  ❯ cd /usr/bin ❯ ls yt* yt-dlp  yt-dlp_linux  /usr/bin  13:57  ❯ sudo cp yt-dlp_linux yt-dlp Ups!  /usr/bin  13:57  ❯ ls -al yt* -rwxr-xr-x. 1 root  ro...