Live data from Hacker News

Viewing profile — chenglong-hn

chenglong-hn

HN member
Joined
Mon, Oct 21, 2024, 7:39 PM UTC
HN karma
306
Public activity
64 items

About chenglong-hn

No profile information was provided.

Recent public activity

  1. comment
    Comment #48849388

    no yet! that's a good direction!

  2. comment
    Comment #48849360

    Mostly for expressiveness and reliability & cost trade-off. Flint has advantage of being an intermediate language that allow agents to generate good-looking stuff without additiona…

  3. comment
    Comment #48849300

    Both, it's a combination of latency / reliability / expressivenss. I think when models are more powerful, we will also more naturally want to create more expressive stuff.

  4. comment
    Comment #48847849

    This is awesome!

  5. comment
    Comment #48847830

    We struggled the same, especially when deploying an agent to end users, they are even more frustrated with any mistakes from agents than us!

  6. comment
    Comment #48847813

    This is a formal language that compiler can take! The natural language and clarify loop helps the LLM to generate Flint spec that can render.

  7. comment
    Comment #48847787

    We made an intentional decision to make it non-compositional for now, and we are using chart-type based approach to handle more expressive charts. (e.g., CDF charts) But! We have a…

  8. comment
    Comment #48847755

    Thanks a lot for the suggestion, I do think we will need to work on accessibility support in Flint, this is a perfect place to centrally handle accessibility issues. I added an iss…

  9. comment
    Comment #48841325

    We will link it on github and the project page! https://github.com/microsoft/flint-chart

  10. comment
    Comment #48841314

    We find an additional dimension where previous language doesn't explicitly use (semantic type) as the key part of the specification, which turned out to be the root reason of why c…

  11. comment
    Comment #48841235

    That's the best option for now. But it can also be frustrating to ask AI to do small edits on D3 just to fix some idioms (like switching order etc) and they kept messing up with ot…

  12. comment
    Comment #48841079

    I find it lacks some easy way to do alignments or grouping, which makes editing frustrating. Could be a good language re-design opportunity.

  13. comment
    Comment #48840900

    great point, I feel both the low-level foundation language and the high-level abstraction should evolve together, just like how human programming language evolves (e.g., frontend f…

  14. comment
    Comment #48840787

    Yes! correctness, expressiveness, reliability and cost (token + time)

  15. comment
    Comment #48840754

    the design here has some constructs (i.e., semantic types) that AI can use better than human at generation time; and then the generated spec can be easy for user to edit since ther…

  16. comment
    Comment #48840598

    Also guidelines sent to the agent may or may not get ignored if they are just part of the context :(

  17. comment
    Comment #48840589

    more like, instead of watching the AI agent 20 minutes to create a polished chart with 100k tokens, Flint lets you get there in 20 second with 200 tokens with a 95% polished chart.…

  18. comment
    Comment #48840570

    It's often comes with missing keys, use wrong value type (e.g., list over dictionaries). Mostly a small model issue and open source models, they don't follow instructions on the st…

  19. comment
    Comment #48838748

    You are absolutely right. But note that we are actually on the same point here. This is exactly why this is an intermediate language designed to get 95% stuff right easily (for exp…

  20. comment
    Comment #48838692

    A little bit more than that! Here shows why a higher-level abstraction can be helpful for chart generation: https://github.com/microsoft/flint-chart#features

  21. comment
    Comment #48838462

    It's a white box! We built a demo here: https://microsoft.github.io/flint-chart/#/documentation/char... We use a fun elastic algorithm to decide dimension etc within the developer'…

  22. comment
    Comment #48838008

    also user interaction afterwards -- if can be frustrating if the only way the user can interact with the chart is to chat with the agent again (simple spec allows easy UI interacti…

  23. comment
    Comment #48837784

    JSON schema can do it to some degree, I think?

  24. comment
    Comment #48837778

    Seems a bit more like https://mermaid.js.org use cases!

  25. comment
    Comment #48837763

    I felt conflicted as well, json is portable and easy to parse / validate and edit. But many models do still struggle. There are some stuff from functional programming might be wort…