A pleasant walk through computing

Comment for me? Send an email. I might even update the post!

Digital Minimalism: A Week of Web Blocking for Productivity and Well-Being

My productivity has been poor, and a big reason is distraction. Well, that's a nice way to put it, so let's call it what it is.

I'm a social media and Netflix addict.

(Un)Social Media

One advised practice in digitial minimalism, and well-being, is to effectively eliminate social media. Cal Newport suggests rethinking social media in terms of logistics. Facebook isn't social, but it can be a way to schedule actual social (i.e. face-to-face) activies.

Why is social media bad for well-being?

  • The "Like" feature is intentionally based on an addictive model to make you check your account. Essentially, you're a rat checking if someone has left you food.
  • Not getting "likes" leads to lower self-esteem.
  • Online interaction has far less quality than physical interaction.

Yale professor Laurie Santos recommends her students rid of social media. Newport recommends the same, but allows that there can be value to Facebook, Twitter, Instagram, et. al. if they are:

  1. Used as tools
  2. Use is severely restricted

Netflicatus Stimulorum

As far as Netflix, Amazon Prime, CW, etc, it's just too easy for me to binge watch. TV and movies can be great for inspiration, and might be critical for people in those fields. But all I think about is how much time I spend on other people's creations instead of creating my own art.

... To the Rescue

I've avoided web-blocking apps for years, for the same reason addicts don't go to therapy; they think it shows weakness. But the better way is to think of it in terms of gun ownership. Full disclosure: this example won't sit well with some of you, but the facts are well-documented. A person with suicidal thoughts is far more likely to successfully kill himself if he owns a gun. Why? Because suicide is mostly an action taken during depression and depends on opportunity. The harder the person has to work at suicide, the less likely he'll take action. Guns are easy and immediate. Poison is harder and takes longer, allowing the person to call for help. Sure, a determined person will find a way. But the studies show that even ten minutes of delay saves lives.

Web-blocking software can work the same way. Sure, I can bypass the software. But I have to actively do that. If it's a little challenging--maybe I have to look up a password--I probably won't bother.

I'm trying these apps for the next seven days, and I'll report back on my results.

  • RescueTime Free for lite version, which tracks which sites and apps I'm using. Useful for reviewing at the end of the week.
  • Mindful Browsing Free. Nudges a person away from mindless sites with positive pressure.
  • Either LeechBlock or StayFocusd, extensions to block certain sites on schedules or demand.

Web Sites I'm Blocking

What I'm Doing About Facebook

For the month of February, I committed to only writing positive posts. This has been going well. At the end of February, I'll post about why I'm leaving Facebook, and collect contact information for people I want to.

Revert PackageReference Project to Packages.config

The instructions below aren't tested in all scenarios, and assume familiarity with Visual Studio, NuGet Package Manager, etc. They should be enough to help.

Backup, branch, or otherwise protect your source first!

To revert from PackageReference to packages.config:

  1. Close the solution.

  2. Delete the project's obj and bin folders (which is where the Reference references are stored)

  3. Edit the .csproj file. Remove <RestoreProjectStyle>PackageReference</RestoreProjectStyle>

  4. Cut/Paste all PackageReference elements into a separate text editor, e.g.

    <ItemGroup>
        <PackageReference Include="MSTest.TestAdapter">
          <Version>1.4.0</Version>
        </PackageReference>
        <PackageReference Include="MSTest.TestFramework">
          <Version>1.4.0</Version>
        </PackageReference>
        <PackageReference Include="Selenium.WebDriver">
          <Version>3.141.0</Version>
        </PackageReference>
        <PackageReference Include="Selenium.WebDriver.ChromeDriver">
          <Version>2.44.0</Version>
        </PackageReference>
    </ItemGroup>
    
  5. Save and close the .csproj file.

  6. Open Visual Studio (but not the solution).

  7. Change the VS default package management format to Packages.config
    OR
    Check Allow format selection on first package
    OR
    Add a packages.config file to the project folder with this text:

    <?xml version="1.0" encoding="utf-8"?>
    <packages>
        <package id="MSTest.TestFramework" version="1.4.0" />
    </packages>
    

    Note: If you don't enable using packages.config, you must manually add at least one of the packages to the xml.

    Note: It's optional, but recommended, to add the targetFramework element with the correct moniker for the project's framework.

  8. Open the solution.

  9. If you manually created a packages.config file, restore missing NuGet packages.

  10. If needed, install remaining NuGet packages using package manager.

  11. Build and test.

