1. 6

    I’ve put my gameboy game off for about 2 weeks now, which is unfortunate. I’m starting to lose motivation. Not entirely sure why. Actually I feel myself starting to fall into the “what’s the point of anything” pit.

    This week I’m going to implement a concurrent quicksort in JavaScript, just for practice. The only time I’ve ever done this is with C. I will probably implement a few other sort algorithms too.

    Another thing on my list is writing something simple in web assembly and JavaScript, and do a benchmark. Maybe even have someone write the same on OCaml and compile it to web assembly. My reasons for this are: familiarize myself with web assembly, see where it’s currently at, and give myself something to write about for my blog. I will probably just implement a simple bubble sort.

    In non-technology news, it’s finally sunny in this part of Canada. I’ve begun running again, but with a new goal: 5km every day. So far I’ve done 4 days (1 day break inbetween every 2 days) and my knees are killing me. Today I will be taking another break, but that 5km is already getting easier. I would like to eventually reach 10km once every 2nd day, but we’ll see.

    Have a good week everyone!

    1. 2

      My tip is to increase the training load slowly. Once you start to get problems with runner knee or ITB it’s really difficult to get rid of. Good luck with the running!

      1. 2

        Yep, running is one of those things you don’t want to go too far too fast on. Your muscles will outclass your bones/ligaments fast. Honestly the couch to 5k app should probably be followed. Get a treadmill if you can or go to the gym in the winter to keep your body in shape. Note, I live in Minnesota, I know what winter is like for running. :)

        1. 1

          I tried with all my might to go running in the Winter. I probably went 5 times, even when it was snowing and flipping cold. It just totally shuts me down. Next Winter I am definitely going to get a gym membership or something.

          1. 1

            I know you said you tried with all your might but I still say do it fucking anyway. You can do it, if you really put your mind to it. Like watch that Shia LaBeouf motivational video or this https://www.youtube.com/watch?v=T7A_QUlMbvY every morning and just fucking do it. You can.

            1. 1

              That or if you can spring it get a treadmill. I have one at home and its a huge help.

              I also know I can run 4 miles in -30F weather (not converting that to C as its almost at the merge point for both), so maybe I’m weird. :)

      1. 2

        I use zsh with pretzo (I used oh-my-zsh for a brief while, but it was too bulky) in iTerm2 on OSX. On Windows I use msys2 :S although I might give Babun a closer look. Once on Windows 10 at work, I’ll probably get on the Ubuntu bash.

        1. 3

          Gothenburg, Sweden!

          1. 2

            Wait, what? Oden originally started out as a sexp based Lisp! When did they change directions? (Not that this is necessarily a bad thing, mind you)

            1. 3

              Oskar has actually written a blog post on the reasons for moving from Racket to Haskell, which you can find here: http://oden-lang.org/blog/compiler/2016/01/18/the-haskell-rewrite.html

            1. 3

              I am a third in to Hannu Rajaniemi’s second book about the post-human gentleman thief Jean le Flambeur, “The Fractal Prince” and enjoying it a lot. I read the first book, “The Quantum Thief” last summer and regret I waited so long before continuing.

              On the computer side of things, I am slowly getting into The Little Prover.

              1. 2

                Yeah, I would like to read those books again, back-to-back. Struggling a bit with the continuity :-)

              1. 2

                For anyone reading the code example, please not that “real” Ocaml code is not so ugly. This code looks like it does to be friendly to the REPL. Production Ocaml code does not contain all the ugly ;; and more structured.

                1. 1

                  Well, the material is made as an interactive session for beginners, w/o having to do a lot of setup and learning before-hand. If you read past the first third, the double-semicolons go away, after toplevel definitions have been presented.

                  1. 1

                    They go away and come back and go away, but their actual meaning isn’t really clear. Also, the let bindings won’t be evaluated in the top level without the semi-colon, which isn’t really clear in the session (from how I read it).

                    1. 2

                      You’re right, it could have been clearer. When I held the presentation originally we talked about it a bit more and sent the let bindings (wo ;;) to utop directly from the Emacs buffer.