state

What I know about deep meditation states

The following is a (long) discussion of some things you might run into during deep meditation.

Fake Absolute Silence

These days in meditation I spend a lot of time in a place I call “Fake Absolute Silence.” In this state you might be fooled into thinking that you’re in the real state of Absolute Silence, but that’s part of the problem — you’re still thinking. Things are definitely quiet in this state; there aren’t many thoughts, and your concentration is focused on your breathing without distraction. However, I find that I’m still very aware of my body and outside noises. But despite that, it’s generally a mentally quiet place.

Mutable state is fine but ... alvin August 4, 2018 - 10:50am

“Mutable state is fine but needs to be contained and non-observable.” A quote from Jonas Bonér, which I saw in this tweet.

Zen: Pain is inevitable. Suffering is optional. alvin November 10, 2017 - 1:44pm

Zen Wisdom: “Pain is inevitable. Suffering is optional.”

When I saw this just now it reminded me of the quote, “In enlightenment, death has no relevance to one's state of being.”

This is a page from my book, Functional Programming, Simplified

Goals, Part 2: Concrete Goals of This Book

After I released Version 0.1.2 of this book, I realized that I should state my goals for it more clearly. I don’t want you to buy or read a book that doesn’t match what you’re looking for. More accurately, I don’t want you to be disappointed in the book because your expectations are different than what I deliver. Therefore, I want to state some very clear and measurable goals by which you can judge whether or not you want to buy this book.

In Erlang, it’s OK to mutate state within an individual process alvin June 18, 2017 - 11:19am

“In Erlang (Akka), it’s OK to mutate state within an individual process (actor), but not for one process to tinker with the state of another process.”

A Quick Review of Scala’s ‘for’ Expressions alvin May 30, 2017 - 7:00pm

“The owls are not what they seem.”

The “Log Lady” in Twin Peaks

Goals

The goal of this lesson is to review at a high level how for loops work in Scala. This is necessary because Scala/FP developers take advantage of advanced Scala for loop features.

As an example of what I mean, the goal of the next few lessons is to explain what’s happening in this for loop:

This is a page from my book, Functional Programming, Simplified

A Functional Game (With a Little Bit of State)

“In theory, theory and practice are the same. In practice, they’re not.”

Yogi Berra

Introduction

Now that I’ve given you a little background about what I think “state” is, let’s build a simple game that requires us to use state. I’ll build the game using recursion, and also immutable state — something I had never heard of when I first starting writing the Scala Cookbook.