oleg_log
1.78K subscribers
1.86K photos
129 videos
9 files
2.77K links
Shelter for antisocial programmers "Oleg"

halp: @olegkovalov
web: https://olegk.dev
fov: @oleg_fov
chat: @oleg_log_blabla
podcast: @generictalks

about: https://xn--r1a.website/oleg_log/3200
Download Telegram
Make it clickable at least
hm, should I post just a bit more often? πŸ€”
Posting will continue until morale improves. + AWS is down and PagerDuty is dead.

> However,<..> you can force resolve it to 3.218.182.212. Seems to work for me. DNS through HN
> curl -v --resolve "dynamodb.us-east-1.amazonaws.com:443:3.218.182.212" dynamodb.us-east-1.amazonaws.com
> Choosing us-east-1 as your primary region is good, because when you're down, everybody's down, too. You don't get this luxury with other US regions!
> As of the time of writing, disk prices per TB are around $12 for new disks, $8 for used disks, and $4 for tape. If we’re conservative and look only at new disks, that means that storing a petabyte costs about $12,000.

https://annas-archive.org/blog/critical-window.html
Nice visualization
Sadly, neither ChatGPT nor Claude can handle converting a list of 12 hex colors to RGB properly. They do it but mess up the order, so I still have to check everything by hand. Meh.
Daaaamn, that's smart.

> copy and pasta are simple wrappers around system clipboard managers, like pbcopy on macOS and xclip on Linux. I use these all the time.

# High level examplesrun_some_command | copy
pasta > file_from_my_clipboard.txt

# Copy a file's contents
copy < file.txt

# Open a file path from your clipboard
vim "$(pasta)"

# Decode some base64 from the clipboard
pasta | base64 --decode


https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
oleg_log
there is one more https://chatgpt.com/atlas
> And yet he’s quite excited about a fucking Chromium installation with AI slapped on top of it. I guess building an actual browser, from scratch, is still a task so monumentally difficult that even a company that is aiming for super-intelligence can’t tackle it.

LOLD

https://manuelmoreale.com/thoughts/look-another-ai-browser
> 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.