Live data from Hacker News

Viewing profile — gilch

gilch

HN member
Joined
Thu, Aug 31, 2017, 6:43 PM UTC
HN karma
79
Public activity
142 items

About gilch

No profile information was provided.

Recent public activity

  1. comment
    Comment #42224489

    C macros are just a text preprocessor. You could run the C preprocessor on a text file and have the result be Python code. Comments might be a little tricky, but it's doable. Or yo…

  2. comment
    Comment #42119369

    > I loved Lisp, but none of the lisps have anything like Python's ecology. Try Hissp ( https://github.com/gilch ). Lisp programming and Python's ecosystem.

  3. comment
    Comment #38863397

    No commits for a year? https://lolg.it/amber/amber Is it dead?

  4. comment
    Comment #38704271

    Python is great for API discovery. `dir()` and `help()` are builtins. Use the REPL.

  5. comment
    Comment #38691411

    That is the right answer. While some comparisons have been written already, they're somewhat out of date. Hissp could use a new writeup. Let me know if I can answer any questions a…

  6. comment
    Comment #38691367

    As the Hissp author/maintainer, I'd be interested in hearing about your take on Hissp's practicality (or lack thereof) in more detail.

  7. comment
    Comment #37906075

    Not accurate as worded. Python caches module imports in `sys.modules`, so all imports get the same one. A `reload()` will reuse the same dict object that was being used as the modu…

  8. comment
    Comment #37905941

    What? Yes you can. I do it all the time. import code; code.interact(local=vars(foo)) where `foo` is the module object you want to set as current. This launches a subREPL in that mo…

  9. comment
    Comment #37905683

    You might be interested in Hissp, a Lisp with access to the breadth of libraries available to Python. https://github.com/gilch/hissp

  10. comment
    Comment #37540919

    > I would certainly take Python's huge ecosystem over Lisp's metaprogramming. You can have both with Hissp. https://github.com/gilch/hissp

  11. comment
    Comment #37540229

    A class of old-school AIs: https://en.wikipedia.org/wiki/Expert_system I made a small one that classified dinosaurs in school.

  12. comment
    Comment #37540216

    > wanted to expand beyond python. [...] Have been trying to learn about Lisp lately and feel like I've come to a similar dead end. If you're already comfortable with Python, check …

  13. comment
    Comment #37540187

    I didn't really like "Learn You a Haskell". "Haskell Programming from First Principles" or "Haskell from the Very Beginning" might be more accessible.

  14. comment
    Comment #36591286

    > I'm interested anything else strange from the lisp world if people have references. Hissp just released version 0.4.0. It compiles Python tuples to Python expressions and has mul…

  15. comment
    Comment #35500203

    Clojure has had pretty remarkable stability over the years. Maybe Common Lisp even more so, since it's based on a standard that hasn't been updated.

  16. comment
    Comment #35351713

    One can learn a lot about programming by talking to ChatGPT. Sure, it has a bad habit of making stuff up, but you can run the code to see if it works.

  17. comment
    Comment #35351611

    > And last but not least, what should I do about the fact that I have never used smartphones (iPhone/Android) and I have no interest in them, when the vast majority of my students …

  18. comment
    Comment #35310629

    It occurred to me that ChatGPT (or the like) might be able to help students find their mistaken assumptions without taking as much of your time, at least if it's in a well-known la…

  19. comment
    Comment #35310464

    If I could send a message to my past self on the topic, I might have told myself to start with Common Lisp, Scheme, Python or Smalltalk (maybe Squeak), rather than the BASIC, C++, …

  20. comment
  21. comment
  22. comment
    Comment #35100482

    What, specifically, is lacking?

  23. comment
    Comment #34943540

    There's also Hissp. You could start out in readerless mode (it's still Python!) and introduce Lissp afterwards as a convenience.

  24. comment
    Comment #34942096

    You don't have to go it alone. Hissp does have documentation (which is pretty thorough) if you want to try, but there's also a community chat on Gitter/Matrix: https://gitter.im/hi…

  25. comment
    Comment #33014814

    The misleading part wasn't from me. I'm trying to correct a common misconception here. Both "multiple" and "lines" are wrong. Lambdas can't have single statements either. The body …