strait | 2 years ago | on: Sucking carbon dioxide out of the sky is moving from science fiction to reality
strait's comments
strait | 3 years ago | on: Burt Bacharach has died
strait | 3 years ago | on: When nil is not nil
if x and x == nil
ever evaluate to true in LuaJIT? What does the FFI have to do with it? Please explain.Edit:
I think I see what you mean here. The x variable is actually a CDATA object returned by the LuaJIT FFI. Upon comparison, the NULL pointer value inside would be converted to nil. I don't see this as being a 'footgun' unless you forget that you're dealing with a CDATA object.
strait | 4 years ago | on: Nitrogen fertilizer shortage threatens to cut global crop yields – CF Industries
strait | 4 years ago | on: Squatters in Spain who demand a "ransom" before they will leave a property
Before an owner takes any action, they had best know what type of squatters they are dealing with. Some would be likely to set fire to the place on the way out (or not leave; perishing amongst the smoke and flames) if they are subjected to enough anguish.
strait | 4 years ago | on: The fig is an ecological marvel
there are exceptions == usually true
strait | 4 years ago | on: Dusty Hill has died
strait | 4 years ago | on: A soil-science revolution upends plans to fight climate change
The chemistry seems complicated. To create methane, you need hydrogen, which is a byproduct of previous anaerobic microbe activity. Think lots of fresh plant material decomposing in an anaerobic environment.
strait | 4 years ago | on: A soil-science revolution upends plans to fight climate change
Oxygen is a dominant factor in accelerated decomposition. Carbon is continually sequestered in healthy soils where plant roots will die back periodically, both seasonally and from grazing action. Much of the spent root carbon is sequestered in the soil as the limited local oxygen is used in partial decomposition, replaced with gases that serve to preserve and dilute whatever small amount of oxygen may later infiltrate the soil, depending on depth in soil.
This is the same concept seen when lacto-fermenting vegetables in a jar. Enough salts would effectively halt decomposition, but just a fraction of the salt is needed when the CO2 generated from the lacto bacteria flushes out the oxygen. The rising acid and falling oxygen gradually drive the microbial activity toward zero.
strait | 4 years ago | on: Getting 'Steinached' was all the rage in Roaring ’20s (2017)
strait | 4 years ago | on: I Tricked Myself into Liking Running
Once the foot soles are thickened from use, it really takes a lot to force a puncture and your reflexes evolve toward letting off pressure from the ground as soon as something sharp is felt. A resulting wound is usually thin and tiny, and seals/heals pretty quickly.
I had a glass puncture wound while running just a few weeks ago, but the one before that was sometime last year. This is on asphalt city walkways/bikeways that are very heavily frequented by the public throughout the week. So, I feel like it's pretty rare, even there. Maybe once every 200 to 300 miles of running on city sidewalks or trails.
strait | 4 years ago | on: I Tricked Myself into Liking Running
When I go out to run, there's no set goal or any pressure. I have a route in mind, but the idea is to just take it easy and bounce along at whatever speed I feel like going. It's like when I used to cross-country ski just for fun.
strait | 4 years ago | on: I Tricked Myself into Liking Running
This became a lengthy venture of mainly relearning how to run properly, losing extra fat weight, and improving foot strength and reflexes, which seemed to all come without much laborious determination.
Several years later, I'm out running barefoot across all kinds of terrain, except for trails surfaced with sharp gravel, and it feels great! On the rest days, I start out with a few miles in mind, but often end up running twice as far or more, because I just want to keep the fun going.
I realize that most people have trouble relating to this. It's something I would have never really understood until I had gotten rid of my shoes and tried it.
strait | 4 years ago | on: Why do recipe writers lie about how long it takes to caramelize onions? (2012)
strait | 4 years ago | on: Men are rapidly losing their close friends, poll finds
strait | 4 years ago | on: Treasury Calls for Crypto Transfers over $10k to Be Reported to IRS
strait | 4 years ago | on: Smart Folk Often Full of Crap, Study Finds
strait | 5 years ago | on: Vim Clutch – A hardware pedal for improved text editing (2012)
So, having the pedal simply substitute for ESCAPE would be sufficient and should be able to improve flow after some practice.
strait | 5 years ago | on: My thoughts about editors in 2020
At some point, the list of things that were broken/didn't work well for me got quite long, and I became dissatisfied enough to stop what I was doing and start going through various elisp packages, trying to understand what was really happening.
Let me say first, that I really admire and respect the potential of Lisp. When the code is well written, it is elegant, reasonably comprehensible, and malleable. However, when the code gets sloppy or unnecessary levels of abstraction are added to 'just make things work', it quickly becomes inscrutable. I kept running into package after package of this kind of poorly written, inscrutable Elisp. One package was using EIEIO (object-oriented Elisp) and there were excess levels of indirection all over the place, across thousands of lines of code.
Org-tables are pretty neat, but ultimately a fancy gimmick. I had a 7 column table, and after 200 rows, the reformatting became ridiculously slow. After looking through the tens of thousands of lines of org-mode Elisp code, my main question was, "Is all this code really necessary?" I know that org-mode does a lot, but Elisp is a dynamically typed scripting-level language. With macros. What went wrong?
strait | 5 years ago | on: Don't Mess with Texas
In our version, The Eyes ended up in the kitchen watching Dinah. She was about to blow her horn, thus ending the mandate of The Eyes. We would plead for her not to do such a thing, for her sake, for our sake, for goodness sake! The Eyes would know.
Limited to rot resistant trees, such as cedars. Even then, not shielded from the rain for 25 years and not seeing much rot would be amazing.