Jump to content

Sensei

Senior Members
  • Joined

  • Last visited

Everything posted by Sensei

  1. When you have virtually a monopoly on the market, almost nothing can throw you out of it. Your company is the market.
  2. Private companies have even less patient managers..
  3. Shouldn't you give the angles of each polarizing filter independently, such as alpha, beta and gamma? Did you mean that A alpha = 0, then B "theta" (given by you), and then C gamma = 90? 50% of the photons will be after passing through filter A (and 50% of the photons will be reflected).
  4. Private business does it to make money. The government doesn't necessarily. You haven't shown what private companies are supposed to make money on in space. The business of launching and managing satellites is carried out by private companies. However, it does not require any human assistance in space. Rockets are small because they don't need to carry 90 kg of human body x number of crew + all the stuff needed to keep them alive = tons. They just need to carry a few kilogram satellite. The cost of a rocket launch is counted in millions, not billions of dollars. Asteroid mining? 1 billion dollars / 1800 usd/gold ounce = 555555 ounces * 31.1 g/ounce = 17277777.8 g / 19.3 g/cm^3 = 895221 cm^3 = 0.89 m^3 i.e. to get even for every 1 billion of launch costs they would have to find 100% gold asteroid with size near 1m^3 Finding too much of it (which is really doubtful), could destabilize the earth's stock market (just as gold from America did to Spain and Western Europe hundreds years ago). Gold mining on Earth is 4,000 tons per year. On Earth, it is easier and less risky.
  5. No, you do not work.. ...then show your not optimal code....
  6. https://en.wikipedia.org/wiki/DNA_computing
  7. ..it's hard to believe that people who write "Caution: Contents Hot" on a cup of coffee have flown to the Moon..
  8. A humanist would say the opposite.. When I see "a sea of words" without math, or a trace of it, I simply ignore it because it is "word salad"...
  9. How many votes does it take to become president of the United States? https://en.wikipedia.org/wiki/2000_United_States_presidential_election "The recount having been ended, Bush won Florida by 537 votes, a margin of 0.009%. [...]" ...You should learn from the past: https://en.wikipedia.org/wiki/Sulla
  10. When you do nothing, I do everything.. His constituents don't read the internet.. at least not the one that would report on it.. The well-informed, well-educated, well XYZ think they are reaching their audience, while this is not the case....
  11. Wind can also accelerate a thing, depending on the direction. Airplane pilots often use this knowledge to reduce fuel consumption during flight. (Taking off and landing against wind direction is another story)
  12. You learn from mistakes. Your own. Or others'. You can say "don't try it at home" to a significant amount of chemistry..
  13. Not without a reason Humphry Davy had an accident and Faraday had to replace him: https://en.wikipedia.org/wiki/Humphry_Davy#Laboratory_incident
  14. Electrolysis of molten NaCl (or any other salt with a Chlorine atom), not necessarily electrolysis of an aqueous solution of that salt. e.g. When sufficiently high voltage and current are used, Chlorine gas is released.. which you need to capture.. The burner is needed only at the beginning, then everything works on its own using electricity alone. ..which we ignore during electrolysis of brine.. Because we're interested only in Chlorine, or Chlorine and Hydrogen. It will be used to make HCl.. ^^^^
  15. That's yet another question. The easiest way to answer it is when someone uses a biofuel: bioethanol. When someone uses the word "fuel" it is too ambiguous. 5L/100km, liters of what? You can't burn less than one molecule. But it can be only partially oxidized (i.e., releasing only part of its potential energy).. As an exercise, try doing it with ethanol ("biofuel").
  16. When a chemist wants to have breakfast with eggs:
  17. Look on the Internet for how to make HCl and learn how to do it. I think it is easier at home than sulfuric acid. NaCl is cheap, and the only cost is the electricity bill (which can be reduced, for example, by using solar panels).
  18. Why use such an arbitrarily large unit as millimeters? You can use nanometers, picometers, or even better, calculate how far a device will travel per molecule of fuel..
  19. Just use stronger acid with salt of weaker acid.. https://www.sigmaaldrich.com/technical-documents/technical-article/chemistry-and-synthesis/acid-base-chart Use stronger acid than H2SO4..
  20. The mission failed.. forgot to say "I'll be back"....
  21. You touch paper money or door handles every day, right? And you don't panic about it? Then there is no reason to freak out about a used laptop.. ps. You should worry about computer viruses and Trojan applications on it..
  22. Antiscientist.
  23. Without the time parameter, we don't know when someone said something and when the system sent any message, so you can only insert element at the end of the list. Here is the working Python code: #!/bin/python user_comments = [ { 'user': 'Alice', 'message': 'Hello!' }, { 'user': 'Bob', 'message': 'Hi there!' }, ] system_messages = [ { 'message': 'System message 1' }, { 'message': 'System message 2' }, ] for msg in system_messages: user_comments.append( { 'user': 'system', 'message': msg[ 'message' ] } ) line=1 for msg in user_comments: if( msg is not dict ): #print( "Converting.." ) msg = dict( msg ) print( str( line ), "User", msg[ 'user' ], "Message", msg[ 'message' ] ) line += 1 print( "OK" ) I added a special user system for convenience. In real web development, it should use a database such as MySQL. https://www.w3schools.com/python/python_mysql_getstarted.asp This is a list of dict objects that are not understood as a dict until the dict() function is used (at least by my Python v3.x) https://docs.python.org/3/tutorial/datastructures.html#dictionaries This also seems to work: #!/bin/python user_comments = [ { 'user': 'Alice', 'message': 'Hello!' }, { 'user': 'Bob', 'message': 'Hi there!' }, ] system_messages = [ { 'message': 'System message 1' }, { 'message': 'System message 2' }, ] for msg in system_messages: user_comments.append( msg ) line=1 for msg in user_comments: print( str( line ), end=' ' ) for key in msg: print( key, msg[ key ], end=' ' ) print() line += 1 print( "OK" ) (but msg won't have the "user" key of course, you would have to verify it before using it)
  24. This is not exactly what I said. My phone shut down due to battery drain. Every attempt to restart it ended in failure. It failed because the operating system could not save a certain file during the startup process. Free space was counted in KB, not MB. It doesn't matter. It's actually worse because it is Linux. I can cause Linux to stop working without any problems.. I even gave an example with Linux on Live flash drive. Try dd if=/dev/zero of=file bs=16M status=progress or dd if=/dev/random of=file bs=16M status=progress ..and wait until the entire disk is full.. Exactly. That's why Windows pre-allocates space in the hidden files hiberfil.sys and pagefile.sys They are the size of the RAM. So if you have 24 GB, it will be 48 GB lost from the primary partition. You can regain this space by in admin mode: powercfg -h off but machine won't hibernate anymore. You can also turn off the page file and get double the space (for example, 2x 24 GB). I do this often on 120 GB drives, because the loss of 32-48 GB is unbearable.. Every operating system is vulnerable to such attacks. Especially customer devices. It's just a matter of how much exhausted physical memory and storage is needed to operate. ..we are talking about free space counted in kilo bytes.. BTW, 10, 100 MB, 1 GB, 100 GB (does not matter!), free memory, does not guarantee the correct operation of the application if it needs it as a continuous memory region.. Memory can be fragmented. https://en.wikipedia.org/wiki/Fragmentation_(computing)
  25. If something interests you in the series, you can always search the web to expand your knowledge about it.

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.