- https://safecurves.cr.yp.to/
- https://www.reddit.com/r/crypto/comments/czi4ij/brainpoolp256r1_vs_brainpoolp256t1_which_one_to/
prime256v1
secp384r1
secp521r1
(not supported in modern web, only Firefox; no known security issues)
prime256v1
secp384r1
secp521r1
(not supported in modern web, only Firefox; no known security issues)-Djavax.net.ssl.trustStoreType=KeychainStore
e.g.
-vmargs
-XX:+IgnoreUnrecognizedVMOptions
--add-modules=ALL-SYSTEM
-Xms64m
-Xmx1024m
-XstartOnFirstThread
export { } | |
class Thunk<T> { | |
private constructor( | |
private evaluated: boolean, | |
private f: (() => T) | undefined, | |
private val: T | undefined | |
) { | |
} |
export {} | |
type NumBox = { kind: 'num_box', value: number } | |
type BoolBox = { kind: 'bool_box', value: boolean } | |
type StrBox = { kind: 'str_box', value: string } | |
type RefBox = { kind: 'ref_box', value: Box } | |
type PrimBox = NumBox | BoolBox | StrBox | |
type Box = PrimBox | RefBox |
package TicTacToe | |
import scala.util.{ Try, Success, Failure } | |
import scala.io.StdIn | |
object Main { | |
sealed trait Tile | |
case object X extends Tile |
Disable malignant autosave functionality
defaults write -g ApplePersistence -bool no
Autosave of documents
Recent Items:
JavaScript test runners that don't rely on a global driver function.
See https://medium.com/dailyjs/javascript-test-runners-benchmark-3a78d4117b4
type Bool = 'true' | 'false' | |
type Or<X extends Bool, Y extends Bool> = { | |
'true': 'true', | |
'false': Y | |
}[X] | |
type HasKey<T, Key extends string> = ( | |
{ [K in keyof T]: 'true' } & | |
{ [key: string]: 'false' } |
type Endomorphism<A> = (x: A) => A | |
type Kleisli<F<*>, A, B> = (x: A) => F<B> | |
type Cokleisli<F<*>, A, B> = (fa: F<A>) => B | |
// Catamorphism <> foldr ? | |
// Yoneda ?? | |
// Codensity |
export {} | |
interface Collection<T> { | |
length: number; | |
add(x: T): void; | |
remove(x: T): boolean; | |
} | |
interface Combinators { | |
map<T, U>(c: Collection<T>, f: (x: T) => U): Collection<U>; |