Install GnuPG and GitHub official CLI tool. Instructions:
- GitHub CLI https://github.com/cli/cli#installation
- GnuPG https://gnupg.org
Install GnuPG and GitHub official CLI tool. Instructions:
import enum | |
import queue | |
import time | |
from collections import defaultdict | |
class Side(enum.Enum): | |
BUY = 0 | |
SELL = 1 |
This document now exists on the official ASP.NET core docs page.
[package] | |
name = "concl" | |
version = "0.1.0" | |
edition = "2018" | |
[dependencies] | |
connected-client = { git = "https://github.com/fluencelabs/fluence" } | |
eyre = "0.6.5" | |
maplit = "1.0.2" | |
serde_json = "1.0.64" |
"""Converts JSON objects into nix (hackishly).""" | |
import sys | |
import json | |
INDENT = " " * 2 | |
def strip_comments(t): |
At the beginning of 2030, I found this essay in my archives. From what I know today, I think it was very insightful at the moment of writing. And I feel it should be published because it can teach us, Rust developers, how to prevent that sad story from happening again.
What killed Haskell, could kill Rust, too
What killed Haskell, could kill Rust, too. Why would I even mention Haskell in this context? Well, Haskell and Rust are deeply related. Not because Rust is Haskell without HKTs. (Some of you know what that means, and the rest of you will wonder for a very long time). Much of the style of Rust is similar in many ways to the style of Haskell. In some sense Rust is a reincarnation of Haskell, with a little bit of C-ish like syntax, a very small amount.
Is Haskell dead?
The accompanying video for this tutorial is published on https://learn.alexchiri.com
Contents:
[<AutoOpen>] | |
module LazyBuilder = | |
let inline force(x: Lazy<_>) = x.Force() | |
type LazyCont<'a> = LazyCont of (unit -> Lazy<'a>) | |
type LazyBuilder() = | |
member __.Return x = lazy x | |
member __.ReturnFrom (x: Lazy<_>) = x | |
member __.Bind(Lazy x, f) = f x | |
member __.Delay f = LazyCont f | |
member __.Run (LazyCont f) = Lazy.Create (f >> force) |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}", | |
"launchMode": "maximized", | |
"theme": "light", | |
"useTabSwitcher": false, | |
"tabWidthMode": "titleLength", | |
"profiles": { |