Zach Into 2020

Category: Posts

Meals

  • 2 people per meal
  • Every 3 days responsible for meal
  • Breakfast on own
  • 10:30 AM start time
  • Team that didn’t cook cleans

Cleanliness

Knowledge and education is an issue.

Checklist:

  • All dishes cleaned or in dishwasher
  • All pots and pans cleaned or in dishwasher
  • All food put away
  • Stove wiped
  • Sink and drain are cleared out
  • Main counter cleared
  • Main counter wiped
  • Floor cleared
  • All meal related items off dining table
  • Dining table wiped if needed
  • Dishwasher started
  • Trash and recycling taken out if full

Better documentation for systemd

Idea: Better documentation for systemd. https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ is incredibly confusing.

I can’t even figure out what section After and Wants goes in.

I want examples. I want to see how to make scheduled jobs. I want to see how to make one service depend on another service. I want to see where to put files for custom services that I define Examples, examples, examples.

China

Stuck in the middle. On China’s side or not? What is the opposition?

The US? Europe? Current opposition is not working. What can opposition do that China can’t? What can China do that opposition can’t?

Really scary stuff. Need to think more about Hack Club in terms of setting up systems to build out the org that I want to exist rather than just trying to do it all myself.

What is the next 20 years going to look like? When we look back on this time in 100 years, what are the history books going to say? What are the arcs of our time?

AI? Is it for real?

Start with Middle East, but probably overemphasized when comparing to the historical perspective.

From 1910, before everything changed in the 20th century.

  • Portugal 1494 to 1580 (end of Italian Wars to Spanish-Portuguese Union). Based on Portugal’s dominance in navigation.
  • Spain 1516 to 1659 (Ascension of Charles I of Spain to Treaty of the Pyrenees). Based on the Spanish dominance of the European battlefields and the global exploration and colonization of the New World.
  • The Netherlands 1580 to 1688 (1579 Treaty of Utrecht marks the foundation of the Dutch Republic to the Glorious Revolution, William of Orange’s arrival in England). Based on Dutch control of credit and money.
  • Britain 1688 to 1792 (Glorious Revolution to Napoleonic Wars). Based on British textiles and command of the high seas.
  • Britain 1815 to 1914 (Congress of Vienna to World War I). Based on British industrial supremacy and railroads.

From https://en.wikipedia.org/wiki/Hegemony

How I got LTE working on my X1 Carbon (7th Gen) ThinkPad on Arch Linux

Note: does not work automatically through suspends. After resuming from a suspend, I need to run the following and wait a bit for the modem to show up again (as root):

setpci -s "0000:00:1c.0" "CAP_EXP+10.w=0052"
printf "%s" "\_SB_.PCI0.RP01.PXSX._RST" > /proc/acpi/call

I have struggled to get LTE working in Arch Linux on my new X1 Carbon (7th Gen) on Arch Linux. Thanks to @pradyungn on the Hack Club Slack for helping me out with this.

This is what ultimately worked for me:

$ uname -r
5.6.14-arch1-1

Install kernel module to convert modem to USB mode permanently on Linux:

  1. Clone https://github.com/juhovh/xmm7360_usb
  2. make && sudo make install && sudo modprobe xmm7360_usb
  3. After modem boots into USB mode, unlock modem and set to MBIM mode (whatever that is, _this step is taken from xmm7360_usb‘s README)
$ sudo screen /dev/ttyACM0

…then type in, one line at a time, the following:

at@nvm:fix_cat_fcclock.fcclock_mode?
at@nvm:fix_cat_fcclock.fcclock_mode=0
at@store_nvm(fix_cat_fcclock)
AT+GTUSBMODE?
AT+GTUSBMODE=7
AT+CFUN?
AT+CFUN=15

If you have previously messed around with ModemManager trying to get LTE working, make sure that ModemManager.service is not running because it will mess with your ability to run the above commands.

Now set it up with your system. You must be using NetworkManager to manage your computer’s networking for the following steps to work. I switched from using netctl to NetworkManager to get this to work (I couldn’t figure out the configuration files for netctl).

  1. Install modemmanager and modem-manager-gui
  2. Run sudo systemctl enable --now ModemManager
  3. Launch Modem Manager GUI. You should see something like the following:

    If you do, green light. Good signs so far.

  4. Run nm-connection-editor, create a new Mobile Broadband network, and follow the steps for your SIM card
  5. Run nmtui > Activate a connection > Activate the LTE connection you just set it.

It should all be working now! At least it did for me by this point.

Notes: I also tried manually following the steps in https://github.com/xmm7360/xmm7360-usb-modeswitch and couldn’t figure it out, likely an issue on my end. I also tried out https://github.com/xmm7360/xmm7360-pci and similarly struggled to get it working.