News for hackers. Stuff that matters.

peefy

You can search for or look up the corresponding data and evaluation test cases on Hugging Face.

Ask HN: Building a Personal AI Avatar. What Technical Are Essential?

Technical: How to reliably structure/unify unstructured cross-channel data (chat texts, call transcripts, email threads) into a consistent "single source of truth"—without losing context like timelines or speaker intent? Scenario: Can it avoid dropping critical details (e.g., a client’s verbal budget limit from a call vs. written feature requests in email)?Technical: What’s a pragmatic way to...

( Read More... | no comments | 4 points | on HN )
Qt? MAUI?
Re:Building Personal Agents, Not General Agents? on Monday August 25, 2025 @11:28AM (#45014921)
Sorry, I put wrong link for the article. Here: https://dev.to/xu_pengfei_5bd5de28bc9419/building-personal-a...
Multiple configuration merging strategies do not imply inconsistency or uncertainty, nor do they mean that one file can overwrite or patch another.

KCL also provides a certain degree of immutability, such as ensuring that exported variables are immutable and that configurations in a file cannot be modified. You can only import it and use it to generate new configurations.

In addition, in the cloud native field such as Kubernetes, configuration merging operations can be seen everywhere, such as the built-in JsonMergePatch strategy, Kustomize, and multiple environment configurations for developers. You can find similar corresponding features in KCL.

In fact, KCL also has the idempotent merge operation of cuelang, and languages such as jsonnet, pkl, Nickel also have certain configuration merge capabilities. Only cuelang strictly follows the idempotency of merging, which to some extent limits its use and understanding.

Re:Templ: A language for writing HTML user interfaces in Go on Monday December 11, 2023 @12:05AM (#38597816)
A great project!
Re:A decade of developing a programming language on Wednesday November 15, 2023 @08:41AM (#38276489)
It should be added that we also use Rust to fully build the front-end of the language and compile it into native code using LLVM.
Re:A decade of developing a programming language on Wednesday November 15, 2023 @08:38AM (#38276462)
I personally enjoy this article very much, just like what we are doing in KCL language [1]. KCL is a cloud native configuration and policy language, and we have endowed KCL with a semantic level gradual type system. It is a bit like Typescript and you use Javascript to write some project configurations with the Typescript type checker, but we have not completely discarded runtime type checking because as a configuration language, we need to strike a balance between efficiency and stability.

But on the other hand, we are currently facing certain challenges. KCL is somewhat ambiguous in grammar and semantics e.g. the record type, and we are working hard to improve it.

[1] https://github.com/kcl-lang

Re:Writing a Package Manager on Wednesday August 23, 2023 @04:45AM (#37233358)
Wonderful post, how about using standard OCI to unify products?

We have also been working hard recently on a package manager for configuring language KCL, which currently supports Git, OCI, and more.

This organization includes 30 language, toolchain and cloud native ecological projects.
As a developer who has been using .NET for many years, C# has given me unprecedented pleasure and efficiency in programming, thanks to a copy of C# code that can be used simultaneously for Linux, Windows, MacOS, Android, iOS, excellent tools, and IDE support.

C# is still one of my favorite programming languages (including syntax, semantics, and standard libraries). Although it is a bit complex now, it has also created many excellent designs such as async, await, and so on.

VS and VS Code are also IDEs that I still use today, although I rarely write C# code.

Re:Show HN: Yaksha Programming Language on Monday March 20, 2023 @02:27AM (#35227981)
I have seen its language design and compiler implementation, and I am sure I will continue to follow and watch the development of Yaksha Programming Language. If possible, I would like to contribute.
Re:Show HN: Yaksha Programming Language on Sunday March 19, 2023 @10:38PM (#35226613)
I'm very surprised that this is actually a single person's workload. "Because I am also a programming language designer and developer, I have worked in it for approximately 3 years, and it also supports compiling to WASM." https://github.com/KusionStack/KCLVM
Re:Even the Pylint codebase uses Ruff on Monday March 06, 2023 @08:14AM (#35040543)
I'm glad to see the organic combination of Python and Rust. My personal interesting experience is to rewrite a Python project using Rust [1], which has increased the speed by 40 times. Then the original Python project and the rewritten Rust code are organically combined through PyO3, which is very good. We have not only achieved performance, but also achieved ease of use and scalability. Just like PyLint and Ruff.

[1] We Rewrote Our Project With Rust… and It’s Almost 40X Faster. https://medium.com/better-programming/40x-faster-we-rewrote-...

Rust does learn from python, such as crate and module, to some extent. The compilation tool of Rustc itself is written by python, interesting.
With the help of Pyo3, the interoperability between Rust and Python becomes easier. We use Rust to write the performance-sensitive parts and bring the capabilities to Python through binding. The performance-sensitive parts can still be written in Python. After all, Python's ecosystem is slightly richer than that of Rust
Supplement: Although we did not use Go and Python to write the core compiler part of KCL again, we provided KCLVM Go and Python SDK for peripheral ecological supplement: https://kcl-lang.io/docs/reference/xlang-api/overview
Re:Show HN: Parallax wallpaper engine for Linux and Windows on Thursday February 23, 2023 @09:37PM (#34920055)
I like neat and compact projects!!!
Re:The KCL Programming Language for Data Validation on Monday January 09, 2023 @09:49PM (#34319853)
Thank you for your suggestion. At first, we expected to make an SRE-friendly language and made enhancements in configuration and policy writing (try to be close to python and shell in use, and use some pythonic built-in functions such as range). However, this does bring additional learning costs to some users who are unfamiliar with python's usage. We will try to eliminate some of python's triks in the future to make the syntax and semantics of KCL clearer.

Older »