Static site generation attempt 2

Looks like I was wrong about static site generators. There’s a bit of learning curve, but after figuring out the templating language and how to get latex working, I realize the value of such tools. I’ll continue to use tiddlywiki, but not to host a blog. A 3 mb html file seems irresponsible to host, considering most of the world does not enjoy low cost bandwidth yet. Now, unless I invent more problems for myself, I should get on with whatever I was procrastinating from.

What kind of software should I write?

  • I think I was supposed to write a discord bot that keeps track of whether members in a channel attempted problems on leetcode.
  • data mining is always a good hobby
  • Now that I have done something with the titanic dataset from kaggle, I should try looking at other data
  • What about a hugo shortcode for embedding jupyter notebooks?
    • That’s silly. Just export the notebook to html and host it. Or link from github.

What tools should I use?

  • I know python, I’ll use that
  • I know Java, I don’t want to use that
  • I know javascript, but I dont want to deal with nodejs dependencies
  • I’m trying to learn rust, but its quite the steep learning curve
  • I’m trying to learn go, I just need to block out the mascot

Static site generation

I just spent an hour trying to figure out a good solution for MathML rendering in Hugo. I could not figure it out, it will likely take a couple more days to click. In the mean time, I need to figure out how to change the formatting in this TiddlyWiki to match this theme. The TiddlyWIki theme is not very easy to read. The text needs to be centered. If all else fails, I’ll just have to write my static web pages manually. It is far too time consuming to learn all the internals for the templating systems and configurations used by static generators. Maybe it is better to just go to the source.

Go vs. Rust

I have been thinking about learning the Go and Rust programming languages, but I am not too sure what their purposes are. I’ve been meaning to build projects for my portfolio. I have considered using Python or Java. I would like to build a server application that can scale very well. For that reason, I am considering learning Go. But first, I should survey what other people think of Go and Rust.

Go is simple

Rust is complex

It would seem that Rust is considered more ‘beautiful’ and expressive while Go is boring and ‘regressive’. On the other hand, Rust is complex and at times hard to use while Go builds things fast and makes some tradeoffs in doing so. Rust was designed for systems programming, which is already hard to do and explains why Rust can be hard to use (complex controls for complex procedures).

To better improve understanding of Rust and Go, I should try to build some of the following in each language:

  • an HTTP server
  • computer vision application using convolutional neural network
  • securities exchange for processing orders
    • and something to spam orders to the exchange
  • a web application
  • think of something more exciting to build