Is “success mostly results from luck and connections” a luxury belief?

I have been pondering this essay from Rob Henderson for a while, and will continue to do so: Luxury Beliefs are Status Symbols.

Much of it is well-argued and compelling. I need to consider it further before I can say how much I agree or disagree.

But one part is so poorly argued it merits mentioning. Henderson writes:

There are other examples of luxury beliefs as well, such as the downplaying of individual agency in shaping life outcomes.

A 2019 study led by Joseph Daniels at Marquette University was published in the journal of Applied Economics Letters.

They found that individuals with higher income or a higher social status were the most likely to say that success results from luck and connections rather than hard work, while low-income individuals were more likely to say success comes from hard work and individual effort.

Well, which belief is more likely to be true?

Plenty of research indicates that compared with an external locus of control, an internal locus of control is associated with better academic, economic, health, and relationship outcomes. Believing you are responsible for your life’s direction rather than external forces appears to be beneficial.

Here’s the late Stanford psychology professor Albert Bandura. His vast body of research showed that belief in personal agency, or what he described as “self-efficacy,” has powerful positive effects on life outcomes.

Undermining self-efficacy will have little effect on the rich and educated, but will have pronounced effects for the less fortunate.

According to Henderson this is evidence that this belief is a “luxury belief”.  I have a few problems with this section

1. The framing

Henderson asks “which belief is more likely to be true?” and then goes on to discuss the benefits of believing one vs the other, which patently has nothing to do with a belief being true. Was this just bad editing? This is such a non sequitur, I don’t know what to make of it.

There is plenty of research (though what I was able to find in a brief internet search generally seemed low quality) on whether hard work vs luck vs other factors are contributors to success. Henderson does not consider any of that here.

Additionally, there is a large body of research, as Henderson states, on the benefits of internal locus of control (e.g. The happy personality) and it does support the idea that internal locus of control is correlated with happiness and achievement. But it seems like a bit of a jump to go from “people emphasize the important of luck and connections in having success” to “people have weak/less internal locus of control and therefore are more likely to be unhappy and achieve less”, which is the conclusion that Henderson implies. The data used in the paper under discussion come from the World Values Survey, specifically the questions here are:

An answer of “in the long run, hard work usually brings a better life’ carries a value of one (1) in the survey and an answer of ‘hard work doesn’t generally bring success – it’s
more a matter of luck and connections’ carries a value
of ten (10).

To me this seems more about achieving societal markers of success (income, savings, housing, cars), while internal vs external locus of control is more about an individual believing they are responsible for and in control of what they do.

I am obviously not an expert on these terms, nor deeply familiar with the relevant theory and research, so I may be wrong here, but it seems like a big analytical leap that Henderson is making here. The relevance of this research to Henderson’s claim needs to be argued but he assumes it is obvious and uncontroversial.

2. The research

Reading the original research paper, we see the following correlations between belief in luck/connections (there are some others as well, but these are the ones that stand out as most problematic for Henderson’s case, in my opinion):

  • with social class: 0.0834
  • with gender: 0.0678
  • with country’s GDP: 0.0844
  • with income: 0.0077

Henderson seems to latch onto the correlation with social class, but this  leaves us with a few head scratchers, given his conclusions:

  • if this is a luxury belief, why is the correlation with income so much weaker than the correlation with social class?
  • why is there a correlation with GDP? are entire populations of wealthier countries more likely to adopt this view in order to distinguish themselves from other countries?
  • what’s with women? why are they so more drawn to this luxury belief than men?

It seems like Henderson had an idea, went around looking for evidence, found something resembling evidence if you squint right and ignore some things, and then just ran with it.

I understand that the piece of writing I’m discussing is not academic per se, but given that he frames it as a transcript of a talk he delivered at a “behavioural science festival” I found the lack of rigor in this part disappointing. It casts a shadow over the rest of the argument.

Installing a Boss 560BRGB stereo in a 2012 Mazda 5

