• 0 Posts
  • 13 Comments
Joined 2 years 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.









  • 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.