Wednesday, September 11, 2019

D&D: On the Feeling of Agency

[This was written in response to a Reddit post which claimed the following:


Some examples of what is versus what isn't player agency:

What is good player agency:

Rogue: "I check the chest for traps."

DM: Okay, how are you inspecting it?

Rogue: "I'm gently running my dagger along it, feeling for anything out of the ordinary."

DM: Okay, roll an Investigation check.

Rogue: "20."

DM: "Yeah, you find the poison gas trap hidden on the chest."

Rogue: "Okay, I want to disarm the trap."

DM: Roll a Thieves' Tools check.

Rogue: "15."

DM: "You were unable to disarm the trap."

Rogue: "Okay, but I still want to open the chest."

DM: "You want to open the chest, knowing full well there's a trap?"

Rogue: "Yes."

DM: "Okay, roll a CON saving throw."


What is not good player agency:

Rogue: "I want to check the chest for traps."

DM: "As you approach the chest, it shoots out deadly poisonous gas and you breathe it in and immediately fall to the ground, gasping for air as you take your final breath and pass into the afterlife."

Rogue: "What the [deleted]"


Notice how for the second example, the Rogue didn't get to control their character at all. The DM didn't ask how they were doing what they were doing, the Rogue didn't get to make a single skill check or play the game. They were simply a character in the DM's story that they wanted dead. No saves, no checks, no damage rolled. Simply dead.  


My response below. -Max] 


While the example isn't terrible, I think the OP does not fully articulate why the interaction is unsatisfying. Here's a definition:

Player Agency (n.): "the feeling of empowerment that comes from being able to take actions in the [virtual] world whose effects relate to the player's intention" -Mateas, 2001

"Agency is an experiential pleasure. As such, it can fade in and out; it can fail altogether. Agency is not automatic, and so simulated environments should be cleverly constructed to help users/players get there." - Steven Dow (2009)

The reason the instant-kill example is so unsatisfying is not because the player doesn't get to roll enough dice, it's because based on the information given, the outcome feels arbitrary and the player feels helpless, as if his decisions didn't matter.

How could you transform example #2 so players gain the feeling of agency? Different methods lead to different feels for your campaign. The OP suggests a skill-centric approach where the DM is careful to make the player's investments in Investigation and Thieves Tool skills matter, as well as investments in feats like Resilient (Con) and Tough. The damage would presumably be carefully-calibrated to not actually kill a high-Con Barbarian (e.g. 5d8 damage, not 20d20), because the OP is clearly trying to highlight a game where resources and build choices matter, so survival-via-sufficient-HP instead of survival-via-Thieves-Tool-Expertise will be a viable strategy.

Another way to build a high-agency campaign is by giving the players lots of information: hints and foreshadowing. Imagine that the players have encountered many corpses of other adventurers who died clutching their throats in front of chests, and maybe solved a riddle or two hinting at how in this place, breath is death, and that only the Necklace of Amun-Ra (which is a Necklace of Adaptation that prevents you from having to breathe) can save you. If the players choose not to enter the Tomb of Amun-Ra to retrieve the necklace but instead try to immediately open up the treasure chest they find outside the Tomb... then when someone dies to the poison gas, that will not feel arbitrary and the player should not feel helpless, even if the poison damage was great enough to kill a medium-sizeed dragon (20d20, DC 22, save for half). The death was clearly a result of the players' decision to be impatient, and the results of being impatient were plausible: increased danger. In a campaign like this one, build choices matter less, and an impatient or foolish player's PC will probably die relatively soon even if he has 18s in every stat, whereas a savvy player's PC might make it all the way to 20th level even with no initial stat higher than 14.

It's important to note that in order for the prior scenario to feel high-agency, the DM has to react appropriately when the PCs go off-script and do something creative. If instead of trying to pick the lock, the PCs try to cut a hole in the chest with an axe, does the DM say "No, you can't" to force them back to the original dilemma? Or does something logical happen: either the trap goes off anyway, or they accidentally ruin some of the treasure inside the chest? Their ability to go off-script (with appropriate consequences) will influence feelings of player agency, even when they choose to stay on-script.

Yet another way to provide agency would be to make moral choices matter: do you risk opening the chest yourself, or do you animate a zombie and make the zombie do it for you? Or make a prisoner of war do it? When you need information that could greatly decrease the risk of danger to you in your treasure-hunting, how far are you willing to go to get it?

Agency is an experiential pleasure, and a given DM has to think carefully about the ways in which he is prepared to offer agency to those players.

More here:

http://hackslashmaster.blogspot.com/2013/10/on-theory-defined-player-agency.html


 --

I could not love thee dear, so much,
Loved I not honor more.

Thursday, August 29, 2019

Is Anger Ever Appropriate?

[Written in response to the questions, "In what situations is anger desirable? Is it ever acceptable or encouraged?"]

I can think of a handful of situations where feeling and showing anger is appropriate and useful. In a situation where:

1.) You're communicating with someone too immature to understand rational argument;
2.) You don't feel any enmity or hostility towards the person;
3.) They have done something wrong and you need to communicate the seriousness of the offense;

In this situation, it could be useful to allow yourself to feel anger in such a way that the other person can tell. For example, if your three-year-old child breaks the family rules and runs outside the house alone and into the street, I don't think it would be harmful for the child to perceive that "mommy and daddy are really mad that I broke the rules and they say I could have been killed." Similarly, if one child is harming another child (hitting, biting), I can imagine that it might be more appropriate for certain children to feel that "mommy and daddy are mad that I hurt [other child] and they said I shouldn't ever hurt them ever again" instead of "mommy and daddy are sad that..." It probably depends on the child, but I can certainly imagine children who would pay more attention to anger than to grief.

