I would call code coverage "good" when I trust that:
- When I change the logic of a statement somewhere in the code, at least one test will fail in the suite.
A high % in a test report may give an indication but is far from giving me confidence. Having good code coverage means that, once you are back to green, and you have done to test code what will keep or improve your code coverage confidence, you can send the PR being tranquil that you didn't break anything else.
I was very interested by the question, and closed the page after skimming through the first screen: why is there any need to scenarize? why would I want to read about some guys in a bar? Can't we make it interesting to talk about what it really means for a device to "listen on port x"? In my experience (listening to Collège de France podcasts), any topic, even the most obscure and narrow field of knowledge, say "Late Babylonian scriptures as seen by Ibn Amhoud during 8th Century" (invented), can be made a thrilling experience if the speaker is really passionate and knowledgable about it. But there is never any need to start by a conversation at starbucks: one just dive in head first. </rant>
Maybe I was wrong but what I understand by "hug" is the fact to hold someone chest to chest, arms on the back of each other. I do not mean kids being held in the arms of their parents or lovers loving each other, or people holding hands or anything else. Then I maintain that this activity is reserved to very rare occasions, usually reserved to extreme emotion peaks, for instance at a burial of a close friend's relative, or when the national sports team win the gold.
To me, when meeting a friend or colleague at the first of the day, each culture has its own "hello sign" system, for French people it can be the kiss on the cheek or hand shaking (with many variants), for Chinese people it is a look in the eyes and "hi" with the hand or "吃了没?", for many other people (Germans?) it is purely hand shaking, and as far as I can guess the "hello = hug" is common in the USA.
I still do not think this "hello = hug" is universal or even the behavior of above 10% of the humans. I think most americans might believe it is nearly universal and always acceptable because nobody dares refusing the hug when they do it. It is actually very hard to stop a coming hug without becoming the very bad cold blooded person that has no feeling at all for others (personal experience here).
I would bet 95% of the human beings never hugs except between lovers or parents and their kids. I would bet hug is very much a North American thing. I'm French and hate hugs (we kiss on the cheeks, which feels less intrusive to me, but is crasy intrusive in most non-Latin countries).
I live in China and, in normal settings, people here won't hug, won't kiss and won't even shake hands (Unrelated to any ongoing pandemic.) I think it is the same in Japan, Korea, India, Pakistan, Indonesia, etc. Hugs between stars at international movie festivals do not reflect real people's life.
Gooey is nice, it could help in a wish I have had since foreveR and is the contrapositive: a way to convert any action I do on my Xubuntu UI into a command line.
Example: I pop the display config, hide the laptop screen, apply and confirm, and whish there was a "log" somewhere with a one line command I can use next time to redo the same thing.
In a way Gooey, if used a lot to make GUI apps, could help fullfilling this whish: I did not use it yet but I hope it displays somewhere the command line it generated from the GUI?
A long bunch of tests for a python RPC I was writing. My boss did rewrite the core code against the tests, so I could merge his code without even understanding it fully. And until now the test code is still healthy and growing, and it proves the core code to be working as expected.
I used recent speakers as simple Bluetooth speakers for a few years, and recently exhumed my old loudspeakers, those classic wooden box pairs with cables and rotative potentiometers. There's no photo: the sound is (was) much better.
Do you know the story with Spanish tomatoes? It's the same, they made them more convenient, easier to carry around and sell, better calibrated, more stable, etc. but suddenly some people tried the old tomato type and noticed that the only thing we should care about when buying them is... taste. Same with speakers: smart or Bluetooth it whatever is just a way to sell us speakers whose sound is fake (because it is cheaper to process the bass with a chip)
Here on HN we need to back such affirmations with data. The bolder the affirmations, the more solid the data-backed proof need to be.
If we were to exchange "philosophical" considerations here, I'd tell you that sunday fishermen have complained weekly that there was much more fish in the river before since the dawn of humanity. I'd also tell you that my own home in downtown Beijing has seen a slug invasion this year, and that these animals are not disappearing at all (at least in my courtyard).
Yes. But what's striking me is that one woud ever want to test only one input state. If I have to test function f(x) and see if its output is as expected, I always want to test many inputs (including "silly" ones like wrong type, nulls, extremes). Writing one test for each of them is absurd, just give a list of inputs, a list of expected outputs and check them all.
Distance is no weasel word. China historically interfering with Korea or Vietnam is natural as it's neighbors and problems of one side of the border leaks on the other side, and cultural and economical influences are strong. But France or US interfering with Vietnam or Korea make much less sense. The real deep difference in the long span is that Chinese never sailed en masse to the other side of the planet to "propose" (with a gun in the hand) a foreign religion and a different way of life to people which never asked for anything.
That's not bread, that's sliced industrial cake branded as bread sold in wharehouses. Get your bread from a boulangerie and slice it yourself. And yes, buy no "pasta sauce" because it is just industrial pseudo tomato jam with a formula that has 50 "ingredients", just buy tomatoes and cook them slowly with some onions.
I depends on what is "edible stuff" to you. Carrots, meat, cabage, fish, etc. have no added sugar in them. Why not simply cook your food, like most people in the world do?
From what I read here and there, Americans have completely lost foot with food, for them having a meal means to take some boxed thing out of the fridge and put it in the microwave owen for 10 mn. This is /not/ a normal meal, it's a lazy way to get one's belly filled. The normal meal for normal people is prepared at home from raw ingredients and some spices.
Maye it is "unique" but then just because it is the simplest design possible. T-shirts are just T-shirts with nothing special, even no "tickets" (the shitty piece of cloth with all the useless warning signs that hurts the skin and serve no purpose).
I live in Beijing and there, for the few I know (because I never shop elsewhere), clothes in Muji are good quality, simple functional design, and relatively cheap.
North Korea is a good inverting mirror of our modern societies, and there is always something of inspiration in the diametrically opposite. I, for one, would welcome a brandless packaging of most products, where a pack of coffee would just be a dark brown folded paper with "coffee" written on it. Same with sugar, yogurt, butter, etc. We are brainwashed into believing that sugar X is different from sugar Y but it is the same thing with different packaging, often produced in the same lines in the same factories.
Muji is a successful Japanese brandless shop where I get my clothes. We have generics drugs that are less expensive. I think a brandless Walmart would be successful too, for those who refuse to be brainwashed.
Is it only me or this looks like a Macron-effect? I mean, President Macron did show to the world it was possible for a young fellow to hijack the elections, even in a (relatively) stable democracy. Actually, if you think about it, it seems not that hard to be (or look) much less repugnant than the old comical zombies and rotten clowns we get proposed.
3) Do not care at all, and consider that our bodies are pretty well tuned to handle such thing as a few particles of foreign excrement (or other dirty things).
Seriously, we have become irrational animals afraid of everything. (I would wash my hand after splashing a fly if there was a rotten corpse around, though, and would have done even without the fly because my nose would have alerted me of a chemical danger.)
Well I disagree. The background music on transitional slides can be removed. The rethorical questions ("let's pretend we do not know about digital audio") are just time fillers. Waving the hands toward an inscrustation looks as silly as the meteo girls "playing with flies in front of a green screen" on all TVs worldwide.
It is the same with most "well-written" articles in newspapers nowadays. We do not even feel it but its just canned food, a lot of jelly and chemical taste enhancer but the amount of real meat inside is near zero.
Also, “Google memo” threads seem to be buried very quickly on HN, which is the only place I imagine where this discussion can be held between consenting adults, how come?
- When I change the logic of a statement somewhere in the code, at least one test will fail in the suite.
A high % in a test report may give an indication but is far from giving me confidence. Having good code coverage means that, once you are back to green, and you have done to test code what will keep or improve your code coverage confidence, you can send the PR being tranquil that you didn't break anything else.