-- WirePlumber script to handle inputs based on processing program state. This allows me to use | |
-- my virtual microphone in all programs and have it still work with or without REAPER open. | |
-- There is almost definitely a much more sane way of doing this, but I'm neither an audio | |
-- expert nor a Lua expert. | |
-- | |
-- The three nodes we care about are Scarlett (hardware microphone), REAPER (processor), and Voice (virtual microphone) | |
-- | |
-- When REAPER is open: | |
-- Scarlett->REAPER->Voice | |
-- |
On all OSes, you need to use the beta or "next" version of Proton. In your games library, search for "Proton", right-click on the "5.0" entry, and opt-in to the beta in the "next" branch. If you do not do this, then nothing will work.
On NixOS, install amdvlk by adding the following to your configuration.nix. For more information, refer to the relevant nixos/nixpks pull request. You can test this with vulkaninfo
or vkcube
, both of which should just work. If you do vulkaninfo | grep GPU
, then on radv you see (AMD RADV ...)
but on amdvkl you see (Radeon ...)
.
hardware.opengl.extraPackages = [ pkgs.amdvlk ];
environment.variables.VK_ICD_FILENAMES = "/run/opengl-driver/share/vulkan/icd.d/amd_icd64.json";
Some believe the launcher works with protontricks 1086940 dotnet48
, but that did not work for me. Therefore, I needed to *[refer to this ValveSoftware/Proton issue](ValveSoftware/Proton#4243
Monads and delimited control are very closely related, so it isn’t too hard to understand them in terms of one another. From a monadic point of view, the big idea is that if you have the computation m >>= f
, then f
is m
’s continuation. It’s the function that is called with m
’s result to continue execution after m
returns.
If you have a long chain of binds, the continuation is just the composition of all of them. So, for example, if you have
m >>= f >>= g >>= h
then the continuation of m
is f >=> g >=> h
. Likewise, the continuation of m >>= f
is g >=> h
.
{-# LANGUAGE ConstraintKinds #-} | |
{-# LANGUAGE FlexibleInstances #-} | |
{-# LANGUAGE GADTs #-} | |
{-# LANGUAGE KindSignatures #-} | |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE TypeFamilies #-} | |
module Data.Some | |
( Some (..) | |
, Some1 (..) | |
, Any |
#!/bin/bash | |
# | |
# Usage: | |
# $ springer.sh | |
# will save all books | |
# | |
# $ springer.sh word | |
# will save all books whose titles or authors match "word" | |
# Link with books and links |