Readit News logoReadit News
Yiling-J commented on The Evolution of Caching Libraries in Go   maypok86.github.io/otter/... · Posted by u/maypok86
Yiling-J · 8 months ago
I'm the author of Theine (both Go and Python). I actually started with the Python version, using Ristretto as a reference implementation, including its hit ratio benchmarks. Naturally, I had to run Ristretto's benchmark first to ensure it was working correctly, which is how I discovered the issue in the first place. After completing the Python version, I moved on to develop the Go version of Theine, which focus on better hit ratio than Ristretto.

Recently, I refactored both the Go and Python versions to adopt Caffeine’s adaptive algorithm for improved hit ratio performance. But now that Otter v2 has switched to adaptive W-TinyLFU approach and more closely aligned with Caffeine’s implementation, I’m considering focusing more on the Python version.

This feels like a good time to do so: the Python community is actively working toward free-threading, and once the GIL is no longer a bottleneck, larger machines and multi-threads will become more viable. Then a high-performance, free-threading compatible caching libraries in Python will be important.

Yiling-J commented on Ask HN: Anyone struggling to get value out of coding LLMs?    · Posted by u/bjackman
Yiling-J · 10 months ago
I think Jules does a good job at "generating code I'm willing to maintain." I never use Jules to write code from scratch. Instead, I usually write about 90% of the code myself, then use the agent to refactor, add tests (based on some I've already written), or make small improvements.

Most of the time, the output isn't perfect, but it's good enough to keep moving forward. And since I’ve already written most of the code, Jules tends to follow my style. The final result isn’t just 100%, it’s more like 120%. Because of those little refactors and improvements I’d probably be too lazy to do if I were writing everything myself.

Yiling-J commented on Ask HN: What are you working on? (May 2025)    · Posted by u/david927
Yiling-J · 10 months ago
Prepare to release https://github.com/Yiling-J/tablepilot v0.4.0, new workflow feature
Yiling-J commented on Directory of MCP Servers   github.com/chatmcp/mcpso... · Posted by u/saikatsg
Yiling-J · 10 months ago
I think Hugging Face will soon add an MCP category to their homepage, similar to what modelscope has done(the Chinese equivalent of Hugging Face): https://www.modelscope.cn/mcp
Yiling-J commented on Show HN: Heygem AI – An Open Source, Free Alternative to Heygen AI   github.com/duixcom/Duix.H... · Posted by u/heygem-ai-new
Yiling-J · 10 months ago
Seems like there are more and more fake stars on GitHub these days. For example, this one: https://github.com/Hammerock?tab=stars, this https://github.com/MacKeepUS?tab=stars and this https://github.com/Hirakok?tab=stars. These people seem to be engineers from tech giants, but they all starred risesoft-y9/Digital-Infrastructure, WuKongOpenSource and Heygem, which seems weird. I think there's a 90% chance these are fake stars from bots.
Yiling-J commented on Show HN: CLI that spots fake GitHub stars, risky dependencies and licence traps   github.com/m-ahmed-elbesk... · Posted by u/artski
Yiling-J · 10 months ago
It would be interesting if there were an AI tool to analyze the growth pattern of an OSS project. The tool should work based on star info from the GitHub API and perform some web searches based on that info.

For example: the project gets 1,000 stars on 2024-07-23 because it was posted on Hacker News and received 100 comments (<link>). Below is the static info of stargazers during this period: ...

Yiling-J commented on Create and edit images with Gemini 2.0 in preview   developers.googleblog.com... · Posted by u/meetpateltech
Yiling-J · 10 months ago
I generated 100 recipes with images using gemini-2.0-flash and gemini-2.0-flash-exp-image-generation as a demo of text+image generation in my open-source project: https://github.com/Yiling-J/tablepilot/tree/main/examples/10...

You can see the full table with images here: https://tabulator-ai.notion.site/1df2066c65b580e9ad76dbd12ae...

I think the results came out quiet well. Be aware I don't generate a text prompt based on row data for image generation. Instead, the raw row data(ingredients, instructions...) and table metadata(column names and descriptions) are sent directly to gemini-2.0-flash-exp-image-generation.

Yiling-J commented on Show HN: GS-Calc – A modern spreadsheet with Python integration   citadel5.com/gs-calc.htm... · Posted by u/jpiech
Yiling-J · a year ago
https://rowzero.io/ can handle 1 billion+ rows and offers native Python support. Also compatible with Excel and Google Sheets. However it’s a cloud based solution, and the private hosting option is only available to Enterprise users.
Yiling-J commented on OpenAI releases image generation in the API   openai.com/index/image-ge... · Posted by u/themanmaran
thegeomaster · a year ago
Well, there's also gemini-2.0-flash-exp-image-generation. Also autoregressive/transfusion based.
Yiling-J · a year ago
gemini-2.0-flash-exp-image-generation doesn’t perform as well as GPT-4o's image generation, as mentioned in section 5.1 of this paper: https://arxiv.org/pdf/2504.02782. However based on my test, for certain types of images such as realistic recipe images, the results are quite good. You can see some examples here: https://github.com/Yiling-J/tablepilot/tree/main/examples/10...

u/Yiling-J

KarmaCake day21March 5, 2025
About
https://github.com/Yiling-J
View Original