When the Lord shows anger in the scriptures, all the cases I can think of fit this pattern. He is dealing with someone immature (like the Israelites), he still loves them, and they've done something very wrong.

If the other person weren't immature I think anger might still be okay to feel (as long as #2 and #3 are still satisfied) but it's not helpful per se. If your spouse does something that makes you mad, you can say, "I really, really didn't like it when you [did XYZ]", but you wouldn't lose any effectiveness if you weren't angry when you said it. In the case of an immature person though I think being calm can result in them missing your point. Immature, irrational people respond more readily to emotion than to logic, and if you give them the logic without the emotion they won't hear what you're saying. "That behavior is inappropriate in this context" doesn't mean the same thing to them as "STOP IT!!!!!".

-Max

 --

I could not love thee dear, so much,
Loved I not honor more.

Wednesday, August 28, 2019

Robert Cialdini

[from an email discussion]

Cialdini's writings are extremely interesting. Here's an interesting story from one of the early chapters of Pre-Suasion, emphasis mine:

In part, the answer involves an essential but poorly appreciated tenet of all communication: what we present first changes the way people experience what we present to them next. Consider how a small procedural difference has improved the bottom line of the consulting business of a Toronto-based colleague of mine. For years, when bidding on a big project, it wasn't unusual to get price resistance from the client, who might propose a 10 percent or 15 percent reduction. That was frustrating, he says, because he never felt comfortable padding the budget to cover this kind of potential pushback on costs. If he did agree to the cut, his profit margin became so thin it barely paid to take the business. If he didn't acquiesce, he either lost the job or produced partners who were initially disgruntled because he wasn't willing to work with them on price.
 
Then, during one proposal meeting, he accidentally hit upon a maneuver that rid him of the problem forever. It wasn't a step-by-step attempt to specify or justify each of the expenses involved in his services; he'd long since given up on that approach, which only brought scrutiny to the bill. Instead, after his standard presentation and just before declaring his ($75,000) fee, he joked, "As you can tell, I'm not going to be able to charge you a million dollars for this." The client looked up from the written proposal he'd been studying and said, "Well, I can agree to that!" The meeting proceeded without a single subsequent reference to compensation and ended with a signed contract. My colleague claims that this tactic of mentioning an admittedly unrealistic price tag for a job doesn't always win the business—too many other factors are involved for that—but it almost always eliminates challenges to the charges.
 
Although he stumbled onto it, my friend is not alone in experiencing the remarkable effects of merely launching a large number into the air and, consequently, into the minds of others. Researchers have found that the amount of money people said they'd be willing to spend on dinner went up when the restaurant was named Studio 97, as opposed to Studio 17; that the price individuals would pay for a box of Belgian chocolates grew after they'd been asked to write down a pair of high (versus low) digits from their Social Security numbers; that participants in a study of work performance predicted their effort and output would be better when the study happened to be labeled experiment twenty-seven (versus experiment nine); and that observers' estimates of an athlete's performance increased if he wore a high (versus low) number on his jersey.

The remarkable thing about this story to me is that it shows a case where persuasion expertise can help a businessman be more ethical (no pressure to pad the initial asking price).

The whole book is full of fascinating stories and ideas. I highly recommend it to anyone who regularly interacts with human beings in a professional or personal capacity. 

-M.
 
 --

I could not love thee dear, so much,
Loved I not honor more.

Monday, August 12, 2019

What is Dungeons and Dragons? (Not collaborative storytelling)

It's popular to describe D&D as "collaborative storytelling", but I think that's misleading.

You can derive a story from the events of the game, after it's over, but that's true for many games from Cops and Robbers to Clue. Fundamentally, roleplaying games like D&D are about giving players meaningful decisions to make within the context of a fantasy adventure, which means making choices with consequences that are clearly related to the player's intent. The more meaningful decisions you make during an evening of D&D, the more memorable the experience: players will tell stories about what they did and what happened because of what they did.

Nobody wants to collaboratively re-enact all the events of Lord of the Rings, even if it is a great story in book form. If you don't get to make choices which change the outcome, that's not a game, and you'll have no story to tell after the game is over. But if Frodo and Sam get killed by Ringwraiths back at the Shire, and then the Ringwraiths send the Ring back to Sauron on a flying dragon which gets ambushed by giant eagles ridden by Legolas and Gandalf who then flee westward over the oceans with the Ring to buy time while Aragorn and the dwarves make peace with the goblins of the Misty Mountains and persuade them to betray Sauron and join the West in exchange for mining rights and patents of Gondorian nobility... if that actually works and you save the world that way, you might have a story you'll want to remember.

-B.C.

 --

I could not love thee dear, so much,
Loved I not honor more.

Sunday, August 11, 2019

Ethics of being good-looking (continued)

Maybe it's just childish to take appearances too seriously? Don't forget they are temporary and mutable. But maybe it's not wrong to mutate them to be pleasant sometimes? And it can help you influence lower levels.

~B.C.

Friday, August 2, 2019

Radioactive Taiwan: Followup

