Jump to content

Sensei

Senior Members
  • Posts

    6996
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by Sensei

  1. LOL. Run-length encoding is 1000x simpler than Huffman's algorithm... Did I read right? March 2024? Not 2023? Finish at least one project before you think about a new one.. If you do it right, i.e. virtual classes and methods, adding any other compression algorithm should not be a big problem..
  2. A free neutron from Uranium hitting Deuterium from heavy water? (just guessing the OP's way of thinking)
  3. ..it's not easy when gay men come and start hitting on you.. which happens several times a year (if it's winter), or every month (if it's summer).. The last time I had such an "accident" was a week ago.. ps. Don't you feel like a "chick" who refuses a man who wants you? ps2. No homophobe here, I gently decline.. e.g. "I'm sorry, you're a great guy, but not my type," etc.
  4. Sometimes. Millions years ago. Sometimes. Millions years ago. It is true, but irrelevant to human-made global warming due to usage of fossil fuels.. "Global warming" is not about change on the Earth (which does not bother about such things, being just a planet), but a devastating change that will kill most humans, animals and plants. If you dramatically change the environment, living organisms will not survive, most of them. They are not accustomed to the new environment.
  5. The Chinese and Japanese could not conquer the world - they spend too much time on paperwork:
  6. The Sun provides energy, some of the photons are reflected straight away, some are absorbed by the atmosphere, some by the earth and water. The land and water then cool, raising the temperature of the atmosphere. Any additional unexpected gas in the atmosphere can be considered a "greenhouse gas," because its mere presence prevents the Earth from cooling to cosmic space.. When fossil fuels are burned, air O2 with 32u mass is replaced by CO2 with 44u mass. The greater mass of a molecule can accommodate more energy per molecule. So you took 3000 ppm subtracted 400 ppm, got 2600 ppm, then divided by 200 ppm, and got 13° difference just because "the atmospheric co2 has increased by 200 ppm which would result in a 1° F increase"..
  7. Doubtful. Tritium is an isotope we want more of rather than less of. It is/will be used in fusion reactors. ..in capitalism everything is a business.. if you can get a job done in 10 years, you'll get it done and have a big payday, instead of getting it done in 1m and having less.. Spent nuclear fuel rods can still be useful, so they keep them that way for years and make money from it..
  8. Make your own web browser extension which scans for specified text which you don't want to see. Here is example project: https://www.freecodecamp.org/news/write-your-own-browser-extensions/ Add, for example, the display:hidden attribute to the entire paragraph with specified text, and it will disappear (but still take space).
  9. ..are used to simulate bots/AI.. not for rendering graphics or anything like that (extensive processor)..
  10. People use Unity and Unreal engines to develop games. They are indeed written in C/C++. But do you ("beginner") really want to make your own game engine? I don't think so.. Having such heavy projects at the beginning of the journey would most likely put you down.. Scripts that extend game engines are usually written in C# and Python. These days, to make a game you need 3D assets and/or 3D gfx artists, and almost no programming skills. C/C++/C#/Java is 75-90% the same stuff. Unless by "learning language" you meant "learning built-in and 3rd party libraries/modules/extensions". Really, you find out what libraries are available when you create a project. For example, you need to open a file, you search the web for "how to open a file in [the language you are writing the project in today].". You can't learn all the methods/functions from all the libraries in advance, because programmers (counted in the tens of thousands) create these libraries faster than you can read them. Really, start writing program, instead of talking about it. For example, follow this tutorial ("how to create a calculator in C#"): There are many such tutorials: https://www.youtube.com/results?search_query=how+to+create+a+calculator+in+C%23 The difference between this C# code and C++ Managed (C++ which uses .NET Framework) is marginal (99% the same).
  11. This thread could be in the physics section.. One could also ask: Why do submarines look the way they do? Why do airplanes look the way they do?
  12. Use the right tool for the right type of work you intend to do. If you want to write end-client Windows applications (freeware,shareware,commercial, sold to individuals or companies) then you should consider using C/C++/C#/C++ Managed If you want to develop front-end web-server applications (installed on a virtual hosting service) then you should consider using PHP (it will generate HTML, eventually CSS, eventually JavaScript, eventually other file-formats). PHP is installed on all/most virtual hosting services (other technologies are not) If you want to develop back-end web-server applications (installed on a dedicated server) then you should consider using Bash, Python, Perl, CGI (obsolete, it's compiled C/C++), jNode (server-side JavaScript) and endless list of new technologies. Actually, you can use any language to generate HTML/CSS/JS for users (visiting WWW), because you own the dedicated server and can install anything (unlike virtual hosting, where you are limited to the software installed by the IT company where you bought the hosting). If you want to develop applications for smartphones then you should learn (Android) Java, Kotlin, (iPhone) Swift. To start, install Visual Studio Community https://visualstudio.microsoft.com/pl/vs/community/ and use one of many template projects. Nowadays, people use GPUs (OpenCL,CUDA) to accelerate applications.
  13. Sensei

    HTML

    ..only if you have a dedicated server.. but on a dedicated server, you can use any language to dynamically generate HTML/CSS/JS on the fly.. Java applets are no longer supported by web browsers (client-side).
  14. Don't you see your error? Did you see and read articles from my links? (below attached 2nd time)
  15. ..you must be smart.. Programmers solve problems such as these every day.. Check how Flight Radar works: https://www.flightradar24.com It does the same thing, but for all aircraft. If you know the aircraft's unique identifier, you can even use Flight Radar data. How to get a unique aircraft identifier? Find out from social media what a person is doing, where is in a few days, weeks, and analyze Flight Radar history..
  16. "We are all Scots." - To paraphrase Kennedy.. or "We are all Ukrainians."..
  17. R? Octave? Never heard of.. Write it in C/C++/Java/JavaScript or so.. Write in a computer language you know. Where is the problem? The homework section of this forum is not for answering questions.. it is meant to help you figure things out on your own..
  18. ..but US is not the nation.. Find a person on the street in New York, you'll get "I'm Jewish," "I'm Italian," "I'm Chinese," etc. In Chicago, they will say "I'm Polish".. The only ones who have no idea where they came from are the descendants of slaves who were captured by force or trickery and enslaved..
  19. @Capiert https://www.google.com/search?q=earth+orbital+speed+at+perihelion https://www.google.com/search?q=earth+orbital+speed+at+aphelion Have you ever seen a pendulum ? Is its speed highest at the highest point (=far from the center of the Earth) ?
  20. A false sense of security.. Windows 10 has a serious security bug that no one knows about (because if they knew, they would have fixed it; every time I download a new Win10 ISO, I check if they fixed it or not)..
  21. Physically, the molecules are practically unique. i.e. if there is not a single change in the atoms arrangement, there are still differences at nuclear level, Hydrogen occurs with several different isotopes (H-1, H-2, H-3), Carbon (C-12, C-13, C-14), Oxygen (O-16, O-17, O-18), Nitrogen (N-14, N-15).. The number of permutations in DNA is astronomical.. Of course, basic DNA test won't show this.. Targeted enrichment can be used in research: https://www.nature.com/articles/s41598-017-04404-2 https://www.google.com/search?q=targeted+enrichment
  22. If you really need it badly, you can install VirtualBox, download an older Windows ISO image file and install it on the virtual machine. Older Windows has older web browser e.g. Win7 has some IE.
  23. Some scripts check if you are entering from the correct referrer and if not, do not allow you to view the content. Some scripts check whether the user is logged in (i.e. typically proper cookies must be sent).
×
×
  • 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.