• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle


  • Have you looked at the Lisps / Scheme / Racket yet? Racket in particular makes it quite nice to go #lang blah at the top of the file and change the parsing or interpretation entirely.

    For example all the documentation pages and guides are written in scribble:

    https://docs.racket-lang.org/scribble/getting-started.html#(part._first-example)

    #lang scribble/base
     
    @title{On the Cookie-Eating Habits of Mice}
     
    If you give a mouse a cookie, he's going to ask for a
    glass of milk.
    

    And it has an entire document markup language created in it, which can output pdf or html. But you can still use @ syntax to drop in racket code to compute values. Or create templates.

    I even implemented a #lang which took assembly directly (and interpreted it, it was for a class).

    So if you are really after full control, you should study Lisps and their macro systems.






  • Monaco is a fun example where stealth frequently fails and yet, you just have to scramble to do something and ruuuun. You can end up hiding and trying again but short of getting everyone killed, it’s hard to get a game over. Your friends can revive you, as long as they don’t get caught and killed themselves.

    It’s a good mechanic where it’s more “let’s go save Dave” then “thanks Dave now we need to restart”.

    No I don’t know any Dave’s, names have been changed to protect the guilty.







  • The way I think about this is somewhat novel I think.

    Suppose we have two universes, everything the same, except one has free will and one doesn’t. Would an observer be able to tell them apart? I don’t think so. Maybe I just lack imagination, but I don’t see how free will would actually make a difference.

    Your decisions determine what kind of person you are and what kind of person you are determines what decisions you make. They are self reinforcing and tied up together in a big path dependant knot.

    Wanting to be a better person also only works if you let it change your decisions, bringing you one step closer to being a better person.




  • Yuuup. Webpage with a button to toggle a bit in a database. For a personal project, 1 day. For work? Well it took a few weeks to figure out what database, what pass security review, register our subdomain, get traffic quota, revise security review, mocks, learn new framework as the old one is deprecated, set up a new group to run the app as, including admin group and two person authorization to make changes. Set up autopush and test environment. Uh key rotation schedule. Reply to comments on the design doc questioning our choice of database. Translations for all the text.

    Only took a quarter.

    Edit: oh I forgot gdpr deletion service. But we got to hand that off to another team. Yaaay.