When running calculations with high rate of memory allocation, khugepaged
can use 100% CPU or even cause CPU lockup messages in the kernel log:
INFO: task khugepaged:212 blocked for more than 120 seconds.
Disable transparent huge pages.
ipinfo.io |
A guest with 480 GiB RAM on a 512 GiB machine is taking several minutes to start because memory pre-allocation is not fast enough (approx. 2 GiB/sec).
The solution is to have the necessary amount of RAM preallocated in the huge page pool, and to make QEMU/KVM use the pool for the guest.
On SuperMicro AS-4124GS-TNR server with ASPEED AST2500 BMC, Proxmox 7.1 installation does not start with "installation aborted" message.
After setting up DHCP and Chrony, Proxmox fails to start the graphical installer and drops into the shell:
...
Starting Chrony for opportunistic time-sync... Starting a root shell on tty3.
PREFIX=/usr/local | |
PROGRAM=<CHANGEME> | |
.PHONY: build clean install uninstall | |
bin/$(PROGRAM): src/*.go | |
go build -o bin/$(PROGRAM) src/*.go | |
build: bin/$(PROGRAM) |
#!/bin/bash | |
# This script "pins" currently installed nvidia driver to prevent it from auto-updating and breaking running vast.ai services. | |
# It creates the file /etc/apt/preferences.d/nvidia-manual-pin. | |
# | |
# From time to time, you'll still need to update the driver manually. Only do this while no vast.ai jobs are running | |
# (except your default jobs). Follow these steps: | |
# | |
# 1. Stop vast.ai and related things: `systemctl stop vastai docker cron` | |
# 2. Remove the pin: `rm -f /etc/apt/preferences.d/nvidia-manual-pin` |
NSLog(@"UIFontWeightUltraLight = %@", @(UIFontWeightUltraLight)); | |
NSLog(@"UIFontWeightThin = %@", @(UIFontWeightThin)); | |
NSLog(@"UIFontWeightLight = %@", @(UIFontWeightLight)); | |
NSLog(@"UIFontWeightRegular = %@", @(UIFontWeightRegular)); | |
NSLog(@"UIFontWeightMedium = %@", @(UIFontWeightMedium)); | |
NSLog(@"UIFontWeightSemibold = %@", @(UIFontWeightSemibold)); | |
NSLog(@"UIFontWeightBold = %@", @(UIFontWeightBold)); | |
NSLog(@"UIFontWeightHeavy = %@", @(UIFontWeightHeavy)); | |
NSLog(@"UIFontWeightBlack = %@", @(UIFontWeightBlack)); |
{ fontWeight: '100' }, // Thin | |
{ fontWeight: '200' }, // Ultra Light | |
{ fontWeight: '300' }, // Light | |
{ fontWeight: '400' }, // Regular | |
{ fontWeight: '500' }, // Medium | |
{ fontWeight: '600' }, // Semibold | |
{ fontWeight: '700' }, // Bold | |
{ fontWeight: '800' }, // Heavy | |
{ fontWeight: '900' }, // Black |
// Example program to decrypt passwords saved by Firefox for Windows. | |
// | |
// Uses NSS libraries: https://github.com/sergey-cheperis/nss-nspr-windows | |
// Uses JSON library: https://github.com/nlohmann/json | |
// | |
// Compile with MSVC: | |
// cl /I<path-to-nss>\include /EHsc firefox-decrypt.cpp /link /LIBPATH:<path-to-nss>\release\x64\lib | |
// | |
// NSS DLL's should be put to the .exe directory or to a directory in your PATH | |
// |
I hereby claim:
To claim this, I am signing this object: