Software and Board Games

Here are things I have finished looking at, along with resouces I used.

Security Headers, Report URIS

All sorted, ended up just bunging a web.config file that added the headers and adjusted it as necessary. You can see my web.config on GitHub.

Resources

Permalink

Creating react components

Components (in particular Component libraries) are a great way to build in accessibility. I can have my image require you specify an alt text rather than hoping you remember to add one. But its not all sunshine and rainbows, whilst I make it easier to re-use components and reduce repition of elements it is easy to break accessibility features through the liberal use of extraneous html tags only there for layout. But by being disciplined this can be avoided, and you should use React Fragments (https://reactjs.org/docs/accessibility.html#semantic-html), css grid (https://www.youtube.com/watch?v=7kVeCqQCxlk) and other techniques to keep the html semantically correct.

Resources

Permalink

Registering services on Consul

Overall I could follow the examples and was able to connect to the service from another machine. But without a proper project was hard to really say I understand it. So I want a larger project, and that seems a good chance to also look at Kubernetes

Resources

Permalink

JSON RPC for command lines

I was talked through how this works by Ian Johnson (https://ninjaferret.co.uk/) who had some experience with it. And its basically a communication process between two processes (you can use http/pipes/stdin etc.) that just sends json blobs that are interpreted on the other side. My personal prefernce for how to use this is the case where you want a long running service as a commandline and needed to send requests like its a web server. I would then do routing and call controllers rather than doing direct remote procedure calls.

Resources

Permalink

Use jekyll for website

It’s now up and running, and I prefer having everything in Git than wordpress. Though I do miss the ease of WordPress themes. There is more I could do, e.g comments and a lot more styling, but I am happy with it for now.

Resources

Permalink

Kubernetes

This ended up being quite a long running project that touched on many things:

Permalink

Jetbrains MPS

Investigate creating a DSL using MPS. Seemed interesting and managed to create a simple language. But it was awkward. If I ever need something that is a text editor that only works for the DSL (this means it can get fancy graphics) than it might be worth looking into more.

Resources

Permalink