HNHacker News
TopNewBestAskShowJobs

gshubert17

855 karma · joined March 30, 2012

submissionscomments
gshubert17··on Modernizing AWK, a 45-year old language, by adding CSV support
I think the article already showed that with the example -F,

The problem is commas inside quoted strings, as in the example "Smith, Bob".

I believe the field-separator option on awk will break the quoted string at the interior comma.

gshubert17··on The moon’s permanent shadows are coming to light
You're right. s/trillion/billion/. The key fact is that the two ton object had the impact of 1.5 tons of TNT. Thanks.
gshubert17··on The moon’s permanent shadows are coming to light
The kinetic energy of 2000 kg at 2500 m/sec is about 6 trillion joules. A ton of TNT is about 4 trillion joules. So the kinetic energy of impact would be the same as 1.5 tons of TNT.

A Nasa document https://ntrs.nasa.gov/api/citations/20090043092/downloads/20... has a slide on the second page about this mission. It estimated about 200 tons of lunar rock and soil were excavated, and that the crater made was about 20-25 meters across and 3 meters deep.

gshubert17··on In Praise of Memorization
The speakerdeck and github links are too high-level. I believe a better link to Beazley's talk is, https://speakerdeck.com/pycon2014/discovering-python-by-davi...
gshubert17··on How a small nuclear war would transform the entire planet (2020)
I live close to the site of the Marshall fire in Colorado which destroyed a thousand homes at the end of 2021. The amount of soot was surprisingly large. After post-fire snowfalls, snow pushed to the edges of parking lots was blacker than usual, probably from soot already on the ground that got scraped up with the snow. The other day I saw a couple of workers shovel soot off the Costco roof into a truck. In addition to more soot than I expected, it was more toxic (according to local reports) from all the plastics and chemicals that were burned.
gshubert17··on Does the human lifespan have a limit?
>> find it quite interesting that no single human ever has achieved even close to [160 years].

Human mortality varies widely, but one relationship seems constant: death rate increases exponentially with age. A mortality table from 2011 shows males age 40 have a death rate of 2.1 per thousand; at age 100 the death rate is 357.9 per thousand. That's an increase of a factor of 170 over 60 years, or about 9% per year. Mortality graphs are almost straight lines on semilog plots. Different groups (men versus women, different countries, etc.) show different y-intercepts but the slopes of all these mortality curves is about the same.

From this we can deduce that males aged 104 (in this sample) have about a 50% chance of dying within the next year: another way of saying their life expectancy is 1 year. Mortality rates which increase 9% a year, will double in 8 years. So a male aged 112 will have a life expectancy of 6 months. At age 120, 3 months. And so on.

That's why we don't see many humans older than 110 or so, and why no one has lived past 130.

gshubert17··on More Americans are saying they’re ‘vaxxed and done’
Don't know about the OP, but in my state currently, close to 100% of the cases are omicron based on the samples they've sequenced. If I get covid next week, odds are it'll be the omicron variant.
gshubert17··on Death Clock
Seems broken to me too. I put in 1926 for my 96-year-old dad and it says 61% remaining. Which would be great, but I don't expect him to live to 246 (of which 39% lived so far would equal 96).

A calculator which is much easier for me to use and gives more reasonable results is https://www.ssa.gov/OACT/population/longevity.html Its inputs are gender and date of birth. Gender has a big effect on life expectancy. This one shows 2.7 years left and a total estimated lifespan of 98.7 years. By this calculation he has about 3% of his life remaining.

