Live data from Hacker News

Viewing profile — dsherret

dsherret

HN member
Joined
Fri, Jun 18, 2021, 3:39 AM UTC
HN karma
91
Public activity
27 items

About dsherret

No profile information was provided.

Recent public activity

  1. comment
    Comment #48241477

    One shotting slop is very different from iterating back and forth with an AI. Also, most of the AI work that's being done has been getting node compatibility tests passing with the…

  2. comment
    Comment #46796150

    The benefit is you can easily scale the complexity of the file. An .sh file is great for simple commands, but with a .ts file with Deno you can pull in a complex dependency with on…

  3. story
  4. story
  5. comment
    Comment #39562379

    To be clear for people reading wondering what this is about, this is only a hard recommendation for the public API types. The reason for it, is by adding explicit types to the boun…

  6. comment
    Comment #39426316

    It's being renamed to a no-slow-types lint rule that occurs on publish and in deno lint. Essentially it enforces that the types of the public API can be determined without inferenc…

  7. comment
    Comment #39426230

    In Deno with JSR, only the public API gets used for type checking because publishing enforces that the public API can be determined without type inference. So it's similar to decla…

  8. story
  9. comment
    Comment #39075490

    For Deno there is https://github.com/dsherret/dax which is also zx inspired and has a cross platform shell built-in.

  10. comment
    Comment #38439936

    You can already mostly do this with dprint's TypeScript plugin if you tweak the config (and I'm open to adding more config to support this scenario in case something is missing). F…

  11. comment
    Comment #37678840

    > Tying a language runtime to a specific KV interface which is tied to a specific hosted service is the opposite of forward thinking. This is not the case. The Deno runtime itself …

  12. comment
    Comment #33726263

    Seems like there's one here: https://github.com/benfoxall/lastfm-to-csv

  13. comment
    Comment #33595904

    The `deno cache` command (ex. `deno cache main.ts` or `deno cache --node-modules-dir main.ts` if you want a node_modules folder) will ensure all npm packages used in the provided m…

  14. comment
    Comment #33594725

    No, the --node-modules-dir flag doesn't create a symlink to the home directory cache. It creates a copy in the node_modules folder (in the future it will use hardlinks to reduce sp…

  15. comment
    Comment #33022072

    Node API will be supported sometime soon https://github.com/denoland/deno/pull/13633

  16. comment
    Comment #32469765

    We'll have custom registry support. For local npm packages, that would be nice to have, but probably something that will be implemented later. It could actually be done in a hacky …

  17. comment
    Comment #32469456

    Deno already analyzes the entire module graph before the application starts up, so we extract out the npm specifiers ahead of time, do the npm dependency analysis, cache any packag…

  18. comment
    Comment #31909747

    Fresh has had a lot of development since then. See the "Production Ready" section in blog post for the latest thoughts: > Fresh 1.0 is a stable release and can be relied upon for p…

  19. comment
    Comment #31427278

    Type checking still occurs for `deno test`, which is what's mostly used for development. `deno run` won't have it by default because usually you run programs that are already type …

  20. comment
    Comment #31220602

    There is one here: https://github.com/dprint/dprint-vscode

  21. comment
    Comment #31220586

    It's definitely something I would like to implement. I haven't found a parser that would be good for formatting yet so maybe I will have to write my own :/

  22. comment
    Comment #31167004

    I know. I've been wondering if there's a way this complexity could be buried in the GitHub action for dprint ( https://github.com/dprint/check ) so people would only have to specif…

  23. comment
    Comment #31162628

    The title of the article was and is "Speeding up Prettier locally and on your CI with dprint". If you use the Rust-based plugins instead of Prettier it will be much faster as noted…

  24. comment
    Comment #31162374

    Yes, the 40x faster is only for the runs after the first in this scenario. That said, if I disable the incremental cache locally (dprint check --incremental=false) and run this on …

  25. comment
    Comment #31161602

    To be clear, I created this site quickly on Deno Deploy this weekend (I'm the author) and didn't bother getting a proper domain yet. Hacker news is cutting off the subdomain of dav…