- Linux entropy pool doesn't know about external, non-default, non-driver entropy sources.
- Modern Linux usually reports
256
forcat /proc/sys/kernel/random/entropy_avail
. This has to do with the entropy pool rewrite sometime ago that prevented blocking of/dev/random
. - There is presently no userland entropy pool seeding "pull" mechanism.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN DH PARAMETERS----- | |
MIIECAKCBAEAjC/0pr9r1mcAiODdJ2hXfokDUPHamlfsA3vuTRTWjX4eewu5Xxj5 | |
tuWy8YiA3Hyijud91jI6PpaDnsw7Y1v/0o4lMQyYeFGr6sYrSbD8KqfFbuggge4A | |
1X7dA4fXGd5pHwFvId5EJx0Niky50qsG5hImbqSkkXTDv1MCu3YKPnU1MaTk+ALO | |
mnjQ7sLLsSwgl0Jl9RuM22i556PyQLRNDqkkcu4JEtBL3r9TADA1QQ+86CrlsekT | |
AFRfu2gaOA5lx2kms8hD25PrnDN6wdme8l9aeWfVkIDwj6bwJ82cVBQ201TAQZLn | |
MCpXbMicY+xJqWyq0GhLnRxK/G76Qu1sBKuiKuB1TZ0D+qmSwlpqt0IUkk7LWF7N | |
DjGdzll0s4QFtJfMGF1CAGoySe7en21CiUKbW0N40ObK88KWEHXYq5EWeqvdL1/2 | |
Sh7VuNnvJwMVIf7j7sRzJehy3xxOujMHVUHjfNUdUoMMZVYtHXMX+UO/bG9kuiJc | |
+ShFwhswOkQPmTvP/brvfC6SFXWnrJOa9O7MWVB6DH+K9FclDEZqgowVP4ZFsO4g |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/installwatch/installwatch.c b/installwatch/installwatch.c | |
index 15cb75c..77189dc 100644 | |
--- a/installwatch/installwatch.c | |
+++ b/installwatch/installwatch.c | |
@@ -157,6 +157,20 @@ static int (*true_unlinkat)(int, const char *, int); | |
#define inline | |
#endif | |
+#ifndef _STAT_VER | |
+ #if defined (__aarch64__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* */ | |
/* PAGEDEMO.C */ | |
/* */ | |
/* There is a nonstandard 320x400 256 color VGA mode which has two pages. */ | |
/* This program demonstrates its use by setting up the mode, drawing to */ | |
/* the two pages, and flipping the pages for instanteous appearance of */ | |
/* of the graphics. */ | |
/* */ | |
/* A scanline function is included which shows how to take advantage of */ | |
/* memory plane masking to draw four pixels simutaneously. */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdbool.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
typedef uint64_t n; | |
n sqrt_n(n x) { | |
if (x <= 1) return x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Specialize stack to work with forward_list (STL singly-linked lists) | |
// Notes: | |
// - This is a proof-of-concept as an exercise for template specialization. Don't use in production! | |
// - Not cache-efficient. | |
// - Use stack<T, vector<T>> most of the time instead. | |
// Output | |
// ====== | |
// t: |
! CRITICAL PROBLEM ! Currently broken because ...../airport -z
no longer functions and the replacement is uncertain and nonexistent for now
- Add
local.auto-switch-wifi-ethernet.zsh
to/usr/local/sbin
- Add
local.auto-switch-wifi-ethernet.plist
to/Library/LaunchDaemons
- Create
/usr/local/.home.wifi.ssid
containing the Wi-Fi network name (SSID) to try to connect to when Ethernet is no longer internet reachable - Start it permanently
sudo launchctl unload -w /Library/LaunchDaemons/local.auto-switch-wifi-ethernet.plist
brew edit node@18
- Insert
ENV["CXXFLAGS"] = "-Wno-enum-constexpr-conversion"
afterENV["PYTHON"] = ...
brew install node@18
- Profit!
Notes:
- i. Don't bother reporting this to homebrew because it has severely unprofessional contributors.
- ii. Clang/LLVM people insist on breaking all software and systems for idealological purity.
- iii. Node people refuse to take ownership of this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef LIBC_BITS_H | |
#define LIBC_BITS_H | |
#include <assert.h> | |
#include <ctype.h> | |
#include <errno.h> | |
#include <float.h> | |
#include <limits.h> | |
#include <locale.h> | |
#include <math.h> |