All posts by admin

How I Organize my Thoughts

Right now, I have 89 posts posted on my blog, 2 scheduled, and 93* drafts at one stage or another. I have 20 posts open for editing, 11 Google docs, 1 Google spreadsheet, 19 tabs of various research, and 12 minimized browser windows. I also use Clear**, Apple Notes, and I have written journals going back to 1997. I also have about 3600 emails in my inbox and roughly 400 emails in my ‘project’ folder.

For some reason, though, I feel like I’m finally taking charge of this. I think the maxim ‘Real Artists Ship***’ applies. I’m finally shipping some of my thoughts, closing open loops****

When I’m working on my computer, it seems to be a 2-6 brain system*****:
1) Blog post ideas go straight into drafts. (I have 23 that I’ve created or edited within the last two days
2) Longer form ideas go into a Google doc, if there are a lot of numbers, into a spreadsheet.
3) Plans go into my calendar immediately
4) Various things I’m tracking go into Clear
5) Emails go out when they need to, as soon as I can send them out
6) If I need a blank sheet to think about something, it goes in my journal

Interestingly, I’ve been using 3,4,5,6 for a while, to close open loops. What makes this different now is using 1 and 2 to actually release some of those closed-but-in-abeyance loops. Even though the loop is closed and saved, there is still a cost in knowing that I have so many just waiting to be reopened.

This blog seems to be functioning as the ‘bigger can’ to re-can all of those mind worms that pop out when I go trawling through my ideas.

There are plenty of ideas on the go, but I’m sure you have many as well. Let me know if there’s something you’d like me to write about.

*94 now!

**It is amazing todo- and other- list software. Try it!

***Attributed to Steve Jobs

****A concept central to ‘Getting Things Done’, is that of ‘open loops’, or mental distractions, things you’re worried about, or worried about forgetting. A large part of the method is to reduce these as much as possible.

*****I used to call it a ‘3-brain system’ when I just had my PDA and journal. Things have spiraled a little since then.

The Six Answers to a ‘Yes or No’ Question

There exist the traditional five answers to a ‘Yes or No’ question:

– ‘Yes’, indicating complete agreement
– ‘No’, indicating complete disagreement
– ‘Maybe’, indicating something in between on that axis
– ‘I don’t know’, indicating a lack of relevant information
– ‘Mu*’, or ‘unask the question, it contains an incorrect assumption’

Recently, J EB (nee K) mentioned that ‘like’ is a new answer to a yes/no question. (On my post ‘No Spoilers Awaken’)

The Facebook ‘like’ seems to mean a number of different, sometimes overlapping things…
– ‘I like this post and I want you to know’
– ‘I agree with you’
– ‘I’m curious to hear the answer to this question’
– ‘I support you’
– ‘I understand your feelings’

It is very clear (to me) that ‘like’ is a valid answer to a ‘Yes or No’ question, and it is most delightfully ambiguous. It feels more discovered than invented, as we’ve always had ‘interesting question’, it was just rarely expressed by random people around the world, in response to a conversation they are not explicitly a part of.

*For those who wish a slightly more formal treatment: https://en.wikipedia.org/wiki/Mu_%28negative%29 specifically: https://en.wikipedia.org/wiki/Mu_%28negative%29#.22Unasking.22_the_question

You may also be interested in the somewhat related: https://en.wikipedia.org/wiki/Many-valued_logic

But my favourite is probably: https://en.wikipedia.org/wiki/Not_even_wrong (Thanks DJ!) This is one way to say ‘Mu’, but usually only if you’re trying to be insulting.

Similar but not Identical

How do you make a a playlist of songs which are similar, but not identical. Ideally, you want to play music that the user is likely to want to listen to*, but you probably don’t want to play the same song, even in different remixes over and over. So, how do you detect similarities, while removing identicals, even when they may not be so identical?

