The maintained version now lives at ProxMox Cluster - Soup-to-Nutz, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 51 comments below stay exactly where they are as an archive.
Here is a quick how-to if you want to try out the new (supposedly fast) C/C++ linker https://github.com/rui314/mold
In this document I used Ubuntu-22.04 docker container with
- GCC version 11.2.0
- Clang version 14.0.0
This is a minimal example that shows the 4 main building-blocks needed to write concurrent/async coroutine code.
- A coroutine type that lets users write their coroutine logic and call and co_await other coroutines that they write. This allows composition of async coroutine code.
This example defines a basic task type that fulfills this purpose.
| ///////////////////////////////////////////////////////////////////////// | |
| // This is a minimal example that shows the 4 main building-blocks needed to | |
| // write concurrent/async coroutine code. | |
| // | |
| // 1. A coroutine type that lets users write their coroutine logic | |
| // and call and co_await other coroutines that they write. | |
| // This allows composition of async coroutine code. | |
| // | |
| // This example defines a basic `task<T>` type that fulfills this purpose. | |
| // |
| #!/usr/bin/env bash | |
| # Installs NixOS on a Hetzner server, wiping the server. | |
| # | |
| # This is for a specific server configuration; adjust where needed. | |
| # | |
| # Prerequisites: | |
| # * Update the script wherever FIXME is present | |
| # | |
| # Usage: |
This document now exists on the official ASP.NET core docs page.
- Application
- Request Handling
This proposal aims to define the memory model of Julia and to provide certain guarantees in the presence of data races, both by default and through providing intrinsics to allow the user to specify the level of guarantees required. This should allow native implementation in Julia of simple system primitives (like mutexes), interoperate with native system code, and aim to give generally explainable behaviors without incurring significant performance cost. Additionally, it strives to be general-purpose and yet clear about the user's intent—particularly with respect to ensuring that an atomic-type field is accessed with proper care for synchronization.
The last two points deserve particular attention, as Julia has always provided strong reflection and generic programming capabilities that has not been seen—in this synergy combination—in any other language. Therefore, we want to be careful to observe a distinction between the asymmetries of reading vs. writing that we have felt is often not given
| #define WIN32_LEAN_AND_MEAN | |
| #include <windows.h> | |
| #include <mutex> | |
| //INSTALL DETOURS FROM NUGET! (or build from source yourself) | |
| #include <detours.h> | |
| //Definitions | |
| typedef BOOL(WINAPI* SetWindowBand)(IN HWND hWnd, IN HWND hwndInsertAfter, IN DWORD dwBand); | |
| typedef BOOL(WINAPI* NtUserEnableIAMAccess)(IN ULONG64 key, IN BOOL enable); |
| import { createLocalVue, shallowMount } from '@vue/test-utils' | |
| import { createBuilder, testData } from './RegistrationFormComponent.builder.js' | |
| import RegistrationForm from './RegistrationForm.vue' | |
| import { byTestId } from '@/utils/testUtils.js' | |
| const localVue = createLocalVue() | |
| const validEmail = 'somename@example.com' | |
| const invalidEmail = 'invalid email' | |
| const registerUserResponse = { status: 200 } |
| ### A Pluto.jl notebook ### | |
| # v0.12.18 | |
| using Markdown | |
| using InteractiveUtils | |
| # This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error). | |
| macro bind(def, element) | |
| quote | |
| local el = $(esc(element)) |