[Back in 2004 I heard about a case where a bunch of apartment buildings in Taiwan were accidentally constructed out of (mildly) radioactive metal. This was not discovered until ten thousand people had spent one to two decades living in those buildings. The common perception of radiation, called the LNT theory (Linear-No-Threshold), says that radiation is always bad for you even in small doses, and suggests that cancer rates among these people should have been sky-high. Instead cancer rates were unusually LOW, about 3% the normal average even for people living in non-radioactive buildings. There was a followup study done in 2007 that I skimmed, which concluded that the effect seemed to be real and that cancer rates for all types of cancer except leukemia really had drastically dropped (leukemia rates went slightly up) and that more study was needed.

Today it occurred to me that I never found out if further research had been done, so I went looking. I found a bunch of papers including this one from 2018. I'm no expert but it looks like the phenomenon seen in the radioactive Taiwanese incident is holding up in other studies, and LNT is losing favor in the scientific community. -Max]

Abstract

The effects of low-dose radiation are being increasingly investigated in biological, epidemiological, and clinical studies. Many recent studies have indicated the beneficial effects of low doses of radiation, whereas some studies have suggested harmful effects even at low doses. This review article introduces various studies reporting both the beneficial and harmful effects of low-dose radiation, with a critique on the extent to which respective studies are reliable. Epidemiological studies are inherently associated with large biases, and it should be evaluated whether the observed differences are due to radiation or other confounding factors. On the other hand, well-controlled laboratory studies may be more appropriate to evaluate the effects of low-dose radiation. Since the number of such laboratory studies is steadily increasing, it will be concluded in the near future whether low-dose radiation is harmful or beneficial and whether the linear-no-threshold (LNT) theory is appropriate. Many recent biological studies have suggested the induction of biopositive responses such as increases in immunity and antioxidants by low-dose radiation. Based on recent as well as classical studies, the LNT theory may be out of date, and low-dose radiation may have beneficial effects depending on the conditions; otherwise, it may have no effects. [emphasis added. -Max]
Keywords: low-dose radiation, hormesis, adaptive response
Source: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6121451/

 --

I could not love thee dear, so much,
Loved I not honor more.

Monday, July 29, 2019

Hawking Radiation

While the following post doesn't quite get me to the point of understanding Hawking radiation, it gets me much closer to the point of understanding what Stephen Hawking was attempting to say in A Brief History of Time: now I know what he means by "virtual particles" and that I need to read up on Feynman diagrams to understand the argument.

Source: https://www.physicsforums.com/threads/higgs-field-and-the-casimir-effect.405738/#post-2736124 

Graphically in a Feynman diagram a virtual particle is a particle that does not escape to infinity; so its line has two ends (two vertices) where it meets with another line or lines. Now draw a circle and two vertices on the circle. This is a vacuum fluctuation where at one vertex a pair of virtual particles is created out of nothing (vacuum); the two particles propagate to the second vertex where they annihilate into nothing (vacuum). Usually this is a mathematical [artifact] and is "subtracted" from the theory.

Near the event horizon something strange happens. One of the two virtual particles tunnels through the horizon whereas the other virtual particle is eventually sucked into the black hole. The particle outside the event horizon does not annihilate with the other particle, so it escapes to infinite and is therefore not a virtual particle. The confusion is due to the fact that we compare a process in flat space (with two virtual particles in a vacuum fluctuation) with another, different process in curved spacetime (with one real particle). That's why its strictly speaking not a virtual particle that becomes a real particle, but a particle that is created by tunneling (similar to the alpha particle that tunnels from a nucleus causing alpha decay).

The mathematical reason is difficult: in order to set up quantum field theory one must define a vacuum state. In curved spacetime this is no longer possible uniquely. So what we call virtual particle when its located inside the event horizon is a real particle when it is located outside the horizon. One can evaluate this vacuum ambiguity mathematically. In doing so one finds that one has to redefine the vacuum state outside the event horizon in such a way that is contains real particles with thermal spectrum.

A similar effect is the so-called Unruh effect. It simply says that if an observer at rest observes vacuum w/o particles then a constantly accelerated observer observes thermal radiation! So the same volume of space contains no particles at all or thermal radiation - depending on the observer. Again the very notion of vacuum is no longer unique. The two effects are closely related as in the Unruh case there is again a "kinematical horizon" which means there is a region of spacetime from which no signal can reach the accelerated observer. This is not due tothe eometry of spacetime but due to the acceleration only, but nevertheless it is a horizon.

Reference: https://www.physicsforums.com/threads/higgs-field-and-the-casimir-effect.405738/#post-2736124

-Max
 
 --

I could not love thee dear, so much,
Loved I not honor more.

Global warming evidence(?) and positive feedback loops

Article: https://issuesinsights.com/2019/07/29/will-the-global-warming-hysterics-never-tire-of-being-wrong/?fbclid=IwAR2jf6xiN7uOIcjst3kv1mbX4aFKSa954Y3mNmENKxR7cv_hDEJMQ712xkw 
 
But some remember those frenzied forecasts. Following is but a small taste of a smorgasbord of baloney:

Al Gore once declared that "unless drastic measures to reduce greenhouse gases" were taken within the next decade, "the world will reach a point of no return," eventually suffering "a true planetary emergency." That was 13 years ago.

Gore is of course the same fellow who in the mid- to late-2000s kept telling us the Arctic Ocean would soon be ice-free. The ice, which is still there, had grown thicker and had wider coverage in 2014 than when Gore made his prediction. Earlier this year, before the growing season had ended, Wattsupwiththat reported the "2019 Arctic sea-ice extent is already higher than the previous four years and six out of the last 14 years."

In January 2009, former NASA scientist and corporate witch hunter James Hansen swore that the incoming president had a mere four years to save the world.

Later in the year, British Prime Minister Gordon Brown (the Thames, again) said there remained "fewer than 50 days to set the course of the next 50 years and more."

Also in 2009, 124 months ago, the prince of Wales worried out loud the world had "less than 100 months" to save itself.
2009 was a particularly looney year. Elizabeth May, leader of the Greens in Canada, wrote "we have hours to act to avert a slow-motion tsunami that could destroy civilization as we know it. … We need to act urgently. We no longer have decades; we have hours."

While speaking to then-Secretary of State John Kerry in May 2014, French Foreign Minister Laurent Fabius warned that "we have 500 days to avoid climate chaos." Nearly 1,900 days have passed since. The chaos is in the foreign minister's head.

In 2015, mayors from around the world signed a statement that said the "last effective opportunity to negotiate arrangements that keep human-induced warming below 2-degrees" Celsius had arrived.

Almost 20 years ago, in Y2K, the British Independent quoted a climate researcher who said in coming years the children of England "just aren't going to know what snow is." Thirteen years later, that same newspaper told readers to "stand by for icy blasts and heavy snow."

Commentary by Max:

Predictions of climate disaster have always rested upon the implausible assumption that earth's climate is an unstable equilibrium, when everything we know about earth's history and planetary systems indicates it's more likely to be a stable equilibrium. If heating led to further irreversible heating, the Earth would already have turned irreversibly into a furnace way back in the Medieval Warm Period. Climatology's arguments in favor of positive feedback loops are extraordinary claims, and we have yet to see extraordinary evidence. It's hotter than it used to be but in all likelihood this is about as hot as it's ever going to get, and the history of the past two decades bears that out because it's no longer getting even hotter--there is no temperature-driven positive feedback loop.

Also carbon dioxide has diminishing returns. At some point you're already capturing about all the energy in the CO2 bands, and increasing CO2 levels cease to matter (in terms of temperature at least--high CO2 levels do still make air feel less fresh, while increasing plant growth rates, and extremely high CO2 levels can give you a headache or eventually even kill you).

-Max
 
 --

I could not love thee dear, so much,
Loved I not honor more.

Sunday, July 28, 2019

Pre-marriage Discussion

[Responding to questionnaire taken from https://www.marriagebuilders.com/choosing-the-right-one-to-marry-2.htm?fbclid=IwAR2lOe9xcmN-U825aaUkY9yhADyYaGLxThLn4DHvM91krQZriQWK7JLpfj8. My responses to B.F. in brackets.]

However, you can make up your own version of the PREPARE test if you like. It won't be as sophisticated as the one a professional counselor would give you, but it could give you a rough idea of where you might have serious conflicts. But more importantly, it would help you understand how you would handle those conflicts after marriage.

Ask yourselves these questions:

1. Do you want to have children, and if so, how many? [Ideally I'd like four daughters named Samantha (Sam), Alexandra (Alex), Riley, and Jill.]
2. What religion do you want for our children? [I would like our family to be completely committed to the teachings of Jesus Christ, especially as taught in the Church of Jesus Christ of Latter-day Saints.]

3. When our children are disobedient, how will you discipline them? [Ideally I'd like to raise my eyebrows and let them suffer the consequences of their own foolishness. I'm open to other approaches, especially when they are very young, but that's how I'd prefer to handle it. I'm a big believer in freedom of agency.]
4. How do you want to spend our vacations and holidays? [I'm not sure. For my own sake I'd probably just want to stay home, read books, and relax, but I expect that for the girls' sakes I'd want to frequently do things that give them new experiences, indoors, outdoors, and in the worlds of the mind.]
5. How much money do you expect me to earn? What if I never earned any money? [It would be fine with me if you never earned any money. In fact as a matter of fiscal discipline I would prefer it if we never, as a family, relied at all upon any money that you happened to earn even if you did feel like getting a professional job. That way you'd feel completely free to take any job you wanted, or leave any job you wanted, without any economic repercussions to family welfare. My goal is to make enough money for you to have that complete freedom.]

6. What kind of house would you like to own? Where would you like to live? [My mild preference is to have a house with no yard so there is no yardwork. If you decide that you want a yard because it looks nice I will do my best, because what's important to you should be important to me, but it's possible I might never learn to enjoy doing yardwork so please be patient.]

7. Do you expect me to make love to you whenever you want? If not, would you EVER expect me to make love to you? Would you leave me or have an affair if I never made love to you? [I don't think I would feel cheated if you never made love to me as long as we had a good friendship. That would obviously be inconvenient for our daughters, because they'd never get born, but as far as I'm concerned it's not something I feel like I need. I am not saying I won't feel physical desire for you and won't WANT to reach out to you that way, because you're super-cute and very desirable--but I don't think I would resent it if you hypothetically said "You're my best friend Max but I'm just not into touching and I think I never will be." I could be completely happy, I think, with a 100% verbal relationship with you, as long as I can count on you when I need you.]

8. If you don't like one of my friends, would you want me to give up the friendship? [I'm really not sure. At minimum I'd want to understand why we have different perceptions of this person. How is it possible for me to not like someone you like? I can imagine circumstances where I might try to persuade you that someone is bad for you, and if I successfully persuade you then I expect that you would give up that friendship voluntarily, but I don't think I would expect you to give up a friendship without being persuaded first.]

9. What should our budget priorities be? How will we make financial decisions? [This is a complicated subject. Let's talk about it at more length.]

10. Would you support me financially if I wanted to educate myself for a new career? [Sure. I know you've sometimes considered becoming a veterinarian, for example. If you want to, we'll make it happen, in as many different careers as you feel interested in.]

 --

I could not love thee dear, so much,
Loved I not honor more.

Saturday, July 13, 2019

Pre-Copernican geocentrism

Something I learned from the book Lost In Math, by physicist Sabine Hossenfelder:

People love to make fun of pre-Copernican geocentric models of the universe, but it turns out that there were some interesting arguments against heliocentrism, back in the day.

For one thing, scientists back then knew how to do trigonometry, and they noticed that the stars (unlike the planets) didn't seem to move, which meant that either (1) the stars were fixed in position relative to the earth, not the sun, or else (2) the stars were implausibly far away, thousands of times farther away than any of the planets, far enough away that their parallax motion was impossible to detect.

It wasn't until much later that we developed instruments sensitive enough to detect that yes, the stars really do show parallax motion as the earth goes around the sun. But if you went back in time to the 16th century, and you didn't bring any of those modern instruments with you, you'd have a pretty tough time answering that argument.

This is good in the sense that it teaches you something true about the way human beings search for knowledge, including the fact that people can be wrong without being stupid.

It's an interesting book.

-Max

Ref: https://www.amazon.com/Lost-Math-Beauty-Physics-Astray-ebook/dp/B0763L6YR7/ 

 --

I could not love thee dear, so much,
Loved I not honor more.

Tuesday, July 2, 2019

What Is Pornography?

The definition of "pornography" I would give to my kids is "pornography is material produced by one person in an attempt to gain power (money, attention, etc.) over another person by manipulating their physical desires."

This definition makes it possible to talk clinically about accidental exposure to pornographic material, and without feeling shame. Case in point: I was on a web site today, skimming an article about Soviet whaling practices, and I kept seeing these highly-inappropriate bikini ads from a company called Venus. The body language of the models was aggressively sexual, and unlike most Google ads, these ones didn't have a little X in the corner for easily closing the ad and opting out of seeing it in the future. The ad bugged me enough that I held up my hand to cover the screen while I searched for ways to disable it, which I _think_ I was able to eventually do after some trial and error. (I clicked on Google Ad Choices, which sent me to Criteo's web page, and I told Criteo not to show me that product again, and reloaded the page--no luck, still the bikini porn. So I clicked on Google Ad Choices again and opted out of Criteo entirely, and reloaded the page, and this time I saw some ad for a hotel or something, so maybe it worked.)

Whoever was selling those bikinis is clearly trying to gain power (money, attention) by manipulating physical desires (aggressively sexual stances, making it hard to opt out), and therefore it's pornography. To them it's just business, probably, but they don't care about the damage they inflict on other people as long as they get their money. And if I had kids, I would want them to know that, and to be able to react to ads like that one by (1) realizing that they're under attack, (2) taking countermeasures, (3) feeling free to calmly discuss the attack with family members without feeling ashamed of the experience.

Am I always successful in fending off such attacks so calmly and disinterestedly? No. I was just lucky today. Do I want my kids to be even better than me at my best? Yes, I do.

-Max
 
 --

I could not love thee dear, so much,
Loved I not honor more.

Thursday, March 21, 2019

TED talk on connectivity vs. addiction

Hi [redacted],

I was thinking about our conversation about addictive behaviors and phone usage. Here's a short talk that might change the way you think about certain things and/or which might help you communicate your concerns about social media to your kids. I will summarize it to save you some time but it is worth watching:

One of the most interesting things about it is the story he tells about where our ideas on addiction came from: rats in a cage that would basically take heroin until they died. But that's only because the cages were boring. When you put rats in a cage with lots of other rats and a rat amusement park and lots of other fun rat things to do, they basically ignore the heroin.

The insight: at its core, addiction is how people escape from their cage (life) when they don't have anything to feel connected to. They connect to their addiction.

One application: social media can be helpful to the extent that it facilitates real connections to your friends, family, etc. and harmful to the extent that it functions as a cheap substitute for connection which prevents you from developing real connections. Spending lots of time on Instagram trying to generate likes = fake connection. Using Instagram or Facebook to arrange a weekend rendezvous with friends and share a few photos of the event afterwards = real connection.

Link: https://www.ted.com/talks/johann_hari_everything_you_think_you_know_about_addiction_is_wrong?language=en

Hope you like it,
Max

 --

I could not love thee dear, so much,
Loved I not honor more.

Priorities

March 21, 2019

My thought process today after work:

I want to play Dominions 5, but I'm trying to cut down on screen time for my own sake and the kids' sake, so... I could go to the temple!

But wait, I think I'm almost out of clean church shirts. It's still early in the evening, so maybe I have time to do a load in the washer and dryer and be at the temple by 7:30. But I know realistically that if I try that, it will take twice as long as I expect, so maybe I should just go tomorrow (oh, I'm busy) or some other day--

Then my left brain said, "...wait. This is stupid, Max. Heavenly Father cares more that you do the right thing and help some people receive their saving ordinances today when you've got the chance than he does about whether your church shirt has some dried sweat on the neck. Go to the temple first, and do your laundry some other day."

Good point Dante! So let it be written. (So let it be done.)

-Max

 --

I could not love thee dear, so much,
Loved I not honor more.

Saturday, December 29, 2018

Reflection on the nature of love

Reflecting on a recent, unexpected Christmas event:

Love isn't a feeling. It's maybe a cross between a decision and a reflex, or maybe it's a decision to create a reflex, to do anything you can to help that person. Love doesn't go away even if the positive feelings that made you decide to commit to it do. Love is permanent, in my experience.

-B.C.

Tuesday, December 18, 2018

Rash Vows

The man who makes a vow makes an appointment with himself at some distant time or place. The danger of it is that himself should not keep the appointment. And in modern times this terror of one's self, of the weakness and mutability of one's self, has perilously increased, and is the real basis of the objection to vows of any kind. A modern man refrains from swearing to count the leaves on every third tree in Holland Walk, not because it is silly to do so (he does many sillier things), but because he has a profound conviction that before he had got to the three hundred and seventy-ninth leaf on the first tree he would be excessively tired of the subject and want to go home to tea...

Let us turn, on the other hand, to the maker of vows. The man who made a vow, however wild, gave a healthy and natural expression to the greatness of a great moment. He vowed, for example, to chain two mountains together, perhaps a symbol of some great relief of love, or aspiration. Short as the moment of his resolve might be, it was, like all great moments, a moment of immortality, and the desire to say of it exegi monumentum aere perennius was the only sentiment that would satisfy his mind. The modern aesthetic man would, of course, easily see the emotional opportunity; he would vow to chain two mountains together. But, then, he would quite as cheerfully vow to chain the earth to the moon. And the withering consciousness that he did not mean what he said, that he was, in truth, saying nothing of any great import, would take from him exactly that sense of daring actuality which is the excitement of a vow.

...It is the nature of love to bind itself, and the institution of marriage merely paid the average man the compliment of taking him at his word. Modern sages offer to the lover, with an ill-favoured grin, the largest liberties and the fullest irresponsibility; but they do not respect him as the old Church respected him; they do not write his oath upon the heavens, as the record of his highest moment. They give him every liberty except the liberty to sell his liberty, which is the only one that he wants.

Source: G.K. Chesterton 

I could not love thee, dear, so much
Loved I not Honor more.

-Max

P.S. I made another rash vow last Friday, December 14, 2018: on my honor, no food shall cross my lips until February 14, 2019, unless I have already reached a satisfactory strength/weight ratio or encounter serious health problems, or unless this vow conflicts with a prior obligation (like taking the sacrament, which obviously takes precedence).

 --

Doubtless some of the arguments developed here will prove oversimplified, or merely false. They are certainly controversial, even among my colleagues in economic history. But far better such error than the usual dreary academic sins, which now seem to define so much writing in the humanities, of willful obfuscation and jargon-laden vacuity. As Darwin himself noted, "false views, if supported by some evidence, do little harm, for every one takes a salutary pleasure in proving their falseness: and when this is done, one path towards error is closed and the road to truth is often at the same time opened."[Darwin, 1998, 629] Thus my hope is that, even if the book is wrong in parts, it will be clearly and productively wrong, leading us toward the light. -Gregory Clark, Preface to Farewell to Alms

Tuesday, December 4, 2018

Great article on roleplaying

I thought this was great: http://darkshire.net/jhkim/rpg/theory/models/blacow.html

-Max

 --

Doubtless some of the arguments developed here will prove oversimplified, or merely false. They are certainly controversial, even among my colleagues in economic history. But far better such error than the usual dreary academic sins, which now seem to define so much writing in the humanities, of willful obfuscation and jargon-laden vacuity. As Darwin himself noted, "false views, if supported by some evidence, do little harm, for every one takes a salutary pleasure in proving their falseness: and when this is done, one path towards error is closed and the road to truth is often at the same time opened."[Darwin, 1998, 629] Thus my hope is that, even if the book is wrong in parts, it will be clearly and productively wrong, leading us toward the light. -Gregory Clark, Preface to Farewell to Alms

Monday, December 3, 2018

Hooray for F#

Hooray!

I think I'm beginning to grok F# computation expressions. I realized recently that an abstraction I've been trying to create--generalized input/output so you can write the same algorithm and execute it both synchronously (a la Console.ReadLine/WriteLine) and in an event loop like React/Elmish--is really just a form of coroutine. Put it together with a packrat parser and you wind up with something like this:

// types for test scenario
type GetNumber = Query of string
type Confirmation = Query of string

type InteractionQuery =
    | Number of GetNumber
    | Confirmation of Confirmation

module Recognizer =
    open Packrat
    let (|Number|_|) = (|Int|_|)
    let (|Bool|_|) = function
        | Word(AnyCase("y" | "yes" | "true" | "t"), ctx) -> Some(true, ctx)
        | Word(AnyCase("n" | "no" | "false" | "f"), ctx) -> Some(false, ctx)
        | _ -> None

module Query =
    open Packrat

    let tryParse recognizer arg =
        match ParseArgs.Init arg |> recognizer with
        | Some(v, End) -> Some v
        | _ -> None

    let confirm txt =
        InteractionQuery.Confirmation(Confirmation.Query txt), (tryParse Recognizer.``|Bool|_|``)
    let getNumber txt =
        InteractionQuery.Number(GetNumber.Query txt), (tryParse Recognizer.``|Number|_|``)

#nowarn "40" // recursive getBurgers is fine
[<Theory>]
[<InlineData(4,true,0,"That will be $8.00 please")>]
[<InlineData(4,true,3,"Thanks! That will be $11.00 please")>]
[<InlineData(3,false,3,"Thanks! That will be $6.00 please")>]
let ``Simulated user interaction``(burgers, getFries, tip, expected) =

    let interaction = InteractionBuilder<string, InteractionQuery>()
    let rec getBurgers : Interactive<_,_,_> =
        interaction {
            let! burger = Query.confirm "Would you like a burger?"
            if burger then
                let! fries = Query.confirm "Would you like fries with that?"
                let price = 1 + (if fries then 1 else 0)
                let! more = getBurgers
                return price + more
            else
                return 0
        }
    let getOrder: Eventual<_, InteractionQuery, _> =
        interaction {
            let! price = getBurgers
            let! tip = Query.confirm "Would you like to leave a tip?"
            if tip then
                let! tip = Query.getNumber "How much?"
                return sprintf "Thanks! That will be $%d.00 please" (tip + price)
            else
                return sprintf "That will be $%d.00 please" price
        }
    let mutable burgerCount = 0
    let question = function
        | Confirmation(Confirmation.Query txt) ->
            if txt.Contains "burger" then
                if burgerCount < burgers then
                    burgerCount <- burgerCount + 1
                    "yes"
                else
                    "no"
            elif txt.Contains "tip" && tip > 0 then
                "yes"
            elif txt.Contains "fries" && getFries then
                "yes"
            else
                "no"
        | Number(GetNumber.Query txt) -> tip.ToString() // must always answer question by typing text
    let resolve =
        let rec resolve monad =
            match monad with
            | Final(v) -> v
            | Intermediate(q,f) as m ->
                let answer = question q
                let m = f answer
                resolve m
        resolve
    Assert.Equal(expected, getOrder |> resolve)

The neat things about this are manyfold:

(1) You can query for numbers (tip amount), yes/no confirmation, or anything else that you want, and it all comes back strongly typed in the context of the algorithm you're executing (getBurgers).

(2) Even though the unit test executes the workflow synchronously via resolve, executing the same logic via React is straightforward: you just take the Intermediate and render the question (q) via React, and dispatch the answer (in string form) back to f. So you can write your business logic without any reference at all to your UI abstractions, and yet it still works in React event loops.

(3) The parser (active patterns in Recognizer) is easy to read and extensible: it looks almost exactly like BNF grammar.

(4) I think it's probably possible to make the parser give you hints about productions that were being matched at the time it ran out of input, so you could give the user hints about what valid inputs they could type next. You could use this in e.g. mobile web development to show autocomplete buttons with the most likely valid responses.

(5) BTW I really like using string format as a canonical form because it's very amenable to pedagogy (teaching the user how they would replicate via text commands the thing you just did on their behalf via the GUI) but you could pick a different canonical form if you wanted to, as long as it's something your event loop knows how to supply.

I'm really happy because I've been working on this problem on and off for probably at least a year, and I finally have a design pattern for user interaction that actually feels _clean_. And in the process I corrected a lot of my misconceptions about computation expressions and what they are good for, and now I have a fairly compelling example to show people of why programming in F# is better/easier/cleaner than C#. :)

~B.C.

 --

Doubtless some of the arguments developed here will prove oversimplified, or merely false. They are certainly controversial, even among my colleagues in economic history. But far better such error than the usual dreary academic sins, which now seem to define so much writing in the humanities, of willful obfuscation and jargon-laden vacuity. As Darwin himself noted, "false views, if supported by some evidence, do little harm, for every one takes a salutary pleasure in proving their falseness: and when this is done, one path towards error is closed and the road to truth is often at the same time opened."[Darwin, 1998, 629] Thus my hope is that, even if the book is wrong in parts, it will be clearly and productively wrong, leading us toward the light. -Gregory Clark, Preface to Farewell to Alms

Thursday, November 8, 2018

ThingTracker

Ahahaha, this makes me happy. I've been wanting an app like this for ages and I finally made it: just something to track stuff on a daily basis, like how much money I spend or how much exercise I do.

Integrating with Facebook identity and Azure cloud data storage turned out to be a real learning exercise.

Disclaimer: I know it is ugly. It doesn't have to be pretty, it just has to be easy for me to use. I may or may not invest in prettying it up and showing nice graphs of all the things you're tracking, but for right now it's enough that it shows me what's going on.

https://maxwilson.github.io/ThingTracker/



 --

Doubtless some of the arguments developed here will prove oversimplified, or merely false. They are certainly controversial, even among my colleagues in economic history. But far better such error than the usual dreary academic sins, which now seem to define so much writing in the humanities, of willful obfuscation and jargon-laden vacuity. As Darwin himself noted, "false views, if supported by some evidence, do little harm, for every one takes a salutary pleasure in proving their falseness: and when this is done, one path towards error is closed and the road to truth is often at the same time opened."[Darwin, 1998, 629] Thus my hope is that, even if the book is wrong in parts, it will be clearly and productively wrong, leading us toward the light. -Gregory Clark, Preface to Farewell to Alms

Monday, October 22, 2018

Religion: What Difference Does It Make?

One way my religion has recently changed my life: I'm naturally very sympathetic to the need for law, justice, fairness, etc., so my natural inclination with respect to illegal immigration is to say, "Wait your turn. Don't break the law to cut in line and come here early. That isn't good for anybody."

But this scripture gives me pause: 'Wherefore, I, Lehi, prophesy according to the workings of the Spirit which is in me, that there shall none come into this land save they shall be brought by the hand of the Lord.' (2 Nephi 1:6)

And so when I see the news about the migrant train headed for the southern U.S. border right now, instead of being upset, my current inclination is to say, "I do not know what should happen. I will wait and see what happens." The Lord is able to do his own work. He doesn't need my opinion.

New position: neutral.

-Max

 --

Doubtless some of the arguments developed here will prove oversimplified, or merely false. They are certainly controversial, even among my colleagues in economic history. But far better such error than the usual dreary academic sins, which now seem to define so much writing in the humanities, of willful obfuscation and jargon-laden vacuity. As Darwin himself noted, "false views, if supported by some evidence, do little harm, for every one takes a salutary pleasure in proving their falseness: and when this is done, one path towards error is closed and the road to truth is often at the same time opened."[Darwin, 1998, 629] Thus my hope is that, even if the book is wrong in parts, it will be clearly and productively wrong, leading us toward the light. -Gregory Clark, Preface to Farewell to Alms

Monday, October 8, 2018

On /Lamb/ movie and odd friendships

I just saw (part of) a movie called Lamb and I need to vent about how mad it made me at the main character. I hesitate to call him the "protagonist" but from a literary standpoint he's at least the deuteragonist.

I was prepared to be uncomfortable going in because it's got a reputation as a "weird" movie, about a friendship between a middle-aged man and an eleven-year-old girl. What what I wasn't prepared to feel was outraged. Fear not, it's not a Lolita storyline, it's not like that, but it turns out I can get mad over much subtler things like dishonesty and selfishness.

Here's the thing: ever since I was a kid, I've always been willing to transcend both space/time and age boundaries. I *am* conscious of age barriers in dating relationships but not in other kinds of relationships. I was nice to substitute teachers in middle school because I recognized that they were in a tough situation and I kind of pitied them. I feel older than my biological parents, emotionally and spiritually and behaviorally, and have at least since the age of twelve or so. I'm perfectly willing to learn from experiences I haven't actually had yet including parenting, and you'll occasionally see me comment in Sunday School about things like what we learn from raising our kids or how it feels when your kids go astray--this may seem odd to some but to me it's just me trying to project my knowledge back in time so I can be my full self even before I become myself. I still see myself as older, in many ways, than even the physically oldest men and women in my social circle; I try to treat kids with respect the way I would have wanted to be treated at their age, because you never know how old someone really is inside; and my best friend is an eleven-year-old (who nevertheless has a lot of catching up to do before she'd be anything like a peer).

So if there is anyone who ought to be able to relate to the social discomforts of an "odd"-looking friendship, and having it anyway, it is me. I was afraid that I might see too much of myself in the movie and it would make me uncomfortable.

But what I wasn't prepared for was to see a friendship so superficially similar yet fundamentally opposite to what I believe in. If you have seen the movie you may recognize some of these elements, but here are some: David lies to Tommy (the girl) about his name. He tells her he's "Gary." He lies to other people in his life. He's having an affair with a younger woman named Linny at work, and he lies to her about his home life. His boss at work confronts him about how his affair is really causing problems for Linny's prospects of promotion, and David shows no remorse. He gestures in the direction of doing the right thing--the first time he pretends to "kidnap" Tommy but really just drops her off at her apartment, he says, "You should probably tell your mom about this," but later on he gets more and more selfish and secretive. He influences her for good in some ways--she stops dressing provocatively after that first "kidnapping" trick, and she stops wanting to smoke--but in other ways the effect of their relationship is to socially isolate her (as well as him). He gets her away from bad friends but doesn't help her make new, better ones. He maintains the outward form of equality between them, offering to take her home instantly if she decides that's what she wants, but for me the final straw and the thing that made me quit in outrage was when she says, "I think I might want to call my mom," to tell her that she's okay and not to worry... instead of instantly obliging, he asks her, "Tomorrow?" and she says yeah, and he starts asking her what she'd tell her mom, clearly wanting to change her mind. I couldn't stand to watch any more and in fact I wanted to tell him off. "That's not friendship! That's selfishness!"

I think Tommy deserves a good life and good friends, and to the extent I kept watching it is because I wanted to see her get good things, but at a certain point in the movie I felt like watching any more would make me complicit in the same kind of thing as David: putting my emotional needs before hers. So instead I'm rewriting it in my head as a half-hour-long movie, and the next thing that happens is Tommy says firmly, "No. I need to call my mom," and she gets up and does so, and then they get in a fight and she realizes what he's really like, and goes home. And then she hurts, because that's what betrayal does to us, and she gets stronger, and some day she finds better friends.

I'm really, really mad at David Lamb. Tommy's a fictional character, and so are you, Lamb, but you are breaking her heart, you selfish jerk. She deserves better. And so did your wife, I bet, and even Linny, and your boss, and everyone around you. You're nice but you aren't good.

 --

Doubtless some of the arguments developed here will prove oversimplified, or merely false. They are certainly controversial, even among my colleagues in economic history. But far better such error than the usual dreary academic sins, which now seem to define so much writing in the humanities, of willful obfuscation and jargon-laden vacuity. As Darwin himself noted, "false views, if supported by some evidence, do little harm, for every one takes a salutary pleasure in proving their falseness: and when this is done, one path towards error is closed and the road to truth is often at the same time opened."[Darwin, 1998, 629] Thus my hope is that, even if the book is wrong in parts, it will be clearly and productively wrong, leading us toward the light. -Gregory Clark, Preface to Farewell to Alms