Threads for einherji

  1. 8

    I’m about half way through Sapiens: A Brief History of Humankind and it’s completely blowing my mind.

    1. 1

      That book is incredible. If you’re into that sort of thing, I’d also recommend The Story of the Human Body

    1. 17

      One thing that you find out once you’re an old expert is that you’re neither. There’s a ton to learn.

      I recommend:

      • Godel, Escher, Bach
      • Structure and Interpretation of Computer Programs
      • Concepts, Techniques and Models of Computer Programming
      • Parallel and Concurrent Programming in Haskell – both a great concurrency book and a great Haskell book.
      • Computer Systems: A Programmer’s Perspective
      • Elements of Statistical Learning
      • Types and Programming Languages

      I’ve heard good things about Lisp In Small Pieces but I haven’t read it myself.

      1. 4

        Gödel, Escher, Bach is one of the best books I’ve ever read. I also anjoyed some of Hofstadter’s other books, like surfaces and essences.

      1. 1

        Looking at the parking lot api, it looks like an emulation of what the kernel does in futexes. I’m curious if/why this is more efficient than simply using futexes directly for waiting (or similar APIs on other systems).

        1. 1

          The futex may be more efficient, but not available on many target platforms. An optional futex backend could be a good refinement after they get the generic version working.

          1. 1

            AFAIK futexes are not implemented in OS X. Shame, as they seem like a really valuable API to have.

            1. 2

              Right. They have psynch_mutex*, though, which I’m currently trying to reverse engineer for a personal thing.

              I’m still trying to sort out the semantics, but it… maybe… looks like it could do similar things. (And if there’s anyone reading who is familiar with how exactly it works, I would buy you many beers for some explanation.)

          1. 6

            Realised my cycling events this year aren’t as far away as I thought they were, and thus have ordered a few upgraded parts for the bike to get used to them ahead of time. This week will be split between getting back into a training regime and fettling the various upgrades onto the bike as they arrive. (Very interested to see what difference shortening my cranks 2.5mm makes.)

            Also just ordered a Raspberry Pi 3, as not having to mess with wifi dongles is a major bonus, and it has Bluetooth LE. First project to be a “how many people in the house right now” API I think.

            1. 3

              Also just ordered a Raspberry Pi 3, as not having to mess with wifi dongles is a major bonus, and it has Bluetooth LE

              Have you checked out They don’t ship until June 2016, but for $9 it’s pretty amazing. I ordered 5 last November.

              1. 3

                Ah! I did see those at the time, but didn’t jump on that bandwagon. I got three Oaks a month or so ago but haven’t had a chance to play with them yet (firmware is still beta), but they should do a similar job I think.

                1. 3

                  Cool, I hadn’t seen that one. It’s great how ubiquitous micro-controllers with built-in wireless are becoming. I spent hours programming and soldering BT chips for Arduino Minis. Never again!

                2. 2

                  My CHIP from the crowd funding campaign turned up over a month ago - I need to sit down and play with it - it’s a neat device.

                3. 2

                  I’ve got less that 14 days to get my son’s BMX race ready (it’s missing wheels and cranks :~/) Looking forward to a busy year of BMX racing. Shorter cranks should give you more power - no excuse for not winning now!

                  1. 1

                    Pardon my ignorance, but how do shorter cranks give more power? The tradeoff with a longer crank is less force required but over a greater distance correct? My recollection of classical mechanics is not great.

                    1. 3

                      The impact of crank length on power is surprisingly complex [pdf]!