I purchased this Boss 560BRBG aftermarket stereo from Crutchfield for my 2012 Mazda 5. Installation and setup was pretty smooth, facilitated by Crutchfield’s support documentation which really surpassed my expectations. If you’re looking to tackle a project like this I recommend buying from them vs Amazon. But a few things were still tricky or non-obvious, so I’m going to share some of them here in case others struggle with some of the things I did.

To be honest, if I had noticed the handy wiring guide Crutchfield mentioned in my purchase email, I probably wouldn’t have had several of these difficulties, but I somehow missed it until just now.

First of all, you are going to have to solder some wires

If you’ve ever done a project like this, that fact is probably obvious, but I naively assumed that the Crux SWRMZ-64C Wiring Interface that came with my package would mean the whole thing was just plug n play. I got all the dashboard panels popped off and the old radio removed before I realized this, then ran out of time and had to put everything back together and wait until the next weekend when I had time to tackle the soldering.

Fortunately I had recently acquired a soldering gun and been getting some practice. You could maybe use crimp connectors or some other method instead of soldering, but the soldering was not that difficult, provides a better connection, and is more fun.

Removing the panels to get at the guts

This part was actually kind of interesting, turns out most of the panels on your car just pop off with the help of some trim panel tools and a philips head screwdriver. Again, something that is probably obvious to many folks.

One bit of advice I got from somewhere on the internet for this step was: after you’ve unscrewed the gear shift nob and popped off the gear shift trim panel, you can press down a little white lever with your finger or screwdriver to shift the car into neutral, which makes it easier to remove the climate control assembly. You could probably just do this at the outset. Obviously make sure your parking break is on.

Soldering the stereo wires to the wiring interface

Basically you can just follow the wiring guide from Crutchfield here, and match similarly-colored wires to each other. However

  1. The manufacturer’s manual that comes with the wiring interface incorrectly identifies one of the wires as blue, when it is actually (in my case) brown. This is the Steering Wheel Control (SWC) Phone wire, which won’t be used for anything if you have the same year/model Mazda and this stereo. I soldered it to the brown wire on the stereo which turned out to be unnecessary, but not actively harmful.
  2. The blue wire of the power antennae is similarly useless for this car, as the antennae doesn’t require power. You can just plug the antennae jack into the back of the radio, and top the blue wire off with electrical tape. Easy.
  3. Because Steering Wheel Controls are simply incompatible with this stereo, flipping the dip switches on the interface module is unnecessary. Additionally, connecting the two wires that come out the other side of this module is also unnecessary, you can just toss those away, or keep them in your electronic junk box forever until you die because you will never use them for anything so just throw them away.
  4. There will be an extra module just hanging out that connected to your old stereo, but has nowhere to go with the new one. I’m not sure what this is for, possibly SWC, but either way you can just ignore it and leave it hanging around. This little white guy here, no home for you any more buddy.

Mounting the stereo

I mostly ignored the mounting instructions that came with the stereo itself as they were confusing and seemingly incompatible with the Metra 99-7521B Dash Kit that was part of the package, and necessary to ensure you don’t have a gaping hole remaining in your dashboard.

I don’t have any good advice for this part, other than “just do what seems like it will work, ensuring that the unit is securely attached, without putting undue stress on the wires”.

Hearing this thing actually play a CD was probably the most satisfying feeling of accomplishment I’ve had in years.

Hemmingway readability scores

Buffalo can buffalo Buffalo buffalo, but don’t do it too much. – grade 5
Buffalo can buffalo Buffalo buffalo. – grade 10 (obviously much harder to parse)

A corpuscle is an outmoded idea from the early modern period. Modern science eschews such terms in favor of atomism. – grade 6

Did a mote perchance alight upon your nape ere your sojourn? – grade 5

Schadenfreude beckons: would that I were able to resist it. But its force, an animal magnetism of sorts, calls me. I must yield. – Grade 3

Ruby and Fortran libraries

I’ve been trying to learn Fortran for reasons of: future job security; masochism; curiousity.