gshubert17··on 54% of adults in the United States have prose literacy below the 6th-grade level
The first sentence in the Wikipedia article cites a link (citation #1) to https://nces.ed.gov/pubs2019/2019179.pdf "Report on Adult Literacy in the United States" published in July 2019. This is a two-page PDF that describes the survey, literacy levels, and has links to additional references.

The second Wikipedia citation is to a Forbes article.

gshubert17··on The Source of the Nile River: A Mystery That Spanned Three Millennia
or, perhaps, even farther:

https://www.google.com/maps/place/2%C2%B016'55.9%22S+29%C2%B...

shows a location near Gisovu, Rwanda, with a photograph taken in 2019 by Keiko Schmidt, of a sign which reads, "This is the furthest source of the Nile. Distance from Egypt: 6,719 km (4,175 miles). 2006: Neil McGregor, Cam McLeay, Garth McIntyre."

gshubert17··on Skillsoft Buys Codecademy for $525M
I was teaching a high school computer course when I discovered Codecademy in 2012. We spent three weeks using their introduction to JavaScript programming. Students learned basic programming working at their own pace. Everyone was engaged, and most students enjoyed this part of the course.

I worked all over the room, answering questions and seeing how students were doing. The site kept track of progress with game-like points and badges. The last week of the semester, students created two interactive web pages using what they'd learned. These two projects were similar to programming labs I had done in past years, but the instructions were much shorter because Codecademy prepared them much better; and the results were better because students were more competent and felt more confident from their Codecademy work.

In subsequent years I continued to use Codecademy for JavaScript and added HTML instruction around 2014 based on their site too. Overall I think hundreds of students benefited. Many thanks.

gshubert17··on Stealth bomber in flight on Google Maps
Whiteman AFB is about 20 miles south and a little east of the plane in this image.
gshubert17··on A $5B hoard of aluminum
The chart legend says it represents the total value of exports to Vietnam from its trading partners, equivalent to Vietnam's imports.

In 2015 and 2016 Vietnam's imports of aluminum were much larger than previous years and later years. The excess value over $4B (the level of subsequent years' imports) totals over $6B. I took 2015-16 to represent the surge of imports.

The price of Al seems to have been around 80 cents a pound at the end of 2016, http://m.kitco.com/getChartPage?symbol=al&width=438&height=2... (then select 5 years). At $1,600 a ton, that's nearly 4 million tons.

This more than covers the 1.8 million tons in the GVA stockpile.

gshubert17··on What the world can learn from Britain’s humble hedge
I grew up on a farm in east central Illinois in the 1950s and '60s and remember the hedgerows along the township gravel roads which were on a grid a mile on a side. There were pheasants and quail and I don't remember how many other species of birds; no doubt less than the hedges in Britain, but still considerable. I don't recall when the hedges were removed but I think in that area they were gone by the 1970s. What a loss! And only in one lifetime.
gshubert17··on The HP Way: Dave Packard on How to Operate a Company (2016)
For the past couple of decades or so, you're right. HP was founded in 1939. In its first couple of decades the HP way described management practices that were unusual for their time.

Bill and Dave were still visiting the varied HP divisions in the late 1970s (when I went to work for HP in Colorado). Hewlett was succeeded by John Young as CEO in 1978. Both Hewlett and Packard left the board of directors in 1993.

It certainly is a very tough job to establish a good culture that can last the test of time. Compared to many other founders, though, I personally don't think they did that badly, though of course many others disagree. While HP itself lost its way in the 1990s, many of these ideals were adopted by other companies or taken to new companies by HP employees.

gshubert17··on U.S. house prices are rising exponentially faster than income
> The other approaches mentioned above tend to make the tradeoff the other way--the consumer pays marginal cost of copying, but less art gets produced than consumers would like.

One can infer a smaller supply of art, assuming standard economic assumptions. Some human activities seem to me not to be driven by these assumptions. Stories of artists who create what they seem to be driven to create, not what potential customers want at that moment.

Time is a scarce resource, both for creators and consumers. Some of us get more time than others, but we each get 24 hours per day; in that respect there is equality.

Under what conditions or assumptions might there be "enough" art created and copied?

gshubert17··on Is college worth it? A return-on-investment analysis
> Before college can be creating well-rounded citizenry or provide "excellent life experiences" or any of the other things people want of it, it must first provide a good ROI. This is a necessary foundation.

I'd like to say _at the same time_, college can provide a good ROI and good citizens, life experiences, etc.

But besides college, what are some other choices, programs, whatever that could provide some of college's added features? Public service (in the U.S., military, Americorps, Peace Corps)? What's available in other countries?

gshubert17··on Original 1851 reviews of Moby-Dick
There's a whaling museum in Lahaina on Maui, which has lots of good stuff. I happened to visit it one time while a book group was reading Moby Dick and it made a great impression.

https://www.hawaii-guide.com/maui/sights/whalers_village_mus...

