HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Yiling-J

no profile record

Submissions

Show HN: Shumai – open-source Frame.io alternative for creative work

github.com
63 points·by Yiling-J·há 21 dias·6 comments

Is Free-Threading Our Only Option?

discuss.python.org
2 points·by Yiling-J·ano passado·1 comments

Show HN: Generate 100 recipes with images using Tablepilot

github.com
2 points·by Yiling-J·ano passado·0 comments

Show HN: Tablepilot – Open-source CLI tool designed to generate tables using AI

github.com
2 points·by Yiling-J·ano passado·0 comments

comments

Yiling-J
·há 21 dias·discuss
This project uses Bun, and I'm Chinese, so naming it Shumai felt like a natural choice :)
Yiling-J
·ano passado·discuss
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
·ano passado·discuss
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
·ano passado·discuss
Prepare to release https://github.com/Yiling-J/tablepilot v0.4.0, new workflow feature
Yiling-J
·ano passado·discuss
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
·ano passado·discuss
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
·ano passado·discuss
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
·ano passado·discuss
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
·ano passado·discuss
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
·ano passado·discuss
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...
Yiling-J
·ano passado·discuss
"Gemini Flash fails even for simple tasks." On the Gemini Flash page (https://deepmind.google/technologies/gemini/flash/), it claims to be 'best for fast performance on complex tasks.'. I always use Gemini Flash in my project for demos and testing, and it performs very well, if a project requires a large, expensive model to handle simple tasks, that could be an issue to users.
Yiling-J
·ano passado·discuss
I noticed there's an example in the docs: plandex rm app/**/*.ts # by glob pattern.

However, looking at the code (https://github.com/plandex-ai/plandex/blob/main/app/cli/cmd/...), it seems you're using path/filepath for pattern matching, which doesn't support double star patterns. Here's a playground example showing that: https://go.dev/play/p/n8mFpJn-9iY
Yiling-J
·ano passado·discuss
I think the recipes on your site are AI-generated? If you're looking to generate a large number of recipes, I highly recommend my tool: https://github.com/Yiling-J/tablepilot. It's specifically designed for this kind of task. Don't forget to check out the examples folder, I use recipes as examples a lot.