In practice, there is probably a lot of separation between the spike of identical songs and those that are merely similar. You could also use the Web 2.0 crutch of looking at what people searched after other songs, and/or the machine learning approach of trying to put songs after one another and seeing what people skipped or turned to from the suggestions instead.

Similarly**, cleaning data of artifacts is still an open problem. It feels to me like a similar one. You’re trying to remove this *huge* signal which is overwhelming your sensors so you can get at what you actually care about. Assuming both the artifacts and the signal are within your detection limit***, you have to determine the nature of the artifact, both where it is in the signal spectrum, and what axes it spreads through and how. It might also have related harmonics****.

Another related problem is the removal of 60Hz***** noise from all sorts of electronics. I’m not sure what sorts of filters are used, but even band reject filters have non-ideal behaviour, so perhaps smoothing the edges in a known way works better, but this is all speculation. I mostly like using the field around power cords to test oscilloscopes and to get people to think about electric fields.

But back to artifact removal. I don’t have particular insights right now, outside of specific problems spaces. I just think it would be a really cool problem to work on (and one that people work on in a specific way all the time).

*Or perhaps something just similar enough that you’ve been paid enough to play.

**But not identically,

***My favourite procedure/process is the one I learned from an analytical chemist, which is that the signal has to be 3x the noise for you to consider it signal.

****I’m using signal processing as an analogy, but the concept is the same for other artifact removal, just different math.

*****50Hz across the pond

The Spoilers Become More Awake

Earlier, I talked a little about fear and redemption in The Force Awakens:

The Spoilers Awaken

This post is more a bunch of scattered thoughts…

The movie was all about Han Solo, and that was a good thing. Harrison Ford has really matured as an actor (I should see how he is in American Graffiti), where you see the gravitas, which smoothed out the ‘scruffy-haired nerf-herder*’

There’s probably something about having actors of varying ages and maturity levels, and how it smooths things out. (Even though the young actors in this movie are more skilled (or better directed), they still have the very young energy, attractiveness, and rushing intensity, all of which can do better with guidance…)

‘Droids’ is an excellent example of good ‘in universe’ lingo**.

Seeing the characters old and the death of Han Solo was not just the passing of the torch to the next generation of Star Wars, but also perhaps a passing of the torch to us, that it’s time for us to step up (similar to when Jack Layton died)…

Leia’s dress with a New Republic neck was a nice touch.

Some people have said that Leia was not the most convincing actor, but her acting worked fine for me. Her scenes with Han were very touching, along with the scene near the end with Rey. I also found her convincing as a general, who ‘went back to what she knew the best’, and seemed to fit well in that role.

In a galaxy with hyperdrive and even reasonable astronomy and astrogation, how could you not tell where a sector was, if there was a map of it that included 5-10% of the galaxy? Even with 300 billion stars in a galaxy, you wouldn’t need very many to be narrow down a sector, if the map had any reasonable level of accuracy…

So much regret for time past with problems remaining unresolved…Like Tron:Legacy…

Good use of X-wing quad lasers in ground combat against stormtroopers (apparently they added an under-blaster-cannon in the updated model for the movie), similar to R2-D2’s method for dealing with Joruus C’boath (even a jedi master cannot deflect startfighter-sized weapons, and/or they cannot predict what droids will do). Also, I liked the new X-wing colours. Apparently the shape is slightly different, but I didn’t notice that. http://starwars.wikia.com/wiki/T-65B_X-wing_starfighter#Behind_the_scenes

It was very fitting that the new death star reformed back into a sun…

The art department had many scenes of groups of aliens, just doing their thing, ‘world building’ as S says.

