Weekly Shaarli

All links of one week in a single page.

Week 33 (August 10, 2020)

Online x86 and x64 Intel Instruction Assembler
Real Mac Dumps
Random Ponderings: A Brief Overview of Deep Learning
Notes for competitive programming

Some notes for cp training.

E689120's "A way to pratice competitive programming":
https://codeforces.com/blog/entry/66909;
https://drive.google.com/file/d/1J2x8pIYQ3MXANgvzOgBciWd3d79j_Exa/view

A list of competitive programming related things:

Learning sites:

Blogs:

Math sites:

Random sites:

Communities:

Note: Find all executable files that use Sidecar

Command:

find / -perm +111 -type f -exec sh -c 'jtool2 -L "{}" 2>/dev/null | grep SidecarCore && echo "SidecarCore matched at {}"' \; > ~/sidecarfind.txt

Found files:

SidecarCore matched at /usr/libexec/SidecarDisplayAgent
SidecarCore matched at /usr/libexec/SidecarRelay
SidecarCore matched at /System/Library/PreferencePanes/Sidecar.prefPane/Contents/MacOS/Sidecar
SidecarCore matched at /System/Library/PreferencePanes/Sidecar.prefPane/Contents/Resources/sidecarPrefCheck
SidecarCore matched at /System/Library/PrivateFrameworks/AnnotationKit.framework/Versions/A/AnnotationKit
SidecarCore matched at /System/Library/PrivateFrameworks/SidecarCore.framework/Versions/A/XPCServices/DisplayMarkup.xpc/Contents/MacOS/DisplayMarkup
SidecarCore matched at /System/Library/PrivateFrameworks/ReminderKitUI.framework/Versions/A/XPCServices/com.apple.ReminderKitUI.ReminderCreationViewService.xpc/Contents/MacOS/com.apple.ReminderKitUI.ReminderCreationViewService
SidecarCore matched at /System/Library/PrivateFrameworks/MarkupUI.framework/Versions/A/MarkupUI
SidecarCore matched at /System/Library/PrivateFrameworks/SidecarUI.framework/Versions/A/SidecarUI
SidecarCore matched at /System/Applications/Notes.app/Contents/MacOS/Notes
SidecarCore matched at /System/Applications/Mail.app/Contents/MacOS/Mail
SidecarCore matched at /System/Applications/Reminders.app/Contents/MacOS/Reminders
SidecarCore matched at /System/Applications/Reminders.app/Contents/PlugIns/RemindersSharingExtension.appex/Contents/MacOS/RemindersSharingExtension
Note: macOS ALS/Keyboard Backlight protocol

MacBookPro12,X and older:

  • ALS and Keyboard Backlight is controlled by SMC
  • ALS keys: AL, ALI0, ALI1, ALRV, ALV0, ALV1
  • Keyboard Backlight keys: LKSB, LKSS, MSLD
  • See AsusSMC

Newer MacBook:

  • On Macbook without Touchbar, ALS sensor is called ALS0. IOService is AppleLMUController.
  • On Macbook with Touchbar, ALS sensor is connected via USB. IOService is AppleUSBALSService (com.apple.driver.AppleHIDALSService)
  • Keyboard Backlight seems to be controlled by the keyboard itself. IOService is AppleHIDKeyboardEventDriverV2. It has a property named KeyboardBacklightBrightness
  • There's a boolean property KeyboardBacklight in IOResources.
  • AppleHIDKeyboardEventDriverV2 location: /S/L/E/AppleTopCase.kext/Contents/PlugIns/AppleTopCaseDriverV2.kext
  • AppleUSBALSService location: /S/L/E/AppleHIDALSService.kext
5 Useful Tricks JavaScript has been Hiding from You | by Alexandre Zajac | JavaScript In Plain English | Medium
Dive into Deep Learning

An interactive deep learning book with code, math, and discussions

Provides NumPy/MXNet, PyTorch, and TensorFlow implementations