Live data from Hacker News

Viewing profile — Kodiologist

Kodiologist

HN member
Joined
Tue, May 03, 2022, 1:53 PM UTC
HN karma
292
Public activity
36 items

About Kodiologist

http://arfer.net

Recent public activity

  1. comment
    Comment #42743344

    I got it to work again with a user agent from Links: `Links (2.29; Linux 6.11.0-13-generic x86_64; GNU C 13.2; text)`.

  2. comment
    Comment #41643120

    Admittedly, I've tried not to document the implementation. Yeah, they're pretty much simple dirty Common Lisp macros. Internally, they're functions that are called with the argumen…

  3. comment
    Comment #41630317

    Yeah, at a certain point I realized that both the maintenance and the use of the language became much slicker if unnecessary deviations from Python were minimized. After all, when …

  4. comment
    Comment #41625207

    You can add all the same type annotations as in Python, but from what I've seen, type-checkers expect Python source text and don't just use standard Python introspection, so you'll…

  5. comment
    Comment #41621807

    You're welcome. There are no actual breaking changes from 0.29.0, so you're already up to date if you got that far.

  6. comment
    Comment #41621804

    Yes, such as: metaprogramming via macros and reader macros; arbitrary compile-time computation; removal of restrictions on mixing statements and expressions; and other arities for …

  7. comment
    Comment #41620049

    Sparse? I got a whole chapter for ya: https://hylang.org/hy/doc/v1.0.0/macros

  8. comment
    Comment #41620025

    Learning Python is not required to get started and do some simple stuff, but it is effectively required to master Hy.

  9. comment
    Comment #41620007

    Hy-pothetically, yes, you could take Hy code in and spit Python code out via `hy2py`. I think at one point I considered supporting this officially, but then decided there was reall…

  10. comment
    Comment #41619848

    Now I know how those guys felt who were on the same episode of Ed Sullivan that introduced the Beatles.

  11. comment
    Comment #41619053

    I don't think so? https://youtrack.jetbrains.com/issue/PY-48754/Support-for-hy...

  12. comment
    Comment #41619039

    Thanks. I enjoyed compiling a huge list of buzzwords to use for it.

  13. comment
    Comment #41618729

    I see. That's pretty similar to the feature set of [pdb]( https://docs.python.org/3/library/pdb.html ). You may then logically ask "Does Hy support pdb?". The answer is "sort of". …

  14. comment
    Comment #41618544

    1. I don't know what a breakloop is. Hy uses Python's exception system, which is more like a traditional exception system than Common Lisp's condition system. 2. No, sorry.

  15. comment
    Comment #41618512

    > Are there Python language features I can't use in Hy? At the semantic level, no. I work to cover 100% of Python AST node types with Hy's core macros. It does take me a little bit…

  16. comment
    Comment #41618487

    > this compiler is written in Python Yes, that's right. Hy is not self-hosted. > The various ways you can embed a Lisp look very different and have very different tradeoffs. Hy its…

  17. comment
    Comment #41617880

    I eliminated a lot of whimsy from Hy and its documentation years ago because it was distracting and created noisy test failures, but I did go too far at some point, and have tried …

  18. comment
    Comment #41617868

    I'm not sure. I was going to say that Mojo is proprietary software and so I've never tried it, but I just checked and apparently it's free now. If nothing else, you can probably ge…

  19. comment
    Comment #41617794

    Well, this is a little embarrassing: Clojure was one of the biggest influences on Hy in its youth, but that was mostly before I got involved in 2016. I never actually learned Cloju…

  20. comment
    Comment #41617746

    Remarkably enough, yes, we got it to work, on our 3rd or 4th try.

  21. comment
    Comment #41617742

    The author of the e-book is a different guy, Mark Watson. He isn't involved in the development of the language.

  22. story
  23. comment
    Comment #40953637

    No, actually, although you could argue that the word "retire" isn't applied quite correctly in such cases. It's common for academics, for example, to continue doing much of the sam…

  24. comment
    Comment #40338403

    Hy slower than Python? It shouldn't be, at least at run-time. I maintain Hy. If you notice any meaningful performance differences, that's a bug.

  25. comment
    Comment #38690140

    As the Hy maintainer, I'd say that assessment is pretty accurate, at least on the Hy side.