The establishing shots were really well done (you should do Comic Book Boot Camp http://comicbookbootcamp.com/).

The force continues to be weak in dealing with droids…The light side of the force more often appears with empathy, so they they can use that to interact with droids

A very tech-savvy force user…Anakin, perhaps Luke, for sure Rey…Either a force ability, or something about growing up on desert planets. If it’s a force ability, interesting that it allows much easier repairs and jury rigging, but not sensing or understanding the motivations of droids.

A small complaint about Cineplex showing spoilers in the opening ‘pre-movie games’

Also, the imperials just sound better with English accents.

Interesting the ‘order’ vs. ‘freedom’ contrast between ‘The First Order’ and ‘The Resistance’.

*Similar to how the last few vestiges of Garath the thief were the only differences between Belgarath the Sorceror and Aldur…

**The counterexample I always use is ‘Argonians’ and ‘Kajhit’ in Oblivion, where no matter how racist the character, they always used the official names, which I always found jarring and unrealistic.

New Year, New Beginnings

2016. It feels like the future. As I write this, it is. I feel like this is the first time I’m really conscious of what I want to do next (at least from the perspective of having the ability to have that decision).

When this is published, this will be #8 in a row of daily posts. My goal is to keep this up indefinitely. I also have other resolutions which need a little more work before I share them. Anything you want me to write about this year? Comments below!

Agile Basics

Disclaimer: I currently work for a company. That company does Agile. From my limited experience, I think it does it well. I am not talking about that company in any way, shape, or form in this post.

I don’t recall when I first heard about Agile software development. I probably heard about it from Slashdot, when I was still reading it during grad. school.

First up, the Manifesto itself:

From: http://agilemanifesto.org/


We are uncovering better ways of developing
software by doing it and helping others do it.
Through this work we have come to value:

Individuals and interactions over processes and tools
Working software over comprehensive documentation
Customer collaboration over contract negotiation
Responding to change over following a plan

That is, while there is value in the items on
the right, we value the items on the left more.

Overall, it feels like a very human approach to software development. I’ve always enjoyed speculating about the situations which may have led to rules being formed*.

It also feels like it was written by a group of people who were actually interested in solving problems, perhaps by cutting through Gordian Knots of rigid process and planning.

Their conclusion was that problems will occur, things will change, and you want your process to accommodate that as much as possible, to enable and encourage people to talk about these earlier and more effectively. More of a ‘getting to yes’, rather than rear-covering or posturing.

Now, they further broke down the above four statements into 12 principles:

http://agilemanifesto.org/principles.html

1) “Our highest priority is to satisfy the customer
through early and continuous delivery
of valuable software.”

This one seems pretty self-evident, but there are a surprising number of people who have job descriptions at odds or orthogonal to this, especially as organizations get larger.

2) “Welcome changing requirements, even late in
development. Agile processes harness change for
the customer’s competitive advantage.”

This might be the toughest (it was for me, and I consider myself good at this), as humans are naturally lazy and resistant to change.

Evolutionary Psychology : Laziness

I wonder if this can only be overcome through experience, by knowing how much more pain will happen if a particular shortcut is taken or some important stakeholder is ignored. (Even knowing that someone should be listened to instead of letting your lazy brain edit them out can be difficult.) Either way, a good argument for having at least one person (that you listen to!) with experience on the team.

But if you’re having requirements changing too often, your stories are likely not ready before you start, or they are too large, leading you to:

3) “Deliver working software frequently, from a
couple of weeks to a couple of months, with a
preference to the shorter timescale.”

‘Fail early, fail often’ goes the quote. Coupled with 2), it becomes much more difficult to be working on the wrong thing when you’re allowing for updated requirements every time you start a new short story**.

4) “Business people and developers must work
together daily throughout the project.”

I feel like the people who put this list together had experienced a lot of communication problems where they worked. This one is really helpful. There are few things more annoying than being ready to work on something but not being able to reach the person who needs to make the decision.

5) “Build projects around motivated individuals.
Give them the environment and support they need,
and trust them to get the job done.”

From the people I’ve talked to, this is every programmer’s dream. All the best working environments I’ve been in have been like this.

6) “The most efficient and effective method of
conveying information to and within a development
team is face-to-face conversation.”

Yes. And it drops off considerably, even to ‘face-to-face’ Skype/

7) “Working software is the primary measure of progress.”

Many people have different measures of progress, leading to organizational misalignment.

