React Today and Tomorrow and 90% Cleaner React, React Conf 2018

Slides, https://photos.app.goo.gl/nfBisCjD5edQ13ht9

Advertisements

The Amazon Echo as an anatomical map of human labor, data and planetary resources

https://anatomyof.ai/

https://anatomyof.ai/img/ai-anatomy-publication.pdf

  • each small moment of convenience – be it answering a question, turning on a light, or playing a song – requires a vast planetary network, fueled by the extraction of non-renewable materials, labor, and data.

     

  • your smart-phone runs on the tears and breast milk of a volcano

  • f you read our map from left to right, the story begins and ends with the Earth, and the geological processes of deep time. But read from top to bottom, we see the story as it begins and ends with a human.

  •  At the bottom of the map is another kind of human resource: the history of human knowledge and capacity, which is also used to train and optimize artificial intelligence systems. This is a key difference between artificial intelligence systems and other forms of consumer technology: they rely on the ingestion, analysis and optimization of vast amounts of human generated images, texts and videos.

    Each object in the extended network of an AI system, from network routers to batteries to microphones, is built using elements that required billions of years to be produced. Looking from the perspective of deep time, we are extracting Earth’s history to serve a split second of technological time, in order to build devices than are often designed to be used for no more than a few years.

     

cleanup large .git objects

TLDR – Never delete the whole objects dir in .git as it corrupts the repo forever. You can however search for bit items in the dir and delete them individually OR you can delete the repo and reclone it with 1 depth (git clone –depth 1).

ref – https://stackoverflow.com/questions/5277467/how-can-i-clean-my-git-folder-cleaned-up-my-project-directory-but-git-is-sti

Most of the files are .png, and the last one in the list is a .mov, which I would guess takes up most of the space. There are also .csv and .pdf files. The next step would be to clean up your git by removing all of those unnecessary files.

One option is to use the bfg-repo-cleaner tool, which worked great for me on other repos I’ve tried it on.

Alternatively, you could do it manually following this git article, as outlined below:

git filter-branch --index-filter 'git rm --cached --ignore-unmatch *.mov' -- --all
rm -Rf .git/refs/original
rm -Rf .git/logs/
git gc --aggressive --prune=now

Then repeat with other types of files.

Then verify:

git count-objects -v

Your size-pack should be a lot smaller now.