A blog by Josh Cogliati
Thursday, March 30, 2023
The coming technological singulary (30 years on)
Sunday, November 20, 2022
Open source house plans
The first is by Jay Osborne and he has put up three CC 4.0 BY-SA farmhouses: Free Farmhouse
The second is an on going project to create various sustainable houses that is open sourcing the plans: One Community Global
Wednesday, September 28, 2022
Alpha and Omega, Omicron and LaMDA
So if we create an AGI and fail to get sufficiently good Ethics in ver, the result is extinction or hell. ... Evolution mindlessly created beings with better Ethics than it. Hopefully, we can mindfully create beings with better Ethics than us.
Tuesday, September 6, 2022
Creating a pdf book from images or pdfs
mkdir out for D in t??0; do cd $D mv scan.pdf scan0000.pdf for S in `ls scan0*`; do I=`echo $S | sed 's/scan\([0-9]*\).pdf/\1/'` echo $D $I pdfimages -png scan${I}.pdf ../out/s${D}_${I} done cd .. doneNext I have three different ways of processing the book depending on how it was scanned. For each of these, I usually open a page and figure out what numbers I should use for the crop statement. The simpliest is if I scanned two pages at once, and am not splitting them:
cd out for I in st*.png do R=`echo $I | sed 's/s/r/' | sed 's/-/_/'` T=`echo $I | sed 's/s/t/' | sed 's/-/_/'` if test $I -ot $R then echo $I $R $T already done else echo $I $R $T convert $I -crop 2550x3510+0 -rotate 90 -despeckle $R convert $R -resize 33% -level 10%,90%,0.5 -posterize 32 $T fi doneIf I had to scan each page individually, half of them will flipped, so I need to flip some of them differently. Notice for this to work, I have to make sure that I always fip the odd ones and the even ones correctly when scanning.
cd out for I in st*[02468].png do R=`echo $I | sed 's/s/r/' | sed 's/-/_/'` T=`echo $I | sed 's/s/t/' | sed 's/-/_/'` if test $I -ot $R then echo $I $R $T already done else echo $I $R $T convert $I -crop 1800x2700+0 -despeckle $R convert $R -resize 33% -level 10%,90%,0.5 -posterize 32 $T fi done for I in st*[13579].png do R=`echo $I | sed 's/s/r/' | sed 's/-/_/'` T=`echo $I | sed 's/s/t/' | sed 's/-/_/'` if test $I -ot $R then echo $I $R $T already done else echo $I $R $T convert $I -crop 1800x2700+0 -rotate 180 -despeckle $R convert $R -resize 33% -level 10%,90%,0.5 -posterize 32 $T fi doneIf I scanned two pages at once, and am planning to split them, I have a different script:
cd out for I in st*.png do R=`echo $I | sed 's/s/r/' | sed 's/-/_/'` RA=`echo $R | sed 's/.png/a.png/'` RB=`echo $R | sed 's/.png/b.png/'` T=`echo $I | sed 's/s/t/' | sed 's/-/_/'` TA=`echo $T | sed 's/.png/a.png/'` TB=`echo $T | sed 's/.png/b.png/'` if test $I -ot $R then echo $I $R $T already done else echo $I $R $T $RA $RB $TA $TB convert $I -crop 1790x1350+0 -rotate 90 -despeckle $RB convert $I -crop 1790x1350+0+1350 -rotate 90 -despeckle $RA convert $RA -resize 33% -level 10%,90%,0.5 -posterize 32 $TA convert $RB -resize 33% -level 10%,90%,0.5 -posterize 32 $TB fi doneLastly, I need to create pdfs out of it.
img2pdf tt*.png --author "Fred Smith" --title "Smithing" -o ../smithing_1925_small.pdf img2pdf rt*.png --author "Fred Smith" --title "Smithing" -o ../smithing_1925.pdf
Tuesday, May 17, 2022
Checklist for if a book or magazine might be public domain
First of all, I am not a lawyer, and so this is not legal advice. I would recommend that if you are interested in copyright terms in the United States, you read Circular 15a from the US Copyright Office
If it is a paper document (book, magazine etc) that was published more than 95 years ago, then it is out of copyright (in 2022, this is 1926, and it goes up every year until 2071, when it gets more complicated because the US laws changed in 1976/1977)
For the years till 1963, if the copyrights were not renewed, then it might be out of copyright (note that there is no completely reliable way to check that something newer than 95 years is out of copyright, since part of it could be based on something that is still in copyright). Here is my checklist for finding things that might be out of copyright
- Published in 1963 or before
- Published in the United States (The title page better include a United States city for the publisher, and nothing that says published in Great Britain or other country)
- Search the Stanford's Copyright Renewal Database and make sure it is not found in it. Note that it only lists books copyrighted in the United States.
- Search the Library of Congress Copyright Catalog. Note this includes magazines and other things besides books, but it does not include renewals before 1978, so anything published 1950 or before will not be in here (and you could renew early, so 1951 or nearby could also be missed)
If you are trying to find a book that might be in the public domain, most of these checks can be done from the information in a library catalog or a used book site. Different book subjects have different probabilities of being renewed. For example, of the math and physics books I have checked, 90% or so were renewed. For computer hardware books, only 10% or so were renewed. I have checked five difference scientific conferences (over a hundred articles) and have yet to find a paper in them that was renewed. Also, if you have a bibliography, you can do these checks with the information in the bibliography and if they pass you can then see if you can get a hold of the book, article or magazine.
If the renewal requirement hadn't been eliminated in the 1980s, I suspect there would be a lot more books in 1964 and later that would have become public domain, but are currently out of print and getting harder to find.
Thursday, June 24, 2021
https://www.theatlantic.com/magazine/archive/2021/07/george-packer-four-americas/619012/
Friday, May 21, 2021
Public Domain Books to Restart Computer Technology
CollapseOS is a project to make an operating system and tools that can help restart technology after a civilization collapse: https://collapseos.org/
Of course, the software is only part restarting computer technology. The other part is building things like transistors or vacuum tubes and turning those into computers.
If you only had one book to take back, I would recommend Understanding Digital Computers by Paul Siegel, which includes overviews of how transistors, vacuum tube, magnetic core memory and other things work. It shows how to make memory and logic gates from these, and how to put them together into a full computer. And more importantly the 1961 edition of this book does not seem to have the copyright renewed (checked at Stanford and LOC) so it is public domain and available at: https://archive.org/details/understanding_digital_computers
Of course, you might want more detail if you have to recreate computers, since manufacturing something with feature size smaller than a millimeter and control of the composition at better than parts per million. So I made a list of books that I believe are public domain (either because they were written by the government or because they are US books publish 1963 or before and the copyright was not renewed). This list includes ones with much more detail on transistors, vacuum tubes, magnetic core memory and also basic materials and science information that can be useful.
General Computer Information:
- Understanding Digital Computers https://archive.org/details/understanding_digital_computers
- Electronic Computers: A Made Simple Book https://archive.org/details/electronic_computers_made_simple
- Digital Computer Components and Circuits https://archive.org/details/digital_computer_components_and_circuits
Numbers with Computers:
- Arithmetic Operations in Digital Computers https://archive.org/details/arithmetic_operations_in_digital_computers
- Introduction to Numerical Analysis https://archive.org/details/introduction_to_numerical_analysis_hildebrand
Transistors:
- Transistor Circuit Analysis and Design https://archive.org/details/transistor_circuit_analysis_and_design
- TM11-690 https://radionerds.com/images/0/01/TM_11-690_BASIC_THEORY_AND_APPLICATIONS_OF_TRANSISTORS.pdf
- Transistor Technology Volumes 1 to 3:
https://archive.org/details/transistor_technology_v1
https://archive.org/details/transistor_technology_v2
https://archive.org/details/transistor_technology_v3 - Semiconductors https://archive.org/details/semiconductors_hannay
Vacuum Tubes:
- Theory of Thermionic Vacuum Tubes https://archive.org/details/Theory_of_Thermionic_Vacuum_Tubes_E._Leon_Chaffee_Ph.D._1933
- TM11-662 https://archive.org/details/TM11-662
Alternative Computer Construction:
- Digital Applications of Magnetic Devices https://archive.org/details/digital_applications_of_magnetic_devices
- Relay Engineering https://archive.org/details/relay_engineering_1962
Basic Science:
- Principles of Chemistry https://archive.org/details/principles_of_chemistry_1963
- Elementary Quantum Mechanics https://archive.org/details/elementary_quantum_mechanics_fong
- Introduction to Theoretical Physics https://archive.org/details/introduction_to_theoretical_physics_wangsness
Materials:
- Metals Handbook 1948 https://archive.org/details/metals_handbook_1948
- Metals and Plastics https://archive.org/details/metals_and_plastics_1947
This list is unfortunately missing the technology that made computers cheap in the 1970s: mask produced integrated circuits using complementary metal oxide semiconductors (CMOS), since that was just starting to be developed in 1964 when copyright still applies. (Transistor Technology Volume II chapter 9 discusses field effect transistors and Transistor Technology Volume III chapter 5 discusses photo engraving which are precursors technologies.)
Never the less, having a paper copy of these books would help you greatly should you ever wish to restart computer technology after a civilization collapse.
Update (2021-October-1):
Additional public domain books and papers.
CMOS article:
- DTIC ADA033080: Introduction to Custom CMOS LSI's for Digital Logic https://archive.org/details/DTIC_ADA033080
Printing and Engraving (Similar techniques to photo-lithography for integrated circuits):
- Circular of the Bureau of Standards no. 565: https://archive.org/details/circularofbureau565davi
- Microphotography https://archive.org/details/microphotography_1957
Transistor engineering and physics:
- Transistor Engineering and Introduction to Integrated Semiconductor Circuits https://archive.org/details/transistor_engineering_1962
- Semiconductor Device Physics https://archive.org/details/semiconductor_device_physics_1962
Logic design:
- Digital Computer Design Fundamentals https://archive.org/details/digital_computer_design_fundamentals_chu
- The Logic Design of Transistor Digital Computers https://archive.org/details/the_logic_design_of_transistor_digital_computers_1963
- Switching Circuits with Computer Applications https://archive.org/details/switching_circuits_with_computer_applications_humphrey
More Math:
- Boolean Algebra and Its Applications https://archive.org/details/boolean_algebra_and_its_applications_1961
- Elementary Mathematics from an Advanced https://archive.org/details/elementary_mathematics_arithmetic_algebra_analysis and https://archive.org/details/elementary_mathematics_geometry
Integrated Circuits:
- Introduction to Integrated Semiconductor Circuits https://archive.org/details/introduction_to_integrated_semiconductor_circuits_1963
- Semiconductor Fundamentals Devices and Circuits https://archive.org/details/semiconductor_fundamentals_devices_and_circuits_1963
Dictionary of Applied Physics (From the 1920s, but comprehensive):
- https://archive.org/details/in.ernet.dli.2015.152557
- https://archive.org/details/in.ernet.dli.2015.176701
- https://archive.org/details/dli.bengal.10689.570
- https://archive.org/details/in.ernet.dli.2015.212412
- https://archive.org/details/in.ernet.dli.2015.37757
P.S. TM11-690 is also at archive.org: https://archive.org/details/tm_11_690_theory_and_application_of_transistors