oleg_log
1.73K subscribers
1.88K photos
131 videos
9 files
2.82K links
Shelter for antisocial programmers "Oleg"

halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks
Download Telegram
> What is surprising is that a classic Time-of-check-time-of-use (TOCTOU) bug was latent in their system until Monday. Call me naive, but I thought AWS, an organization running a service that averages 100 million RPS, would have flushed out TOCTOU bugs from their critical services.

hah

https://thundergolfer.com/blog/aws-us-east-1-outage-oct20
does anyone even look at such tables??
I freaking love Google's open source. Just a pure engineering beauty, ass always.

project $ scc .
───────────────────────
Language Code
───────────────────────
Go 46_539


Not great, not terrible. Go.mod/sum is also small as possible:

project $ cat go.mod| wc -l
69
project $ cat go.sum| wc -l
138


and vendor:
vendor-okay-ish $ scc .
─────────────────────────
Language Code
─────────────────────────
Go 676_869
Markdown 4839
License 1930
Assembly 7157
YAML 267
...
─────────────────────────
Total 700_776
─────────────────────────


Then you add a module for literally one method (app.Messaging(ctx).Send(...) from firebase.google.com/go/v4) and you get the this:

project $ cat go.mod| wc -l
117
project $ cat go.sum| wc -l
280


take a breath...

vendor-hell $ scc .
──────────────────────────
Language Code
──────────────────────────
Go 1_171_549
Markdown 12_259
License 8607
Assembly 18_551
YAML 881
...
──────────────────────────
Total 1_234_915
──────────────────────────


Well done, Google.
original -> (re)think a bit more -> lovely switch (might be opinionated)

Probably reading Google libraries after midnight is a bit too much for me.
oleg_log
original -> (re)think a bit more -> lovely switch (might be opinionated) Probably reading Google libraries after midnight is a bit too much for me.
Defensive programmin ass is.

Well, I can find a few cases when http.DefaultTransport = nil might make sense, especially at G scale.

Has anyone done/met something similar? πŸ‘€
Lifesaver project. Tons of SVG icons for brands https://simpleicons.org/
Kinda impressive.

Built from -zero- so we are not inheriting trust from third party binaries

stage0: < 190 byte x86 assembly seed is reproduced on multiple distros

stage1: seed builds up to a tiny c compiler, and ultimately x86 gcc

stage2: x86 gcc bootstraps target architecture cross toolchains

stage3: cross toolchains build minimal native toolchain

stagex: bootstrap native/cross toolchains for every major programming language)

https://stagex.tools
please don't do this πŸ™ https://github.com/dave/courtney