Better HN
topnewbestaskshowjobs
Log inSign up

henryluo

293 karma · joined Dec 9, 2011 (14y ago) · 106 submissions

Creator of Mark Notation https://mark.js.org
Submissions

comment 1mo ago · link · parent

Thanks for your prophecy :-)

comment 1mo ago · link · parent

LambdaJS engine is quite complete on JS features, but performance wise, it is only about the same as Quick JS, much slower than Node/V8.

comment 1mo ago · link · parent

Author of Lambda script here. Your feedback welcome!

comment 8mo ago · link · parent

Yes, I thought of this issue when I name it Lambda. But I like the name 'Lambda'. Once get over the initial stage, Lambda will be easy for people to remember.

comment 8mo ago · link · parent

Quint is an interesting lang, and the concept of 'executable spec' is definitely the direction to go in the age of AI vibe coding.

And the language, Lambda, that I designed and implemented has many similar characteristics: https://github.com/henry-luo/lambda

comment 8mo ago · link · parent

thanks.

As for the performance, I'm standing on the shoulder of great tools like MIR JIT compiler.

comment 8mo ago · link · parent

Lambda's PDF support is still very limited at moment. I do plan to enhance it in next release.

comment 8mo ago · link · parent

Glad to hear that. Note that the language is still being developed, and there're bugs here and there. So bear with those bugs. But it should be fun to try it out.

comment 8mo ago · link · parent

Hope it will change the way people work with data and documents.

comment 8mo ago · link · parent

While Lambda still has a pretty static GUI at the moment. My plan is to build it into a fully interactive, editable UI on all kinds of document data.

11.

Show HN: Lambda 0.2 – a func language better than TypeScrip, jq and jQuery(github.com ↗)

9 points · by henryluo · 8mo ago · 17 comments

comment 1y ago · link · parent

As for the '<' and '>' to open and close an element, there are two potential kinds of syntax design. Option 1 is to use some explicit delimiters. Mark 1.0 has settled on '<' and '>'. Mark 0.11 was using '{' and '}', which I felt confusing with map. So I changed to '<' and '>', to make it consistent with HTML/JSX and XML, which most developers are already used to. Option 2 is to use indentation to delimit the enclosed child content, like in Python and YAML.

Option 2 looks cleaner for configuration kind of usage. However, Mark is designed to be embedded in a scripting language, and used beyond just configuration files. Unless the scripting language uses indentation as delimiter, like Python, option 2 will not work.

Personally, I prefer C/Java/JS family of languages that has insignificant whitespace. So Mark is designed to use explicit delimiters '<' and '>' to enclose an element.

Hope that explains one of the most important syntax designs of Mark.

comment 1y ago · link · parent

A new notation by itself won't be useful. It's the tool stack, the eco system around it that matters. That's why I'm building beyond that the format itself. I'm building the schema, the validator, the scripting and query language around it.

comment 1y ago · link · parent

Here's the XKCD 927 post from last beta release: https://news.ycombinator.com/item?id=16308803

comment 1y ago · link · parent

Yes, it's a must! Have that posted in the 0.11 beta release as well. :-)

comment 1y ago · link · parent

Glad you like it. I have bigger plan for what's currently released. My next goal is to unify the schema of all those data formats, like JSON, XML, HTML, etc. And make the new Mark Schema able to validate all those data formats.

comment 1y ago · link · parent

Glad to see your comment. Not sure I get you right. I also do not like many data notations and formats floating around. I hope there's one notation that can unify all the data that I'm concerned with. That's why I created Mark.

18.

Show HN: Mark 1.0, a notation that unifies JSON, HTML, JSX, XML, YAML, and more(marknotation.org ↗)

8 points · by henryluo · 1y ago · 11 comments

comment 1y ago · link · parent

"When the way of code is abandoned, doctrines of ‘best practices’ and ‘standards’ appear. When intuition is dismissed, cleverness and pretense follow. When harmony is unnoticed, rules and processes multiply. When software fails, zealous testers arise."

comment 2y ago · link · parent

Do you agree to Linus Torvalds that “Visual Basic did more for programming than Object-Oriented Languages did”?

21.

How Visual Basic became the most dominant prog. env & its sudden fall from grace(retool.com ↗)

4 points · by henryluo · 2y ago · 5 comments

comment 2y ago · link · parent

Fake traffic, and spam everywhere. A constant war for all public content and services.

23.

3.7M Fake GitHub Stars: A Growing Threat Linked to Scams and Malware(socket.dev ↗)

1 points · by henryluo · 2y ago · 1 comment

24.

The Guide to Font Performance Optimization(debugbear.com ↗)

4 points · by henryluo · 2y ago · discuss

comment 2y ago · link · parent

Nice to see different architecture styles compared side-by-side in one concise table.

comment 3y ago · link · parent

A lightweight 2D graphics library for rendering texts, geometries, and images with high-performance APIs that work across various platforms. Its main objective is to offer a compelling alternative to the Skia graphics library while maintaining a much smaller binary size.

27.

TGFX – A Skia-alternative, lightweight, high-performance 2D graphics library(github.com ↗)

1 points · by henryluo · 3y ago · 1 comment

1234