Live data from Hacker News

Viewing profile — mckinney

mckinney

HN member
Joined
Mon, Oct 29, 2018, 6:59 PM UTC
HN karma
67
Public activity
94 items

About mckinney

No profile information was provided.

Recent public activity

  1. story
  2. story
  3. story
  4. comment
    Comment #32225218

    This is already implemented with manifold's unit expressions, but is made richer and more readable via concatenative features. For instance, '1.5 * USD' is not as readable as simpl…

  5. comment
    Comment #32219888

    Ha! I implemented "concatenative" programming for Java as Binding [1] (or Unit) expressions, but had no idea. Seriously, never came across that term before this post. The idea with…

  6. story
  7. story
  8. story
  9. comment
    Comment #26563163

    So, choke the oceans too? Which is it? Is corn-derived ethanol a fabulous "renewable energy", or is it yesterday's bad idea?

  10. comment
    Comment #26563144

    Except, if not for environmentalism, this mess would not exist.

  11. comment
    Comment #26562787

    California policy makers' (ardent environmentalists) "Low Carbon Fuel Standard" require 10% corn-derived ethanol in gasoline sold in the state. Are they not environmentalisting har…

  12. comment
    Comment #26562650

    And end government subsidized corn vis-à-vis ethanol production.

  13. comment
    Comment #26562530

    I suggest you do a bit of reading if you truly don't understand that corn ethanol is widely considered a "renewable fuel."

  14. comment
    Comment #26562480

    https://en.wikipedia.org/wiki/Corn_ethanol

  15. comment
    Comment #26562423

    Another ridiculously ironic consequence of environmentalism. But do keep the "renewable" energy train running at all costs.

  16. story
  17. comment
    Comment #24514537

    Thank you! Yes, Manifold already supports Java 15 multi-line strings (aka text blocks) like this: var myValue = """ [>.js You can embed a resource fragment as either a declaration …

  18. comment
    Comment #24511998

    Right, but that is just syntax highlighting. This is resolving the content of the string type-safely, at compile-time.

  19. comment
    Comment #24511976

    > but is there really a need to have this kind of language interoperability at compile time? Well, if you want to leverage Java's static type system (and why not?), the answer is, …

  20. comment
    Comment #24511493

    > Good IDE lets you move between the resource file and the code with a single click. Well, not exactly. Most IDEs do NOT support clicking through a generated method call to the cor…

  21. comment
    Comment #24511216

    At compile-time manifold-js[1] parses JS and generates Java types (stubs), which forward execution to rhino at runtime. Basically, JS seamlessly mapped onto Java's type system. [1]…

  22. comment
    Comment #24510786

    Hi, you can blame me for this. It's a Java compiler plugin[1], which is similar to an annotation processor, but can hook into the compiler at a much earlier stage, which allows it …

  23. comment
    Comment #24510641

    In most cases, the devs that should be concerned about debugging generated code are the authors of the generator. If there are bugs in released code, consumers of the API should fi…

  24. comment
    Comment #24510556

    You can see the generated code in the IDE via Edit | View Java Source when a resource is selected. And you can debug it as well. Sort of the best of both worlds. What makes Manifol…

  25. comment
    Comment #24510229

    But the main idea with this is to avoid the pitfalls of conventional code generation such as GQL Code Generator. See "The Big Picture"[1] in the core docs. [1] https://github.com/m…