Get started with App.net.

  Sign up now  
simon_w
    This [www.youtube.com] TED talk recommends quick sort for alphabetical sorting of books. Merge sort is easier for humans (and actually O(n ln n) compared to quick sort’s O(n^2)), though radix sort is more natural and faster (O(n)).
    simon_w
      @cgiffard @keita I don’t use it cause no vim-mode has macros. The guy at work who changes editor every two weeks says it’s much faster and less memory intensive than Atom. Which doesn’t actually say much :p
      simon_w
        @cgiffard @keita apparently VS Code isn’t.
        simon_w
          @jnm now all we need is an easy way to switch between languages in a project.
          simon_w
            @jws which is different from annual leave, which you accrue at a set amount per week.
            simon_w
              @jws kinda. Also goes by “Banked hours”. Basically, you can turn your overtime directly into future leave (1 hour overtime = 1 hour of TIL).
              simon_w
                @cgiffard exactly. I bet the directors thought this would be a great way to get the same amount of hours out of people for less cost to the business.
                simon_w
                  Work stopped giving most people TIL for overtime. Those people no longer work overtime. What a surprise.
                  simon_w
                    @cgiffard I have an underscore :p
                    simon_w
                      May have gotten heat stroke from being in a crowded room. That’s a first.
                      simon_w
                        @cgiffard @jaminguy I might hit you up a bit later on for more ideas on how to build the web socket part in a good way. Just using Pusher today to make a dirty prototype to prove it’ll work.
                        simon_w
                          @cgiffard @jaminguy is a new process each time (proc_open call). Was easier than having to get all the infra setup for a service :p It’s just to build a table then stick .xls on the output. Doesn’t need to be that fast ;)
                          simon_w
                            @cgiffard @jaminguy at the moment, our server-side rendering is done by forking node from inside HHVM rather than using a node server. The web sockets is going to need a bit more smarts than just a straight proxy, but should hopefully handle things.
                            simon_w
                              @simon_w so that we can use it for other things (eg server side pre-rendering of React). What do people use/recommend?
                              simon_w
                                I feel like I'll get a better result here than on Twitter... We're looking at adding push updates through web sockets to our site. This basically requires some sort of proxy system, as HHVM isn't designed for them. We're leaning towards a Node system.
                                simon_w
                                  @cgiffard and if you’re trying to conserve phone battery, the Facebook app is the last thing you want to be opening
                                  simon_w
                                    @cgiffard turns out Facebook’s “Are you safe” thing is crap for this. I’ve had two out of ~100 people use it...
                                    simon_w
                                      @cgiffard “near Christchurch” could cover the entire South Island ;) In terms of NZ geography, you can see [www.geonet.org.nz] it was a fair distance from Chch.
                                      simon_w
                                        @cgiffard nah, Kaikoura/Hamner Springs. Christchurch is probably used so the rest of the world has some idea of where it is.