I hereby claim:
- I am lahwran on github.
- I am lahwran (https://keybase.io/lahwran) on keybase.
- I have a public key whose fingerprint is F2BC DEA3 11EA 493A 9937 3275 075D 6E3B 1093 C71D
To claim this, I am signing this object:
# ARGPARSE_WRAP: simple form of command registration for argparse | |
# Open sourced from Vast.ai internal tools | |
# MIT license | |
import argparse | |
import sys | |
import os | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
// ---- | |
// Sass (vundefined) | |
// Compass (vundefined) | |
// dart-sass (v1.2.1) | |
// ---- | |
@mixin a-mixin() { | |
content: "mixin root"; |
wghlsqrkovx | |
25 | |
MUST match: |
I hereby claim:
To claim this, I am signing this object:
from mpmath import mp, sqrt, atan2 | |
mp.dps = 250 | |
luv_good = mp.mpf("36.14585083971970000000000000000000"), mp.mpf("0.00000000000179982851973451000000"), mp.mpf("0.00000000000059994283991150500000") | |
luv_bad = mp.mpf("36.14585083971970000000000000000000"), mp.mpf("0.00000000000178678628408426000000"), mp.mpf("0.00000000000062602731121200500000") | |
lch_good = mp.mpf("36.14585083971970000000000000000000"), mp.mpf("0.00000000000189718584003013000000"), mp.mpf("18.43494882292200000000000000000000") | |
lch_bad = mp.mpf("36.14585083971970000000000000000000"), mp.mpf("0.00000000000189328165347235000000"), mp.mpf("19.30867293488920000000000000000000") |
layer_defs = []; | |
layer_defs.push({type:'input', out_sx:28, out_sy:28, out_depth:1}); | |
layer_defs.push({type:'conv', sx:5, filters:8, stride:2, pad:2, activation:'tanh'}); | |
layer_defs.push({type:'fc', num_neurons:20, activation:'tanh'}); | |
layer_defs.push({type:'fc', num_neurons:50, activation:'tanh'}); | |
layer_defs.push({type:'fc', num_neurons:4, activation:'tanh'}); | |
layer_defs.push({type:'fc', num_neurons:10, activation:'tanh'}); | |
layer_defs.push({type:'fc', num_neurons:50, activation:'tanh'}); | |
layer_defs.push({type:'fc', num_neurons:50, activation:'tanh'}); | |
layer_defs.push({type:'regression', num_neurons:28*28}); |
2-13 12:15 <lahwran> how would one have an owned unknown-size non-resizeable array?
2-13 12:15 <reem> Box<[T]>
2-13 12:15 <lahwran> there's absolutely no way to have it on the stack?
2-13 12:15 <reem> Nope
2-13 12:15 <reem> There is no dynamic sizing on the stack right now
The challenge: Implement a generic linked list that can contain typed values.
You may do either a black box array-like-interface, that provides index-based APIs, or a "white" box linked-list-style interface, that provides list-node-based APIs.
Variations: Implement both single and double linked versions. Feel free to copy and paste between them, but for exercise reasons, keep them separate, and do not try to reuse code.
Implement the four operations listed on the site: