duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| Apache License | |
| Version 2.0, January 2004 | |
| http://www.apache.org/licenses/ | |
| TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
| 1. Definitions. | |
| "License" shall mean the terms and conditions for use, reproduction, |
| /* | |
| Delta Compression by Glenn Fiedler. | |
| This source code is placed in the public domain. | |
| http://gafferongames.com/2015/03/14/the-networked-physics-data-compression-challenge/ | |
| */ | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <assert.h> | |
| #include <string.h> |
Sleep is an executable that we can use to simulate a blocking process for the purposes of demonstrating how to handle child processes.
Here's our base case.
The execution pattern is going to occur in this way: zsh (interactive) -> bash (./parent.sh) -> bash (./child.sh) -> sleep. Because both Bash processes performed an exec without fork, the bash (./parent.sh) process will be replaced by Bash (./child.sh), which itself will be replaced by sleep. This will mean that there are no child processes to manage except for the immediate child of sleep. Upon sending SIGINT, the sleep process will be terminated, and there will be no resource leak. No orphaned nor zombie processes.
./parent.sh:
| #!/usr/bin/env python | |
| import SimpleHTTPServer | |
| class MyHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def end_headers(self): | |
| self.send_my_headers() | |
| SimpleHTTPServer.SimpleHTTPRequestHandler.end_headers(self) | |
| def send_my_headers(self): | |
| self.send_header("Cache-Control", "no-cache, no-store, must-revalidate") |
Ubuntu was intalled with the default nvidia drivers that it brought (I believe 3.90)
Clone https://github.com/0xbb/apple_set_os.efi
For details, see the README.md
Build it:
This is a way to install .NET 5 in your home directory without modifying the system.
At the time of this writing, Amazon Linux 2 for ARM64 almost works already, but there is a problem with the ICU library. I will show this problem and how to fix it.
Tested on macOS:
zig test -femit-bin=zig-out/bin/my-test src/bla.zig,
otherwise there will be no executable to debug.args item):