not quite minimalistic enough  

2018-08-15

Warum ist die Dose leer?

Vanilla ist ein wirklich nützliches Stück Code. Es kann bestimmte Cookies »schützen«, so daß sie auch dann überleben, wenn Chrome darauf eingestellt ist, sie nur bis zum Ende der Session aufzubewahren.

Oder jedenfalls konnte es das. Seit Chrome 67 oder so funktioniert das nicht mehr; es sind immer alle Cookies weg.

Das Problem dabei ist, daß Chrome auch die Logindaten für sein Sync-Feature in Cookies zu speichern scheint. Indem er die Cookies löscht, würgt er auch die Synchronisation ab, und man darf sich nach jedem Start des Browsers neu anmelden.

Immerhin gibt es eine Alternative. Sie besteht darin, Vanilla zu sagen, es soll alle »unerwünschten«, d.h. nicht gewhitelisteten, Cookies beim Start löschen, und Chrome, er soll sie bis zum Ende ihrer natürlichen Lebensdauer behalten.

Der Unterschied zwischen den beiden Ansätzen ist vermutlich, daß der jetzt nicht mehr funktionierende auch die »Local Storage« beseitigt hat, während der Workaround nur die Cookies löscht.

Vergebliche Liebesmüh

заниматься бессмыленным делом

Google: »sich in eine vergebliche Angelegenheit einmischen«.

Hm. Das hätte ich wesentlich früher mal übersetzen sollen.

2018-08-14

Ein entfernter Verwandter?

https://www.tagesschau.de/ausland/gouverneurswahlen-vermont-101.html

Bei dem Namen gehört das vermutlich dazu.

There go the Antipodes

So, damit ist Australien als Reise- und Auswanderungsziel auch hinfällig. Ein Abgeordneter (einer Rechtsaußenpartei) hat eine »Endlösung der Einwanderungsfrage« gefordert.

https://www.theguardian.com/australia-news/2018/aug/14/australian-senator-calls-for-final-solution-to-immigration-problem

Small holes

New tablet: Wacom Intuos Pro. Very nice, especially that it has less inactive space (= is smaller) than its predecessors (which so far continue to refuse to predecease it, too).

The least good thing about it is the pen stand. All the previous models had a large funnel-like thing on top that would catch the pen even if you didn’t have perfect aim. This one doesn’t, and I keep missing.

Fly Away Home

So, I’m obviously migrating a lot of content over from Facebook, and when I’m done with that, I’m going to continue with even more stuff from Google+.

That is going to take a while.

But since hardly anyone is reading this nonsense anyway, it doesn’t really matter, does it?

Thought so.

The invisible enemy
$ hpost - "Fly Away Home"
: No such file or directory

Huh.

$ head -n 1 bin/hpost
#!/usr/bin/env python3
$ type python3
python3 is /usr/local/bin/python3
$ /usr/bin/env python3
Python 3.6.6 (default, Jul 27 2018, 04:04:20)
...
$

???

When copying scripts from Windows, it helps to de-CRLF them. env was looking for python3^M, and unsurprisingly, didn’t find it.

2018-08-13

Good marks

You know, this thing is really rather shiny.

2018-08-07

Dreadful Birthday!

Die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest ist 42.

https://www.penguin.co.uk/books/1116941/the-2020-commission-report-on-the-north-korean-attacks-on-the-united-states/

Die Antwort auf das andere Ende ist anscheinend 41. Absolutely beautiful.

2018-08-04

pywin32

https://github.com/mhammond/pywin32.git

How to build pywin32 with current Visual Studio:

  1. Install Visual Studio 2017. Include the Windows 8.1 SDK.
  2. Start VS developer command prompt
  3. git clone https://github.com/mhammond/pywin32.git
  4. set MSSDK_INCLUDE=C:\Program Files (x86)\Windows Kits\8.1\include
  5. set MSSDK_LIB=C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um
  6. python.exe setup.py build
  7. Sacrifice a small domestic or farmyard animal
  8. python.exe setup.py build
  9. If you want it badly enough, try scaling up the sacrifices. It won’t help, though.

And remember: To make a debug build, you not only have to have the debug version of Python installed, but you must use it to run setup.py .