Viewing profile — alsadi
alsadi
HN member- Joined
- Tue, Sep 06, 2016, 4:17 PM UTC
- HN karma
- 148
- Public activity
- 111 items
- HN profile
- View on Hacker News ↗
About alsadi
No profile information was provided.
Recent public activity
- story
-
comment
Comment #39885404
Untill the entire scope of this is identified I suggest activating the kill switch https://bcksp.blogspot.com/2024/03/how-to-disable-xz-backdoo...
- story
-
story
Show HN: I made calling WebAssembly from Python 25x times Faster
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.
- story
-
comment
Comment #34623305
here I've eliminated uvicorn, nothing changed https://gist.github.com/muayyad-alsadi/3a1e1cdbafca34df8b178...
-
comment
Comment #34622059
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). Th…
-
comment
Comment #34621989
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). N…
-
comment
Comment #34619842
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. https://peps.python.org/pep-3333/#optional-platfo…
-
comment
Comment #34619726
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…
-
comment
Comment #34619634
It's reported here and they suggest adding nginx with x-accel which is basically surrending. https://github.com/tiangolo/fastapi/issues/5803
- story
- comment
- story
-
comment
Comment #29443241
Computers are just infinite tape marked out into squares... (Turing machine). A pyramid is just a stack of cubic rocks.
-
comment
Comment #27697290
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 (prematu…
-
comment
Comment #21107180
How about making it redis+msgpack vs. postgresql json-like?
-
comment
Comment #20668792
2015
-
comment
Comment #19329654
We are big pharam, give us tons of money and hope that we cure you! We don't! we just treat you.
-
comment
Comment #19243916
Some optimizations can be enabled "python -OO -m compileall mydir" But it's merely skipping comments and names
-
comment
Comment #19075391
I guess Prius is not affected. But Prius is borning.
-
comment
Comment #18972374
> Kazakhstan forces their citizens to install government-issued certificate to use SSL. So why debian/ubuntu vulnteer to remove this layer? Why doing the equivalent of installing r…
-
comment
Comment #18972250
This would have been prevented https://www.debian.org/security/2019/dsa-4371
-
comment
Comment #18959720
Those arguments are invalid. Because debian/ubuntu fail to use https regimes like egypt/syria can track people who try install tor and they can cherry-pick block repos based on pac…
-
comment
Comment #18954160
I miss redhat's bluecurve icons. https://www.deviantart.com/redrope/art/Bluecurve-Complete-Ic...