HNHacker News
TopNewBestAskShowJobs

davidgould

772 karma · joined November 8, 2016

submissionscomments
davidgould··on Low-cost measurement of facemask efficacy for filtering expelled droplets
They tested with four speakers and ran additional tests with one speaker. Results are consistent across the speakers. Consider also that they are measuring the relative filtration of different masks, not the absolute filtration.
davidgould··on Low-cost measurement of facemask efficacy for filtering expelled droplets
They did not test an infected person. They measured droplets, not virus. Disease progress is not relevant to this paper.
davidgould··on What's New in Lua 5.4
Lua was originally invented as a way to describe complex data. At some point it was enhanced with executable data and from there it’s a small step to become a programming language.
davidgould··on Widespread mask-wearing could prevent Covid-19 second waves, study shows
> fabric masks are still only 3% - 10% effective

Where did this number come from? It seems quite at odds with other sources.

davidgould··on Why did post-8008 CPUs not keep the on-chip stack idea?
My first computer was a wire wrapped home brew with a Signetics 2650 cpu, and a handful of 74LS logic and 1kx4 static ram chips. The Signetics 2650 cpu had an 8 level on chip return stack. It was a good microprocessor for the time, easy to interface, and generally nice to program. But, there was no way to extend the stack or even access it so it could only be used when the call depth, including interrupts, could be guaranteed never to exceed seven levels. It enjoyed some success as an embedded cpu, but was never used in personal computers, probably because of the stack limitation.
davidgould··on The Rise and Fall of Commercial Smalltalk
Fun fact, I handled producing and validating the last source code SQL Server source code exchange between Sybase and MS.
davidgould··on The Rise and Fall of Commercial Smalltalk
As I recall, there were a few "ambitious" projects on the UI side, application builders or frameworks or something that were failing around then. I think there was a real loss of management focus on actual products in favor of chasing the next big thing. We also forgot to ship 4.8 (MP) for months as everyone jumped to 5.0 (aka System 10).
davidgould··on London may have gone into a Covid-accelerated decline
And the response to AIDS was malicious neglect for years in many countries. A large portion of those deaths were due to bigotry.

So I suppose somewhat like the situation in the US with COVID-19 today.

davidgould··on The economics of cheaper batteries
Except for summer fire season in California where we get multi day power cuts when it’s warm and windy.
davidgould··on Why the Cessna is such a badass plane (2019)
My father flew a lot and owned a Comanche B and later a Twin Comanche turbo. I spent a lot of time in and around Comanches. Great looking airplane and nice to fly in.
davidgould··on The State of the AWK
If you add a guard to your awk script to check the line number you can avoid using tail:

  awk -F, 'NR > 2 {s+=$(NF)} END {print s}'
davidgould··on The State of the AWK
Awk, particularly mawk, is several times faster than python for a lot of file ripping tasks. If I had several billion lines of data to reformat or summarize, I'd almost always reach for awk before python.
davidgould··on The State of the AWK
Awk arrays are dictionaries, what are you missing?
davidgould··on The State of the AWK
Almost. It doesn't handle multi word cities, eg "San Franciso", and it spawns extra processes. Try:

  awk -F "\t" 'NR != 1 { if (!cities[$5]++) n++ } ; END { print n }' payroll.tsv
davidgould··on Tesla’s readying a ‘million mile’ battery that could greatly lower cost of EVs
Not necessarily, my Spark EV has older less dense batteries and has only 80 miles of range. It is still perfect for it’s role as a commuter and around town car, so there’s no reason to upgrade.
davidgould··on Ask HN: Mind bending books to read and never be the same as before?
“I have a gun.”
davidgould··on Ask HN: Mind bending books to read and never be the same as before?
The Myth of Sisyphus was so helpful to me when I was a young person.
davidgould··on Ask HN: Mind bending books to read and never be the same as before?
Gravity’s Rainbow by Thomas Pynchon. I feel like it left me subtly but permanently changed, as if seeing through new differently tinted lenses.
davidgould··on Ask HN: What are some great posts or articles about history of computing?
That Creatures of Thought blog [0] is great. I recommend starting at the beginning as the author gives a pretty strong history of the development of electronics and communications starting around the discovery of electricity to the modern day. I've been working my way through it for weeks and it's been consistently interesting. One of the key themes is how much technological development is intertwined, each person or team building on or coincidently paralleling others.

[0] https://technicshistory.com [1] https://technicshistory.com/2016/11/13/about-techno-history/

