Skip to content

Instantly share code, notes, and snippets.

2026-11-14

2026-11-13

  • CA/Browser Forum - Wikipedia

    a voluntary consortium of certification authorities, vendors of web browsers and secure email software, operating systems, and other PKI-enabled applications that promulgates industry guidelines governing the issuance and management of X.509 v.3 digital certificates that chain to a trust anchor embedded in such applications

2026-11-12

@sogaiu
sogaiu / gist:4ce54e28d94049541aa95b563e23332c
Created October 19, 2026 01:20
lto experiments with janet's Makefile
# Symbols are (optionally) removed later, keep -g as default!
CFLAGS?=-O2 -g
# basic lto
#CFLAGS?=-O2 -g -flto -flto-partition=one
#CFLAGS?=-O2 -g -flto
# parallel lto
#CFLAGS?=-O2 -g -flto=1
#CFLAGS?=-O2 -g -flto=2
#CFLAGS?=-O2 -g -flto=auto
# XXX: -fwhole-program breaks use with dynamic modules?
@sogaiu
sogaiu / gist:312b0e52cb72b03e72946893f4d393cf
Created October 18, 2026 00:57
git pull failure for alpine linux aports
$ git pull
remote: Enumerating objects: 8251, done.
remote: Counting objects: 100% (7677/7677), done.
remote: Compressing objects: 100% (1552/1552), done.
remote: Total 2713 (delta 1558), reused 1873 (delta 785), pack-reused 0 (from 0)
remote: error executing git hook
remote: aborting due to possible repository corruption on the remote side.
Receiving objects: 100% (2713/2713), 2.13 MiB | 766.00 KiB/s, done.
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
@sogaiu
sogaiu / gist:3c7c6884a6ff091af83e51e78d338f37
Created October 13, 2026 01:29
janet-pm test output using janet built with `-fwhole-program -flto=2`
$ VERBOSE=1 janet-pm test
running test/suite-argparse.janet ...
✔ test/suite-argparse.janet:29: bad key: 100: true
✔ test/suite-argparse.janet:30: bad expr: : true
✔ test/suite-argparse.janet:31: bad thing: 123: true
✔ test/suite-argparse.janet:35: Option "thing" missing arg, but result is non-nil.: true
✔ test/suite-argparse.janet:39: Option "expr" missing arg, but result is non-nil.: true
✔ test/suite-argparse.janet:44: bad debug: true: true
✔ test/suite-argparse.janet:45: bad verbose: 5: true
✔ test/suite-argparse.janet:46: bad expr: abc def: true
issues
* be able to customize the ansi escape code for :code
in doc-format? see from around here:
https://janet.zulipchat.com/#narrow/channel/519748-chat/topic//near/623837136
bakpakin mentioned that styling and color can be turned off:
https://github.com/janet-lang/janet/pull/1886#issuecomment-5813103331
* https://unit42.paloaltonetworks.com/passwordless-authentication-security-risks/
* https://www.hazetec.com/briefs/20260904-passkey-security-flaws-39-new-methods-to-compromise-authentication-revealed.html
* https://www.techradar.com/pro/security/researchers-reveal-that-passkeys-are-not-as-safe-as-we-think-they-are-heres-how-to-stay-safe
~/src/wattle $ rm -rf .zig-cache
~/src/wattle $ time zig build --summary all
Build Summary: 27/27 steps succeeded
install success
├─ install wattle success
│ └─ compile lib wattle Debug native success 200ms MaxRSS:88M
│ ├─ WriteFile success
│ ├─ compile obj wattle-runtime Debug native success 19s MaxRSS:423M
│ │ ├─ options success
│ │ ├─ options success
@sogaiu
sogaiu / alpine-linux-setup-notes.md
Last active September 15, 2026 21:05
alpine linux setup notes
  • installation
    • alpine has three installation modes:

      • system disk (aka sys - ordinary disk-based mode)
      • diskless
      • data disk

      note, not doing the latter two (fwiw they are known as "run-from ram" types of setups)

    • boot from installation media and login as root (no password)

    • setup-alpine # evenually choose to install to whole disk (other arrangements may require manual tweaking)

  • reboot and login as root (note: password likely changed during setup)