Create a Simple Photo Album Site With Wix

My dad asked for some help creating a photo gallery web page. I suggested a free site on Wix. Now, Wix is a user-friendly site, but it's really useful to have experience with how content management systems work. My dad's a really good photographer and a terrific musician. He's used computers for a long time. But he's not software guy in the sense that I am. So, he asked for my help.

Below is a "here's what to do" guide to creating a simple photography site. It doesn't get into adding new widgets or even pages. Instead, it focuses on doing several things. Lots of people prefer working this way, because after a few clicks and edits they start to get how the application is intended to work.

I'll update this page with a link to his actual site once he's created it.

Confession
All the original (non-template) photographs in this post are mine. They're OK.

Be prepared to spend at least a couple of hours creating a simple site the first time around.

This tutorial assumes you've created a Wix account and have ended up on the first of the "getting started" pages.

So...after this page, you get asked some questions.

Here's the way I answered.

  • I want to create a site for myself
  • It should be a photography site, and
  • I've never done this before.

Pick a template. I liked this one.

Note: It's not possible to change the template afterward. So, either choose one you really like, OR expect that your first site will be a "play around" one.

Watch the video, because it'll be useful later, (the second time you watch it), then "Start now"

This is the editing page.

Click "AMANDA WILLMAN" to select the text box. Then, either double-click, or click Edit Text, to change the name. Then, hover over the top border and click/drag the name toward the top of the page.

Likewise, change and move the smaller text box. In my example, I also selected the text boxes and decreased the box sizes by dragging the handles that appear on the borders.

Click Save.

You'll get this prompt. Enter something appropriate like terry-flatt-photography. Save and Continue.

Do not publish, yet. You can change the domain name later, but remember you may decide to completely scrap this site.

Click Preview.

We can see the "A-W" needs to be removed, and also the Store at least needs to be hidden if not removed completely. We also want to change (or remove) the changing photo gallery, and the portfolios.

Click "Back to Editor. To hide all the controls, click the arrow-tab at the top of the page.

Now select the A-W text box and press Delete.

Next, click the main photograph. A menu will pop up. Click Change Images.

In the "Organize Your Gallery Images" tool, you can add, delete and move images, as well as add some descriptions. Let's start really simple. Delete all the existing images. Hover over each image and click the trash can.

Now click Add Images and choose a file from your file system. You can click Upload Media, or drag and drop files from a folder.

Note: Drag and drop didn't work for me, so I clicked Upload Media.

After it's uploaded, an Add Images tool appears. Select the image and click Add to Gallery.

Then, click Done.

That takes care of the first image a visitor will see.

Now let's hide the Store. Click on the Horizontal Menu.

Then Manage Menu.

Select Store, click the "triple dot" settings menu, and choose Hide (or Delete). Then close the menu manager by clicking the upper right X.

Next, select the Cart and delete it by pressing your <Delete> key.

Now, select the Horizontal Menu and Navigate

Chose "The Desert," which will open that page. From here, you can change the title and paragraph text as we have before.

Tip: If the Text Settings tool window gets in the way, click its header and drag it somewhere else on the page.

Now click a picture. This will select the Gallery. Click Manage Media.

This opens a tool very much like the one on the home page. You can add, remove and arrange photos. You can also add videos and text.

I deleted all the photos, then chose Add Media > Image.

In the media tool, you can choose previously uploaded photos, or upload by clicking Upload Media. You can upload multiple images at once.

Then, you can select multiple files to Add to Page by using CTRL/CMD + Click.

Back in the gallery, you can add titles and descriptions. Click Done when finished.

Select the Horizontal Menu > Manage Menu again. Select The Desert's settings, choose Rename, and change the name to Santa Fe.

You can use the same tool to add, remove and reorder pages.

This leaves the home page gallery links, and footer, to take care of. Use Horizontal Menu > Navigate to open the Home page again. Then, scroll down to the Desert photo. Select it, Change Image to one in the Santa Fe gallery, then change the text to "Santa Fe."

Scroll down further to the footer. Change the copyright text.

Show the Controls. Save the site, view it and then, if desired, publish it.

There is lot more that can be done with Wix. You might consider creating a "play" site that you don't publish, just to see what you can do with the tools. There's also lots of documentation. Like many photo editing tools, it's "easy once you know how."

For example, I changed the toolbar Design so it was more visible, and moved the name to the header so it appears on every page.

Happy site creating!