8) “Agile processes promote sustainable development.
The sponsors, developers, and users should be able
to maintain a constant pace indefinitely.”

As much fun as ‘feast and famine’ is, you’re probably not doing your best work souped up on adrenaline and coffee. (Or maybe you are. If so, you should take some time off between binges.)

9) “Continuous attention to technical excellence
and good design enhances agility.”

‘We put brakes on the car so that it can go faster.’ ‘Legacy code is defined as any code with inadequate test coverage.’ All the time you spend hesitating*** because you’re worried about breaking old crappy code is time you’re not building features or refactoring old crappy code.

10) “Simplicity–the art of maximizing the amount
of work not done–is essential.”

Think Apple. Think Oblivion when they decided to voice all of the dialog, and all the streamlining that inspired/required. Think about that super-expert programmer you know who can tell you why every single line of code they wrote is there, and also why everything not there is not there.

11) “The best architectures, requirements, and designs
emerge from self-organizing teams.”

Ask the people who know the most about something to make the decisions****.

12) “At regular intervals, the team reflects on how
to become more effective, then tunes and adjusts
its behavior accordingly. ”

Continuous improvement. Read ‘The Goal*****’. Really. It will improve your life. Also retrospectives.

*Similar to reading Wikipedia and trying to figure out the actual events behind the dry descriptions…

**I still remember the day when I felt I had ‘graduated to short stories’, as they tend to pack more large ideas per page. Longer novels tend to be more meditative/escapatory?

***And working around crappy code…

****I’m currently most comfortable with some mix of Scrum and Kanban. They have a specific separation of powers between the team (handles estimation) and the product owner (handles prioritization). To me, this seems totally reasonable, but re-reading the manifesto above, there are many levels of Agile actualization above that. (Think Valve.) (Also, the product owner is part of the team, just with a specific role to play in addition to the general team tasks.)

*****https://en.wikipedia.org/wiki/The_Goal_%28novel%29 My favourite business book. Told in a novel format. Some of the story has dated references (before most of feminism), but is still very useful.

The Spoilers Awaken

