Jump to content


Senior Members
  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Sensei

  1. My point is that you have no idea what is going on the world.. therefore making untrue claims.. Today news from Ecuador: "Bodies are being left in the streets in an overwhelmed" https://edition.cnn.com/2020/04/03/americas/guayaquil-ecuador-overwhelmed-coronavirus-intl/index.html 10 mln jobless people in the US. Within two weeks. https://www.cnbc.com/2020/04/02/weekly-jobless-claims.html 15% jobless rate in Norway. The first time from the end of II world war. https://www.reuters.com/article/health-coronavirus-norway-unemployment/norways-unemployment-soars-to-record-14-7-of-work-force-idUSS8N2BJ039 Tell me. For how long do you think they will have money to buy food? The majority of people, in the majority of countries, lives from the weekly check, to the next weekly check, and after week without job won't have anything left.. Better to be prepared for the worst that did not come, than being unprepared in the moment when it happened.. Do you know what I suggest people here? To buy seeds and cell seeding trays.. Just to be prepared for shortage of food.. This can happen very quickly. Entire agriculture relies on extensive usage of energy. Shortage of fuel supply (e.g. because of collapse and anarchy in the country on the opposite side of the world, which used to sell your country fuel) will cause that harvesters and other agricultural devices won't work at full power, and trucks, and factories, won't deliver enough food to shops to feed the all people.. Therefor for many, many, years, I was "asking" to move to renewable energy sources. To be prepared. Now you are not prepared. Did you see my posts where I said that Japan is importing 60-70% of the all consumed food? I said it in many threads. They also have no natural energy sources. They are not prepared for lockdown of the entire world, and collapse of global trade. Collapse and anarchy in countries which export food to Japan, can cause mass starvation of Japanese people.
  2. Lockdown of the country causes that normal people do not go to parks, streets are empty, etc. etc. and leave no things that homeless people search in trashcans to sell them to get money..
  3. Are you mocking? Or are living in the parallel Universe to the rest of this world? I know homeless who have no food nor money to buy food and cannot even search for beer bottles and beer's Aluminum cans in trashcans because of lockdown of the country.. One thing I can agree with in your post..
  4. Names of researchers you can find in this article. https://www.telegraph.co.uk/news/health/news/8698244/Sun-sea-and-shrinking-brain-power.html
  5. 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.
  6. 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
  7. 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..
  8. 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.
  9. 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.. ?
  10. 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.
  11. You made my day with this article. This world needs true, honest, anonymous, not for likes, videos and public applause, generosity.. #fishandchips4all
  12. 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.
  13. 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.
  14. e.g. while loop checking whether any of two threads is alife (rather than just for one). Use logical or operator.
  15. 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.
  16. @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.
  17. 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.
  18. But what can guarantee electrical isolation? It is just a matter of exceeding breakdown voltage of whatever medium we are taking into consideration.
  19. 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.
  20. 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.
  21. 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.
  22. 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]"
  23. 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.
  24. 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.
  25. 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.
  • 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.