Ich habe alle Fotos aus meiner alten Galerie in PhotoShow gekippt.
AD-Precreation using ktutil, kinit and adcli
4. Dezember 2019 in Administration, GNU/Linux.
Using computer object precreation you can enable machines to join an Active Directory domain with knowledge of just one dedicated one-time-password. Combined with delegation you can offload management of computer objects to an otherwise unprivileged AD user.
Drawing a Yellow Rectangle on Android
26. November 2021 in Programmierung.
Drawing A Yellow Rectangle
25. März 2018 in Programmierung.
Premise
On the weekend i wanted to perform the task of drawing a yellow rectangle programmatically onto the screen of a Personal Computer:
- The program would feature a viewport that occupies the entirety of the primary display of the PC.
- On the viewport, 640 pixels could be adressed in width, 480 in height.
- The viewport would be drawn in black color by default.
- A yellow, filled rectangle would be drawn from an upper left corner at pixel coordinates 10 from the left, 20 from the top to a lower right corner at 100 from the left, 75 from the top.
- When having drawn the yellow rectangle, the program would indefinately await any keypress and then shut down.
I solved this task using several different programming languages and toolkits, having the following goals for the implementation:
- The program does a simple thing, so it should require little processing and memory resources.
- The program should still work in 24 months from now.
Update der Webseite
15. März 2018 in Sonstiges.
Ich habe den Text meiner Datenschutzerklärung überarbeitet. Es wird nun klar darauf hingewiesen, dass diese Datenschutzerlärung sich mit der Erhebung und Verwendung personenbezogener Daten befasst, die durch den Besuch dieser Webseite über die Besucherinnen und Besucher dieser Webseite auf Systemen unter meiner administrativen Aufsicht anfallen. Ein neuer Abschnitt befasst sich mit der Verwendung des Kontaktformulars und damit damit verbundenen gesetzlichen Aufbewahrungsfristen für geschäftsmäßige Bestell- und Auftragsinformationen. Für eine Erklärung zu datenschutzrechtlich relevanten Fragen abseits des Betriebs dieser Webseite sei auf meine allgemeinen Geschäftsbedingungen verwiesen, und dort insbesondere auf den Abschnitt 8, „Datenschutz“.
Creative E-MU 1616m PCIe on Windows 10 64bit
27. Mai 2021 in Multimedia, Technik.
On a PC running Win10Pro64 that has no Firewire port i needed a 4in4out audio solution functioning as an ASIO device.
So i dug out my E-MU 1616m PCIe, and – fearing that it would show severe compatibility issues – installed the most recent driver (EmuPMX_PCDrv_US_2_30_00.exe, July 15th 2011). To my surprise, the device started working immediately. So far i have not found any unsupported or problematic features (at 48 kHz samplerate i use WDM audio output, symmetrical input with zero-latency monitoring and ASIO sends and output to speakers through a 4-band EQ as DSP insert).
I think the E-MU 1616m PCIe is a great device:
- 10 years after i bought it, it works as on the first day.
- It has good and solid performance, i permanently run it with 10ms buffer size, which in Ableton Live adds on to 23.3 ms global round-trip latency, and i am yet to encounter any dropout or instability.
- PatchMix looks and feels very functional (apart from the brushed Aluminium skin which i find quite funny and nostalgic). Since it has spent many years in maturity, having no „software development“ bloating it with useless features and workflows, it runs rock solid and lightning fast on a modern PC.
- The breakout box (called „Microdock“) has massive connectivity:
- copper S/PDIF, AES or EBU (really!),
- optical ADAT or S/PDIF,
- four balanced 6.35mm input jacks,
- two XLR/jack combo inputs,
- six balanced 6.35mm output jacks,
- three unbalanced 3.5mm stereo output jacks,
- a dedicated 6.35 mm headphone output jack with hardware volume control and
- a stereo pair of RCA inputs plus GND (Phono).
- It works with Linux (using emutrix instead of PatchMix).
This is the best Creative product ever – ah wait, it’s not really by Creative … 😉
xdraw 1.1
26. November 2021 in Multimedia, Programmierung.
However, i found the visual quality of the drawing results a bit lacking – the drawn lines are too uneasy. So i have added weighted average smoothing to the drawn lines.
I have released this improvement as version 1.1 of xdraw here: https://gitlab.tk-sls.de/tilman/xdraw/tree/1.1
Project information not readable.
In Powershell das Piepen bei Backspace abstellen
7. April 2017 in Administration.
Folgendes Verfahren habe ich auf Windows 10 Home durchgeführt:
In einer Powershell werden einige Vorbereitungen durchgeführt:
# Profil erstellen, falls nicht vorhanden
if (!(test-path $PROFILE)) {
new-item -type file -path $PROFILE -force
}
# Skript-Ausführungs-Richtlinie ändern:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
# Profil-Skript editieren:
notepad $PROFILE
Hinweis: Die Ausführungsrichtlinie RemoteSigned erlaubt das Ausführen von Skripten auf den lokalen Datenträgern. Dabei gelten gewisse Ausnahmen (eine „aus dem Internet heruntergeladene Datei“ zum Beispiel ist nicht sofort vertrauenswürdig sondern führt beim Versuch der Ausführung zu einem zusätzlichen Bestätigungsdialog). Etwas sicherer wäre die Richtlinie AllSigned, doch das würde bedeuten, dass wir unser Profil-Skript Windows PowerShell-Skript.ps1 signieren müssen, was ohne das .NET SDK nicht machbar ist. Hurra! 🙂
In das Profil-Skript wird folgender Befehl geschrieben:
# Akustisches Signal in der Powershell deaktivieren
Set-PSReadlineOption -BellStyle None
… und das Generve hat ein Ende.