iacore

Results 421 comments of iacore

I don't understand what the code does, but here's what's wrong. [`utf8.offset(s, 0)`](https://www.lua.org/manual/5.3/manual.html#6.5) always returns `1` (**start** of 1-th codepoint in `s`).

https://github.com/BuilderIO/qwik/blob/341038bb419ffd0969cd48aa6cf303217bedacf7/packages/qwik-city/utils/pathname.unit.ts#L59

> Which HTTP server are you using? `python -m http.server`

~~@zqianem This issue apparently fixed now. Seems like properties are cached and compared to previous value using `===`. The example in the first comment of this issue only outputs `0`...

@zqianem Sorry, I changed x to a number, and it worked. It seems like only arrays and objects trigger double update, while numbers like `0` or `NaN` works correctly. Here's...

The current architecture of Svelte propagates redraw through components without checking if has been updated. So if you have two path in the dependency graph. `main -> wrapper -> slot`...

This requires sub-bit calculation of number of bits required to store a struct. What would the ABI be? 0 .. 2^8 - 1 takes up 8 bits (`u8`) 1 .....

@LokiMidgard ...FYI https://svelte.dev/repl/dc5b04b90d6e4f7181a55685afd9fab6?version=3.44.3