Since having a REPL for a language makes learning it so much easier, I wrote one in ruby, called frepl. It is pretty buggy, and needs serious refactoring, but mostly works. After having written it, I was informed that there are other such efforts, e.g. in Python, but after cursory examination, they seem a bit less REPL-y than frepl.

I also have been interested in calling Fortran from Ruby, with the ultimate goal of perhaps being able to benefit from Fortran’s superior array-handling abilities for doing machine learning work in ruby. Turns out this is somewhat possible with ruby-ffi. I say “somewhat” because it is not very ergonomic to call Fortran from Ruby, as far as I can tell, and of the solutions I’ve come up with, some seem unstable (as in, occasionally produce segfaults), especially when trying to interact with Fortran derived types.

The ruby-fortran FFI proof-of-concept is here, along with some benchmarks. As I suspected/hoped, Fortran is much faster than ruby at some array manipulation tasks, e.g. summing an array is ~10x faster, doing dot product is ~2x faster. I mean, when using Fortran without the FFI/Ruby overhead, I suspect the speed differences are even more pronounced–these numbers are specifically with regard to pure ruby vs. ruby-calling-fortran.

Configuring SoftEther VPN on Ubuntu with a firewall

DigitalOcean has a good article on setting SoftEther VPN on one of their droplets.

The instructions worked for me without just fine, with a couple exceptions:

1. When you attempt to use the command line vpncmd tool to set up the server, you may have to specify localhost:5555 rather than using the defaults.

2. You may have to create a group for the test user before creating them and assigning them to a test group. This can be done with the command `GroupCreate test`.

3. If you are using a firewall, you will need to open up the ports used by SoftEther. To figure out what ports it’s using, do `sudo netstat -atulpn  | grep vpnserver`. By default, SoftEther will listen on TCP ports 443, 992, and 5555. If you’re using L2TP/IPsec, make sure UDP ports 500 and 4500 are open as well. If you’re using ufw for your firewall, you can see which ports are open/blocked with `sudo ufw status verbose`. To get an idea of which ports each VPN protocol you’re using requires, check out the SoftEther specifications.

Read more literature

“When David called to say he and Patty were coming for a visit, Noel never thought of saying no. And he asked me how he could compete with David. He thought David was coming to his house to win me away. After he reads more literature he’ll realize that is too easy. There will have to be complexities. The complexities will protect him forever.”

From “Vermont,” by Ann Beattie

Throttle outbound Spotify traffic

When working on a shared network with limited bandwidth, it’s sometimes nice to be able to keep listening to Spotify without ruining your co-workers’ Internet connections.

Spotify is P2P (the desktop app is, anyway), so you both receive data from other Spotify users and transmit it to them. Blocking the outgoing traffic entirely would be un-neighbourly (probably also a violation of TOS), and might even prevent streaming from working altogether.

Fortunately, as I just discovered, ipfw allows you to add a pipe to a range of ports, all of which you can then throttle to a certain data transfer rate. It’s a shotgun approach, and will slow down any other services that are trying to send data over those ports as well, but since Spotify seems to stick to the range 10000 to 80000, and I rarely if ever run anything of consequence on those ports, this approach works for me.

sudo ipfw add pipe 1 ip from any to any out dst-port 10000-80000
sudo ipfw pipe 1 config bw 8KBytes/s

Filtering ExtJs Grid

ExtJs Grid provides a nice, quick way to build a UI that can handle a lot of tabular data and support the operations you’d typically like to perform on that data (sorting, filtering). It can be hard to style, but is great for whipping up admin CRUD functionality.

One thing that seems hard to do with it out of the box, however, is trigger filtering directly from your javascript, rather than via the UI.

Ext.grid.Panel does in fact expose the requisite properties and methods to accomplish this, but they’re a bit hard to track down, and not part of the official public API. This gist, GridFilteringExtensions.js, adds some methods to Ext.grid.Panel that make this easier. It probably won’t accomplish everything you want to do, and hasn’t been tested in a wide variety of situations, but it was exactly what I needed, and may be a good base from which to build.

Note that before manually setting a filter for the first time, you’ll need to call `createFilters`.