Skip to content

Instantly share code, notes, and snippets.

* 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
https://www.masbear.com/2026/02/why-apps-work-on-wifi-not-cellular.html
https://math.stackexchange.com/questions/31838/what-is-the-best-book-to-learn-probability
@sogaiu
sogaiu / gist:954e71e8bc1c68dc72f307fe6a0e84b4
Last active August 23, 2026 01:54
notes about "how does an llm work"
* questionable term "ai assistant" 0:05
* "assistant" might be anthropomorphizing
* referring to "ai assistant" as "ai" 0:10
* "ai" is loaded term
* "sensible prediction of what word comes next" 0:17
* not actually words but tokens
* not actually sensible
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
@sogaiu
sogaiu / efibootmgr-notes.md
Last active June 11, 2026 09:11
using efibootmgr to edit entries

use efibootmgr to show existing entries:

# efibootmgr

(-v can give more info)

creating a boot entry is a little involved...for nvme drive, use names like nvme0n1 for --disk / -d,

@sogaiu
sogaiu / linux-nvme-names.md
Created June 10, 2026 12:39
ssd device file names on linux: nvme0, nvme0n1, nvme0n1p1
(defn num-digits
[x]
(if (= x 0)
1
(math/floor (inc (math/log10 x)))))
(comment
(num-digits 0)
# =>