Live data from Hacker News

Viewing profile — nicolodavis

nicolodavis

HN member
Joined
Wed, Nov 29, 2017, 9:41 PM UTC
HN karma
370
Public activity
50 items

About nicolodavis

No profile information was provided.

Recent public activity

  1. comment
    Comment #42481003

    I think you might be conflating boardgame.io and boardgamelab.app. boardgame.io - MIT licensed open-source JS library. boardgamelab.app - Proprietary platform for designing and pla…

  2. comment
    Comment #42477605

    I agree that asynchronous flows are hard to represent using a state object. I chose to go with a monadic approach in boardgamelab.app (I'm not limited by language features since I'…

  3. comment
    Comment #42471028

    boardgame.io was created as a personal open-source project while I was employed at Google. It is not an official Google product.

  4. comment
    Comment #42471003

    Original creator of boardgame.io here. A pleasant surprise to see this here after many years. More recently, I've been working on https://boardgamelab.app/ , which uses a visual pr…

  5. comment
    Comment #40411853

    For academic literature, I would recommend reading: 1. James Ross: https://www3.nd.edu/~afreddos/courses/43151/ross-immateriali... 2. Edward Feser: https://www.newdualism.org/paper…

  6. comment
    Comment #40411684

    If we're talking about some sort of computational system achieving consciousness, I'm curious how you can escape the fact that computation is observer-relative, i.e. the underlying…

  7. comment
    Comment #38874437

    Great to hear about the revival of sacred music in your diocese. Do you happen to have any links to the documents that your previous bishop wrote?

  8. comment
    Comment #29482756

    You could consider using a library like boardgame.io for this.

  9. comment
    Comment #27310970

    Wanted to add that Lisp maps quite well to visual programming languages: https://boardgamelab.app/blog/visual-scripting/ You get the benefits of writing code composed of neat delin…

  10. story
  11. story
  12. comment
    Comment #23924780

    Do you have specific examples of what is difficult to understand in the standard books for a non-native speaker? Just asking out of curiosity and maybe readers can learn a thing or…

  13. comment
    Comment #23786923

    That's right. For my use-case I decided to just stick with JS for UI stuff (using Svelte). I call into Rust code like a black box to update some state.

  14. comment
    Comment #23780757

    No reason except that I've written Go in the past and wanted to learn a new language :) Comparing the two languages, I would say that Rust's enums and pattern matching make it easi…

  15. comment
    Comment #23780702

    The Rollup plugin linked to in the article produces JS functions that call into WASM code. JS objects are automatically converted to Rust structs via Serde and vice-versa. I use Ty…

  16. comment
    Comment #23778909

    Something like this is valid TypeScript I think? interface MyType { a: number; } function process(value: MyType) { console.log(value); } const value = { a: 1, b: 2 }; process(value…

  17. comment
    Comment #23777770

    Note that Rust is only used for the state updates. All the UI stuff is TypeScript (using Svelte).

  18. comment
    Comment #23777645

    Thanks for the link! I'll look into this for my other TypeScript codebases.

  19. comment
    Comment #23777529

    Hey Amit, good to hear from you! > Javascript is fast enough for your use case. No one will notice the difference in a board game website. No, actually. Have you seen how long boar…

  20. comment
    Comment #23776898

    Yep, I don't think Rust is quite there yet for web dev. I didn't use Rust for any frontend interactions. The web app is an SPA written in Svelte. I only used it for the core state …

  21. comment
    Comment #23776888

    That's correct. You have to insert validation code at all the entry points, which was the case for me. Moving to Rust doesn't eliminate validation altogether, but you don't have to…

  22. comment
    Comment #23776776

    I'm just using an SPA written in Svelte on the frontend. I only use Rust for the game state updates. About measurements, I just whipped up a quick benchmark comparing the JavaScrip…

  23. story
  24. story
  25. comment
    Comment #23660225

    @soylentgraham: You should check out the recent releases of https://boardgame.io/ . The tutorials are now rewritten with a focus on the plain JS client (no React).