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
> 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
https://annas-archive.org/blog/critical-window.html
annas-archive.org
The critical window of shadow libraries
How can we claim to preserve our collections in perpetuity, when they are already approaching 1 PB?
Forwarded from oleg_fov (Oleg)
YouTube
UTF-8, Explained Simply
This video provides an introduction to text encoding on computers, and outlines the history that led to the creation of the Unicode standard, and eventually, the famous UTF-8 text encoding.
"The History of UTF-8, as told by Rob Pike"
https://doc.cat-v.oβ¦
"The History of UTF-8, as told by Rob Pike"
https://doc.cat-v.oβ¦
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.
https://evanhahn.com/scripts-i-wrote-that-i-use-all-the-time/
> 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/
Evanhahn
Scripts I wrote that I use all the time
I've written a number of little scripts over the years, many of which I use every day. Here's a little collection.
A gRPC riddle.
We've well-known
Which then generates to https://github.com/protocolbuffers/protobuf-go/blob/master/types/known/timestamppb/timestamp.pb.go#L173
Now the question: how does
Even funnier: the latest commit says "
types: regenerate using latest protobuf v33 release" (3d ago), so it does this automatically, huh ?
We've well-known
Timestamp defined here https://buf.build/protocolbuffers/wellknowntypes/file/main:google/protobuf/timestamp.proto#L133Which then generates to https://github.com/protocolbuffers/protobuf-go/blob/master/types/known/timestamppb/timestamp.pb.go#L173
Now the question: how does
protoc (or some other magic) generates this validation? https://github.com/protocolbuffers/protobuf-go/blob/master/types/known/timestamppb/timestamp.pb.go#L207 (especially [0, 999_999_999] range) ?Even funnier: the latest commit says "
types: regenerate using latest protobuf v33 release" (3d ago), so it does this automatically, huh ?
GitHub
protobuf-go/types/known/timestamppb/timestamp.pb.go at master Β· protocolbuffers/protobuf-go
Go support for Google's protocol buffers. Contribute to protocolbuffers/protobuf-go development by creating an account on GitHub.
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
LOLD
https://manuelmoreale.com/thoughts/look-another-ai-browser
Manuelmoreale
Look, another AI browser β Manu
Yesterday, OpenAI announced Atlas, its AI browser. To the surprise of literally nobody, itβs Chromium with AI slapped on top. Perplexity also has a β¦
> 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
hah
https://thundergolfer.com/blog/aws-us-east-1-outage-oct20
Jonathon Belotti [thundergolfer]
More Than DNS: The 14 hour AWS us-east-1 outage
A thorough review of a major cloud outage.
Infinite huge kudos to https://blskyl.ink/ldez.dev for fixing a veeeeery tricky case! https://github.com/go-critic/go-critic/pull/1516
Bluesky Social
Fernandez Ludovic (@ldez.dev)
I'm a community-funded open-source developer.
Core maintainer of Golangci-lint, go-acme/lego, and some open-source projects you may be using π
Core maintainer of Golangci-lint, go-acme/lego, and some open-source projects you may be using π
I freaking love Google's open source. Just a pure engineering beauty, ass always.
Not great, not terrible. Go.mod/sum is also small as possible:
and vendor:
Then you add a module for literally one method (
take a breath...
Well done, Google.
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.
oleg_log
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:β¦
You wanted a banana but what you got was a gorilla holding the banana and the entire jungle
(c) Joe Armstrong.
(c) Joe Armstrong.
original -> (re)think a bit more -> lovely switch (might be opinionated)
Probably reading Google libraries after midnight is a bit too much for me.
Probably reading Google libraries after midnight is a bit too much for me.