Blog 2019/9/1
<- previous | index | next ->
updated 2025/4/9 to add a Python demo
| import { View, FlatList } from "react-native"; | |
| import React, { useEffect, useRef } from "react"; | |
| import postsApi, { | |
| postsAdapters, | |
| postsSelectors, | |
| useLazyFetchPostsQuery | |
| } from "../../state/apis/postsApi"; | |
| export default function PostsScreen() { | |
| const currentPage = useRef(1); |
| esp=/efi | |
| distro=archlinux | |
| mkdir -p $esp/EFI/$distro | |
| # Generate UEFI Unified Image | |
| dracut --force --verbose --kver $(uname -r) $esp/EFI/$distro/linux+initramfs.efi.signed | |
| # Create UEFI boot manager entry | |
| efibootmgr --quiet --create --disk /dev/disk/by-label/EFI --label 'Arch Linux' --loader /EFI/$distro/linux+initramfs.efi.signed |
Blog 2019/9/1
<- previous | index | next ->
updated 2025/4/9 to add a Python demo
| # Default config for sway | |
| # | |
| # Copy this to ~/.config/sway/config and edit it to your liking. | |
| # | |
| # Read `man 5 sway` for a complete reference. | |
| exec wal -R | |
| #notifications | |
| exec mako | |
| exec mailnag |
Delimited continuations manipulate the control flow of programs. Similar to control structures like conditionals or loops they allow to deviate from a sequential flow of control.
We use exception handling as another example for control flow manipulation and later show how to implement it using delimited continuations. Finally, we show that nondeterminism can also be expressed using delimited continuations.