Unlike for example a wood stove which might release some smoke into your house, at a level where it's not good for you, but not violently toxic.
44 karma · joined December 13, 2021
Unlike for example a wood stove which might release some smoke into your house, at a level where it's not good for you, but not violently toxic.
I used to work for National Grid in the Miliband era; I worked, among other things, on theorizing a replacement to the 'circle diagram' for the (then thought to be) coming renewables regime.
Consumers already pay per-unit electricity costs which are fixed over a billing period, regardless of whether gross prices exceeded the consumer price, or dropped below zero, for small intervals during that period. So it wouldn't really make any sense to charge different prices in Scotland and England, only for the periods when they actually diverged due to lack of transmission. And if this occasional discrepancy was averaged over a billing period, it would probably be much too small to really affect demand.
Building additional wind generation can never be more wasteful than the costs of its construction. If it were free, it would make sense to vastly overbuild.
1. power available when you want it, and you can choose on the fly
2. power available when you want it as long as you know in advance
3. power available at a time that you don't choose, but you can predict
4. power available at a time that you can neither choose not predict
Examples are (roughly) 1: gas or hydro, 2: nuclear or coal, 3: sun or tidal, 4: wind. You can also think of demand types that require each of these levels or better. Of course each of these categories contains its own sliding scale of how far in advance you have to decide or can predict. Wind is not completely unpredictable, but it is further down this hierarchy than almost any other source of generation.Moving generation up this hierarchy, or demand down it, is always going to give some benefit. Well designed power markets should make sure that there is some fair incentive for any such step.
The GP was trying to explain why airline tickets, but not consumer goods, are dynamically priced when sold by the original vendors.
The solution is to self-insure by having $1000, or whatever, ready for if you need it for increased travel costs or other emergencies. And try to avoid feeling either anger or regret if you have to change your plans. If you don't have a spare few hundred bucks then this method isn't available to you.
Suppose that you take powers of 2, and then divide by 10 if it's greater than 10.
2^7 ~= (10^(0.3))^7 = 10^2.1 --> 10^(2.1 mod 1) = 10^0.1
2^4 ~= (10^(0.3))^4 = 10^1.2 --> 10^(1.2 mod 1) = 10^0.2
2^1 ~= (10^(0.3))^1 = 10^0.3 --> 10^(0.3 mod 1) = 10^0.3
2^8 ~= (10^(0.3))^8 = 10^2.4 --> 10^(2.4 mod 1) = 10^0.4
...
where the arrow denotes dividing out as many powers of 10 as you can.It seems surprising that the numbers are in the right order but of course it's not. Doing lexicographic sort and then dividing out powers of 10 is the same as dividing out powers of 10 and then just doing a numeric sort. So the lex sort is a sort of (accidental) legerdemain here.
The powers to which you raise 2 are given by the inverses of 1, 2, 3 etc mod 10. In other words you're raising (10^0.3) to a power k, chosen so that the remainder 0.3 * k mod 1 is the multiple of 0.1 that you need.
1 / 3 mod 10 = 7
2 / 3 mod 10 = 4
3 / 3 mod 10 = 1
4 / 3 mod 10 = 8
...
They are also given by multiples of 7 mod 3.Is it possible that both the original teller, the reteller and you too, are starting from the (unfounded) assumption that the hunters know what they're talking about, and are adapting the facts to fit this assumption?
If the chance was actually 1:5000, the longevity of trees would be similar to that of hunters sleeping under them - or lower, since hunters can sometimes avoid the hazard, but trees are exposed to it every night (and all day as well). Actual data on tree mortality seems to indicate that the chances are much lower than this. Almost certainly they do not make sleeping under trees a significant risky activity.
So you have to arbitrarily choose one and keep in your mind that that's the one to be edited. You could choose the 'bottom' one. But because object persistence is pervasive, you choose the 'new' one.
Ie, the longest track distance between any two places on Earth, subject to the constraint that there is no shorter train journey between those two points.
This seems to me to be a much more logical, and also more interesting, interpretation of the question than the one used in the article.
But what if it's not? It's perfectly easy to write code to do the same thing in a programming language without invoking any other executables, let alone piping the output of one into the input of another. So the claim that this functionality is what makes Unix and shell scripting effective is vacuous. They are good at doing something which would not be necessary if one was not using them.
I specifically named awk as a way of solving these type of problems that has a similar applicability and maturity to a scripting language. My real objection is to long chains of cut, head, cat, grep, and so on. I also think that utilities like jq and xargs, which were invented exactly to allow people to do things in shell one-liners which are trivial in a proper language, are worse than useless.
I didn't say that no one should use awk, or no one should use the command line.
In fact I didn't say that no one should use pipes with head, cut and grep either. I just said that most reasons to use them were no longer valid.
If this isn't the case, stay away.