Jump to content

Sensei

Senior Members
  • Content Count

    5829
  • Joined

  • Last visited

  • Days Won

    13

Everything posted by Sensei

  1. Are you familiar with word "ecliptic"? https://en.wikipedia.org/wiki/Ecliptic https://en.wikipedia.org/wiki/Ecliptic_coordinate_system
  2. Purpose of scientific documentary TV show is to awaken of interest of person who has none or little knowledge in a field it is about. Promotion of science and knowledge among a wider audience, who would not be otherwise reached. Doing it in a boring way will have exactly reverse effect than intended (which many primary and secondary school teachers do).. The desire to know is the natural state of mind of every newborn living being. To understand entire environment and world around. Competent teacher stimulates and wisely expands this state of mind. A bad teacher (e.g. the most likely one who ruined his or her career in the field, and finished up "on exile" in school as teacher) can ruin this state..
  3. They would have to be DESIGNED to work together since the beginning by producer of paint.. Flat, matte or satin paint from definition have little or no gloss.
  4. Your brand new TV, phone, car, house, cloth, etc. etc. are waste (waste-to-be) too... it is just a matter of time.. just wait a couple years, or a couple decades..
  5. But they are easier to maintain by staff. Dust and dirt do not attach to it so easily..
  6. A couple layers of transparent glossy paint on top?
  7. You should do research what China is importing from the world, to be able to answer your question. https://www.google.com/search?q=china+import+from+world e.g. http://www.worldstopexports.com/chinas-top-10-imports/ "Electrical machinery, equipment: US$496.8 billion (24% of total imports) Mineral fuels including oil: $343.6 billion (16.6%) Machinery including computers: $190.3 billion (9.2%) Ores, slag, ash: $163.6 billion (7.9%) Optical, technical, medical apparatus: $98.7 billion (4.8%) Vehicles: $75.1 billion (3.6%) Plastics, plastic articles: $71.6 billion (3.5%) Gems, precious metals: $60.5 billion (2.9%) Organic chemicals: $57.8 billion (2.8%) Copper: $40.8 billion (2%)" They need dollars/euros/gold/whatever valuable, to pay world for the all these goods. Say, if import is X in Y currency, and export is X in Y currency. Y is really meaningless, as entire transfer of money can be replaced by pure exchange of goods.
  8. Ah, a is already premultiplied by y.. so, correctly I should write: b = x - a;
  9. In binary numeral system, to clear the least, or the most significant bits, there can be used bitwise AND operator e.g. in C/C++: a = x & ~( 1 << y - 1 ); and to get reminder there can be used yet another bitwise AND operator e.g. b = x & ( 1 << y - 1 ); In the normal circumstances you (or CPU) would have to do modulo e.g.: a = ( x / y ) * y; and e.g. b = x - a * y; Multiplication and division by arbitrary integer are slower than bitwise operators.
  10. Multiplication or division by 2^x can be replaced by bitwise left shift or bitwise right shift. https://en.wikipedia.org/wiki/Bitwise_operation They are extremely fast, in comparison to regular multiplication or division by arbitrary integer (not to mention floating point).
  11. Angela "opened borders" to help southern European countries to solve problem of illegal immigration, taking part of the ones that arrived to Italy and Greece and other countries. It was movement of solidarity with involved European countries. Flood of migrants, who don't know language, don't have work, don't have money, can disrupt any country, and nationalists or other populist parties can win the next election, promising people fight with immigrants, which won't do any good.. The situation of refugees is even worse in the Middle East. For example Jordan has 10.4 million citizens and 1.3 million refugees from Syria.
  12. You can make chlorine gas from the first molten NaCl (above 801 C) and then electrolized liquid.. but it is dangerous, toxic, inefficient and pricey way to get some HCl and HOCl (they are products of chlorine gas and water). You will need to separate them at the end. Search net for "electrolysis of molten NaCl".
  13. The most obvious way is to print to file in the application which you are using to create text file e.g. Word, WordPad, browser etc. etc. Then just use network public shared location to store these files.. Virtual Printer is software that you download and install on the server machine, which will be pretending true printer for clients. https://en.wikipedia.org/wiki/Virtual_printer https://en.wikipedia.org/wiki/List_of_virtual_printer_software Client machine and client application connects to server machine, thinking it is true printer, but it is virtual printer, which just stores file on disk.
  14. Photons are particles. Matter are particles too. Just different kind. Protons, neutrons, electrons mostly. In the matter conservation law you count the number of Baryons and Leptons (and charges) on the left and right side of the equation and they must match. It is used to properly balance chemical equation, prior and after chemical reaction. The number of Baryons (protons and neutrons together) is almost matching Dalton unit: https://en.wikipedia.org/wiki/Dalton_(unit) e.g. average mass of Carbon is 12.011 u. Baryon number of Carbon C-12 is 12. 6 protons + 6 neutrons. These 0.11 u difference is caused by presence of very little amount of Carbon C-13 and minuscule amount of Carbon C-14. Photon has Lepton, Baryon and charge numbers equal 0. Electron and positron have Baryon number equal 0. Electron has Lepton number +1. Positron has Lepton number -1. Electron has charge -1. Positron has charge +1. Prior annihilation we have electron and positron with leptons +1-1 and charges -1+1. After annihilation we have two gamma photons with the all 0.
  15. @Netra77 Listen Strange (and me) and download text editor for programmers and webmasters. I am recommending ConTEXT. http://www.contexteditor.org/downloads/ It will highlight properties, attributes, tags etc. If they are improperly entered, highlighted is entire text below troublesome area.
  16. No. The proper, modern, CSS-way is to do it inside of CSS file. And you should read and use CSS properties float, clear, overflow for such task. Read post from this morning. And the all links that I gave. There are examples of usage of these CSS properties.
  17. If we enter developer mode in web browser we can see reason for errors e.g. which resources are missing, improperly closed tags etc. Firefox showed me this: Do you understand? Browser MERGED these three tags together interpreting them as one.. .abc class should be BLUE, according to CSS, but on my 1st screen-shot it is BLACK. Web browser didn't find <p class="abc"> as tag due to improperly closed double-quotes in <img> tag.
  18. You should pack entire folder to zip and attach in reply. Not copy'n'paste code.. Anyway. Here is how it looks on my Firefox: After changing error mentioned by Strange in line 12 to: </h1><br><img src="ian.jpg" height="370" width="300"> and changing line in CSS file to: .top{color:yellow;} How it should looks like? How it looks like on your machine/browser? There is yet another error... It requires url( 'filename' ); See how to use this property properly: https://www.w3schools.com/cssref/pr_background-image.asp
  19. Did you mean declaration of data type of variable or constant by programmer? Declaration of data type informs compiler or interpreter what is data type, so there is no need to guess it at run-time, and there is no need to use generic data type. There are existing computer languages which don't require declaration of data type by programmer, but result is that they are much much more slower. For instance some such computer languages treat the all variables and constants as strings. You can store integer, float, double, boolean and string, just using string. If we add two strings they are concatenated. If you add two integers/floats/doubles which are strings internally, computer must convert string to integer/float/double first, add them together, then convert them back to string. Much much more slower code. The main reason: it is optimization. To have fast code.
  20. BTW, you can replace the <img> tag by <div> or <span> tags, with id and/or class attributes, and then control the image URI from inside of the CSS file (using background-image property), instead of encoding it permanently it in HTML. Then attach your the real code... We need to be able to see what you see on your browser's. Did you try float: none etc. ? https://www.w3schools.com/css/css_float.asp It controls whether the next section (in your case paragraph) after the image will be on the right, left, or below etc. Also worth trying, if you have not already, clear and overflow properties in CSS: https://www.w3schools.com/css/css_float_clear.asp https://www.w3schools.com/css/css_overflow.asp
  21. Lack of ending double-quotation mark. It should be: <img src="sth.jpg">
  22. Are you familiar with mathematical summation? https://en.wikipedia.org/wiki/Summation If t is array/list of elements/pointer to memory etc. j is index to element. And tj is value of element i.e. t[ j ] in computer language. So summation of array etc. is e.g: int *t; int sum = 0; for( int j = 0; j < length; j++ ) { sum += t[ j ]; } However, in the special cases, if tj is always constant it can be replaced by multiplication (addition of the same value multiple times).
  23. Sensei

    Crackpot Bingo

    "Registration of many sock puppet accounts to be able to upvote the main account posts to pretend somebody is agreeing with them"
  24. Executable file is opened in read-only exclusive mode which means no other process can modify it until it is running. Linker, which is invoked at the end of compilation process, will be unable to save new executable file with the same file name.
×
×
  • 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.