531 karma · joined February 14, 2016
https://en.wikipedia.org/wiki/Wikipedia:Reusing_Wikipedia_co...
This only applies in a hypothetical future where someone figures out how to make a durable folding display though.
[0]: http://proceedings.mlr.press/v81/buolamwini18a/buolamwini18a...
The future is somehow both weirder and more mundane than I ever dreamed.
And just for fun, I also worked out a best guess for the force between the two "lobes": 1.5 x 10^13 N (assuming Ultima Thule is the same density as our Moon), which is about equal to the (Earth) weight of all the ships in the world. [0]
[0]: https://www.ericpickersgill.com/about-eric-pickersgill-remov...
However, this same contour line cannot be used for the wet prominence measure of Mauna Kea, since it contains every mountain on Earth, many of which are taller. Mauna Kea's lowest contour line that doesn't contain another taller mountain would probably enclose a sizeable portion of the floor of the Pacific Ocean, but wouldn't include the Andes, Japan, or the Sierra Nevada, since those peaks are taller. The contour line would therefore be deep below the ocean surface, but not as deep as the Challenger Deep.
[1]: https://en.wikipedia.org/wiki/Topographic_prominence
The above Wikipedia article specifically mentions the dry prominence of Mauna Kea, estimating it to be 9330m which is taller than Everest's conventional height of 8848m. However, an apples-to-apples comparison would use the dry prominence of Everest too, which is the distance from the bottom of the Challenger Deep (-10,911m) to the summit. This would make Mauna Kea the second tallest mountain by topographic prominence if the Earth had no oceans.
As a native English speaker I feel fairly ignorant of how programming is taught in other (human) languages. I recall a quote [1] by Eric S. Raymond commenting (or perhaps speculating?) that Linus commented his kernel code in English because it never occurred to him to do otherwise. But I'm curious for your perspective as I imagine the experience of a child learning from a book is quite different from that of an adult who is immersed in the English-dominated "hacker culture" on the internet.
[1]: http://www.catb.org/~esr/faqs/hacker-howto.html#skills4
Let me know if you have any questions; I'll try my best to answer them.
Edit: I see now; it’s the year (1987). D’oh!
- English (378m L1, 744m L2)
- French (77m L1, 208m L2)
- Malay (77m L1, 204m L2)
- Swahili (16m L1, 82m L2)
- Thai (21m L1, 40m L2)
Technically Thai isn't quite 2x, but the error bars on these numbers are generally big.
Some languages have an opposite distribution, where nearly all of the language's speakers are L1 speakers. Bengali, Japanese, Portuguese, and Wu/Shanghainese are in this category, as well as perhaps Spanish (only ~14% of speakers are L2, which surprised me). Many others fall somewhere in between.
This would make an interesting data visualization.
I wrote a script to extract all of my changed dependencies from package-lock.json and retrieve the publication date of the resolved version from registry.npmjs.org. It's hacky but here's the steps:
First run this pipeline. You can change the first two lines if you're interested in the whole package-lock.json; I was just interested in my changes.
git diff master -- package-lock.json \
| grep '+\s*"resolved":' \
| awk '$2 == "\"resolved\":" {print $3}' \
| cut -d '"' -f2 \
| perl -pe "s/\/-\/(?:\\S+-)((?:[0-9]+)(?:\\.[0-9]+)+\\S+)\\.tgz/ \1/" \
> dep-urls-and-versions.txt
You now have a file which contains on each line a URL, then a space, then a version string. I ran this python script on the file.import requests
with open("dep-urls-and-versions.txt", "r") as f:
for line in f.readlines():
url, version = line.strip().split(" ")
res = requests.get(url)
body = res.json()
print(body["time"][version], body["name"])
Run it as `python script.py | sort` and you'll get the most recently published packages in your package-lock.json. Just check that the last (bottom-most) timestamp is older than 2018-07-12 10:25 UTC when the first compromised package was published.Hope that helps someone.
My "Earth Science" class was structured the same way. We learned about the formation of the solar system, then dinosaurs, then Cro-Magnon Man. Each unit of study was so completely separate from the others chronologically that it never occurred to me to ask "So did Greece and Rome ever have wars?" for the same reason it never did to ask "How did early homonids fight off dinosaurs?". It seemed so obvious at the time that there was no overlap.
Anyway, if I have a point, it's this: never underestimate the inadequacy of the US primary education system.