gshubert17··on Why can’t the world’s greatest minds solve the mystery of consciousness? (2015)
Could a person who grows up in complete social isolation learn (or invent) a language? If not, could such a person name things or have a way to think about maps and symbols (representations of things) in a way that could lead to consciousness?
gshubert17··on Trust-Busting as the Unsexy Answer to Google and Facebook
"Uncoerced market" or something, is closer to the meaning I seek.
gshubert17··on The financial literacy industrial complex
Links to Berkshire Hathaway's letters to shareholders from 1977 through 2020 are available at, https://www.berkshirehathaway.com/letters/letters.html
gshubert17··on One Stuck Box of Fertilizer Shows the Global Supply Chain Crisis
What's the connection between aluminum (Al) and ammonium phosphate (NH4)3.PO3 ?
gshubert17··on After six months on Mars, NASA's tiny copter is still flying high
But Mars takes 1.88 earth years to make one orbit. So, 6 earth months is closer to 3/12 of a Martian year.
gshubert17··on Inequality, Interest Rates, Aging, and the Role of Central Banks
If it's only the cost of milk that has doubled, I agree that a 20% hourly wage increase will cover it. It's a different story if the overall cost-of-living outpaces wages.
gshubert17··on The $150M Machine Keeping Moore’s Law Alive
> h c/13 nm is about 95 electron volts; that's enough to ionize just about anything

Wow! The equivalent temperature E = kT is about 1.1 million kelvin.

gshubert17··on Notes Regarding Dupuis’ 1910 Elements of Astronomy [pdf]
Isaac Asimov's _Understanding Physics_ is older (1966) but is meant for the general reader or to supplement a textbook. It uses algebra and only a little trig.

J. D. Bernal's _A History of Classical Physics_ (1972) begins with ideas from ancient Greece and goes to the end of the 19th century. No math, but lots of pictures and diagrams. I have a 1997 reprint.

Stephen F. Mason's _A History of the Sciences_ (1962) covers chemistry and biology as well as physics, from Babylonia and Egypt to the mid twentieth century.

I am sure there are many others, but these, which include history and biography as well as scientific content, are good, readable overviews.

gshubert17··on Early Retirement (2006)
> How much income will you need...?

I tried to get my own answer for this question in a couple of ways (retired 5 years ago, age 62 so not early).

First, I tracked my expenses, but didn't have a planned budget. I wanted to know how much I spent and where it went. I kept monthly and yearly summaries on a spreadsheet and made charts to better visualize trends and variability. I think just tracking expenses was encouragement to live modestly and contribute regularly to savings: information not coercion.

Second, I tracked potential future income/benefits. I have an employer retirement plan and an IRA plan. Before retirement, I used the retirement plan's calculators to estimate that benefit. For my IRA I used a 4% withdrawal estimate.

Third, I assumed my expense totals would be the same in retirement. I might spend less on commuting, work clothes, etc., but more on medical care, vacation travel, and so on. I estimated housing costs for either renting or having a mortgage. (Ended up selling the house when I retired, moving and renting for 3 years, then buying a new place and getting a small mortgage for that.)

Over the short term, assumptions of continuity are reasonable. As you point out, the longer term is much more of a question mark. So, fourth, I tried to make allowances for uncertainties and contingencies. How much padding or margin did I want to be comfortable? Perhaps 10% to 20% more income than one's average expenses would feel comfortable? Perhaps a contingency plan for part-time work?

All these numbers will be in current dollars, so they will be comparable. What I discovered when running my numbers (after learning about an opportunity to buy some retirement plan benefits with money I had saved in a 401-K) was that I could then afford to retire. I can't predict the future either, but felt comfortable with the uncertainties I could see.

Following one's own situation roughly once a year, one can see how different conditions and assumptions give different results. Generally, the less one spends and the more savings one has, the more flexible one can be in choosing jobs, places to live, lifestyle, and so on.

gshubert17··on Navy Quietly Decommissions Littoral Combat Ship Independence
Exactly: US President Eisenhower said in a 1953 speech,

Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed.

https://www.americanrhetoric.com/speeches/dwighteisenhowercr...

gshubert17··on To H-E-Double-Hockey-Sticks with Facebook
>> a quick search of FoDiH brings up that it's from the perspective of a character in Reamde, which is one of his I have not read yet. Is it a mandatory prerequisite, a good-to-have but optional prerequisite, or essentially unrelated?

I read Reamde about 8 years before FoDiH. I recognized some of the characters but I had forgotten the details. I never got the feeling I needed to go back and reread it. And I enjoyed FoDiH for its own sake.

gshubert17··on MIT Predicted Society Will Collapse in 2040. Research Shows We're on Schedule
The KPMG research about the Limits to Growth scenarios is at https://advisory.kpmg.us/articles/2021/limits-to-growth.html

It is titled "Update to limits to growth: Comparing the World3 model with empirical data".

← PreviousPage 3 of 14Next →