Jump to content


Senior Members
  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Sensei

  1. Once upon a time scientists made experiment. They took group of university students and measured their IQ. Split them to half. One group was sent to holidays with a lot of entertainment. The other group remained and learned like usual. After week or two, both groups rejoined and IQ tests was performed once again. Group that was on holidays had 15-20% or so worser results that group that remained. Couple weeks later, IQ tests were performed again. Group that was on holidays returned to their typical average results. So, no, IQ is not static. It depends on many factors, starting from such obviousness as amount of sleep, healthy balanced diet, age and health of human organism. Performing IQ test in the wrong moment of somebody life, might give incorrect deceitful result. ps. There is needed healthy balance between intellectual activity, entertainment, balanced diet, balanced lifestyle. If somebody concentrate just of career, it can result in mental breakdown, or occupational burnout.
  2. The list of school holidays in Germany with their dates per region: Baden-Württemberg -- Bavaria school February 24 - February 28, 2020 Berlin school February 3 - February 8, 2020 Brandenburg February 3 - February 8, 2020 Bremen February 3 - February 4, 2020 Hamburg January 31, 2020 Hesse -- Lower Saxony February 3 - February 4, 2020 Mecklenburg-West Pomerania February 10 - February 21, 2020 North-Rhine Westphalia : -- Rhineland Palatinate February 17 - February 21, 2020 Saarland February 17 - February 25, 2020 Saxony February 10 - February 22, 2020 Saxony-Anhalt February 10 - February 14, 2020 Schleswig-Holstein -- Thuringia February 10 - February 14, 2020 Reference https://www.iamexpat.de/education/primary-secondary-education/school-holiday-dates-germany
  3. When we look at Germany map of infected individuals and fatality rate map we can see very "strange"/"interesting" thing. Basically old West Germany and East Germany (GDR) country border is also border between more and less influenced by COVID-19 regions: Where is coming from such regularity? Some specialists suggested that it is result of different medical standards used in these two countries in the past history between 1945 until the reunification of countries in 1990. e.g. what vaccines were obligatory given to their citizens. The most promising "suspect" of differences is tuberculosis vaccine. BCG World Atlas reveals which countries have obligatory tuberculosis vaccination now, which used to have in the past, and which never had it mandatory: Green colored countries never had it obligatory for all. Purple had it obligatory in some years in the past. France started mass vaccination in 1950 and ended in 2007. Spain started in 1965 and ended in 1981. Very short period of time (and COVID-19 fatality rate 9% for this moment). Italy never had it obligatory (and COVID-19 fatality rate 12% for this moment). https://en.wikipedia.org/wiki/BCG_vaccine I would start from analysis of what kind of e.g. vaccines people from different countries received in the past looking at their medical records. Anonymized big data should be public available so any volunteer programmer or company could write algorithm to analyse..
  4. It should be smarter than that. Pseudo code: if mem >= 1e12 then printf( "%.1f TB", mem/1024/1024/1024/1024 ) else if mem >= 1e9 then printf( "%.1f GB", mem/1024/1024/1024 ) else if mem >= 1e6 then printf( "%.1f MB", mem/1024/1024 ) else ... Also if we have fixed memory size, we could draw one continuous horizontal/vertical bar for both. Used memory in red color, free memory in green color.
  5. Let's concentrate of some constructive part of your message, rather than on religious part of it. We can interpret "unity" as "global economy" i.e. sending and receiving goods, between countries, collaboration between countries, collaboration between people. Some call it globalization. I call it unity of humankind. If global economy is broken, people from countries without e g. natural resources, will have no energy i.e. fuel, gas, electricity, and it will result in complete anarchy. Robbing shops is just easy the first page of this book, which you don't want to open.. In the past history of this world, and history of the entire Universe, it happened.. countless number of times.. Energy (from light from the Sun, wind, water, fuel, gas, oil, coal, etc. etc.) is needed to create food. Entire modern agricultural industry relies on it. If energy is not delivered to farmers, there will be no food, neither for farmers nor for people from cities, so the all people will suffer hungry. Hungry people means anarchy and mass destruction of the entire civilization, as you know today. In some places on this world, governments are very weak. Hungry soldiers and police officers won't bother about law, but about how to save life of their family members. Truck drivers etc. (the one freely passing borders between countries) should not have access to their families, to not spread disease on them. Truck drivers etc. (and other people passing borders) should be people who already had illness and have antibodies. If it is confirmed that people can't have it multiple times. It's great opportunity for IT specialists and engineers making automatic driven devices, of all kinds. One country deliver stuff to country border, other one is taking it to not pass people through border, and vice versa. For many years, I "asked" multiple times to move to renewable energy sources. Many people worldwide disobeyed and ignored my message, or even made completely reverse to my "requests". You don't prepare for fire in the house when it is already burning.. When it is already burning it is too late.. Now you will have to harvest results of your incompetence.. ps. Where are mine solar panels driven harvesters for farmers that don't need fossil fuel.. ?
  6. You can create image dynamically in PHP like it has been presented in this article: https://stackoverflow.com/questions/901201/create-a-dynamic-png-image Parameters for image you provide in URI query string.
  7. You made my day with this article. This world needs true, honest, anonymous, not for likes, videos and public applause, generosity.. #fishandchips4all
  8. This might be interesting to you. CPU usage per thread. https://stackoverflow.com/questions/26238184/cpu-usage-per-thread Just use if thread th1 is alive then th1.get_cpu_percent(), render to string. Repeat with th2. Print final string.
  9. I prefer to have result fast.. As long as algorithm allows for easy migration to MT. Thanks to multithreading you can have results 8x/12x/.../48x/96x faster than on single thread.. depending how many cores/cpus are available. Yet another level of making code harder to maintain and to read is migration to multi thousands GPU cores.. I was thinking about single while loop for both threads with separate cpu usage for each thread.. If thread is alife get cpu usage of thread, repeat with second thread, merge strings, print.
  10. e.g. while loop checking whether any of two threads is alife (rather than just for one). Use logical or operator.
  11. Read about lock, rlock, condition, event objects: https://docs.python.org/3/library/threading.html#lock-objects e.g. make event object in the main thread, pass to child thread and set it at the end of execution. In the main thread wait till event is triggered. In majority of languages and OSes during writing app with GUI you should delay any long time (>50-100 miliseconds) taking operation to separate threads, and not block UI/the main thread, even if it is some basic stuff. In Java on Android it is even forbidden to call e.g. network or database function/method on UI thread and OS immediately throws an exception.
  12. @Dagl1 I and j are loop counters used as indexes to array. You need to compare array values instead of indexes. You need to find math equation giving f(x)=1+2+3+....n. It will be total internal loop executions. Use debugger to see what CPU is doing. It will help you understand issues.
  13. You could find math equation which is giving total number of internal loop executions and then use modulo or so to extract i and j variables from it. e.g. (just an example pseudocode) If we have loops like for i=0 to 10 for j=0 to 10 it is easy to figure out total number of internal loop executions. It is 10 × 10 = 100 so we can write for k=0 to 100 i=k/10 j=k%10 and instead of two loops there is just one.. Your code could be replaced by sort of array then two fields with the same value will be one after another. One loop goes through the all fields and internal if for checking two array entries to check whether they are equal or not.
  14. But what can guarantee electrical isolation? It is just a matter of exceeding breakdown voltage of whatever medium we are taking into consideration.
  15. There is a couple different thermal pastes for computers. Silicone, with silver and with copper. The one with the best properties in thermal conductivity are with silver and copper. Try silicone one.. On every computer paste there is mentioned thermal conductivity in W/m × K. Search net for thermal grease and you will know their properties and will be able to compare.
  16. I have an idea for easy to implement method to keep people at home: Simply give them free access to Netflix/Steam for a couple months. They will be too busy to watch the all movies or play games (with premium enabled). It will be especially efficient in areas with small percentage of users of these platforms.
  17. People in quarantine are e.g. family members of infected individuals, friends, colleagues, coworkers, accidentally met people (e.g. flying the same airplane, traveling the same bus, having diner in the same restaurant etc. etc.) by confirmed infected person. They are in isolation until there are visible symptoms (if they are ill) or until there is sense of making test on them after a few days in isolation to avoid chance of transmission. Test is repeated couple times to be sure of results. If tests are, in a couple few days, negative, person is released from quarantine as he or she was not infected.
  18. I suggest gloves made of copper/silver/gold wires for a start. Also having UV light (preferably with solar panels) at home for disinfectation is a good idea. A list of metals with biocidal effect is available here: https://en.m.wikipedia.org/wiki/Oligodynamic_effect "The metals react with thiol (-SH) or amine (-NH(1,2,3)) groups of proteins, a mode of action to which microorganisms may develop resistance. Such resistance may be transmitted by plasmids.[2]"
  19. Are you familiar with the Miller-Urey experiment? https://en.m.wikipedia.org/wiki/Miller–Urey_experiment and equivalent experiment of making RNA and DNA building blocks? To create adenine you just need 5 HCN and electricity e.g. thunderstorm. It took billions of years after the first single cell microorganism appeared on Earth, before they began to cooperate in a multicellular form of life. Earth like planets with existing life forms might be extremely deadly place with unknown lethal pathogens.
  20. It depends on country. e.g. until 13 March 2020 South Korea made 210k coronavirus tests to find out 8k infected individuals which gives ratio 1:26 = 3.8%. I proposed similar method to locals to mix samples and use of binary search algorithm.. Analogy, if you have one black paint can and nine white paints cans, you can mix them together (just tiny bit of each). If result is not white anymore, but slightly greyish, there had to be one black in them, but you don't know which, so there is needed to split cans by half and repeat with new samples. Instead of O(n) operations it will be done much faster. It has sense only if there is many negatives.. An analysis of money delivered every day to banks from shops and individuals can reveal whether there are any unaware infected people in the community.
  21. In my opinion decrease of working hours of malls will extend queues and crowds inside of shops and increase chance of getting an infection.. People should concentrate only on the most, absolutely the most important items to limit time spend in crowd. Grocery shop owners could make just a couple standards of bags with groceries. It could be easily automated. If client goes to McD or BK does not tell staff how to prepare his or her burger. Receives single standard one from the menu. Result is quick visit and go.
  22. Like the entire history. . It is written by survivors and winners i.e. heavily biased.. exaggerated victories, diminished loses, gaps filled by guesses or made up stuff etc.
  23. ...you should know pretty good it is not necessary... bioterrorist can just infect anybody and they will unaware spread it further to elders.. Such unaware infected person without any symptoms is the most dangerous.. Bioterrorism is not novel. It was used in ancient and medieval times. During castle siege parts of infected meat were catapulted to inside and its crew had to surrender or die from illness. Poisoning of arrows, rivers or wells are another examples of bioterrorism. I am quite surprised that part of you simply started mocking from Airbrush. It is serious hypothetical problem. Even if something like this would happen it won't be possible to figure it out after the fact. No evidence will remain after the fact it was made on purpose. Terrorists don't want just to kill as many people as they can. It is easy part. They want people to be afraid of losing life in some spectacular unexpected event. Something which will be in newspapers. So they are picking methods which will be on frontpages. Casualties are not priority.
  24. There is a couple known examples of people who started on purpose infecting people with HIV. They knew that they have it and still continued having sex without protection with unaware partners.
  25. Perhaps if somebody is chilling so much, he or she is stressed after work and wants to relax, therefore spending time at night on entertainment.. That's good. There is needed healthy balance between intellectual work, physical activity and entertainment.. You don't? Intellectuals during training are still able to think about their work. Programmers do it very often. Recently I read articles how people too much concentrating on their work and career quickly are becoming exhausted and starting having occupational burnout.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.