Skip to content

Instantly share code, notes, and snippets.

View woachk's full-sized avatar

woachk

View GitHub Profile
Something went wrong with the install.
You can troubleshoot the package failures by:
1. Search for solutions using the search URL below for each package failure
2. Modify your selections for the affected workloads or components and then retry the installation
3. Remove the product from your machine and then install again
If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.
@woachk
woachk / cpufms.ini
Created October 5, 2021 13:18
Blocked CPUs under Windows 11
[BlockARM]
ARMv81ProcessorSupport=FALSE
[BlockIntel]
CpuFamily=6
CpuModelLessThanOrEqual=95
CpuModelException=85
[BlockIntelKabyLake1]
CpuFamily=6
@woachk
woachk / clpeak.txt
Created September 27, 2021 22:13
clpeak w/ MoltenVK and clspv on M1
% ./clpeak
[mvk-info] MoltenVK version 1.1.5, supporting Vulkan version 1.1.189.
The following 72 Vulkan extensions are supported:
VK_KHR_16bit_storage v1
VK_KHR_8bit_storage v1
VK_KHR_bind_memory2 v1
VK_KHR_create_renderpass2 v1
VK_KHR_dedicated_allocation v3
VK_KHR_depth_stencil_resolve v1
VK_KHR_descriptor_update_template v1
@woachk
woachk / entitlements.txt
Created June 8, 2021 23:03
/System/Library/Frameworks/Virtualization.framework/XPCServices/com.apple.Virtualization.VirtualMachine.xpc/Contents/MacOS/com.apple.Virtualization.VirtualMachine entitlements
% codesign -d --entitlements :- /System/Library/Frameworks/Virtualization.framework/XPCServices/com.apple.Virtualization.VirtualMachine.xpc/Contents/MacOS/com.apple.Virtualization.VirtualMachine
Executable=/System/Library/Frameworks/Virtualization.framework/Versions/A/XPCServices/com.apple.Virtualization.VirtualMachine.xpc/Contents/MacOS/com.apple.Virtualization.VirtualMachine
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>com.apple.vm.networking</key><true/><key>com.apple.security.hypervisor</key><true/><key>com.apple.private.hypervisor.vmapple</key><true/><key>com.apple.usb.hostcontrollerinterface</key><true/><key>com.apple.private.security.message-filter</key><true/></dict></plist>%
@woachk
woachk / rose.c
Created February 10, 2021 23:43
Benchmarking LDR/LDAR/LDAPR
#include <stdio.h>
#include <stdint.h>
#include <time.h>
#include <limits.h>
#include <assert.h>
#ifndef __aarch64__
#error This testcase is AArch64 specific and will not work on other processor families.
#endif
@woachk
woachk / 9p.patch
Created December 11, 2020 17:11
Totally unsupported 9p on Darwin patch (inspired from the Julia Computing patchset circa 2018)
diff --git a/configure b/configure
index 18c26e0389..ceab414c5b 100755
--- a/configure
+++ b/configure
@@ -5754,22 +5754,26 @@ if [ "$eventfd" = "yes" ]; then
fi
if test "$softmmu" = yes ; then
- if test "$linux" = yes; then
- if test "$virtfs" != no && test "$cap_ng" = yes && test "$attr" = yes ; then
@woachk
woachk / Tachyum.txt
Created August 7, 2020 18:17
Thoughts about Tachyum
Thoughts on Tachyum (8/7/2020)
Tachyum is a CPU startup that claims that they will
release a VLIW CPU for general purpose use[0], that
would also be faster than a GPU for even AI workloads.
The release of a production processor is planned according
to the company in 2021. However, the company itself says
that they do not have the design working as an FPGA at
this stage, which is a major contradiction. [1]
@woachk
woachk / retail_laptop.md
Last active April 24, 2020 14:55
A review of a Windows on Arm laptop... and the software.

Experiences with an Arm64 Windows laptop

This is describing the experience with a retail device, experience on the engineering devices that I played with before was a bit different to say the least...

Chosen model

A Snapdragon 835 laptop for 350 euros, with 4GB of RAM and 64GB of storage. LTE is present but won't be used.

@woachk
woachk / rkos_extractor.py
Created August 12, 2019 11:28
Yikes, and I don't remember where that comes from...
#!/usr/bin/python
import sys, struct, os
if __name__ == '__main__':
myint = 4
real_offset = 48
if len(sys.argv) != 2:
print 'Usage: {} Firmware.bin'.format(sys.argv[0])
sys.exit(1)
in_file = sys.argv[1]
fp = open(in_file,'rb')
RSA32.lib functions:
ARM:
\gmac.obj AesGcmSwitchEndianness
\gmac.obj AesGmacFinal
\gmac.obj AesGmacInit
\gmac.obj AesGmacUpdate
\gmac.obj AesSwapAndXorBlock
\gmac.obj AesXorBlock