Publish Script

I got around to creating a publish script to handle regenerating the static site and publishing to IPFS. Here is the script:

# Build the static site
hugo

# Publish to IPFS
ID=/ipns/$(ipfs id -f="<id>\n")
OLD_HASH=$( ipfs name resolve $ID )
NEW_HASH=/ipfs/$( ipfs add -r public | tail -n1 | cut -d' ' -f2 )
if [[ "$OLD_HASH" != "$NEW_HASH" ]]; then
	ipfs name publish $NEW_HASH && ipfs pin rm $OLD_HASH
fi

Pretty straight forward. Generate the static site, find the old published hash, add the new static site data, publish, and remove the old site data from the pinset to keep the pinset from growing without bound.

Renewable Curtailment

Since I’ve had the issues with renewable energy on my mind recently, I’m going to fill some of this space with some of my thoughts on the matter.

tl;dr

I think that storing excess electricity as hydrocarbons and using existing storage and infrastructure is the best way to deal with large amounts of intermittent generation.

Intermittent Renewable Energy

There are some well-known issues with renewable energy. If you read the comments section of just about any article covering renewable energy on a right-leaning site, you’ve seen the phrase “The sun doesn’t always shine and the wind doesn’t always blow”, referring to the intermittency of the solar and wind power generation. I’m going to mostly ignore hydroelectric, which is dispatch-able, and geothermal power, which is a constant source like nuclear, for the rest of this post. (Nuclear has a waste and WMD problem the other types of power don’t have)

Admin Log 1

  • Disable google fonts
  • Modified site settings to include sideboards on main page and posts
  • Configure to display post date
  • Enabled social links to github and email

Setting up this IPFS Blog

While scanning all the IPFS nodes that mine was connected to, I came across PUSH32DUP2 ( ipfs, www ), liked the look of the site and decided that I wanted that for myself.

So here we are, the obligatory “I’m setting up a page on IPFS” post.

IPFS Setup

I’m not going to cover setting up IPFS, because if you are here, you have probably already done this, but you should have two command line parameters to make IPNS behave is a more sane manner:

Moc bezmocných

Václav Havel: „Moc bezmocných“

Hrádeček, říjen 1978

Památce Jana Patočky

I

Východní Evropou obchází strašidlo, kterému na Západě říkají „disidentství“.

Toto strašidlo nespadlo z nebe. Je přirozeným projevem a nevyhnutelným důsledkem současné historické fáze systému, jímž obchází. Zrodila ho totiž situace, kdy tento systém už dávno není a z ti­sícerých důvodů už nemůže být založen na čisté a brutální mocenské svévoli, vylučující jakýkoliv nekonformní projev, kdy je ale na druhé straně už do té míry politicky statický, že téměř znemožňuje, aby se takový projev natrvalo uplatňoval v prostředí jeho oficiálních struktur.

The Power of the Powerless

Václav Havel: The Power of the Powerless

To the memory of Jan Patocka

“The Power of the Powerless” (October 1978) was originally written (“quickly,” Havel said later) as a discussion piece for a projected joint Polish Czechoslovak volume of essays on the subject of freedom and power. All the participants were to receive Havel’s essay, and then respond to it in writing. Twenty participants were chosen on both sides, but only the Czechoslovak side was completed. Meanwhile, in May 1979, some of the Czechoslovak contributors who were also members of VONS (the Committee to Defend the Unjustly Prosecuted), including Havel, were arrested, and it was decided to go ahead and “publish” the Czechoslovak contributions separately.