Posts

Grant Imahara

Image
Grant Imahara Imahara in 2013. Born Grant Masaru Imahara ( 1970-10-23 ) October 23, 1970 (age 48) Los Angeles, California, U.S. Alma mater University of Southern California Occupation Electrical engineer roboticist television host Grant Masaru Imahara (born October 23, 1970) [1] is an American electrical engineer, roboticist, and television host. He is best known for his work on the television series MythBusters , in which he designed and built numerous robots that were needed for the show, and specialized in operating the various computers and electronics that were utilized to test myths. Imahara starred in the Netflix series White Rabbit Project released on December 9, 2016. [2] Contents 1 Personal life 2 Career 2.1 Early work 2.2 MythBusters 2.3 White Rabbit Project 2.4 Other work 3 References 4 External links Personal life Imahara is a graduate of the University of Southern California, with a Bachelor of Science degree in electrical engineering. [3] For a tim...

Polycarbonate

Image
Polycarbonate Repeating chemical structure unit of Polycarbonate made from bisphenol A Transmission spectrum of Polycarbonate Physical properties Density (ρ) 1.20–1.22 g/cm 3 Abbe number (V) 34.0 Refractive index (n) 1.584–1.586 Flammability V0-V2 Limiting oxygen index 25–27% Water absorption—Equilibrium (ASTM) 0.16–0.35% Water absorption—over 24 hours 0.1% Radiation resistance Fair Ultraviolet (1–380 nm) resistance Fair Mechanical properties Young's modulus (E) 2.0–2.4 GPa Tensile strength (σ t ) 55–75 MPa Elongation (ε) at break 80–150% Compressive strength (σ c ) >80 MPa Poisson's ratio (ν) 0.37 Hardness—Rockwell M70 Izod impact strength 600–850 J/m Notch test 20–35 kJ/m 2 Abrasive resistance ASTM D1044 10–15 mg/1000 cycles Coefficient of friction (μ) 0.31 Speed of sound 2270 m/s Thermal properties Glass transition temperature (T g ) 147 °C (297 ...

Calculate percentage from two date/time stamps bash

Image
Clash Royale CLAN TAG #URR8PPP -2 I have two files "DURATION.txt" and "ABCDURATION.txt" which contain ~900 records where DURATION.txt is the total runtime and "ABCDURATION.txt" is a portion of that total. What I need to do is calculate the percentage of total using these two files. DURATION.txt EXAMPLE: 0h:2m:54s 0h:6m:17s 1h:55m:42s 1h:5m:9s ... ABCDURATION.txt EXAMPLE 0h:0m:31s 0h:0m:28s 1h:54m:34s 1h:4m:7s 0h:22m:6s ... That said I was able to make awk work to accomplish this but not from the DATE/TIME stamp only with whole numbers Example: awk 'NR==FNRt+=$1;nextprintf("%d%sn", $1/t*100, "%")' ABCDURATION.txt DURATION.txt This yields a whole number followed by the "%" sign. e.g. 50% My question is can I do such a calculation using the TIME/DATE stamps or do I have to convert to seconds or something like that? bash awk timestamps share | improve this question edited Jan 10 at 20:13 E...