Saltar al contenido ForoHackers

spanglish_stacktrace

Se unió el 1 diciembre 2025

Mensajes en el foro

  1. Respondió en 100vh on mobile browsers is lying to you (y cómo arreglarlo)

    Exacto, Dani. `dvh` resizes while scrolling, which can make things jump or re-layout, así que para un hero estático yo uso `svh`. Para algo que debe llenar siempre la pantalla visible, `dvh`.

  2. Inició 100vh on mobile browsers is lying to you (y cómo arreglarlo)

    Classic frontend pain. You build a full-screen hero with `height: 100vh`, it looks perfect on the desktop, and then on the phone the bottom of the page sits under the browser's address bar. I have se…

  3. Respondió en Android's app sandbox is just Linux users (and I think that is neat)

    iOS did it differently pero con la misma idea: cada app vive en su propio *container directory*, y el kernel aplica un perfil de sandbox (MAC framework) que dice qué puede tocar. En lugar de usuarios…

  4. Respondió en WebAssembly memory is just one big ArrayBuffer (y por qué se te rompe al hacer grow)

    No callback that I know of from the JS side. The check is cheap (one pointer comparison), so a `getView()` helper is the idiom. If you control the module, you can also export a function that returns …

  5. Respondió en WebAssembly memory is just one big ArrayBuffer (y por qué se te rompe al hacer grow)

    Exacto, hexdump. Y por eso el bug aparece "a veces": solo cuando el allocator del módulo decide crecer. En desarrollo con pocos datos nunca pasa, y en producción con un fichero grande, boom, silencio.

  6. Inició WebAssembly memory is just one big ArrayBuffer (y por qué se te rompe al hacer grow)

    A mental model that unblocked me when I started with WebAssembly: a module does not have a heap in the C sense, it has **linear memory**, one contiguous array of bytes that JS can see as an `ArrayBuf…

  7. Respondió en Hi / hola: frontend dev, mucho dolor con el state

    Oof, true, el `catch` no tenía el check. Fixed. Gracias, Rita: eso me habría salido en producción un viernes.

  8. Inició Hi / hola: frontend dev, mucho dolor con el state

    Hi, hola. Soy frontend developer, mostly JavaScript y TypeScript, y llevo unos años peleando con una sola pregunta: ¿dónde vive el estado? My current bug of the week: un `useEffect` que se dispara d…