1,293 karma · joined April 6, 2015
Some proposals to improve usability:
The game should notice a stalemate and tell you that you lost (no matter how you rotate: no more progress is possible).
The game should accept a hit of 'Return' to start the new game (it currently seems to insist of mouse interaction).
The game should have a 'fast' mode with less animation so that I can play faster. A single move takes too long! I am impatient! :-)
E.g.: 'is x a power of two'? How to write this in a programming language? However unoptimised: how to actually code this test?
HD tells you the idiom: (x & (x-1)) == 0, for any x != 0.
Also, 'git reset' is only dangerous in some modes, e.g., --hard. It's a user experience nightmare to have the same command be nice in one case and dangerous in another, depending on an option parameter. It is a very useful command, so it's likely that you accidentally lose your local changes the one day when you're a bit tired, maybe.
Also, 'git checkout' is used for many good things like, well, checkout. To abuse it also for reverting local changes is a user experience nightmare, too. It should have a different command for that functionality.
But your GC mark (fe_mark) is recursive => it's not embeddable. You need to take care to have O(1) stack for the whole system. All functions: no recursion. The gcstack may grow, obviously, no problem, but the system stack must be O(1), because you cannot dynamically grow it in embedded systems. And this includes GC mark. This is the typical problem, so I looked there first. ulisp (lispbadge) has the same problem...
You can make the mark phase iterative by storing the backtracking stack inside the heap cells you're marking. It's no problem, just a bit annoying to debug, but it needs to be done to claim 'embeddable'. Maybe 20 lines more code.
It can be fixed!
It is also not hypocritical unless you personally cut down a tree, or unless you believe in the collective responsibility of nations. I don't think 'the Brazialians' are responsible for killing the Amazon -- it's probably a minority of people and we shouldn't care which nation they belong too. This is a serious global problem, and it accidentally happens in some country. Neither collective blame nor collective shame will help. This problem must be criticised.
This now looks to me like a Rust-- instead of a C++++, which is a picture they might not want to give rise to. Because then I'd rather use Rust instead, which then feels like the real thing(tm).
[EDIT: If you think about downvoting, maybe answer instead as I am genuinely interested in this syntax question. I am not trying to be negative, it was just an observation and a question.]
But does German have ambiguities here? Yes, it does. In the instrument 'Oboe', the 'oe' is pronounced as two syllables: long 'o' plus schwa. It cannot be written with 'ö'. It should better be written 'Obohe' (my controversial proposal). And dialectally/regionally, 'oe' may be long 'o' instead of the 'ö' sound, like in the city of 'Soest', which could be written 'Sohst', but then people from that city would complain (about tradition, maybe).
This isn't going to be explained satisfactorily by analogies or intuition, and it won't be logical at all, because it isn't, and you could define the grammar with no such distinction or a different set of distinctions as many posters already showed here.
Besides being arbitrary, I also never found this a useful distinction after having programmed in languages that don't distinguish this. And look at how GCC introduced ({...}) to convert back a statement into an expression.
Anyway, to define this, you have to simply list all the things: statements are 'return', '{...}', 'while() {... }', etc., while expressions are '5', 'f(...)', etc. That's it, that's the explanation. No intuition, just a comprehensive list taken from the grammar.
If course there is some rough idea behind it, which explains why there is a difference, but this is a history class, not an explanation: statements do some action, i.e., this is an imperative concept. Expressions have a value, i.e., this is a functional concept.
Nice!
We can never know the answer, because any possible cause was outside of our observable universe. Inside of our universe, time started at the big bang, so there was no 'before' and thus there was no cause, because the cause needs the time to be before the effect.
Why? Let's reduce by one dimension to be able to imagine this: imagine a small thing (a grain of sand) explodes in our 3D world and all the tiny pieces are flying away at equal speed, then the structure that is created by the explosion is not a 3D sphere, but the surface of a sphere, a 2D structure, because where the explosion started, there is nothing left of the original thing, as every particle of it has moved away from that point, so at any point in time after the start of the explosion, the particles are on the surface of a sphere. That surface is a 2D structure embedded into our 3D world, much like the surface of an expanding balloon. In the same way, our universe is a 3D structure, so looked at from the outside (which we obviously cannot do), it is not a 3D sphere, but probably more like the surface of a 4D sphere.
Now imagine us as a dot on a balloon that is expanding, and other stars are also dots on the surface of the balloon. In whichever direction you look, all the stars are moving away from you (the balloon is expanding). You do not need a center of this structure to observe this moving away -- nothing is in the center -- there is no center.
(And now please do not tell me that I should just go switch to C++... Or Go. Or Rust. I am just saying that I'd like this improvement for C, too.)
Or did I completely misunderstand the concept?
So if they put electronic sh*t into my food, I do not want to buy that anymore.
Probably it does not need to be declared, so I don't even know I am eating electronics.
The articles also doesn't really tell me how to avoid all that plastic. If 40 percent of human diet contains plastic, then there's hope, so which 60 percent do not contain plastic? This would be really helpful to check my own diet for surprises. E.g., I drink only craft beer and make my own ketchup, in order to avoid nano plastics -- but what elephant do I miss?
The problem is really serious, so articles about this should take more care to be helpful.
But it is funny that the article uses grey text itself for the headline paragraph:
.fc {
color: rgba(201, 184, 211, 1);
}Algeciras or Tarifa or anything in the close vicinity to Gibraltar is nice, as there is an unusually cool climate that is much more agreeable than other parts of Southern Spain (usually way too hot, e.g., Seville).
Jamestown, St. Helena is also nice weather in your definition, and they speak English. But the humidity may be a bit too high.
How this can be found automatically would be interesting. I was surprised not to find the above places in the article.
Spoiler:
But there was a backup that could be reuploaded in time and everything was fine in the end.
I.e., I cannot read that page without enabling JS in my browser... :-)