This is my second post on The Force Awakens, this time with spoilers… (If you don’t want spoilers, you should go to the other post here: http://nayrb.org/~blog/?p=553)

From Anakin to Luke to Kylo Ren, the Star Wars movies are about the failed teaching of apprentices. It felt very poignant seeing the older Mark Hamil, with a beard, almost an echo of Alec Guinness’ haunted eyes. This suggests that movies VIII and IX may be the story of Luke Skywalker’s redemption as much as they may be Kylo Ren’s (in the same way that IV was Obi-Wan Kenobi’s redemption).

At the same time, it still feels like Luke ran away, at least it seems that way not knowing what has happened in the intervening time… Even if one of his students ran away and fell to the dark side, why would he not try again? What would make him flee that responsibility so resoundingly? Was it because he let his sister and best friends’ son fall to the dark side and kill all of his students?

Obi-Wan had more of an excuse, as the entire empire was after him, if he had stuck his head up, they would have sent out squads to kill him. But he had his redemption when he faced his fear/failed student.

“Fear is the path to the dark side. Fear leads to anger. Anger leads to hate. Hate leads to suffering.” -Yoda

So much fear on both their parts…You could say that the fear of Obi-Wan and Luke of their failed teaching and students led to much of the conflict in all seven movies so far…Who will break the cycle, to help adolescents actually grow up properly? (Or is this an endless part of the human condition?)

(It could also be, like Ty Templeton taught us in Comic Book Boot Camp http://comicbookbootcamp.com/, how you want to torture your heroes, to give them more depth, to give them more complex motivations, and in Star Wars, it’s often mistakes they’ve made in the past that they want to redeem.)

Speaking of redemption, it made Han Solo a much more interesting character to have him needing redemption for his perceived failures with his son. Also, this may be me projecting or reading things in, but it felt like there was some Harrison Ford wanting redemption for his terrible acting in the original trilogy. (Just after I wrote that, I read an article talking about how he re-wrote much of Han’s terrible dialogue to be more in tune with the character, and apparently also wanted Han Solo to die at the end of Jedi, to give the movie a ‘bottom’. So maybe it was the drama of Han Solo that he was trying to redeem, to finally give him some gravitas.) (Also, given how much he apparently put into the part, I feel bad complaining about his acting…Maybe it’s just that many actors are not that good at that age, or that directing has improved (or that George Lucas was much better at the art and setting than at script writing or directing actors*), or that he was being compared to Alec Guinness and Peter Cushing.)

Either way, fear and redemption is the catch phrase of Star Wars. Comment below!

*Apparently, Harrison Ford also contributed a lot to his character in American Graffiti, which was successful for George Lucas in part because he set the scene well with the setting and music from the period.

No Spoilers Awaken

Well, we just saw The Force Awakens, and it was really good. I think I can say ‘great’, possibly the best of all of them.

I’ve promised no spoilers for this review, so I’ll be focusing on other aspects.

First, the music was seamless and brilliant. It carried the mood superbly, through all of the lonely scenes, the poignant scenes, the battle scenes that Star Wars is known for.

Second, the movie felt really tight. It was paced well, it felt like it moved all the way through, that all the scenes needed to be there.

There were many sendups, but they weren’t jarring, they felt natural to the characters saying them (like the conversations about aging in The Undiscovered Country).

It felt very true to the feel of the Star Wars universe, while at the same time, being a great movie.

Also, I feel like Harrison Ford was much better, like he’s grown into himself.

In short, go see this film.

Cineplex: 100 Years

This trailer, “Cineplex – 100 Years of Movies” which currently shows at the beginning of all Cineplex movies (at least, the ones I go to), always makes me tear up:

There’s something about the nostalgia, the ‘humans trying so hard, with whatever they had at the time, all sharing the dream of flying’, going from the first tentative flights, to biplanes, to the first propeller planes where it was important enough to have retractable landing gear, to the first jets, to fighter jets, to the Space Shuttle*, to some type of Interstellar-like FTL ship.

It’s the “we’ve been here, helping you tell stories all the way through this, and we’ll still be here, helping you tell stories when we reach the stars.”

Even though multiple iterations of the planes are fighter planes, there is no violence in the trailer, and it feels very hopeful.

“If we do not destroy ourselves, we will one day venture to the stars.”

*Probably not quite on a trajectory the Shuttle would take, but that’s reasonable dramatic license.

Solution Rotation

So, sometimes when someone asks me a question, I feel like I’m rotating through a number of possible solutions/solution types, like rotating through different options in a leather punch. https://www.google.com/search?tbm=isch&q=leather+punch

I first noticed this in a conversation with Garland Marshall, one of my favourite profs. at WashU: https://biochem.wustl.edu/faculty/faculty/garland-marshall. He’d asked me a question about how one would determine the structure of a binding site of a molecule too difficult to crystallize, too large to NMR, and impossible to get a structure with a bound ligand.

How do you come up with the structure of the binding site? I remember rotating through a number of different options, mostly focused on polling the ligand in various ways.

– Does this happen to other people?
– Is there a neuronal definition/description of this?
– What does this mean?
– Other types of analogies?

On the ‘neuronal pathway’ front, it could be something like activating different pathways in sequence, doing it manually, rather than letting your brain activate all of them at the same time, then aggressively pruning them (to save energy). So, you would actively control your thoughts, to try out each channel independently, and submit them to more rigorous logic, to make sure you hadn’t left anything out. Somewhat like taking the ‘mental shackles off’, asking an audience ‘what ideas would your most creative and silly friend have about what to do with a brick?’, rather than ‘what ideas would you have about what to do with a brick*?’

*This seems to have been adapted from the Torrance Tests of Creative Thinking https://en.wikipedia.org/wiki/Torrance_Tests_of_Creative_Thinking