A

Absolute Magnitude

#! /usr/bin/python3
import math
vmag=float(input("Visual magnitude: "))
dist=float(input("Distance (LY): "))
amag=vmag-5*((math.log(dist/3.26156)/math.log(10))-1)
print ("Absolute magnitude=",amag)

 


Anagrams

an -d words.big -m8 teresita

treatise
treaties
Teresita
teariest
iterates
estriate
asterite
ariettes


Ark

Some people have nothing better to do than to look for the Ark of the Covenant. But the bible makes no mention of the Ark after the Babylonians sacked the temple and carted off its gold. The ark is not present in Ezra’s second temple, nor Herod’s third temple.

According to the prophet Jeremiah, modern Israel will not even think about the Ark. For it is written (Jeremiah 3:16) “And it shall come to pass, when ye be multiplied and increased in the land, in those days, saith the LORD, they shall say no more, The ark of the covenant of the LORD: neither shall it come to mind: neither shall they remember it; neither shall they visit it; neither shall that be done any more.”

In fact, according to scripture God has already recalled the Ark to heaven, for it is written in another place (Revelation 11:19) “And the temple of God was opened in heaven, and there was seen in his temple the ark of his testament: and there were lightnings, and voices, and thunderings, and an earthquake, and great hail.”

Nevertheless, some people who think these are the end times to end all end times believe the Ark will be found, and will be part of the rebuilt fourth temple, so that the characters in the story will have something to desecrate.  These believers might well be waiting for a very long time.

Each of the gospels in the New Testament amount to a royal proclamation that Jesus, the anointed prophet, priest, and king, true heir of the line of David, has claimed His throne.  But as a scion of King Jeconiah of Judah as given in the table of begats (Matt. 1:11 “And Josias begat Jechonias and his brethren, about the time they were carried away to Babylon”) Jesus is disqualified to be Messiah by God’s own decree according to Jeremiah, who says of “Coniah the son of Jehoiakim” thus:

Jeremiah 22:30 This is what the LORD says: ‘Write this man down as childless, A man who will not prosper in his days; For no man among his descendants will prosper sitting on the throne of David or ruling again in Judah.’

Show ASCII table with awk

#! /usr/bin/awk -f
BEGIN {
for (i=0; i<16; i++) {
for (j=32+i; j<128; j+=16) {
if (j == 32) { x = "SPC" }
else if (j == 127) { x = "DEL" }
else { x = sprintf("%c",j) }
printf("%3d: %-5s",j,x)
}
print ""
}
}

Asunder

If a Goodwill truck accidentally spills a bunch of CDs in your yard, or you end up buying some CDs on a whim at some Boomer’s estate sale, you can make them into proper 1s and 0s with asunder.


awk

Create a shell function to print working directory file permissions, sizes, and names, formatted with awk

dir() { ls -l | awk '{$5=sprintf("%9s",$5); printf "%s %9s", substr($1,1,4),$5" "; for (i=9;i<=NF;i++) printf $i" "; printf "\n"}'; }