Skip to content

Month: November 2017

Trump Method

Starships: They give up, how frustrating.

Supremacy, Kozlov, Epic, 6 Opponents, Moderate, All victories.

Zero Science planets, but one world with constantly rising city count. I am building everything there, and start a secondary Metals world and lacking Science, an Energy world, too.

Elodie (Yellow) almost dies early in the game and goes nowhere. Hutama (Orange) throws the towel and joins Kavitha (Red) of all teams. So do Barre (Green) and finally Elodie, too.

Due to the Energy flood I am having a fleet of 8x 400HP heavies with Plasmas and heavy Armor, Science on Armor and Plasma, too.

I get bored and invade Kavitha, negotiate, get 13k Metals, build wonders, and immediately declare war on Kavitha again, invade, negotiate, get 11k Science, science it into Plasma improvements, immediately declare war again, invade, negotiate, get another 11k metals, and build more wonders.

With my own Metals that’s a 65k Metals round, and a Wonder Victory. Ok, I guess that’s one way to do it.

Leave a Comment

Unicode is over and it dies over Emoji

In 1982, Scott Fahlmann invented the use of :-) and :-( for marking up emotions or semantic context in written online communication. That was a great idea.

The :-) is just a symbol for an emotion. It is specifically not a human face, it does not have a hair color, eye color, skin color or other human attributes. It is universal.

Then some cellphone maker turned that into ☺︎, anthropomorphising it. Come as it must, we soon get color, and it turns into 🙂. That Simpsons yellow was read by some as white and non-inclusive, and here is where things start to break down.

10 Comments

Backblazing…

So there is Backblaze B2. It’s a service where you can buy bulk disk space online for backup and restore.

I have a Linux server at home, which many harddisks and which downloads and saves all data from the various dedicated servers and cloud instances, receives several time machine backups from the inhouse Apples, and has local git repositories and stuff.

I mirror these things from the production filesystems to a set of mostly offline disks once, and I wanted an off-site backup as well for crash recovery. Bandwidth is not a problem, we are living on FTTH with 500/500.

So there is rclone for this. It’s like rsync for B2 or other services.

Like so:

7 Comments

How to Debug “My Mac won’t go to sleep”

In Terminal,

pmset -g assertions

The pmset program debugs power management. Assertions describe the system state as perceived by power management and if and when the system can go to sleep.

Example output:

$ pmset -g assertions
2017-11-02 16:31:14 +0100
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 1
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 1310(Google Chrome): [0x00012f7c00018f49] 00:00:40 NoIdleSleepAssertion named: "Playing audio"
pid 1310(Google Chrome): [0x00012f7c00058f48] 00:00:40 NoDisplaySleepAssertion named: "Playing video"
pid 241(coreaudiod): [0x00012f7c0001810f] 00:00:40 PreventUserIdleSystemSleep named: "com.apple.audio.AppleHDAEngineOutput:1B,0,1,1:0.context.preventuseridlesleep"
Created for PID: 1310.
pid 113(hidd): [0x0000957f0009876f] 49:51:56 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294975161.3"
Timeout will fire in 10796 secs Action=TimeoutActionRelease
Kernel Assertions: 0x10c=USB,BT-HID,MAGICWAKE
[...]

UserIsActive, because I type right now.

PreventUserIdleDisplaySleep because coreaudiod (pid 241) has been asked by Chrome (pid 1310) to do this. So the screen won’t blank because Chrome is doing a video playback.

PreventSystemSleep is 0, so the system will sleep when I close the lid.

If you have for example Internet Sharing or Screen Sharing enabled, you can see PreventSystemSleep here:

pid 77674(screensharingd): [0x000155590007906d] 06:30:03 PreventSystemSleep named: "Remote user is connected"

This will also set PreventSystemSleep to 1 in the overview list “Assertion status system-wide”.

Leave a Comment