Jump to content

Sensei

Senior Members
  • Joined

  • Last visited

Everything posted by Sensei

  1. Biofuel is mostly ethanol. Biofuel has one large disadvantage: if farmers earn more from plants for biofuel, they don't produce plants for food. Which can lead to increased price of food for people and farm animals.. Ethanol can be dehydrated to ethene and used for production of plastic and other organic compounds.
  2. If UV light has enough energy to destroy microbes, it probably also has enough energy to damage pigment molecule in colorful clothes. So it will limit its usability only to perfectly white clothes..
  3. 1) decrease mass of car/vehicle and fuel usage per kilometer will drop too. Engineers can use e.g. Aluminium alloys, Magnesium alloys, carbon fiber etc. And these technologies are used in more expensive cars. 2) use KERS to recover kinetic energy of cars during braking. 3) city electric cars don't need extra large battery (i.e. decreased mass of car), if they can be wirelessly and/or quickly charged on/by road e.g. waiting on traffic lights. And alternatives: 1) More home office = less traffic = less people killed on roads = more time spend with family and friends. 2) Free (and electric) public transport = less traffic = less killed on roads = controlled creation of energy & pollution in power stations. 3) creation of alcohol from air CO2 and water in special factories and usage instead of oil fuel. Oil & gas industry wants to increase carbon fuel usage, not limit it.. If behind a series of financial institutions controlling car making companies are also owners of oil&gas companies, decreased fuel usage of cars will affect their other investment.
  4. ex-POTUS: https://edition.cnn.com/2021/04/18/politics/trump-afghanistan-troop-withdrawal/index.html Now they are even better armed than they were in 2001, because they got free of charge weapons given them by Afghan militarians who surrendered without any action.
  5. If it is RFC, you don't have copy-constructor (input other recomplex), assignment operator (various inputs), comparison operators (various inputs). The number of dimensions you can try to implement using C++ template class instead of hard-cording constant value with macro.. In the division operator and some other places, you don't check to see if you divide by zero, which can lead to an exception and a code crash. It would be also good to implement +=, -=, *=, /= operators etc.
  6. @wotsallthisMeasure voltage of the battery (using a multimeter or voltmeter) to see if it is not exhausted.. An exhausted battery can lead to incorrect sensor readings. It should not display all the contours, just the right one: Perhaps it is not -34 C but some LEDs are damaged and turned on all the time, just giving impression of incorrect value.. I did it for you: Auriol Z 31915 https://www.manua.ls/auriol/z-31915/manual English starts from page 120: https://www.manua.ls/auriol/z-31915/manual?p=120 Probably battery is exhausted. Measure voltage and replace by fresh new one..
  7. I think it should have comma at the end of the sentence, not semicolon. [x] := If [{((x ^ 3 * pnp^2) / (pnp^2 + x) - x^3) < 1.0}] This line of code does not follow If[] statement format. It should be If [ condition, true, false ] Your code has no two commas.
  8. Weed and whisky are often (ab)used by people with bipolar disorder. https://en.wikipedia.org/wiki/Bipolar_disorder "The onset of a manic or depressive episode is often foreshadowed by sleep disturbance.[31] Mood changes, psychomotor and appetite changes, and an increase in anxiety can also occur up to three weeks before a manic episode develops. Manic individuals often have a history of substance abuse developed over years as a form of "self-medication".[32]" Alcohol and weed are known depressants. https://en.wikipedia.org/wiki/Depressant "A depressant, or central depressant, is a drug that lowers neurotransmission levels, which is to depress or reduce arousal or stimulation, in various areas of the brain.[1] Depressants are also occasionally referred to as "downers" as they lower the level of arousal when taken. Stimulants or "uppers" increase mental and/or physical function, hence the opposite drug class of depressants is stimulants, not antidepressants." i.e. a person with bipolar disorder (or other mental illness) wants to decrease nervous activity of the brain.. An unaware stranger observing such a person just sees his or her the drug abuse, not understanding what is happening in the brain (which requires e.g. MRI)
  9. It is typical for chatbots.. Scan more data..
  10. The salary depends on the country, province, city, company, knowledge (i.e. apprentice / junior / senior / manager). Ask students from your year about their earnings in the companies where they found work. A junior programmer (i.e. the first job after graduation) can get up to 1/3 of what the senior earns.
  11. I would start from benchmarking how long it takes to render: 1) completely flat solid color triangle by drawing each pixel by pixel manually. 2) triangle which has every pixel color taken from your algorithm as-is without any attempt to optimize it. So you will know how much CPU spends time on drawing pixels, and how much it spends on your algorithm (the difference between 2 and 1). Search for alternative functions instead of drawing pixel by pixel. e.g. Windows GDI has SetPixel() for drawing pixel by pixel: https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-setpixel which is the most inefficient way of drawing anything on screen. But there is very fast SetDIBits() https://docs.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-setdibits and even faster OpenGL and DirectX, if you will generate texture and use it on triangle.. Place function getting current system time at the beginning. Typically you will get it in milliseconds. And place yet another instance of it at the end. Subtract both and you have time in milliseconds. If it is a few milliseconds, make a loop for inner code, 10, 100, 1000 etc. repetitions, to get more accurate result. Did you try using UseBuffer and PaintBuffer? They seem to create off-screen double-buffer, which is copied at once when you call PaintBuffer: https://education.ti.com/html/webhelp/EG_TINspireCode/EN/Subsystems/RG_Nspire_EN/Content/M_RefGuide/RG_DrawCommand.htm#UseBuffer https://education.ti.com/html/webhelp/EG_TINspireCode/EN/Subsystems/RG_Nspire_EN/Content/M_RefGuide/RG_DrawCommand.htm#PaintBuffer If you will calculate sqrt(( r1-r0)^2+(g1-g0)^2+(b1-b0)^2) you will compare change of brightness. e.g. r0=g0=b0 r1=1,g1=0,b1=0 will give exactly the same result as r1=0,g1=1,b1=0. To measure color difference, instead of brightness, you could convert RGB->HSB/HSV color space, and check Hue variation (+- some threshold).
  12. Someone who seeks revenge is not seeking peace, but justice (typically a subjective version of justice). But some people are still in the "eye for eye and tooth for tooth" stage. Most people, actually. Politicians, nationalists, fascists, communists, priests, use it as tool to incite people against other country, against people from other nationality, race or worship, for true or fake wrongdoings of people in the past (even dozens or hundreds years ago). How such a "simple minded person" can gain peace, if politicians repeatedly recall "the crimes of fathers/grandfathers" (etc. people long time dead by now) from neighborhood country.. ? It starts on history lessons at school..
  13. How are you rendering triangle? 1) OpenGL/DirectX? 2) Drawing pixel by pixel in GDI?
  14. Physically, there are only photons with wavelengths from 400 nm to 700 nm or a mixture of them, e.g. perfect white is the same amount of each wavelength. Brightness is result of quantity i.e. dark grey is the same as white, the same/similar composition, same amount for each wavelength, but with smaller quantity. It depends on the human eye, or device, which decide were is point of maximum saturation (maximum quantity) Due to the way human eye is build, we can detect "true" yellow from photons with a wavelength ~580 nm, or "fake" yellow i.e. a mixture of red photons with a wavelength ~650-700 nm and green photons with a wavelength ~550 nm. Computer color spaces have maximum saturation when they reach 255 (in RGB 24 bit, ARGB/RGBA 32 bit). Physically there is no such limit. Therefor programmers created HDRI technology/technique/formats, which can store colors in a floating point format. https://en.wikipedia.org/wiki/High-dynamic-range_imaging
  15. If we have inputs: Ra, Rb - initial ratings K - K-factor, typical value 16, 20, 32. Check Wikipedia Elo article for a more details. W - 1 win of A, 0.5 draw, 0 win of B. Elo rating calculation algorithm is: Qa=10^(Ra/400) Qb=10^(Rb/400) Ea=Qa/(Qa+Qb) Eb=Qb/(Qa+Qb) Ra'=Ra+K*(W-Ea) Rb'=Rb+K*((1-W)-Eb) Ra', Rb' - output ratings So, if A wins, and if Ra=Rb=1500 and K=20, Qa=Qb, and Ea=Eb=0.5, Ra will gain +10 pkt, Rb will loss -10 pkt. But if Ra=2000, and Rb=1500 and K=20, Ra will gain just +1.1 pkt, Rb will loss -1.1 pkt. If Ra=2500, and Rb=1500 and K=20, Ra will gain just +0.1 pkt, Rb will loss -0.1 pkt. Going from Ra=1500 to 2000 requires hundred wins in a row, and we can clearly see that the higher rank player has, the less pkt is added to his/her rank. Looks good to me.
  16. Calm down. I was in the middle of edit, searching for videos to attach.. writing/replaying on mobile is PITA.. Viruses (in aerosols ejected by ill people) can infect you also through eyes.. https://www.google.com/search?q=virus+infection+through+eyes https://www.thelancet.com/journals/lanmic/article/PIIS2666-5247(21)00040-9/fulltext
  17. When people ask me about masks and COVID-19, I am showing them videos captured in slow motion, thermal spectrum, comparison of how much different kinds of masks release aerosols around ill person:
  18. When we are at debunking the myths: anti-vaxxers are not the one who just don't take vaccines, but the one who claim that vaccines are on purpose secretly made harmful by some unidentified group ruling the world to harm people and cause depopulation, autism, cancer etc. etc. Basically conspiracy theory..
  19. @Theodoros Kiriakopoulos Okay. I created Elo calculator spreadsheet for you using algorithm description from the website: https://metinmediamath.wordpress.com/2013/11/27/how-to-calculate-the-elo-rating-including-example/ OpenOffice Spreadsheet file: Elo Calculator.ods I used constant K-factor 20 as it appears to be used by Omni Calculator. You can change it in the J column. There seem to be also problem with how to round fractions. Floor/ceil them or >=.5 treat as +1..
  20. https://en.m.wikipedia.org/wiki/Glicko_rating_system You should say "A team or a player who has 20 wins in 20 games may be better than a team or a player who has 40 wins and 20 losses in 60 games.".. ...because it does matter with who they played and how much gained experience.. I found elo calculator for you: https://www.omnicalculator.com/sports/elo Enter 1500 for both players. The result is 1510 vs 1490. Enter 1510 for 1st player and again 1500 2nd. The result is 1519.7 vs 1490.3. Enter 1519.7 for 1st player and 1500 2nd. The result is 1529.1 vs 1490.6. (repeat procedure) Clearly it is not what you claimed.. The larger difference between players result in gaining less for higher level player and losing less for less experienced player (if they win/lose accordingly to higher/lower ratings) Conclusion is that you did not pay enough attention studying rating algorithms.. I suggest using OpenOffice Spreadsheet or Excel or if you are familiar, some computer programming language.
  21. Don't believe in Forbes list and similar billionaire's lists too much. They take into account only what is public available i.e. current stock price.. Debts of the companies are often kept secret to not fear investors.. (regular people often do the same, have apartment and car, with 30y+ credit, but people around them have no idea it is all for credit and are jealous.. actually such person can have negative amount of money, if they would sell everything) Do you believe Amazon is mega corporation? Right? They were, quarter by quarter, losing money of investors doing retail selling business.. I have no idea how do they do it with such worldwide public recognition. Normal company, not listed on stock markets, would have to file for bankruptcy a long time ago.. They started earning money after they started AWS (aka "Amazon cloud"). I bet ya, if they have to choose business retail vs AWS, they would prefer cloud..
  22. Modern sport is a mess. In many disciplines person has to start very early, or won't be able to compete with others on Olympics level. Have no normal childhood. Doesn't go to normal school as it would collide with sport. Person who started at 8 vs person who started at 15. The first one has 7 years more experience.. Entire life is subordinated to the training plan. In majority it is plan of their parents than child. They have no normal day work job. Sport is their job. Have to search for "investors" which will give them regular monthly payments. In return sponsor receives the rights for somebody image in medias (which can be worth something in capitalistic country in the future and used for advertising, if (and only if) child sportsmen-to-be will have good results in sport and gains general public recognition). Only a few can reach to the top. The rest childs sportsman-to-be remain without normal childhood, jobless, unknown to public not widely recognizable, bitter. Without proper education and teenage social life/skills, they have problems with existence and relationships after finishing their sport career e.g. due to injury.
  23. Some sources inform that public debt of EU exceeded 100% GDP in Q1 2021: https://www.google.com/search?q=public+debt+in+europe+2021 The situation is very similar all over the world: https://www.google.com/search?q=japan+public+debt+to+gdp+ratio Japan public debt was 235% of GDP in 2019, and 256% in 2020. (Wow!) Now governments want to increase taxes to get these money back from ordinary people and enterprises (which will pass it on their customers and workers). At the same time they extraordinarily waste them on e.g. war equipment which ends up life on e.g.: The equipment used in Afghanistan, Iraq, Syria will also end up in such a graveyard. All your taxes went on (and now government debt) Governments are "persuading" financial institutions to lend them money and banks do so. Have no other choice as e.g. rates of interest (which govs control) are the lowest in the history and bonds seem to be the best way to "invest" extra money from their point of view (i.e. more reliable than customer credit or enterprise credit). Half-good if they are invested in something useful and longterm existing. But there is large amount of groups of interests behind politicians, supporting them to get to senate, parliament etc. (in US it requires 1m+ "investment") which they have to pay the bill later at office. Doing large infrastructural projects there is vast number of ways politicians, their families, their friends and friends of friends, groups of interests, can get rich and get a bit of chunk from a big pie called state budget.. Which department ever asked for less in following year than in previous? Because previous was too big to spend it all? No! They will spend everything to every penny and even exceed (and (ab)use on complete stupidities fearing to decrease year-by-year department's budged). Bottomless pit.
  24. Infinity+2 is still infinity. https://www.wolframalpha.com/input/?i=∞%2B2
  25. My version: Open 'Start' menu. Enter 'cmd'. RMB and pick up 'Run as Administrator'.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.