davidgould··on We need to talk about AirPods Pro
Assuming the the canceling wave is timed to cancel at the speaker this should not matter as the external wave and the canceling wave would have the same distance to the ear drum.
davidgould··on Reverse-engineering the TL431: the most common chip you’ve never heard of (2014)
STM8 is a fairly new design although with some similarities to the 6502 and 6800. It does have multiply and divide instructions. It also has a plethora of addressing modes:

    ld a, #42        ; immediate. C constants
    ld a, var        ; direct. C globals and statics
    ld a, (sp, 4)    ; sp relative. C locals and arguments
    ld a, (x)        ; indirect. C *ptr (ptr in register)
    ld a, (x, 42)    ; indexed indirect. C ptr->foo (ptr in register)
    ld a, [ptr]      ; memory indirect. C *ptr (ptr in memory)
    ld a, ([ptr],x)  ; indexed memory indirect. C ptr->foo (ptr in memory)
There are more, but mainly variations in width and PC relative jumps.
davidgould··on Reverse-engineering the TL431: the most common chip you’ve never heard of (2014)
SDCC is the open source compiler of choice for stm8. It's not GCC, but it's enough.

I'd be tempted to agree about the registers except that it takes wider instructions to encode the registers used so a well thought out accumulator based architecture can result in very compact code. stm8 has a lot of one byte instructions and most except for branches and word operations are single cycle as well.

davidgould··on Reverse-engineering the TL431: the most common chip you’ve never heard of (2014)
Yay for STM8. Cheap as dirt especially for how capable they are, and pretty sweet architecture for an 8 bit.
davidgould··on We need to talk about AirPods Pro
Not quite following this argument. The distance between the microphone and speaker is fixed (and small compared to the wavelengths of interest) because they are part of the AirPod.
davidgould··on Why N95 masks are hard to make
Please share a pattern or document how you did this, I'd be very interested in making some for people around me.
davidgould··on “I'm not sure there is an acceptable solution to the problem we are facing”
> Oh, and there's a clean bathroom in every subway station.

So this will never work in the United States.

Snark aside, every time I ride a BART elevator with a pool of piss on the floor I wonder about this country. Somehow the idea of someone peeing without paying is so offensive that we would rather stand in piss than provide public facilities.

davidgould··on Dressing for the Surveillance Age
Anathem is probably my favorite with The Diamond Age or Snow Crash second. The Baroque Cycle was very rewarding to read, it really made vivid the invention of the modern world in a way that most history doesn't, but they were not great novels. He really needs an editor who could force him to cut a lot, almost all his books would be improved by being 20% shorter.
davidgould··on Dressing for the Surveillance Age
Yes I did. I rarely abandon books, and I like Stephensons work generally, I kept hoping it would get better.
davidgould··on Dressing for the Surveillance Age
Save yourself 17000 hours of tedium and don't read "Fall, or Dodge in Hell". I'm a Stephenson fan from way back and have read everything, and loved a lot of it, but Fall is lukewarm garbage. Seven Eves and D.O.D.O. were not great, but Fall is really 1400ish pages of everything wrong with Stephenson's writing. Dude seriously needs an editor.

The first 300 or so pages of Fall are not terrible and there are some interesting ideas and characters -- who are all abandoned in favor of several hundred pages of retelling the biblical Genesis legend from first principles and a new cast of characters who are actually processes in a computer simulated universe who are derived from the original characters but have total amnesia including about basics like identity, body form and function, and language. If a hundred pages of the interior monologue of a head injury patient in a coma sounds like a good time, this may be for you.

For instance, it takes a couple dozen pages for the new characters to discover shit. I mean, literally, discover shit. First they percieve that they want to eat, then they discover how to eat, then they tell us how great it felt to eat, then they sleep and in the morning they discover they have to shit. Then they tell us shit smells bad.

Once the new universe is up and running and all the characters have rediscovered everything so they can talk and walk and wipe themselves, they organize a society which is just as bad as anything they left behind. We suffer along with them. This takes hundreds of pages.

And then ... oh yes ... we jump way into the future with all new characters and new settings for the final battle against the final boss. I can't even.

Stephenson has never been good at endings, but this new method of just wandering away and then gluing another vaguely related book onto the back a few times is not working for him.

davidgould··on Emulation of Unix V6 on a PDP-11 with an emulated teletype
Don't try to use ^S and ^Q for flow control, it doesn't work and the ^Q will quit Firefox. As a tab horder, I hate quitting the browser.
← PreviousPage 3 of 14Next →