Readit News logoReadit News
sirfz commented on Lite^3, a JSON-compatible zero-copy serialization format   github.com/fastserial/lit... · Posted by u/cryptonector
eric-p7 · 4 days ago
This needs more attention than it's getting. Perhaps if you made some changes to the landing pages could help?

"outperforms the fastest JSON libraries (that make use of SIMD) by up to 120x depending on the benchmark. It also outperforms schema-only formats, such as Google Flatbuffers (242x). Lite³ is possibly the fastest schemaless data format in the world."

^ This should be a bar graph at the top of the page that shows both serializing sizes and speeds.

It would also be nice to see a json representation on the left and a color coded string of bytes on the right that shows how the data is packed.

Then the explanation follows.

sirfz · 4 days ago
As already mentioned in other comments, it doesn't really make sense to compare to json parsers since lite3 parses, well, lite3 and not json. It serves a different use case and I think focusing on performance vs json (especially json parsers) is not the best thing about this project
sirfz commented on Venezuela explained in 10 maps and charts   aljazeera.com/news/2025/1... · Posted by u/Anon84
sirfz · 6 days ago
I think the problem with your take is your assumption that the US topples regimes because of dictatorship or to support "democracy".
sirfz commented on Ask HN: What Are You Working On? (December 2025)    · Posted by u/david927
mmmaantu · 9 days ago
Yes httpx is badly broken. Eg its connection pooling implementation is not great at all. There are various issues in httpx/httpcore. There are also old open PRs trying to fix issues but maintainer(s) are just not intrested.
sirfz · 9 days ago
Good to know, will be interesting when we run our tests. Thanks for the info and for your work on pyreqwest, looks very promising
sirfz commented on Ask HN: What Are You Working On? (December 2025)    · Posted by u/david927
mmmaantu · 9 days ago
Building pyreqwest, a high-performance Python HTTP client backed by Rust’s reqwest. It has gotten quite feature rich: async and sync APIs, similar ergonomic interface of reqwest, full type hints, and built-in testing/mocking. It has no unsafe code, and no Python-side dependencies. (Started after getting too annoyed with all the issues httpx has.)

https://github.com/MarkusSintonen/pyreqwest

sirfz · 9 days ago
I've recently updated an internal tool which basically acts as a configuration and dependency/context manager for performing hundreds of api calls. I added an httpx backend (to test vs the current urllib3 backend) and also introduced an async API (httpx as well). However, from your benchmarks it seems like I should've went with aiohttp for faster async? I will work on integrating pyreqwest as well
sirfz commented on Getting a Gemini API key is an exercise in frustration   ankursethi.com/blog/gemin... · Posted by u/speckx
sirfz · 13 days ago
I find GCP frustrating (coming from AWS) but luckily asking Gemini how to do things makes it much easier.
sirfz commented on Israel used Palantir technologies in pager attack in Lebanon   the307.substack.com/p/rev... · Posted by u/cramsession
TiredOfLife · 13 days ago
How is communication devices procured by Hezbollah and directly given by Hezbollah to their own members not a directed attack?
sirfz · 13 days ago
Hezbollah is an organization consisting of civilian infrastructure besides its military wing (political party, media, hospitals/medical centers, schools, banking, etc) . These devices were distributed amongst different personnel of whom nobody knows their military activity and can safely be assumed it's highly likely they're civilians (hence the randomness of this, not targetted at all). Besides the fact that these targets weren't in active duty but rather targeted in their homes, workplaces, and other random whereabouts (supermarkets, playgrounds, etc) again emphasising how random and not targetted any of it is and the danger it imposes on others (physical or psychological) around them. It's just insane.

Dead Comment

sirfz commented on Cassette tapes are making a comeback?   theconversation.com/casse... · Posted by u/devonnull
Aldipower · 14 days ago
Shameless plug. I've produced an entire album and released it on cassette (as primarily medium in mind). You can listen to it here and watching my tape deck spinning. It is recorded from my tape deck, so you get the real tape sound! :-) https://tonleiter.net/reihenhaus/

BTW this is the final audio chain then. Crazy. :-) Synths, instruments, etc. -> Analogue mixing console -> ADC -> DAC -> Professional tape production apparatus -> My tape deck -> ADC -> ACC Codec -> Your DAC

sirfz · 14 days ago
Sounds great!
sirfz commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
pshirshov · 2 months ago
And still there are some annoying issues:

  dependencies = [
      "torch==2.8.0+rocm6.4",
      "torchvision==0.23.0+rocm6.4",
      "pytorch-triton-rocm==3.4.0",
  ...
  ]
There is literally no easy way to also have a configuration for CUDA, you have to have a second config, and, the worse, manually copy/symlink them into the hardcoded pyproject.toml file

sirfz · 2 months ago
Checkout dependency groups and uv conflicts configuration
sirfz commented on Uv is the best thing to happen to the Python ecosystem in a decade   emily.space/posts/251023-... · Posted by u/todsacerdoti
cyrialize · 2 months ago
I haven't tried uv yet, but I did use it's precursor - rye.

I had to update some messy python code and I was looking for a tool that could handle python versions, package updates, etc. with the least amount of documentation needing be read and troubleshooting.

Rye was that for me! Next time I write python I'm definitely going to use uv.

sirfz · 2 months ago
Indeed rye is great and switching to uv is pretty straight forward. I still think rye's use of shims was pretty cool but probably uv's approach is more sane

u/sirfz

KarmaCake day211May 20, 2016View Original