HN user

shenli3514

703 karma

Blog: https://medium.com/@shenli3514

Posts134
Comments51
View on HN
cacm.acm.org 1h ago

Any text-to-SQL benchmark should address difficulties of real-world data stores

shenli3514
15pts3
sys0.substack.com 6h ago

Agent-Native Software Engineering

shenli3514
2pts0
twitter.com 1d ago

Anthropic runs large-scale code migrations with Claude Code

shenli3514
4pts0
skypilot.ai 1d ago

SkyPilot Is Out of Stealth

shenli3514
14pts0
docs.devin.ai 1d ago

Devin Outposts: Run Devin sessions on your own infra

shenli3514
2pts0
replit.com 1d ago

Replit's Snapshot Engine: The Tech Making AI Agents Safe

shenli3514
2pts0
sys0.substack.com 2d ago

The UX of Agent Tools

shenli3514
2pts0
twitter.com 3d ago

Why do you use GPT-5.6 and kimi k3 inside of Claude Code?

shenli3514
1pts1
arxiv.org 5d ago

Aurora DSQL: Scalable, Multi-Region OLTP

shenli3514
21pts2
www.databricks.com 5d ago

Databricks is raising funding at $188B valuation

shenli3514
2pts0
claude.ai 5d ago

Boris Cherny: Steps of AI Adoption

shenli3514
12pts1
newsletter.semianalysis.com 15d ago

Nvidia Is Backstopping GPU Rentals for Neoclouds

shenli3514
5pts2
github.com 16d ago

Agent Infra: curated resources for production AI agent infrastructure

shenli3514
3pts0
sys0.substack.com 20d ago

Databricks LTAP Explained

shenli3514
4pts0
github.com 22d ago

A GitHub-compatible Git service built for AI agents

shenli3514
1pts0
www.nvidia.com 1mo ago

Nvidia RTX Spark

shenli3514
428pts421
www.redpoint.com 1mo ago

The InfraRed 100 Report

shenli3514
2pts0
www.salesforce.com 1mo ago

Pioneering the Agentic Shift Within Salesforce Engineering

shenli3514
4pts0
aws.amazon.com 2mo ago

ExtendDB: An open source DynamoDB-compatible adapter with pluggable storage

shenli3514
3pts0
github.com 2mo ago

Testing distributed systems with AI agents

shenli3514
96pts23
claude.com 2mo ago

The founder's playbook: Building an AI-native startup

shenli3514
3pts0
claude.com 2mo ago

How Claude Code works in large codebases

shenli3514
248pts160
www.interconnects.ai 2mo ago

Notes from inside China's AI labs

shenli3514
7pts1
www.radixark.com 2mo ago

RadixArk's $100M Seed Round

shenli3514
2pts0
twitter.com 3mo ago

Why Your "AI-First" Strategy Is Probably Wrong

shenli3514
28pts10
github.com 3mo ago

Show HN: AgentDog – Open-source dashboard for monitoring local AI agents

shenli3514
2pts0
db0.ai 3mo ago

How Claude Code memory works

shenli3514
3pts0
www.databricks.com 3mo ago

Agentic software development will change databases

shenli3514
3pts1
db0.ai 4mo ago

Building a Memory System for OpenClaw

shenli3514
3pts0
www.db0.ai 4mo ago

Why OpenClaw "Forgets"

shenli3514
5pts0

Idempotency is what bites me most in practice — I've been driving these against an unreleased database I work on. The main trap is using the op_id as the idempotency key rather than a business key the client reuses on retry. When they're the same thing, the checker is trivially true and the test passes without testing anything.

No-lost-ack is conceptually the same shape with a simpler property (every acked write shows up at the end), but it breaks the same way most checkers break — if the recorder treats timeouts as success or failure instead of "unknown," real lost writes silently disappear.

Recovery after partial failure is where the AI-agent angle gets shaky honestly. Quiescence is the hard part. Agents will declare a system "recovered" while compaction is still running in the background. The skill forces a three-part check (no in-flight ops, no pending background work, replicas converged) before the invariant runs. How reliably that holds up against a specific SUT, I'm still figuring out.

ChatGPT definitely can do the work. I used Google search for git command when I was a beginner. But I met the situation of losing all the changes with a single git command. This tool may be helpful for beginners. It can explain commands and also raise red flags for risky commands.

Our findings reveal that while unsupervised fine-tuning offers some improvement, RAG consistently outperforms it, both for existing knowledge encountered during training and entirely new knowledge. Moreover, we find that LLMs struggle to learn new factual information through unsupervised fine-tuning, and that exposing them to numerous variations of the same fact during training could alleviate this problem.

SQL Murder Mystery 3 years ago

The SQL Murder Mystery is designed to be both a self-directed lesson to learn SQL concepts and commands and a fun game for experienced SQL users to solve an intriguing crime.

No. Because database will still be the core of the IT service, enterprises still need engineers have the expertise about database. But I think the responsibility of DBA is changing, due to evolution of the database technology and the movement to public cloud service. Since the third-party vendor will provide better and better database service (I would like to use service than product, because the rise of DBaaS on cloud), DBAs could shift some of their time from DB layer to the platform/application layer. Maybe there will be a new name for DBA, like DB/Data engineer.

Thanks for the clarification. There is not automatically way to enlarge the length. And I think that is not the things should be done by the database itself. That's my own opinion. But I think it would be helpful to show a warning to DBA when the allocated value is close to the upper limit.

For the following question, the answer is in seconds. To enlarge the column length, TiDB just need to modify the meta data. "how long does it take to enlarge a pk column using alter table on a database that has a significant fraction of 4 billion rows?"

Thanks for your comment. Yes, there is only one of the issues are actually related to scalability. So I mentioned Chaos-Mash as well. Hope it would be helpful to test large scale distributed system. Both of them can not solve all the issues. But I hope they would be helpful for some of the issues.

Do you mean Chaos-Mesh or TiDB? For Chaos-Mesh, it is not a suitable tool for deterministic unit test case (like inserting an overflow value and expect to get an error). For TiDB, it is easy to use `Alter Table` statement to enlarge the length of a integer column with zero impact on the online business.

I'm the VP of Engineering from PingCAP.

As a devoted customer and a big fan of GitHub, it’s devastating to see service interruptions and our business impacted by these problems; as the team behind TiDB, we (PingCAP) believe there is something we can do to help solve the database high availability and scalability problem. We would like to propose the database team in GitHub to consider the TiDB platform. TiDB and TiKV can work as a scale-out MySQL and it has been battle-tested in all kinds of hyper-scale scenarios.

Additionally, just in case you didn’t do this, we also recommend GitHub considering the Chaos-Mesh project (https://github.com/pingcap/chaos-mesh) to do Chaos Engineering. Chaos Mesh was our internal chaos engineering platform and we open-sourced it on Dec. 31, 2019. It can be used for simulating different kinds of failures including network partition, flaky disk, node outage. You can easily use it to simulate failures in a test environment and confirm that the high availability works as expected.

May I know how many instances are there in crdb/tidb cluster and the concurrency in the benchmark? We found that for small clusters (for example 3 instances), CRDB could be fast in read-only workload. Because CRDB is single binary, about 1/3 read operation will not involve RPC. TiDB need to involve a RPC for every request. For larger scale cluster or high concurrency, it is a different story.