not quite minimalistic enough  

2018-08-14

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 .

2018-08-02

site-packages

More Python shenanigans.

C:\Daten>py -3.6 -c "import sysconfig; print(sysconfig.get_path('platlib', 'nt_user'))"
C:\Users\me\AppData\Roaming\Python\Python36\site-packages

C:\Daten>py -3.6-32 -c "import sysconfig; print(sysconfig.get_path('platlib', 'nt_user'))"
C:\Users\me\AppData\Roaming\Python\Python36\site-packages

Am I missing something? Otherwise, would someone please explain why this was considered anything but a recipe for disaster?

Let me illustrate …

C:\Daten> py -3.6 -m pip install --user pywin32
[... installs ... ]

C:\Daten> py -3.6-32 -m pip install --user pywin32
[...]
Requirement already satisfied: pywin32 in C:\Users\me\appdata\roaming\python\python36\site-packages (223)

C:\Daten> py -3.6-32
Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32api
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: DLL load failed: %1 is not a valid Win32 application.

Um. WTF?

Also, platlib and purelib are apparently the same in all schemes, not just on Windows. Why have them separate in the first place?

A special kind of XML

Ein Bild sagt mehr als tausend Worte …

https://msdn.microsoft.com/en-us/library/dd911031(v=office.12).aspx

2018-08-01

Arrrrr!

Ich hätte jetzt gedacht, die Piraten wären eher die anderen gewesen. Vermutlich chinesische solche, unter den Umständen.

Übersetzung von Google, Textausschnitte von mir.

https://polisen.se/aktuellt/handelser/2018/juli/31/31-juli-13.22-stold-strangnas/