1,573 karma · joined October 15, 2014
However, Seveneves to me is everything I could hope for in a sci-fi book, and I Anathem had amazing world building. I can't speak for Diamond Age, but based on the four books I've read (Termination Shock being the other), I thought Snow Crash was wildly different from the rest.
>>> import collections, random, pprint
>>> pprint.pprint(
sorted(
list(
collections.Counter(
[
((random.randint(1,10000000) % 22) % 20)
for x in range(10000000)
]
).items()
)
)
)
[(0, 908920),
(1, 908264),
(2, 454167),
(3, 456019),
(4, 454551),
(5, 455183),
(6, 454127),
(7, 454308),
(8, 454939),
(9, 454602),
(10, 454963),
(11, 453117),
(12, 454046),
(13, 453812),
(14, 456243),
(15, 455025),
(16, 454101),
(17, 455072),
(18, 454409),
(19, 454132)]https://www.holcim.com/who-we-are/our-stories/striatus-bridg...
I don’t mean to imply any of this is easy, but I’ve seen other pro-level software successfully integrate happy paths for novices.
And it's true that it won't scale well but it still has worked every time I've wanted it to :)
csv_to_json () { python -c 'import csv, json, sys; print(json.dumps([dict(r) for r in csv.DictReader(sys.stdin)]))' | jq . }
It converts a csv to a json list of objects, mapping column names to values. I find it way easier to then operate on json by filtering with jq or gron, or just pasting it into other tools for post-processing. The jq at the end isn't necessary but makes for nice formatting!
With only one cut as the parent comment describes, you can only store the log base 2 of 100 billion, which is 36, so about 4 bytes of info, or one long integer.
Screenshot of the alert (imgur marked it as nsfw because it includes a thumbnail of a post that is mildly nsfw): https://imgur.com/a/TmwO1jg
The likely culprit: https://imgur.com/a/rJrLxfn
Great article!