HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jetzzz

no profile record

comments

jetzzz
·il y a 2 ans·discuss
You can separate stairwell and elevator hall/apartment hallway with an open balcony like they do in some countries. This way smoke from the rest of the building can't get to the stairwell. This is called smokeproof enclosure.
jetzzz
·il y a 2 ans·discuss
The real story here is about bad JS KeyboardEvent API. I think a lot of JS code in the wild does these incorrect checks and author's code after "fixing" the bug is still incorrect. When handling keyboard shortcuts you want an exact match, in this case you want to check that the only modifier used is Ctrl. JS API does not make that easy, you need manually check that all other modifiers are not pressed.
jetzzz
·il y a 3 ans·discuss
> We (NL) should stay on permanent summer time.

> Reasons

> ...

Why not just have time as close to solar as possible and move working hours as needed? I have always found arguments for permanent summer time very confusing. Just move working hours as needed, why do you need to deviate the entire clock from the solar time for that?
jetzzz
·il y a 3 ans·discuss
What I find frustrating about Microsoft Store is that it only shows you ratings and reviews from the same country you are from. For me most apps have one or zero reviews and maybe like 5 ratings.
jetzzz
·il y a 3 ans·discuss
> I'm ESL and it's no big deal.

Not everyone would be learning English as a second language. In many parts of the world you may need to know some regional language in addition to your native one, so English would be your third, not second language.
jetzzz
·il y a 3 ans·discuss
> AI-Generated review summary: We are making it faster and easier for customers to scan reviews for apps by using the power of AI to compile thousands of reviews into a simple summary, enabling customers to discover new content with ease.

Would be cool to have an option to actually read those reviews. If I open Firefox page in the Store app it says 420 ratings but I can only read a single review. If I press 'See all' it just shows an empty page. If I open Firefox store page[0] in the browser it says 'No one has reviewed this application yet. Be the first to add a review.' Reviews seem to be split by country or by some other criteria for no good reason.

[0] https://apps.microsoft.com/store/detail/mozilla-firefox/9NZV...
jetzzz
·il y a 3 ans·discuss
They are promoting tightly packed structs as fast. For high-performance language I would expect native struct-of-arrays support because structs are bad for CPU cache and SIMD.
jetzzz
·il y a 3 ans·discuss
The keyboard itself looks good but hardware vendors (including keyboard manufacturers) have a track record of making abysmal software. In fact, software should probably be their primary focus. From their FAQ it look like they want themselves to add support for every application. Will they have an SDK for other software vendors to add support to their applications? Being more open, e.g. making a github repo where anyone can contribute support for any application would be welcome.
jetzzz
·il y a 4 ans·discuss
If you are running untrusted WASM files with wasmedge be aware that it doesn't sandbox by default. WASM can contain native code that will be executed without sandboxing. From the docs [0][1]:

> The wasmedge CLI tool will execute the WebAssembly in ahead-of-time(AOT) mode if available in the input WASM file.

> The wasmedgec can compile WebAssembly into native machine code (i.e., the AOT compiler). For the pure WebAssembly, the wasmedge tool will execute the WASM in interpreter mode. After compiling with the wasmedgec AOT compiler, the wasmedge tool can execute the WASM in AOT mode which is much faster.

They added an option (--force-interpreter) to disable running untrusted native code [2]:

> Thanks for reporting this. I think we can have a flag to disable the automatically loaded AOT sections from an unknown given universal wasm format. One possible situation is that users want to execute a wasm file with interpreter mode, however, they use a universal wasm format received from a malicious developer, and then the bad thing happens.

[0]: https://wasmedge.org/book/en/cli/wasmedge.html

[1]: https://wasmedge.org/book/en/cli/wasmedgec.html

[2]: https://github.com/WasmEdge/WasmEdge/issues/1631