inputs = [1, 2, 3, 2.5]
weights = [0.2, 0.8, -0.5, 1.0]
bias = 2.0

VERSION = \"1.0.0\" | |
PREFIX ?= out | |
INCDIR = include | |
SRCDIR = src | |
LANG = c | |
OBJDIR = .obj | |
MODULE ?= binary_name | |
CC ?= gcc |
#Simple size about 298Mb. Bun v1.0.21 | |
FROM oven/bun:latest as build-stage | |
WORKDIR /dist | |
COPY . . | |
COPY .env.production .env | |
COPY package.json package.json | |
COPY bun.lockb bun.lockb |
{ | |
pkgs ? (import <nixpkgs> {}).pkgsMusl | |
}: | |
let | |
inherit (pkgs) lib; | |
llvmPkgs = pkgs.llvmPackages_13; | |
stdenv = llvmPkgs.stdenv; | |
# stdenv = llvmPkgs.libcxxStdenv; | |
mkShell = pkgs.mkShell.override { inherit stdenv; }; | |
hello_c = pkgs.writeText "hello.c" '' |
Phoenix esbuild with Tailwind+Fontawesome |
========= ========== ===== ===== | |
========= ============ ====== ====== | |
=== === ==== ===== ===== | |
=== ========= ====== ====== INSTALLIN' THAT SWEET SWEET | |
=== ======== ============= BIG IRON ON YOUR LINUX LAPTOP | |
=== ========= ============= OR SERVER - BY MR. SKILLFULL | |
=== === ==== === === === | |
========= ============ ===== = ===== | |
========= ========== ===== ===== |
I recently stumbled upon Falsehoods programmers believe about time zones, which got a good laugh out of me. It reminded me of other great lists of falsehoods, such as about names or time, and made me look for an equivalent for Ethereum. Having found none, here is my humble contribution to this set.
Calling estimateGas
will return the gas required by my transaction
Calling estimateGas
will return the gas that your transaction would require if it were mined now. The current state of the chain may be very different to the state in which your tx will get mined. So when your tx i
# /etc/sysctl.d/wireguard.conf | |
net.ipv4.ip_forward=1 | |
net.ipv6.conf.all.forwarding=1 | |
net.ipv6.conf.default.forwarding=1 | |
net.ipv6.conf.eth0.proxy_ndp=1 | |
#/etc/wireguard/wg0.conf (DO virtual machine) | |
[Interface] | |
# The server interface does not actually need an ipv6. | |
# The 2 following must be repeated for each used addres [0, 1] |
Peter Naur's classic 1985 essay "Programming as Theory Building" argues that a program is not its source code. A program is a shared mental construct (he uses the word theory) that lives in the minds of the people who work on it. If you lose the people, you lose the program. The code is merely a written representation of the program, and it's lossy, so you can't reconstruct