CGTRP
These are some notes for my own personal benefit. The title is necessarily cryptic, mainly to protect the author, whose work I had purchased.
Rails, Tekla Open API, AutoDesk .NET
These are some notes for my own personal benefit. The title is necessarily cryptic, mainly to protect the author, whose work I had purchased.
I will note down here what I find interesting, and may add my own “take” to what is mentioned. Here is the talk for anyone interested.
If submitting forms to Rails, you will need to manage CSRF issues. Rather than conveniently by-passing it by turning off your security, you can use a handy javascript library written by Richard Feldman.
There is an interesting book which I stumbled on: “Are your lights on” by Donald C. Gause and Gerald Weinberg. I shall attempt to note down the key points contained therein, along with my own ideas and/or disagreements where relevant.
Each of these mistakes has cost me, and my employer, dearly. Please learn from my mistakes.
Matt Swanson has done a great job describing the ins-and-outs of using hovercards via Stimulus JS. This blog post adds to what is there contained with another feature: (i) the ability to abort / cancel a hover card, if your mouse moves away. This entails hiding the hover card, and/or aborting a fetch request, if made.
Assumptions: let’s assuming you are using Rails, with Webpacker, and you want to display to completely different Elm apps on the same page, and you ALSO want to initialise them based on a particular condition. How would you go about doing that?