<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: alsadi</title><link>https://news.ycombinator.com/user?id=alsadi</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 13 Jun 2026 06:27:20 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=alsadi" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Have you considered defusing SSH from the likes of xz backdoors?]]></title><description><![CDATA[
<p>Article URL: <a href="https://bcksp.blogspot.com/2024/03/how-to-disable-xz-backdoor-or-alike-in.html">https://bcksp.blogspot.com/2024/03/how-to-disable-xz-backdoor-or-alike-in.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39893041">https://news.ycombinator.com/item?id=39893041</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 01 Apr 2024 11:39:27 +0000</pubDate><link>https://bcksp.blogspot.com/2024/03/how-to-disable-xz-backdoor-or-alike-in.html</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=39893041</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39893041</guid></item><item><title><![CDATA[New comment by alsadi in "XZ backdoor: "It's RCE, not auth bypass, and gated/unreplayable.""]]></title><description><![CDATA[
<p>Untill the entire scope of this is identified I suggest activating the kill switch<p><a href="https://bcksp.blogspot.com/2024/03/how-to-disable-xz-backdoor-or-alike-in.html?m=1" rel="nofollow">https://bcksp.blogspot.com/2024/03/how-to-disable-xz-backdoo...</a></p>
]]></description><pubDate>Sun, 31 Mar 2024 16:00:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=39885404</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=39885404</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39885404</guid></item><item><title><![CDATA[I identified another bottleneck in WASM Python binding]]></title><description><![CDATA[
<p>Article URL: <a href="https://old.reddit.com/r/WebAssembly/comments/11wwm5x/identifying_another_bottleneck_if_solved_wasm/">https://old.reddit.com/r/WebAssembly/comments/11wwm5x/identifying_another_bottleneck_if_solved_wasm/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35239096">https://news.ycombinator.com/item?id=35239096</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 20 Mar 2023 21:34:21 +0000</pubDate><link>https://old.reddit.com/r/WebAssembly/comments/11wwm5x/identifying_another_bottleneck_if_solved_wasm/</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=35239096</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35239096</guid></item><item><title><![CDATA[Show HN: I made calling WebAssembly from Python 25x times Faster]]></title><description><![CDATA[
<p>I found a serious bottleneck in Python binding of Wasmer and Wasmtime and I found a trick to make 25x faster. Then beat all that using NumPy.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35038739">https://news.ycombinator.com/item?id=35038739</a></p>
<p>Points: 5</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 06 Mar 2023 08:28:35 +0000</pubDate><link>https://medium.com/@alsadi/moving-hot-loops-from-python-to-wasm-wont-be-feasible-without-this-trick-65c9bd2dbe1b</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=35038739</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35038739</guid></item><item><title><![CDATA[Why there are randomness in ranking algorithm?]]></title><description><![CDATA[
<p>Article URL: <a href="https://medium.com/@alsadi/why-there-are-randomness-in-ranking-algorithm-11e6917d0ab8">https://medium.com/@alsadi/why-there-are-randomness-in-ranking-algorithm-11e6917d0ab8</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=34658797">https://news.ycombinator.com/item?id=34658797</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 04 Feb 2023 21:56:09 +0000</pubDate><link>https://medium.com/@alsadi/why-there-are-randomness-in-ranking-algorithm-11e6917d0ab8</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34658797</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34658797</guid></item><item><title><![CDATA[New comment by alsadi in "Serving Files in Python: How FastAPI Failed Us"]]></title><description><![CDATA[
<p>here I've eliminated uvicorn, nothing changed<p><a href="https://gist.github.com/muayyad-alsadi/3a1e1cdbafca34df8b17810a09805faf" rel="nofollow">https://gist.github.com/muayyad-alsadi/3a1e1cdbafca34df8b178...</a></p>
]]></description><pubDate>Thu, 02 Feb 2023 07:23:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=34623305</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34623305</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34623305</guid></item><item><title><![CDATA[New comment by alsadi in "Serving Files in Python: How FastAPI Failed Us"]]></title><description><![CDATA[
<p>Many things have changed since the old days. In PEP 3333 sendfile is exposed as opposed to PEP 333 (so in the WSGI days they had no way of doing it, but in ASGI they can do it).<p>The assumption that nginx is always there no longer hold, specially in microservices, ex. Running behind haproxy (does not service static files) or running bechind cloud provides like AWS ALB.</p>
]]></description><pubDate>Thu, 02 Feb 2023 04:25:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=34622059</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34622059</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34622059</guid></item><item><title><![CDATA[New comment by alsadi in "Serving Files in Python: How FastAPI Failed Us"]]></title><description><![CDATA[
<p>As I pointed out in my other comment, serving a static file should be a single call to a kernel routine called sendfile (sendfile in c or in python io.sendfile or loop.sendfile). No loop, no memory copy, no further context switch.<p>Again if you think I was not fair to fastapi, suggest a change to the fastapi part. Do not cripple the competing solution.<p>If you want believe the time is wasted by the introduction of uvicorn layer as opposed to pure python implementation, I can run the fastapi in pure python ASGI without that layer, it would be worse. Because you  uvicorn is one of the best implements.</p>
]]></description><pubDate>Thu, 02 Feb 2023 04:16:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=34621989</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34621989</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34621989</guid></item><item><title><![CDATA[New comment by alsadi in "Serving Files in Python: How FastAPI Failed Us"]]></title><description><![CDATA[
<p>BTW being ASGI is not excuse because ASGI spec (PEP 3333) have a section on how to expose and make use of sendfile kernel routine.<p><a href="https://peps.python.org/pep-3333/#optional-platform-specific-file-handling" rel="nofollow">https://peps.python.org/pep-3333/#optional-platform-specific...</a></p>
]]></description><pubDate>Wed, 01 Feb 2023 23:41:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=34619842</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34619842</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34619842</guid></item><item><title><![CDATA[New comment by alsadi in "Serving Files in Python: How FastAPI Failed Us"]]></title><description><![CDATA[
<p>I made it like that to be as fair as possible and as simple as possible. I've done other experiments with same results. If you think I was not fair to the fastapi part feel free to edit the fastapi part in the form of github gist. And give me the link.</p>
]]></description><pubDate>Wed, 01 Feb 2023 23:33:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=34619726</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34619726</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34619726</guid></item><item><title><![CDATA[New comment by alsadi in "Serving Files in Python: How FastAPI Failed Us"]]></title><description><![CDATA[
<p>It's reported here and they suggest adding nginx with x-accel which is basically surrending.<p><a href="https://github.com/tiangolo/fastapi/issues/5803">https://github.com/tiangolo/fastapi/issues/5803</a></p>
]]></description><pubDate>Wed, 01 Feb 2023 23:24:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=34619634</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34619634</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34619634</guid></item><item><title><![CDATA[Serving Files in Python: How FastAPI Failed Us]]></title><description><![CDATA[
<p>Article URL: <a href="https://medium.com/@alsadi/secret-sauce-is-zero-copy-single-context-switching-b749bd614dca">https://medium.com/@alsadi/secret-sauce-is-zero-copy-single-context-switching-b749bd614dca</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=34618582">https://news.ycombinator.com/item?id=34618582</a></p>
<p>Points: 5</p>
<p># Comments: 10</p>
]]></description><pubDate>Wed, 01 Feb 2023 22:04:45 +0000</pubDate><link>https://medium.com/@alsadi/secret-sauce-is-zero-copy-single-context-switching-b749bd614dca</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=34618582</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34618582</guid></item><item><title><![CDATA[New comment by alsadi in "“Coding is basically just ifs and for loops.”"]]></title><description><![CDATA[
<p>Computers are just infinite tape marked out into squares... (Turing machine). A pyramid is just a stack of cubic rocks.</p>
]]></description><pubDate>Sat, 04 Dec 2021 18:48:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=29443241</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=29443241</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29443241</guid></item><item><title><![CDATA[New comment by alsadi in "Virtual DOM is pure overhead (2018)"]]></title><description><![CDATA[
<p>I do agree. When I first see it I knew that. Comparing two sequences (actual dom and dom) to find diff is like O(n^2) and the assumption that dom ops is expensive is a lie (premature optimization). Dom ops on ids and classes and fragments is very fast. In most cases a slow dom is always a developer fault failing to use fragments.</p>
]]></description><pubDate>Thu, 01 Jul 2021 08:23:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=27697290</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=27697290</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27697290</guid></item><item><title><![CDATA[New comment by alsadi in "How much faster is Redis at storing a blob of JSON compared to PostgreSQL? 16×"]]></title><description><![CDATA[
<p>How about making it redis+msgpack vs. postgresql json-like?</p>
]]></description><pubDate>Sun, 29 Sep 2019 14:21:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=21107180</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=21107180</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=21107180</guid></item><item><title><![CDATA[New comment by alsadi in "Architecting Containers: Understanding User Space vs. Kernel Space (2015)"]]></title><description><![CDATA[
<p>2015</p>
]]></description><pubDate>Sun, 11 Aug 2019 16:18:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=20668792</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=20668792</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20668792</guid></item><item><title><![CDATA[New comment by alsadi in "Treat Medicines Like Netflix Treats Shows"]]></title><description><![CDATA[
<p>We are big pharam, give us tons of money and hope that we cure you! We don't! we just treat you.</p>
]]></description><pubDate>Thu, 07 Mar 2019 16:57:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=19329654</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=19329654</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19329654</guid></item><item><title><![CDATA[New comment by alsadi in "The CPython Bytecode Compiler Is Dumb"]]></title><description><![CDATA[
<p>Some optimizations can be enabled<p>"python -OO -m compileall mydir"<p>But it's merely skipping comments and names</p>
]]></description><pubDate>Mon, 25 Feb 2019 08:08:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=19243916</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=19243916</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19243916</guid></item><item><title><![CDATA[New comment by alsadi in "Tesla Model 3 Owners Vent About Polar Vortex Affecting Cars"]]></title><description><![CDATA[
<p>I guess Prius is not affected. But Prius is borning.</p>
]]></description><pubDate>Mon, 04 Feb 2019 11:10:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=19075391</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=19075391</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19075391</guid></item><item><title><![CDATA[New comment by alsadi in "Why does APT not use HTTPS?"]]></title><description><![CDATA[
<p>> Kazakhstan forces their citizens to install government-issued certificate to use SSL.<p>So why debian/ubuntu vulnteer to remove this layer? Why doing the equivalent of installing random certs for every gov/isp on every user?<p>Yes, government can force someone to install it, but it won't use force on every single person.</p>
]]></description><pubDate>Tue, 22 Jan 2019 20:56:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=18972374</link><dc:creator>alsadi</dc:creator><comments>https://news.ycombinator.com/item?id=18972374</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=18972374</guid></item></channel></rss>