actualizada ui

Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
fede committed 2026-10-06 13:26:44 -03:00
1 parent 7039de81c8
commit 1dced4f3d9
5674 files changed
+1215 -297009

No files matched your search

+16 -191
View File
@@ -1,191 +1,16 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Anuncio Aoc 2023</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Anuncio Aoc 2023</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Oct 3, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<h1 id="que-es-advent-of-code">¿Que es Advent of Code?</h1>
<p>Son un grupo de puzzles de programacion presentados en forma de calendario que suelen ser utizados como:</p>
<ul>
<li>Preparacion de entrevistas.</li>
<li>Training en empresas.</li>
<li>Practica para familiarizarse con nuevos lenguajes de programacion.</li>
<li><em>etc&hellip;</em></li>
</ul>
<h1 id="que-tengo-pensado">Que tengo pensado</h1>
<p>Cerca de fin de año voy a hacer todos los dias de esa edicion de advent of code usando <code>zig</code> como un ejercicio para aprender ese lenguaje de programacion <code>(aunque de forma básica)</code>.</p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Anuncio Aoc 2023 · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">Anuncio Aoc 2023</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Oct 3, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><h1 id=que-es-advent-of-code>¿Que es Advent of Code?</h1><p>Son un grupo de puzzles de programacion presentados en forma de calendario que suelen ser utizados como:</p><ul><li>Preparacion de entrevistas.</li><li>Training en empresas.</li><li>Practica para familiarizarse con nuevos lenguajes de programacion.</li><li><em>etc&mldr;</em></li></ul><h1 id=que-tengo-pensado>Que tengo pensado</h1><p>Cerca de fin de año voy a hacer todos los dias de esa edicion de advent of code usando <code>zig</code> como un ejercicio para aprender ese lenguaje de programacion <code>(aunque de forma básica)</code>.</p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+16 -189
View File
@@ -1,189 +1,16 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bootloader Incident</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Bootloader Incident</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Sep 26, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<h1 id="el-inicio-de-la-catastrofe">El inicio de la catastrofe</h1>
<p>En pocas palabras, <strong>Nunca Corten Un <code>pacman -Syu</code></strong>.<br>
Si utilizan <strong>arch</strong> sabrán que se pueden configurar &lsquo;hooks&rsquo; antes y despues de las operaciones con el comando <code>pacman</code>, uno de estos era responsable de actualizar la entrada en el bootloader (uso systemd-boot btw). Al haber cortado sin querer este proceso me quedé sin entrada en el bootloader para linux y solo podia volver al menu de la <strong>UEFI</strong>.</p>
<h1 id="posibles-soluciones">Posibles Soluciones</h1>
<h2 id="opcion-atomica">Opcion Atomica</h2>
<p>Consiste en reinstalar linux desde 0. ( pero no desde scratch 😳 ). Obviamente es una terrible idea pero es una a la que en otro momento antes de haber aprendido a usar arch hubiera solucionado de esa forma.</p>
<h2 id="lo-que-termine-haciendo">Lo que termine haciendo</h2>
<p>Gracias a que tenia una lectora de dvds con un dvd de Linux, pude utilizar <code>mount</code> y <code>chroot</code> para acceder a la particion con todos mis datos, una vez en este punto reinstalé el kernel (<code>pacman -S linux</code>) para que se activen los hooks que corresponden a actualizar la información sobre las opciones de arranque del bootloader.</p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Bootloader Incident · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">Bootloader Incident</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Sep 26, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><h1 id=el-inicio-de-la-catastrofe>El inicio de la catastrofe</h1><p>En pocas palabras, <strong>Nunca Corten Un <code>pacman -Syu</code></strong>.<br>Si utilizan <strong>arch</strong> sabrán que se pueden configurar &lsquo;hooks&rsquo; antes y despues de las operaciones con el comando <code>pacman</code>, uno de estos era responsable de actualizar la entrada en el bootloader (uso systemd-boot btw). Al haber cortado sin querer este proceso me quedé sin entrada en el bootloader para linux y solo podia volver al menu de la <strong>UEFI</strong>.</p><h1 id=posibles-soluciones>Posibles Soluciones</h1><h2 id=opcion-atomica>Opcion Atomica</h2><p>Consiste en reinstalar linux desde 0. ( pero no desde scratch 😳 ). Obviamente es una terrible idea pero es una a la que en otro momento antes de haber aprendido a usar arch hubiera solucionado de esa forma.</p><h2 id=lo-que-termine-haciendo>Lo que termine haciendo</h2><p>Gracias a que tenia una lectora de dvds con un dvd de Linux, pude utilizar <code>mount</code> y <code>chroot</code> para acceder a la particion con todos mis datos, una vez en este punto reinstalé el kernel (<code>pacman -S linux</code>) para que se activen los hooks que corresponden a actualizar la información sobre las opciones de arranque del bootloader.</p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+16 -188
View File
@@ -1,188 +1,16 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Coord Keeper</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<img
src="/cover.png"
alt="Coord Keeper"
class="w-full h-auto object-cover"
/>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Coord Keeper</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Mar 19, 2025</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#DevLog</span>
</div>
</div>
<article>
<h1 id="motivacion">Motivacion</h1>
<p>He notado que en versiones actuales de minecraft han puesto mucha informacion en el menu de debug (el <!-- raw HTML omitted -->f3<!-- raw HTML omitted -->) lo que lo hace cada vez más hostil al jugador promedio intentar encontrar la linea con las coordenadas de donde esta y poderse comunicar con la gente en el mismo servidor, es obvio que esto es totalmente intencionado. Entiendo que el objetivo es que uses las herramientas dadas por los diseñadores del videojuego para poder localizarte. Pero yo necesito una forma de poder guardar las coordenadas localmente en mi computadora. aunque podria haber usado un block de notas para almacenarlas me decidí por hacer algo más inproductivo&hellip;. hacer una app de react.</p>
<p>Así que presento Coord-Keeper una app nefasta de React para guardar, compartir y importar Coordenas de minecraft. !!!11!!!</p>
<p>Esta disponible en <a href="/coords">Coord-keeper</a></p>
<p>su <a href="/git/fede/coord-keeper">codigo fuente</a> esta en mi instancia de gitea.</p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Coord Keeper · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><img src=/cover.png alt="Coord Keeper" class="w-full h-auto object-cover"></div><h1 class="text-4xl font-bold mb-4 text-center">Coord Keeper</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Mar 19, 2025</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#DevLog</span></div></div><article><h1 id=motivacion>Motivacion</h1><p>He notado que en versiones actuales de minecraft han puesto mucha informacion en el menu de debug (el f3) lo que lo hace cada vez más hostil al jugador promedio intentar encontrar la linea con las coordenadas de donde esta y poderse comunicar con la gente en el mismo servidor, es obvio que esto es totalmente intencionado. Entiendo que el objetivo es que uses las herramientas dadas por los diseñadores del videojuego para poder localizarte. Pero yo necesito una forma de poder guardar las coordenadas localmente en mi computadora. aunque podria haber usado un block de notas para almacenarlas me decidí por hacer algo más inproductivo&mldr;. hacer una app de react.</p><p>Así que presento Coord-Keeper una app nefasta de React para guardar, compartir y importar Coordenas de minecraft. !!!11!!!</p><p>Esta disponible en <a href=/coords>Coord-keeper</a></p><p>su <a href=/git/fede/coord-keeper>codigo fuente</a> esta en mi instancia de gitea.</p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
@@ -1,248 +1,68 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Diseño de Software Incident</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Diseño de Software Incident</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Sep 22, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<h1 id="instanciacion-del-sqlconnection">Instanciacion del SqlConnection</h1>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span><span style="color:#66d9ef">using</span> (<span style="color:#66d9ef">var</span> connection = <span style="color:#66d9ef">new</span> SqlConnection(configuration.GetConnectionString(<span style="color:#e6db74">&#34;DefaultConnection&#34;</span>)))
</span></span></code></pre></div><p>Eso genera un sql connection que va a existir hasta que salga del scope del programa.</p>
<h1 id="creacion-del-sqlcommand">Creacion del SqlCommand</h1>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span><span style="color:#66d9ef">using</span> var command = <span style="color:#66d9ef">new</span> SqlCommand();
</span></span><span style="display:flex;"><span>command.CommandText = <span style="color:#e6db74">&#34;sp_RecuperaProductos&#34;</span>;
</span></span><span style="display:flex;"><span>command.CommandType = System.Data.CommandType.StoredProcedure;
</span></span></code></pre></div><h1 id="apertura-de-la-coneccion">Apertura de la coneccion</h1>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span>command.Connection = connection;
</span></span><span style="display:flex;"><span>command.Connection.Open();
</span></span></code></pre></div><h2 id="utilizacion-del-executereader">Utilizacion del ExecuteReader</h2>
<p>Es un choclo pero basicamente el codigo de abajo se encarga de iterar por cada uno de las entradas de la tabla. <strong>MUY</strong> importante, se tiene que añadir los productos dentro del loop principal del reader ya que lo que no se guarde en cada iteracion se pierde. (los maps no son case sensitive).</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span><span style="color:#66d9ef">var</span> reader = command.ExecuteReader();
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">while</span> (reader.Read())<span style="color:#75715e">//lee a traves de todas las filas que existen en la tabla</span>
</span></span><span style="display:flex;"><span>{
</span></span><span style="display:flex;"><span> <span style="color:#75715e">//por cada fila que creo tengo que asignar manualmente cada columna con cada propiedad</span>
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> producto = <span style="color:#66d9ef">new</span> Producto();
</span></span><span style="display:flex;"><span> producto.Codigo = reader[<span style="color:#e6db74">&#34;Codigo&#34;</span>].ToString();
</span></span><span style="display:flex;"><span> producto.Nombre = reader[<span style="color:#e6db74">&#34;Nombre&#34;</span>].ToString();
</span></span><span style="display:flex;"><span> producto.Cantidad = Convert.ToInt32(reader[<span style="color:#e6db74">&#34;Cantidad&#34;</span>].ToString());
</span></span><span style="display:flex;"><span> producto.CantidadMinima = Convert.ToInt32(reader[<span style="color:#e6db74">&#34;CantidadMinima&#34;</span>].ToString());
</span></span><span style="display:flex;"><span> producto.Precio = Convert.ToDecimal(reader[<span style="color:#e6db74">&#34;Precio&#34;</span>].ToString());
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> codigoCategoria = reader[<span style="color:#e6db74">&#34;CodigoCategoria&#34;</span>].ToString();
</span></span><span style="display:flex;"><span> producto.Categoria = RepositorioCategorias.Instancia.RecuperarCategorias().FirstOrDefault(c =&gt; c.Codigo == codigoCategoria);
</span></span><span style="display:flex;"><span> <span style="color:#75715e">//////////////////////////////////////////////////////////////////////////////////////</span>
</span></span><span style="display:flex;"><span> <span style="color:#75715e">//////////////////////////////////////////////////////////////////////////////////////</span>
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">using</span> var commandProveedores = <span style="color:#66d9ef">new</span> SqlCommand();
</span></span><span style="display:flex;"><span> <span style="color:#75715e">//otra forma de hacerlo es usando Store Procedures</span>
</span></span><span style="display:flex;"><span> commandProveedores.CommandText = <span style="color:#e6db74">&#34;sp_RecuperarProveedoresProducto&#34;</span>;
</span></span><span style="display:flex;"><span> commandProveedores.CommandType = System.Data.CommandType.StoredProcedure;
</span></span><span style="display:flex;"><span> commandProveedores.Parameters.Add(<span style="color:#e6db74">&#34;@CodigoProducto&#34;</span>, System.Data.SqlDbType.NVarChar,<span style="color:#ae81ff">25</span>).Value = producto.Codigo;
</span></span><span style="display:flex;"><span> <span style="color:#75715e">/////////////////////////</span>
</span></span><span style="display:flex;"><span> commandProveedores.Connection = connection;
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> readerProveedoresProducto = command.ExecuteReader();
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">while</span> (readerProveedoresProducto.Read())<span style="color:#75715e">//lee a traves de todas las filas que existen en la tabla</span>
</span></span><span style="display:flex;"><span> {
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> codigoProveedor = readerProveedoresProducto[<span style="color:#e6db74">&#34;CodigoProveedor&#34;</span>].ToString();
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> proveedor = RepositorioProveedores.Instancia.RecuperarProveedores().FirstOrDefault(x =&gt; x.Codigo == codigoProveedor);
</span></span><span style="display:flex;"><span> producto.AgregarProveedor(proveedor);
</span></span><span style="display:flex;"><span> <span style="color:#75715e">//una vez cargado el objeto completo lo agrego a la coleccion</span>
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span> }
</span></span><span style="display:flex;"><span>productos.Add(producto);
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><h1 id="cerrado-de-la-coneccion">Cerrado de la coneccion</h1>
<p>NOTA: no ser mamerto y cerrar la coneccion fuera del while-loop.</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span>command.Connection.Close();
</span></span></code></pre></div><h1 id="sub-query">Sub-Query</h1>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span><span style="color:#66d9ef">using</span> var commandProveedores = <span style="color:#66d9ef">new</span> SqlCommand();
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>commandProveedores.CommandType = System.Data.CommandType.StoredProcedure;
</span></span><span style="display:flex;"><span>commandProveedores.CommandText = <span style="color:#e6db74">&#34;SP_AGREGARPROVEEDORPRODUCTO&#34;</span>;
</span></span><span style="display:flex;"><span>commandProveedores.Connection = connection;
</span></span><span style="display:flex;"><span>commandProveedores.Transaction = sqlTransaction;
</span></span><span style="display:flex;"><span>commandProveedores.Parameters.Add(<span style="color:#e6db74">&#34;@CodigoProducto&#34;</span>, System.Data.SqlDbType.NVarChar,<span style="color:#ae81ff">25</span>).Value = producto.Codigo;
</span></span><span style="display:flex;"><span>commandProveedores.Parameters.Add(<span style="color:#e6db74">&#34;@CodigoProveedor&#34;</span>, System.Data.SqlDbType.NVarChar, <span style="color:#ae81ff">25</span>);
</span></span><span style="display:flex;"><span><span style="color:#66d9ef">foreach</span> (<span style="color:#66d9ef">var</span> proveedor <span style="color:#66d9ef">in</span> producto.Proveedores)
</span></span><span style="display:flex;"><span>{
</span></span><span style="display:flex;"><span> commandProveedores.Parameters[<span style="color:#e6db74">&#34;CodigoProveedor&#34;</span>].Value = proveedor.Codigo;
</span></span><span style="display:flex;"><span> commandProveedores.ExecuteNonQuery();
</span></span><span style="display:flex;"><span>}
</span></span></code></pre></div><h1 id="non-query">Non-Query</h1>
<p>Un query es una consulta de tipo UPDATE, INSERT, DELETE, para el ExecuteNonQuery se devuelve la cantidad de ramas afectadas, menos en el uso de un StoredProcedure donde devuelve -1.</p>
<h1 id="notas">Notas</h1>
<blockquote>
<p>&quot; Si compila y anda, aprueba &quot; ~Laureano</p>
</blockquote>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Diseño de Software Incident · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">Diseño de Software Incident</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Sep 22, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><h1 id=instanciacion-del-sqlconnection>Instanciacion del SqlConnection</h1><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span><span style=color:#66d9ef>using</span> (<span style=color:#66d9ef>var</span> connection = <span style=color:#66d9ef>new</span> SqlConnection(configuration.GetConnectionString(<span style=color:#e6db74>&#34;DefaultConnection&#34;</span>)))
</span></span></code></pre></div><p>Eso genera un sql connection que va a existir hasta que salga del scope del programa.</p><h1 id=creacion-del-sqlcommand>Creacion del SqlCommand</h1><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span><span style=color:#66d9ef>using</span> var command = <span style=color:#66d9ef>new</span> SqlCommand();
</span></span><span style=display:flex><span>command.CommandText = <span style=color:#e6db74>&#34;sp_RecuperaProductos&#34;</span>;
</span></span><span style=display:flex><span>command.CommandType = System.Data.CommandType.StoredProcedure;
</span></span></code></pre></div><h1 id=apertura-de-la-coneccion>Apertura de la coneccion</h1><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span>command.Connection = connection;
</span></span><span style=display:flex><span>command.Connection.Open();
</span></span></code></pre></div><h2 id=utilizacion-del-executereader>Utilizacion del ExecuteReader</h2><p>Es un choclo pero basicamente el codigo de abajo se encarga de iterar por cada uno de las entradas de la tabla. <strong>MUY</strong> importante, se tiene que añadir los productos dentro del loop principal del reader ya que lo que no se guarde en cada iteracion se pierde. (los maps no son case sensitive).</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span><span style=color:#66d9ef>var</span> reader = command.ExecuteReader();
</span></span><span style=display:flex><span><span style=color:#66d9ef>while</span> (reader.Read())<span style=color:#75715e>//lee a traves de todas las filas que existen en la tabla</span>
</span></span><span style=display:flex><span>{
</span></span><span style=display:flex><span> <span style=color:#75715e>//por cada fila que creo tengo que asignar manualmente cada columna con cada propiedad</span>
</span></span><span style=display:flex><span> <span style=color:#66d9ef>var</span> producto = <span style=color:#66d9ef>new</span> Producto();
</span></span><span style=display:flex><span> producto.Codigo = reader[<span style=color:#e6db74>&#34;Codigo&#34;</span>].ToString();
</span></span><span style=display:flex><span> producto.Nombre = reader[<span style=color:#e6db74>&#34;Nombre&#34;</span>].ToString();
</span></span><span style=display:flex><span> producto.Cantidad = Convert.ToInt32(reader[<span style=color:#e6db74>&#34;Cantidad&#34;</span>].ToString());
</span></span><span style=display:flex><span> producto.CantidadMinima = Convert.ToInt32(reader[<span style=color:#e6db74>&#34;CantidadMinima&#34;</span>].ToString());
</span></span><span style=display:flex><span> producto.Precio = Convert.ToDecimal(reader[<span style=color:#e6db74>&#34;Precio&#34;</span>].ToString());
</span></span><span style=display:flex><span> <span style=color:#66d9ef>var</span> codigoCategoria = reader[<span style=color:#e6db74>&#34;CodigoCategoria&#34;</span>].ToString();
</span></span><span style=display:flex><span> producto.Categoria = RepositorioCategorias.Instancia.RecuperarCategorias().FirstOrDefault(c =&gt; c.Codigo == codigoCategoria);
</span></span><span style=display:flex><span> <span style=color:#75715e>//////////////////////////////////////////////////////////////////////////////////////</span>
</span></span><span style=display:flex><span> <span style=color:#75715e>//////////////////////////////////////////////////////////////////////////////////////</span>
</span></span><span style=display:flex><span> <span style=color:#66d9ef>using</span> var commandProveedores = <span style=color:#66d9ef>new</span> SqlCommand();
</span></span><span style=display:flex><span> <span style=color:#75715e>//otra forma de hacerlo es usando Store Procedures</span>
</span></span><span style=display:flex><span> commandProveedores.CommandText = <span style=color:#e6db74>&#34;sp_RecuperarProveedoresProducto&#34;</span>;
</span></span><span style=display:flex><span> commandProveedores.CommandType = System.Data.CommandType.StoredProcedure;
</span></span><span style=display:flex><span> commandProveedores.Parameters.Add(<span style=color:#e6db74>&#34;@CodigoProducto&#34;</span>, System.Data.SqlDbType.NVarChar,<span style=color:#ae81ff>25</span>).Value = producto.Codigo;
</span></span><span style=display:flex><span> <span style=color:#75715e>/////////////////////////</span>
</span></span><span style=display:flex><span> commandProveedores.Connection = connection;
</span></span><span style=display:flex><span> <span style=color:#66d9ef>var</span> readerProveedoresProducto = command.ExecuteReader();
</span></span><span style=display:flex><span> <span style=color:#66d9ef>while</span> (readerProveedoresProducto.Read())<span style=color:#75715e>//lee a traves de todas las filas que existen en la tabla</span>
</span></span><span style=display:flex><span> {
</span></span><span style=display:flex><span> <span style=color:#66d9ef>var</span> codigoProveedor = readerProveedoresProducto[<span style=color:#e6db74>&#34;CodigoProveedor&#34;</span>].ToString();
</span></span><span style=display:flex><span> <span style=color:#66d9ef>var</span> proveedor = RepositorioProveedores.Instancia.RecuperarProveedores().FirstOrDefault(x =&gt; x.Codigo == codigoProveedor);
</span></span><span style=display:flex><span> producto.AgregarProveedor(proveedor);
</span></span><span style=display:flex><span> <span style=color:#75715e>//una vez cargado el objeto completo lo agrego a la coleccion</span>
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> }
</span></span><span style=display:flex><span>productos.Add(producto);
</span></span><span style=display:flex><span>}
</span></span></code></pre></div><h1 id=cerrado-de-la-coneccion>Cerrado de la coneccion</h1><p>NOTA: no ser mamerto y cerrar la coneccion fuera del while-loop.</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span>command.Connection.Close();
</span></span></code></pre></div><h1 id=sub-query>Sub-Query</h1><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span><span style=color:#66d9ef>using</span> var commandProveedores = <span style=color:#66d9ef>new</span> SqlCommand();
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span>commandProveedores.CommandType = System.Data.CommandType.StoredProcedure;
</span></span><span style=display:flex><span>commandProveedores.CommandText = <span style=color:#e6db74>&#34;SP_AGREGARPROVEEDORPRODUCTO&#34;</span>;
</span></span><span style=display:flex><span>commandProveedores.Connection = connection;
</span></span><span style=display:flex><span>commandProveedores.Transaction = sqlTransaction;
</span></span><span style=display:flex><span>commandProveedores.Parameters.Add(<span style=color:#e6db74>&#34;@CodigoProducto&#34;</span>, System.Data.SqlDbType.NVarChar,<span style=color:#ae81ff>25</span>).Value = producto.Codigo;
</span></span><span style=display:flex><span>commandProveedores.Parameters.Add(<span style=color:#e6db74>&#34;@CodigoProveedor&#34;</span>, System.Data.SqlDbType.NVarChar, <span style=color:#ae81ff>25</span>);
</span></span><span style=display:flex><span><span style=color:#66d9ef>foreach</span> (<span style=color:#66d9ef>var</span> proveedor <span style=color:#66d9ef>in</span> producto.Proveedores)
</span></span><span style=display:flex><span>{
</span></span><span style=display:flex><span> commandProveedores.Parameters[<span style=color:#e6db74>&#34;CodigoProveedor&#34;</span>].Value = proveedor.Codigo;
</span></span><span style=display:flex><span> commandProveedores.ExecuteNonQuery();
</span></span><span style=display:flex><span>}
</span></span></code></pre></div><h1 id=non-query>Non-Query</h1><p>Un query es una consulta de tipo UPDATE, INSERT, DELETE, para el ExecuteNonQuery se devuelve la cantidad de ramas afectadas, menos en el uso de un StoredProcedure donde devuelve -1.</p><h1 id=notas>Notas</h1><blockquote><p>" Si compila y anda, aprueba " ~Laureano</p></blockquote></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+20 -213
View File
@@ -1,226 +1,33 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fix Screen Tear x11</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<img
src="/cover.jpg"
alt="Fix Screen Tear x11"
class="w-full h-auto object-cover"
/>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Fix Screen Tear x11</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Nov 9, 2024</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#Fix</span>
</div>
</div>
<article>
<h1 id="que-es-el-screen-tear">¿Que es el screen tear?</h1>
<p>buenas, Si alguna vez instalaron un wm liviano en linux que no use wayland seguramente habrán notado que al momento de mover una ventana en el escritorio o ver un video sucede algo de este estilo.</p>
<p><img src="https://qph.cf2.quoracdn.net/main-qimg-4994dca8fc9979e8a10d3422cb5f7bcb" alt="Imagen sacada de google donde se demuestra el screen tear"></p>
<p>Donde la imagen se ve recortada por algunos milisegundos. A mi se me hace muy molesto a la vista cuando estoy mucho tiempo (relativamente) delante de la pantalla.</p>
<h1 id="solucion">Solucion</h1>
<p>Esto Parece suceder porque muchos <a href="https://en.wikipedia.org/wiki/X_window_manager">WindowManagers</a> de linux muestran un frame nuevo independientemente de si la gpu logró terminar de dibujar el proximo frame(buffer).</p>
<p>Encontré un parametro que se le puede pasar al X11 para evitar que se muestre un frame que la gpu aun no termino de actualizar.</p>
<h2 id="cosas-que-necesitamos">Cosas que necesitamos</h2>
<ol>
<li>Tener <code>inxi</code> instalado</li>
</ol>
<p>En Arch se puede instalar con un</p>
<pre tabindex="0"><code>sudo pacman -S inxi
</code></pre><p>y supongo que lo mismo pero reemplazando <code>pacman -S</code> por <code>apt install</code> en distros debian-base.</p>
<ol start="2">
<li>Necesitamos editar uno(o dos) archivos en el <strong>/usr/share/</strong></li>
</ol>
<p>Asi que verifica que tengas permisos para poder escribir en ese path.</p>
<h2 id="paso-a-paso">Paso a Paso</h2>
<ol>
<li>Executamos <code>inxi -G</code>.</li>
</ol>
<p>Con esto nos daremos cuenta de que tipo de grafica tenemos. En mi caso es una integrada amd</p>
<pre tabindex="0"><code>i ➜ ~ inxi -G
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Fix Screen Tear x11 · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><img src=/cover.jpg alt="Fix Screen Tear x11" class="w-full h-auto object-cover"></div><h1 class="text-4xl font-bold mb-4 text-center">Fix Screen Tear x11</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Nov 9, 2024</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#Fix</span></div></div><article><h1 id=que-es-el-screen-tear>¿Que es el screen tear?</h1><p>buenas, Si alguna vez instalaron un wm liviano en linux que no use wayland seguramente habrán notado que al momento de mover una ventana en el escritorio o ver un video sucede algo de este estilo.</p><p><img src=https://qph.cf2.quoracdn.net/main-qimg-4994dca8fc9979e8a10d3422cb5f7bcb alt="Imagen sacada de google donde se demuestra el screen tear"></p><p>Donde la imagen se ve recortada por algunos milisegundos. A mi se me hace muy molesto a la vista cuando estoy mucho tiempo (relativamente) delante de la pantalla.</p><h1 id=solucion>Solucion</h1><p>Esto Parece suceder porque muchos <a href=https://en.wikipedia.org/wiki/X_window_manager>WindowManagers</a> de linux muestran un frame nuevo independientemente de si la gpu logró terminar de dibujar el proximo frame(buffer).</p><p>Encontré un parametro que se le puede pasar al X11 para evitar que se muestre un frame que la gpu aun no termino de actualizar.</p><h2 id=cosas-que-necesitamos>Cosas que necesitamos</h2><ol><li>Tener <code>inxi</code> instalado</li></ol><p>En Arch se puede instalar con un</p><pre tabindex=0><code>sudo pacman -S inxi
</code></pre><p>y supongo que lo mismo pero reemplazando <code>pacman -S</code> por <code>apt install</code> en distros debian-base.</p><ol start=2><li>Necesitamos editar uno(o dos) archivos en el <strong>/usr/share/</strong></li></ol><p>Asi que verifica que tengas permisos para poder escribir en ese path.</p><h2 id=paso-a-paso>Paso a Paso</h2><ol><li>Executamos <code>inxi -G</code>.</li></ol><p>Con esto nos daremos cuenta de que tipo de grafica tenemos. En mi caso es una integrada amd</p><pre tabindex=0><code>i ➜ ~ inxi -G
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Lucienne driver: amdgpu v: kernel
</code></pre><p>Por lo que el archivo que tengo que editar es &ldquo;/usr/share/X11/xorg.conf.d/10-amdgpu.conf&rdquo;</p>
<pre tabindex="0"><code>Section &#34;OutputClass&#34;
</code></pre><p>Por lo que el archivo que tengo que editar es &ldquo;/usr/share/X11/xorg.conf.d/10-amdgpu.conf&rdquo;</p><pre tabindex=0><code>Section &#34;OutputClass&#34;
Identifier &#34;AMDgpu&#34;
MatchDriver &#34;amdgpu&#34;
Driver &#34;amdgpu&#34;
Option &#34;HotplugDriver&#34; &#34;amdgpu&#34;
EndSection
</code></pre><p>Donde añado la opcion &ldquo;TearFree&rdquo; &ldquo;on&rdquo;</p>
<pre tabindex="0"><code>Section &#34;OutputClass&#34;
</code></pre><p>Donde añado la opcion &ldquo;TearFree&rdquo; &ldquo;on&rdquo;</p><pre tabindex=0><code>Section &#34;OutputClass&#34;
Identifier &#34;AMDgpu&#34;
MatchDriver &#34;amdgpu&#34;
Driver &#34;amdgpu&#34;
Option &#34;HotplugDriver&#34; &#34;amdgpu&#34;
Option &#34;TearFree&#34; &#34;on&#34;
EndSection
</code></pre><p>Demostracion de como queda</p>
<p><img src="./tear.gif" alt="demo tear resuelto"></p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
</code></pre><p>Demostracion de como queda</p><p><img src=./tear.gif alt="demo tear resuelto"></p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+1 -82
View File
@@ -1,82 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on Blog Fede</title>
<link>https://fedesrv.ddns.net/posts/</link>
<description>Recent content in Posts on Blog Fede</description>
<generator>Hugo</generator>
<language>en-us</language>
<lastBuildDate>Wed, 19 Mar 2025 02:53:57 -0300</lastBuildDate>
<atom:link href="https://fedesrv.ddns.net/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Coord Keeper</title>
<link>https://fedesrv.ddns.net/posts/coord-keeper/</link>
<pubDate>Wed, 19 Mar 2025 02:53:57 -0300</pubDate>
<guid>https://fedesrv.ddns.net/posts/coord-keeper/</guid>
<description>&lt;h1 id=&#34;motivacion&#34;&gt;Motivacion&lt;/h1&gt;&#xA;&lt;p&gt;He notado que en versiones actuales de minecraft han puesto mucha informacion en el menu de debug (el &lt;!-- raw HTML omitted --&gt;f3&lt;!-- raw HTML omitted --&gt;) lo que lo hace cada vez más hostil al jugador promedio intentar encontrar la linea con las coordenadas de donde esta y poderse comunicar con la gente en el mismo servidor, es obvio que esto es totalmente intencionado. Entiendo que el objetivo es que uses las herramientas dadas por los diseñadores del videojuego para poder localizarte. Pero yo necesito una forma de poder guardar las coordenadas localmente en mi computadora. aunque podria haber usado un block de notas para almacenarlas me decidí por hacer algo más inproductivo&amp;hellip;. hacer una app de react.&lt;/p&gt;</description>
</item>
<item>
<title>Sistema Alquileres DevLog n1</title>
<link>https://fedesrv.ddns.net/posts/sist_alquileres_devlog_1/</link>
<pubDate>Sun, 10 Nov 2024 00:08:17 +0800</pubDate>
<guid>https://fedesrv.ddns.net/posts/sist_alquileres_devlog_1/</guid>
<description>&lt;h1 id=&#34;que-es-esto&#34;&gt;¿Que es esto?&lt;/h1&gt;&#xA;&lt;p&gt;Estas son pequeñas updates que voy a estar haciendo sobre el proyecto final mio de &amp;ldquo;Ingenieria de Software&amp;rdquo; (asi se llama la materia). El cual consiste de un sistema de gestion de alquileres. Pensado para tener varios tipos de usuario como un propietario que carge las propiedades que desea publicar siempre y cuando este verificado que le pertenecen a él y un inquilino el cual podra efectuar busquedas de propiedades para alquilas, ver el estado de los alquileres, y pagar los alquileres que sean correpondientes.&lt;/p&gt;</description>
</item>
<item>
<title>Fix Screen Tear x11</title>
<link>https://fedesrv.ddns.net/posts/fix_screen_tear_xfce/</link>
<pubDate>Sat, 09 Nov 2024 13:28:17 +0800</pubDate>
<guid>https://fedesrv.ddns.net/posts/fix_screen_tear_xfce/</guid>
<description>&lt;h1 id=&#34;que-es-el-screen-tear&#34;&gt;¿Que es el screen tear?&lt;/h1&gt;&#xA;&lt;p&gt;buenas, Si alguna vez instalaron un wm liviano en linux que no use wayland seguramente habrán notado que al momento de mover una ventana en el escritorio o ver un video sucede algo de este estilo.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://qph.cf2.quoracdn.net/main-qimg-4994dca8fc9979e8a10d3422cb5f7bcb&#34; alt=&#34;Imagen sacada de google donde se demuestra el screen tear&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Donde la imagen se ve recortada por algunos milisegundos. A mi se me hace muy molesto a la vista cuando estoy mucho tiempo (relativamente) delante de la pantalla.&lt;/p&gt;</description>
</item>
<item>
<title>String Interpolation</title>
<link>https://fedesrv.ddns.net/posts/string-interpolation/</link>
<pubDate>Tue, 24 Oct 2023 22:24:17 +0800</pubDate>
<guid>https://fedesrv.ddns.net/posts/string-interpolation/</guid>
<description>&lt;h1 id=&#34;que-es&#34;&gt;¿Que es?&lt;/h1&gt;&#xA;&lt;p&gt;Es un proceso de evaluado, en el cual se reemplazan placeholders en &lt;code&gt;string&lt;/code&gt; por valores, en nuestro caso, de variables en momento de ejecución.&lt;/p&gt;&#xA;&lt;h1 id=&#34;sintaxis&#34;&gt;Sintaxis&lt;/h1&gt;&#xA;&lt;pre&gt;&lt;code&gt;var manzanas = 4;&#xA;var bananas = 3;&#xA;&#xA;Console.WriteLine($&amp;quot;Tengo {manzanas} manzanas&amp;quot;);&#xA;Console.WriteLine($&amp;quot;Vendí {manzanas + bananas} frutas&amp;quot;);&#xA;&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Basicamente son plantillas.&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
</item>
<item>
<title>Anuncio Aoc 2023</title>
<link>https://fedesrv.ddns.net/posts/anuncio-aoc-2023/</link>
<pubDate>Tue, 03 Oct 2023 12:54:22 -0300</pubDate>
<guid>https://fedesrv.ddns.net/posts/anuncio-aoc-2023/</guid>
<description>&lt;h1 id=&#34;que-es-advent-of-code&#34;&gt;¿Que es Advent of Code?&lt;/h1&gt;&#xA;&lt;p&gt;Son un grupo de puzzles de programacion presentados en forma de calendario que suelen ser utizados como:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Preparacion de entrevistas.&lt;/li&gt;&#xA;&lt;li&gt;Training en empresas.&lt;/li&gt;&#xA;&lt;li&gt;Practica para familiarizarse con nuevos lenguajes de programacion.&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;etc&amp;hellip;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;que-tengo-pensado&#34;&gt;Que tengo pensado&lt;/h1&gt;&#xA;&lt;p&gt;Cerca de fin de año voy a hacer todos los dias de esa edicion de advent of code usando &lt;code&gt;zig&lt;/code&gt; como un ejercicio para aprender ese lenguaje de programacion &lt;code&gt;(aunque de forma básica)&lt;/code&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>Bootloader Incident</title>
<link>https://fedesrv.ddns.net/posts/bootloaderincident/</link>
<pubDate>Tue, 26 Sep 2023 22:27:20 -0300</pubDate>
<guid>https://fedesrv.ddns.net/posts/bootloaderincident/</guid>
<description>&lt;h1 id=&#34;el-inicio-de-la-catastrofe&#34;&gt;El inicio de la catastrofe&lt;/h1&gt;&#xA;&lt;p&gt;En pocas palabras, &lt;strong&gt;Nunca Corten Un &lt;code&gt;pacman -Syu&lt;/code&gt;&lt;/strong&gt;.&lt;br&gt;&#xA;Si utilizan &lt;strong&gt;arch&lt;/strong&gt; sabrán que se pueden configurar &amp;lsquo;hooks&amp;rsquo; antes y despues de las operaciones con el comando &lt;code&gt;pacman&lt;/code&gt;, uno de estos era responsable de actualizar la entrada en el bootloader (uso systemd-boot btw). Al haber cortado sin querer este proceso me quedé sin entrada en el bootloader para linux y solo podia volver al menu de la &lt;strong&gt;UEFI&lt;/strong&gt;.&lt;/p&gt;</description>
</item>
<item>
<title>Imagenes: Color a b&amp;w</title>
<link>https://fedesrv.ddns.net/posts/pasar-imagenes-a-blanco-y-negro/</link>
<pubDate>Sat, 23 Sep 2023 10:35:18 -0300</pubDate>
<guid>https://fedesrv.ddns.net/posts/pasar-imagenes-a-blanco-y-negro/</guid>
<description>&lt;h1 id=&#34;gimp&#34;&gt;Gimp&lt;/h1&gt;&#xA;&lt;p&gt;Hay varias formas de pasar una imagen a blanco y negro. yo prefiero la de usar &lt;strong&gt;Gimp&lt;/strong&gt; con la opcion de &lt;code&gt;Color &amp;gt; Desaturacion &amp;gt; Color a gama de grises&lt;/code&gt;. Pero voy a listar un par de métodos alternativos para obtener el ~mismo resultado.&lt;br&gt;&#xA;&lt;img src=&#34;https://fedesrv.ddns.net/fedecomp.png&#34; alt=&#34;Comparación&#34;&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;imagemagick&#34;&gt;ImageMagick&lt;/h1&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Es un conjunto de utilidades de código abierto​ para mostrar, manipular y convertir imágenes, capaz de leer y escribir más de 200 formatos.​&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Una de esas utilidades es llamada &lt;code&gt;convert&lt;/code&gt;, la cual acepta un archivo y convierte este a el formato que se le especifique. Existe una flag llamada &lt;code&gt;-colorspace&lt;/code&gt; la cual si le damos el parametro &lt;strong&gt;Gray&lt;/strong&gt; la imagen resultante estará representada en una gama de grises.&#xA;&lt;img src=&#34;https://fedesrv.ddns.net/fedeg.jpg&#34; alt=&#34;Imagen en gama de grises&#34;&gt;&lt;/p&gt;</description>
</item>
<item>
<title>Diseño de Software Incident</title>
<link>https://fedesrv.ddns.net/posts/dise%C3%B1o-de-software-incident/</link>
<pubDate>Fri, 22 Sep 2023 15:08:17 +0800</pubDate>
<guid>https://fedesrv.ddns.net/posts/dise%C3%B1o-de-software-incident/</guid>
<description>&lt;h1 id=&#34;instanciacion-del-sqlconnection&#34;&gt;Instanciacion del SqlConnection&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;using&lt;/span&gt; (&lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; connection = &lt;span style=&#34;color:#66d9ef&#34;&gt;new&lt;/span&gt; SqlConnection(configuration.GetConnectionString(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;DefaultConnection&amp;#34;&lt;/span&gt;)))&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Eso genera un sql connection que va a existir hasta que salga del scope del programa.&lt;/p&gt;&#xA;&lt;h1 id=&#34;creacion-del-sqlcommand&#34;&gt;Creacion del SqlCommand&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;using&lt;/span&gt; var command = &lt;span style=&#34;color:#66d9ef&#34;&gt;new&lt;/span&gt; SqlCommand();&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;command.CommandText = &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sp_RecuperaProductos&amp;#34;&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;command.CommandType = System.Data.CommandType.StoredProcedure;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;apertura-de-la-coneccion&#34;&gt;Apertura de la coneccion&lt;/h1&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-csharp&#34; data-lang=&#34;csharp&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;command.Connection = connection;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;command.Connection.Open();&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;utilizacion-del-executereader&#34;&gt;Utilizacion del ExecuteReader&lt;/h2&gt;&#xA;&lt;p&gt;Es un choclo pero basicamente el codigo de abajo se encarga de iterar por cada uno de las entradas de la tabla. &lt;strong&gt;MUY&lt;/strong&gt; importante, se tiene que añadir los productos dentro del loop principal del reader ya que lo que no se guarde en cada iteracion se pierde. (los maps no son case sensitive).&lt;/p&gt;</description>
</item>
<item>
<title>RetroArchivements</title>
<link>https://fedesrv.ddns.net/posts/retroarchivements/</link>
<pubDate>Fri, 22 Sep 2023 13:30:17 +0800</pubDate>
<guid>https://fedesrv.ddns.net/posts/retroarchivements/</guid>
<description>&lt;p&gt;Hace ya un par de dias que estoy usando un &lt;a href=&#34;https://retroachievements.org/user/fedpo2&#34;&gt;servicio&lt;/a&gt; que implementa una api para trackear tu progreso en distintos juegos retro y no tan retro.&lt;/p&gt;&#xA;&lt;p&gt;Uno de los que estoy jugando es &lt;code&gt;Kirby&#39;s dream land 2&lt;/code&gt;&lt;br&gt;&#xA;&lt;img src=&#34;https://media.retroachievements.org/Images/046585.png&#34; alt=&#34;kirby&#34;&gt;&lt;/p&gt;</description>
</item>
<item>
<title>Primer Post</title>
<link>https://fedesrv.ddns.net/posts/sample-post/</link>
<pubDate>Fri, 22 Sep 2023 12:28:17 +0800</pubDate>
<guid>https://fedesrv.ddns.net/posts/sample-post/</guid>
<description>&lt;h1 id=&#34;buenas&#34;&gt;buenas&lt;/h1&gt;&#xA;&lt;p&gt;buenas&#xA;Luego de sufrir bastante con el nginx y su &lt;em&gt;Reverse Proxy&lt;/em&gt;, finalmente me decidí por poner la pagina del blog en el &lt;strong&gt;WebRoot&lt;/strong&gt; y el &lt;em&gt;gitea&lt;/em&gt; en un subfolder.&lt;/p&gt;&#xA;&lt;h2 id=&#34;como-funciona-esto&#34;&gt;Como funciona esto&lt;/h2&gt;&#xA;&lt;p&gt;El programa que estoy usando para hacer este blog se llama &lt;a href=&#34;https://gohugo.io&#34;&gt;Hugo&lt;/a&gt;, consiste de una especie de parceador de &lt;a href=&#34;https://www.markdownguide.org/&#34;&gt;Markdown&lt;/a&gt; a Html estático el cual hosteo con este &lt;a href=&#34;https://nginx.org/en/&#34;&gt;webServer&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h3 id=&#34;como-hago-nuevos-posts&#34;&gt;Como hago nuevos posts&lt;/h3&gt;&#xA;&lt;p&gt;Dentro de la carpeta del proyecto del server hay una que se llama content, todos los &lt;code&gt;.md&lt;/code&gt; que haya ahí cuando utilizo el comando:&lt;/p&gt;</description>
</item>
</channel>
</rss>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on Blog Fede</title><link>https://fedesrv.ddns.net/posts/</link><description>Recent content in Posts on Blog Fede</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 19 Mar 2025 02:53:57 -0300</lastBuildDate><atom:link href="https://fedesrv.ddns.net/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Coord Keeper</title><link>https://fedesrv.ddns.net/posts/coord-keeper/</link><pubDate>Wed, 19 Mar 2025 02:53:57 -0300</pubDate><guid>https://fedesrv.ddns.net/posts/coord-keeper/</guid><description>&lt;h1 id="motivacion"&gt;Motivacion&lt;/h1&gt;&#10;&lt;p&gt;He notado que en versiones actuales de minecraft han puesto mucha informacion en el menu de debug (el &lt;!-- raw HTML omitted --&gt;f3&lt;!-- raw HTML omitted --&gt;) lo que lo hace cada vez más hostil al jugador promedio intentar encontrar la linea con las coordenadas de donde esta y poderse comunicar con la gente en el mismo servidor, es obvio que esto es totalmente intencionado. Entiendo que el objetivo es que uses las herramientas dadas por los diseñadores del videojuego para poder localizarte. Pero yo necesito una forma de poder guardar las coordenadas localmente en mi computadora. aunque podria haber usado un block de notas para almacenarlas me decidí por hacer algo más inproductivo&amp;hellip;. hacer una app de react.&lt;/p&gt;</description></item><item><title>Sistema Alquileres DevLog n1</title><link>https://fedesrv.ddns.net/posts/sist_alquileres_devlog_1/</link><pubDate>Sun, 10 Nov 2024 00:08:17 +0800</pubDate><guid>https://fedesrv.ddns.net/posts/sist_alquileres_devlog_1/</guid><description>&lt;h1 id="que-es-esto"&gt;¿Que es esto?&lt;/h1&gt;&#10;&lt;p&gt;Estas son pequeñas updates que voy a estar haciendo sobre el proyecto final mio de &amp;ldquo;Ingenieria de Software&amp;rdquo; (asi se llama la materia). El cual consiste de un sistema de gestion de alquileres. Pensado para tener varios tipos de usuario como un propietario que carge las propiedades que desea publicar siempre y cuando este verificado que le pertenecen a él y un inquilino el cual podra efectuar busquedas de propiedades para alquilas, ver el estado de los alquileres, y pagar los alquileres que sean correpondientes.&lt;/p&gt;</description></item><item><title>Fix Screen Tear x11</title><link>https://fedesrv.ddns.net/posts/fix_screen_tear_xfce/</link><pubDate>Sat, 09 Nov 2024 13:28:17 +0800</pubDate><guid>https://fedesrv.ddns.net/posts/fix_screen_tear_xfce/</guid><description>&lt;h1 id="que-es-el-screen-tear"&gt;¿Que es el screen tear?&lt;/h1&gt;&#10;&lt;p&gt;buenas, Si alguna vez instalaron un wm liviano en linux que no use wayland seguramente habrán notado que al momento de mover una ventana en el escritorio o ver un video sucede algo de este estilo.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="https://qph.cf2.quoracdn.net/main-qimg-4994dca8fc9979e8a10d3422cb5f7bcb" alt="Imagen sacada de google donde se demuestra el screen tear"&gt;&lt;/p&gt;&#10;&lt;p&gt;Donde la imagen se ve recortada por algunos milisegundos. A mi se me hace muy molesto a la vista cuando estoy mucho tiempo (relativamente) delante de la pantalla.&lt;/p&gt;</description></item><item><title>String Interpolation</title><link>https://fedesrv.ddns.net/posts/string-interpolation/</link><pubDate>Tue, 24 Oct 2023 22:24:17 +0800</pubDate><guid>https://fedesrv.ddns.net/posts/string-interpolation/</guid><description>&lt;h1 id="que-es"&gt;¿Que es?&lt;/h1&gt;&#10;&lt;p&gt;Es un proceso de evaluado, en el cual se reemplazan placeholders en &lt;code&gt;string&lt;/code&gt; por valores, en nuestro caso, de variables en momento de ejecución.&lt;/p&gt;&#10;&lt;h1 id="sintaxis"&gt;Sintaxis&lt;/h1&gt;&#10;&lt;pre&gt;&lt;code&gt;var manzanas = 4;&#10;var bananas = 3;&#10;&#10;Console.WriteLine($&amp;quot;Tengo {manzanas} manzanas&amp;quot;);&#10;Console.WriteLine($&amp;quot;Vendí {manzanas + bananas} frutas&amp;quot;);&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Basicamente son plantillas.&lt;/p&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Anuncio Aoc 2023</title><link>https://fedesrv.ddns.net/posts/anuncio-aoc-2023/</link><pubDate>Tue, 03 Oct 2023 12:54:22 -0300</pubDate><guid>https://fedesrv.ddns.net/posts/anuncio-aoc-2023/</guid><description>&lt;h1 id="que-es-advent-of-code"&gt;¿Que es Advent of Code?&lt;/h1&gt;&#10;&lt;p&gt;Son un grupo de puzzles de programacion presentados en forma de calendario que suelen ser utizados como:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Preparacion de entrevistas.&lt;/li&gt;&#10;&lt;li&gt;Training en empresas.&lt;/li&gt;&#10;&lt;li&gt;Practica para familiarizarse con nuevos lenguajes de programacion.&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;etc&amp;hellip;&lt;/em&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h1 id="que-tengo-pensado"&gt;Que tengo pensado&lt;/h1&gt;&#10;&lt;p&gt;Cerca de fin Line truncated
@@ -1,196 +1,18 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Imagenes: Color a b&amp;w</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Imagenes: Color a b&amp;w</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Sep 23, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<h1 id="gimp">Gimp</h1>
<p>Hay varias formas de pasar una imagen a blanco y negro. yo prefiero la de usar <strong>Gimp</strong> con la opcion de <code>Color &gt; Desaturacion &gt; Color a gama de grises</code>. Pero voy a listar un par de métodos alternativos para obtener el ~mismo resultado.<br>
<img src="/fedecomp.png" alt="Comparación"></p>
<h1 id="imagemagick">ImageMagick</h1>
<blockquote>
<p>Es un conjunto de utilidades de código abierto​ para mostrar, manipular y convertir imágenes, capaz de leer y escribir más de 200 formatos.​</p>
</blockquote>
<p>Una de esas utilidades es llamada <code>convert</code>, la cual acepta un archivo y convierte este a el formato que se le especifique. Existe una flag llamada <code>-colorspace</code> la cual si le damos el parametro <strong>Gray</strong> la imagen resultante estará representada en una gama de grises.
<img src="/fedeg.jpg" alt="Imagen en gama de grises"></p>
<h2 id="nota">Nota</h2>
<p>Tambien se puede usar la flag <code>-monocrome</code> pero esta da un resultado el cual no me termina de gustar, a continuacion doy un par de muestras de como queda,
<img src="/fedebw.jpg" alt="Imagen monocroma"></p>
<h1 id="opcion-web">Opcion web</h1>
<p>Existe <a href="https://pinetools.com/es/imagen-escala-grises">esta</a> pagina en la cual para generar la imagen en gama de grises solo hay que poner la imagen y darle a <strong>Aplicar</strong>.<br>
<img src="/gamaDeGrises.jpg" alt="Gama de grises demo"></p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Imagenes: Color a b&amp;w · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">Imagenes: Color a b&amp;w</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Sep 23, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><h1 id=gimp>Gimp</h1><p>Hay varias formas de pasar una imagen a blanco y negro. yo prefiero la de usar <strong>Gimp</strong> con la opcion de <code>Color > Desaturacion > Color a gama de grises</code>. Pero voy a listar un par de métodos alternativos para obtener el ~mismo resultado.<br><img src=/fedecomp.png alt=Comparación></p><h1 id=imagemagick>ImageMagick</h1><blockquote><p>Es un conjunto de utilidades de código abierto​ para mostrar, manipular y convertir imágenes, capaz de leer y escribir más de 200 formatos.​</p></blockquote><p>Una de esas utilidades es llamada <code>convert</code>, la cual acepta un archivo y convierte este a el formato que se le especifique. Existe una flag llamada <code>-colorspace</code> la cual si le damos el parametro <strong>Gray</strong> la imagen resultante estará representada en una gama de grises.
<img src=/fedeg.jpg alt="Imagen en gama de grises"></p><h2 id=nota>Nota</h2><p>Tambien se puede usar la flag <code>-monocrome</code> pero esta da un resultado el cual no me termina de gustar, a continuacion doy un par de muestras de como queda,
<img src=/fedebw.jpg alt="Imagen monocroma"></p><h1 id=opcion-web>Opcion web</h1><p>Existe <a href=https://pinetools.com/es/imagen-escala-grises>esta</a> pagina en la cual para generar la imagen en gama de grises solo hay que poner la imagen y darle a <strong>Aplicar</strong>.<br><img src=/gamaDeGrises.jpg alt="Gama de grises demo"></p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+16 -184
View File
@@ -1,184 +1,16 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RetroArchivements</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">RetroArchivements</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Sep 22, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<p>Hace ya un par de dias que estoy usando un <a href="https://retroachievements.org/user/fedpo2">servicio</a> que implementa una api para trackear tu progreso en distintos juegos retro y no tan retro.</p>
<p>Uno de los que estoy jugando es <code>Kirby's dream land 2</code><br>
<img src="https://media.retroachievements.org/Images/046585.png" alt="kirby"></p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>RetroArchivements · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">RetroArchivements</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Sep 22, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><p>Hace ya un par de dias que estoy usando un <a href=https://retroachievements.org/user/fedpo2>servicio</a> que implementa una api para trackear tu progreso en distintos juegos retro y no tan retro.</p><p>Uno de los que estoy jugando es <code>Kirby's dream land 2</code><br><img src=https://media.retroachievements.org/Images/046585.png alt=kirby></p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+18 -193
View File
@@ -1,193 +1,18 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Primer Post</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Primer Post</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Sep 22, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<h1 id="buenas">buenas</h1>
<p>buenas
Luego de sufrir bastante con el nginx y su <em>Reverse Proxy</em>, finalmente me decidí por poner la pagina del blog en el <strong>WebRoot</strong> y el <em>gitea</em> en un subfolder.</p>
<h2 id="como-funciona-esto">Como funciona esto</h2>
<p>El programa que estoy usando para hacer este blog se llama <a href="https://gohugo.io">Hugo</a>, consiste de una especie de parceador de <a href="https://www.markdownguide.org/">Markdown</a> a Html estático el cual hosteo con este <a href="https://nginx.org/en/">webServer</a>.</p>
<h3 id="como-hago-nuevos-posts">Como hago nuevos posts</h3>
<p>Dentro de la carpeta del proyecto del server hay una que se llama content, todos los <code>.md</code> que haya ahí cuando utilizo el comando:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>hugo
</span></span></code></pre></div><p>se genera el html de la paginas del blog las cuales copio usando rsync dentro de la intranet de mi casa</p>
<blockquote>
<p>Luraschi no me robes las llaves del ssh🙏.</p>
</blockquote>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Primer Post · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">Primer Post</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Sep 22, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><h1 id=buenas>buenas</h1><p>buenas
Luego de sufrir bastante con el nginx y su <em>Reverse Proxy</em>, finalmente me decidí por poner la pagina del blog en el <strong>WebRoot</strong> y el <em>gitea</em> en un subfolder.</p><h2 id=como-funciona-esto>Como funciona esto</h2><p>El programa que estoy usando para hacer este blog se llama <a href=https://gohugo.io>Hugo</a>, consiste de una especie de parceador de <a href=https://www.markdownguide.org/>Markdown</a> a Html estático el cual hosteo con este <a href=https://nginx.org/en/>webServer</a>.</p><h3 id=como-hago-nuevos-posts>Como hago nuevos posts</h3><p>Dentro de la carpeta del proyecto del server hay una que se llama content, todos los <code>.md</code> que haya ahí cuando utilizo el comando:</p><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-bash data-lang=bash><span style=display:flex><span>hugo
</span></span></code></pre></div><p>se genera el html de la paginas del blog las cuales copio usando rsync dentro de la intranet de mi casa</p><blockquote><p>Luraschi no me robes las llaves del ssh🙏.</p></blockquote></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+21 -206
View File
@@ -1,206 +1,21 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sistema Alquileres DevLog n1</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<img
src="/cover2.png"
alt="Sistema Alquileres DevLog n1"
class="w-full h-auto object-cover"
/>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">Sistema Alquileres DevLog n1</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Nov 10, 2024</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#DevLog</span>
</div>
</div>
<article>
<h1 id="que-es-esto">¿Que es esto?</h1>
<p>Estas son pequeñas updates que voy a estar haciendo sobre el proyecto final mio de &ldquo;Ingenieria de Software&rdquo; (asi se llama la materia). El cual consiste de un sistema de gestion de alquileres. Pensado para tener varios tipos de usuario como un propietario que carge las propiedades que desea publicar siempre y cuando este verificado que le pertenecen a él y un inquilino el cual podra efectuar busquedas de propiedades para alquilas, ver el estado de los alquileres, y pagar los alquileres que sean correpondientes.</p>
<p>Ahí arriba describi solo 2 o 3 de los casi 26 casos de uso que tengo descriptos. Además voy a reutilizar los conocimiento que adquirí haciendo el panel de control para la materia de base de datos.</p>
<blockquote>
<p>Se vienen cositas</p>
</blockquote>
<p>Bueno ahora voy a hacer un mini-informe sobre el modulo de seguridad</p>
<h1 id="permisos-para-los-clientes">Permisos para los clientes</h1>
<p>Cito de la entrega del segundo parcial.</p>
<blockquote>
<p>En cuanto a como va el desarrollo, te diria que bien encaminado, actualmente estoy usando svelte/bootstrap para el front y aspnet core 8 ( ? ) para el backend. ya tengo definido que acciones puede hacer un cliente en el sistema mediante un sistema usuario-grupo-permiso Similar a como los permisos son definidos en linux (donde por ejemplo un usuario para poder acceder al uso del audio del servidor necesita estar en un grupo &ldquo;audio&rdquo; o para escribir a un almacenamiento en cinta necesita pertenecer al grupo &ldquo;tape&rdquo;) En mi proyecto por ahora tengo 3 grupos que consisten en los 3 actores que tengo definidos (inquilino, propietario, administracion). Entonces cuando checkeo por si un cliente tiene acceso a un permiso lo puedo averiguar de forma sencilla:</p>
</blockquote>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-csharp" data-lang="csharp"><span style="display:flex;"><span><span style="color:#66d9ef">var</span> permisos = con.Clientes
</span></span><span style="display:flex;"><span>.Where(c =&gt; c.Dni == cli.Dni)
</span></span><span style="display:flex;"><span>.SelectMany(c =&gt; c.Idgrupos)
</span></span><span style="display:flex;"><span>.SelectMany(g =&gt; g.Idpermisos)
</span></span><span style="display:flex;"><span>.Distinct();
</span></span></code></pre></div><p>Esto dandome una lista de todos los permisos que posee el cliente.</p>
<p>Tambien tengo hechos los abm de inquilino/propietario pero hay menos que comentar sobre eso.</p>
<h1 id="almacenamiento-de-contratos-de-alquiler">Almacenamiento de Contratos de Alquiler</h1>
<p>Un requisito que considero muy importante es almacenamiento de los contratos de alquiler. En una primera instancia pense que almacenarlos en un campo blob de mysql podia ser factible pero entre lo que escuché sobre que hace los backups de la base de datos gigantes y el hecho de que estaria haciendo una query a la base de datos para obtener, ponele, 3MB me parece un montón</p>
<p>Almacenarlos con un fileserver simple como <a href="https://github.com/svenstaro/miniserve">Miniserve</a> que es una excelente herramienta si bien para casos donde tenes un solo servidor pareceria masomenos pasable al final termina no siendo tan buena idea si llegas a necesitar algo minimanente distribuido o que maneje permisos.</p>
<p>Así fue como luego de preguntarle a un amigo y a chatgpt. me decidí por darle una oportunidad a <a href="https://min.io/">Minio</a> que es una alternativa &ldquo;S3 pero hosteado en casa&rdquo;. tengo mucho que aprender aún sobre s3 porque tengo solo una idea general de como funciona. Así que voy a dejar una update de esto en unos dias o semanas (no hay chances que sea consistente publicando acá) sobre como va esto. bye.</p>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>Sistema Alquileres DevLog n1 · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><img src=/cover2.png alt="Sistema Alquileres DevLog n1" class="w-full h-auto object-cover"></div><h1 class="text-4xl font-bold mb-4 text-center">Sistema Alquileres DevLog n1</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Nov 10, 2024</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#DevLog</span></div></div><article><h1 id=que-es-esto>¿Que es esto?</h1><p>Estas son pequeñas updates que voy a estar haciendo sobre el proyecto final mio de &ldquo;Ingenieria de Software&rdquo; (asi se llama la materia). El cual consiste de un sistema de gestion de alquileres. Pensado para tener varios tipos de usuario como un propietario que carge las propiedades que desea publicar siempre y cuando este verificado que le pertenecen a él y un inquilino el cual podra efectuar busquedas de propiedades para alquilas, ver el estado de los alquileres, y pagar los alquileres que sean correpondientes.</p><p>Ahí arriba describi solo 2 o 3 de los casi 26 casos de uso que tengo descriptos. Además voy a reutilizar los conocimiento que adquirí haciendo el panel de control para la materia de base de datos.</p><blockquote><p>Se vienen cositas</p></blockquote><p>Bueno ahora voy a hacer un mini-informe sobre el modulo de seguridad</p><h1 id=permisos-para-los-clientes>Permisos para los clientes</h1><p>Cito de la entrega del segundo parcial.</p><blockquote><p>En cuanto a como va el desarrollo, te diria que bien encaminado, actualmente estoy usando svelte/bootstrap para el front y aspnet core 8 ( ? ) para el backend. ya tengo definido que acciones puede hacer un cliente en el sistema mediante un sistema usuario-grupo-permiso Similar a como los permisos son definidos en linux (donde por ejemplo un usuario para poder acceder al uso del audio del servidor necesita estar en un grupo &ldquo;audio&rdquo; o para escribir a un almacenamiento en cinta necesita pertenecer al grupo &ldquo;tape&rdquo;) En mi proyecto por ahora tengo 3 grupos que consisten en los 3 actores que tengo definidos (inquilino, propietario, administracion). Entonces cuando checkeo por si un cliente tiene acceso a un permiso lo puedo averiguar de forma sencilla:</p></blockquote><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none><code class=language-csharp data-lang=csharp><span style=display:flex><span><span style=color:#66d9ef>var</span> permisos = con.Clientes
</span></span><span style=display:flex><span>.Where(c =&gt; c.Dni == cli.Dni)
</span></span><span style=display:flex><span>.SelectMany(c =&gt; c.Idgrupos)
</span></span><span style=display:flex><span>.SelectMany(g =&gt; g.Idpermisos)
</span></span><span style=display:flex><span>.Distinct();
</span></span></code></pre></div><p>Esto dandome una lista de todos los permisos que posee el cliente.</p><p>Tambien tengo hechos los abm de inquilino/propietario pero hay menos que comentar sobre eso.</p><h1 id=almacenamiento-de-contratos-de-alquiler>Almacenamiento de Contratos de Alquiler</h1><p>Un requisito que considero muy importante es almacenamiento de los contratos de alquiler. En una primera instancia pense que almacenarlos en un campo blob de mysql podia ser factible pero entre lo que escuché sobre que hace los backups de la base de datos gigantes y el hecho de que estaria haciendo una query a la base de datos para obtener, ponele, 3MB me parece un montón</p><p>Almacenarlos con un fileserver simple como <a href=https://github.com/svenstaro/miniserve>Miniserve</a> que es una excelente herramienta si bien para casos donde tenes un solo servidor pareceria masomenos pasable al final termina no siendo tan buena idea si llegas a necesitar algo minimanente distribuido o que maneje permisos.</p><p>Así fue como luego de preguntarle a un amigo y a chatgpt. me decidí por darle una oportunidad a <a href=https://min.io/>Minio</a> que es una alternativa &ldquo;S3 pero hosteado en casa&rdquo;. tengo mucho que aprender aún sobre s3 porque tengo solo una idea general de como funciona. Así que voy a dejar una update de esto en unos dias o semanas (no hay chances que sea consistente publicando acá) sobre como va esto. bye.</p></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>
+17 -189
View File
@@ -1,193 +1,21 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>String Interpolation</title>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<main>
<nav class="bg-gray-800 fixed w-full top-0 z-3">
<div class="mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="/" class="text-white font-bold text-xl"
>Fede Landing Site</a
>
</div>
<div class="hidden md:flex">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
<div class="md:hidden cursor-context-menu">
<button
onclick="toggleOffCanvas()"
class="border px-2 py-1 rounded text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M0 6h25M0 12h25M0 18h25"
/>
</svg>
</button>
</div>
</div>
</div>
<div
id="offCanvas"
class="fixed top-16 right-0 w-64 h-screen bg-gray-800 transform translate-x-full transition-transform duration-200 ease-in-out"
>
<div class="flex flex-col p-4">
<a
href="/git"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Git</a
>
<a
class="text-gray-300 hover:text-white px-3 py-2 muted"
href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf"
target="_blank"
>CV</a
>
<a
href="https://github.com/fedpo2"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>GitHub</a
>
<a
href="mailto:federico.nicolas.polidoro@gmail.com"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>Email</a
>
<a
href="https://www.linkedin.com/in/federico-polidoro-40137a25b/"
target="_blank"
class="text-gray-300 hover:text-white px-3 py-2"
>LinkedIn</a
>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>
<div class="bg-blue-300 p-12"></div>
<div class="bg-blue-300">
<div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto">
<div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black">
<div class="bg-gray-200 text-gray-600 font-mono text-center py-16">
No image
</div>
</div>
<h1 class="text-4xl font-bold mb-4 text-center">String Interpolation</h1>
<div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center">
<span>Publicado el: Oct 24, 2023</span>
<div class="flex gap-2">
<span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span>
</div>
</div>
<article>
<h1 id="que-es">¿Que es?</h1>
<p>Es un proceso de evaluado, en el cual se reemplazan placeholders en <code>string</code> por valores, en nuestro caso, de variables en momento de ejecución.</p>
<h1 id="sintaxis">Sintaxis</h1>
<pre><code>var manzanas = 4;
<!doctype html><html lang=es class=dark><head><meta charset=UTF-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=color-scheme content="dark"><title>String Interpolation · Blog Fede</title><link rel=stylesheet href=/css/compiled.min.13eee81ac36f0c7a38ee350e3f28de666cf8d3c4c67f097f3b2afd15fae1a49d.css integrity="sha256-E+7oGsNvDHo47jUOPyjeZmz408TGfwl/Oyr9FfrhpJ0="><script src=/js/health.min.c40e1d74909dc0088b83a542798ddd91ad1562ae7755a2f27df04d77448fba9b.js integrity="sha256-xA4ddJCdwAiLg6VCeY3dka0VYq53VaLyffBNd0SPups=" defer></script></head><body class="bg-[#11111b] text-[#cdd6f4] min-h-screen antialiased font-mono selection:bg-[#cba6f7]/40 selection:text-[#11111b] overflow-x-hidden"><canvas id=matrix-bg class="fixed inset-0 h-full w-full bg-[#11111b]" aria-hidden=true></canvas><div id=matrix-spotlight class="pointer-events-none fixed inset-0" aria-hidden=true></div><div class="pointer-events-none fixed inset-0 bg-[radial-gradient(ellipse_at_center,transparent_0%,rgba(17,17,27,0.6)_100%)]" aria-hidden=true></div><script>(function(){const n=document.getElementById("matrix-bg"),p=document.getElementById("matrix-spotlight");if(!n)return;const e=n.getContext("2d"),s={base:"#11111b",lavender:[180,190,254],mauve:[203,166,247],pink:[245,194,231],rosewater:[245,224,220]},t=28,c=240;let l=0,d=0,o=window.innerWidth/2,i=window.innerHeight/3,a=!1;function u(){const s=Math.min(window.devicePixelRatio||1,2);n.width=Math.floor(window.innerWidth*s),n.height=Math.floor(window.innerHeight*s),n.style.width=window.innerWidth+"px",n.style.height=window.innerHeight+"px",e.setTransform(s,0,0,s,0,0),l=Math.ceil(window.innerWidth/t),d=Math.ceil(window.innerHeight/t)}function h(e,t){p.style.background="radial-gradient(circle "+c+"px at "+e+"px "+t+"px, rgba(203,166,247,0.13) 0%, rgba(180,190,254,0.05) 45%, transparent 70%)"}h(o,i),window.addEventListener("resize",u),window.addEventListener("pointermove",e=>{o=e.clientX,i=e.clientY,a=!0,h(o,i)},{passive:!0}),document.addEventListener("pointerleave",()=>{a=!1}),u();const m=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(e,t,n){return[Math.round(e[0]+(t[0]-e[0])*n),Math.round(e[1]+(t[1]-e[1])*n),Math.round(e[2]+(t[2]-e[2])*n)]}function f(n){requestAnimationFrame(f),m&&(n=0);const u=window.innerWidth,h=window.innerHeight;e.shadowBlur=0,e.fillStyle=s.base,e.fillRect(0,0,u,h);for(let h=0;h<d;h++){const u=h*t+t/2;for(let f=0;f<l;f++){const h=f*t+t/2,p=h-o,g=u-i,v=a?(p*p+g*g)**.5:9999;let d=Math.max(0,1-v/c);d=d*d*(3-2*d);const b=m?.5:.5+.5*Math.sin(n*.001+(h+u)*.02);if(d>.01){const t=d>.65?r(s.mauve,s.rosewater,(d-.65)/.35):d>.3?r(s.lavender,s.mauve,(d-.3)/.35):r([88,91,112],s.lavender,d/.3),n=1.2+d*1.2;e.shadowBlur=16*d,e.shadowColor="rgba(203,166,247,0.9)",e.fillStyle="rgba("+t[0]+","+t[1]+","+t[2]+","+(.35+d*.65).toFixed(2)+")",e.beginPath(),e.arc(h,u,n,0,Math.PI*2),e.fill()}else e.shadowBlur=0,e.fillStyle="rgba(88,91,112,"+(.16+b*.14).toFixed(2)+")",e.beginPath(),e.arc(h,u,1.2,0,Math.PI*2),e.fill()}}e.shadowBlur=0}requestAnimationFrame(f)})()</script><div class="relative z-10 flex min-h-screen flex-col"><main class="flex-1 w-full"><nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]"><div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6"><a href=/ class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span></a><div class="hidden items-center gap-2 md:flex"><a href=/git target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a></div><div class=md:hidden><button onclick=toggleOffCanvas() aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16"/></svg></button></div></div><div id=offCanvas class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out"><div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold"><a href=/git target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href=https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href=https://github.com/fedpo2 target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href=mailto:federico.nicolas.polidoro@gmail.com target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href=https://www.linkedin.com/in/federico-polidoro-40137a25b/ target=_blank class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a></div></div></nav><script>function toggleOffCanvas(){const e=document.getElementById("offCanvas");e.classList.toggle("translate-x-full")}</script><div class="bg-blue-300 p-12"></div><div class=bg-blue-300><div class="bg-white rounded-md flex flex-col items-center px-2 py-6 max-w-4xl mx-auto"><div class="w-full mb-8 overflow-hidden rounded-lg shadow-xl border-4 border-black"><div class="bg-gray-200 text-gray-600 font-mono text-center py-16">No image</div></div><h1 class="text-4xl font-bold mb-4 text-center">String Interpolation</h1><div class="text-sm text-gray-600 mb-6 font-mono flex gap-4 justify-center"><span>Publicado el: Oct 24, 2023</span><div class="flex gap-2"><span class="px-2 py-1 bg-gray-200 rounded-full">#old_blog</span></div></div><article><h1 id=que-es>¿Que es?</h1><p>Es un proceso de evaluado, en el cual se reemplazan placeholders en <code>string</code> por valores, en nuestro caso, de variables en momento de ejecución.</p><h1 id=sintaxis>Sintaxis</h1><pre><code>var manzanas = 4;
var bananas = 3;
Console.WriteLine($&quot;Tengo {manzanas} manzanas&quot;);
Console.WriteLine($&quot;Vendí {manzanas + bananas} frutas&quot;);
</code></pre>
<blockquote>
<p>Basicamente son plantillas.</p>
</blockquote>
</article>
<a
href="/"
class="
inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium
"
>
← Volver
</a>
</div>
</div>
<div class="bg-blue-300 p-5"></div>
</main>
<br>
<footer class="text-center text-sm text-gray-500 mt-12 py-6 border-t">
© 2026 Federico Polidoro
</footer>
</body>
</html>
</code></pre><blockquote><p>Basicamente son plantillas.</p></blockquote></article><a href=/ class="inline-block mt-6
border-2 border-black bg-white px-6 py-2
shadow-[0_4px_0_black]
hover:shadow-[0_8px_0_black]
hover:-translate-y-1
transition-all duration-100 ease-linear
font-medium">← Volver</a></div></div><div class="bg-blue-300 p-5"></div></main><footer class="border-t-2 border-[#cdd6f4] bg-[#181825] text-center text-xs font-bold text-white py-6"><span class="inline-block border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-1 text-white shadow-[3px_3px_0_#cba6f7]">~ © 2026 Federico Polidoro <span class=text-white>·</span> sitemap</span></footer></div></body></html>