-
Posts
7927 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
We're in the middle of life cycle of Solar System. When Sun will start burning Helium, Carbon, Nitrogen, Oxygen and further elements, it will emit larger energy from its surface (and its radius will grow, therefor higher Watts per square meter [W/m2] of surface of planet), photons will vaporize Mercury, later Venus, and perhaps Earth. Radius of Sun could be larger than 100 mln km. When you look at some distant red giant star, you don't think about, and don't see planets that billions years ago were orbiting it. They are gone now.
-
Organic compounds that contain Nitrogen, while heating without presence of Oxygen, can decompose to ammonia. You could try these tests also: You should verify whether produced gas is CO2.. Pass it through solution of Ca(OH)2 https://en.wikipedia.org/wiki/Limewater
-
Osama was citizen of Saudi Arabia, so the same as majority of 11.IX. terrorists (15 of them)..
-
Travel time of observed VS unobserved object?
Sensei replied to pittsburghjoe's topic in Quantum Theory
I gave example of pion-0 with kinetic energy 100 MeV... So total 135+100=235 MeV to conserve.. so one detector is detecting E1=h*f*(1+v)*gamma while the other is detecting E2=h*f*(1-v)*gamma We know E1+E2 = 235 MeV We know one photon is red-shifted, while the other one is blue-shifted. Yet another parameter is delay between arriving photon at detector A, and B... The longer delay, the further distance photon had to fly in vacuum chamber. -
"According to the text of the order, the restriction applies to countries that have already been excluded from programs allowing people to travel to the United States without a visa because of concerns over terrorism. "..... In USA by itself, there is plentiful weapon-armed attacks on universities, cities, towns and so on per year, multiple times more than in Europe.. The last terrorist acts (unarmed) were in Germany, France, Belgium.. It's some crazy gibberish nonsense, if in usa somebody is going with a gun, shotgun, uzi.. start firing.. kills dozen people.. and it's not terrorist attack... and in Europe somebody else stole car.. drive it, and hit people.. and it's called terrorist attack.. In usa there is plentiful more terrorists attacks caused by people with mental problems, than the real terrorists attacks.. Then what for the all security on airplanes and airports.. ? Are there any mental problems examinations for air pilots? Are there any mental problems examinations for presidents? They're much more important.. influencing much more people..
-
Travel time of observed VS unobserved object?
Sensei replied to pittsburghjoe's topic in Quantum Theory
Suppose so we have neutral pion meson, after creation it could have some kinetic energy, and it's flying through spherical vacuum chamber.. full of detectors... After some time, randomly, it's decaying to two photons, it's the commonest decay mode of pion-0.. These photons, fly in two opposite directions, in FoR of decaying pion, prior decay, maintaining momentum (FoR).. Then these photons hit two detectors on opposite sides of vacuum chamber.. Photon A from pion hits detector A, then photon B from pion hits detector B, from delay, difference of energy, there are calculated initial pion energy + kinetic energy, and position were meson decayed.. So suppose so we have pion with 135 MeV/c^2 rest-mass and 100 MeV kinetic energy.. 235 MeV/c^2 energy to conserve.. Pion will decay to two photons 135/2 = 67.5 MeV photons, but they are in FoR of pion at rest, but it's flying in our FoR (frame of vacuum chamber)... The more energy one photon will take, then less energy 2nd photon will have, but still sum of them will have 235 MeV.. red-shift of one photon, blue-shift of second photon.. -
From Trump to Tramp... Get stocks owned by him on stock market, any price, and sell them instantly, at any price, don't be afraid to lose money, they don't exist anyway.. They are just bits on computer disks.. Fund owned by him.. ? Buy, and sell it instantly.. Let's see what happens next... ps. And sell everything what you know owned by W.Putin as well, ASAP.. and others dictators ASAP.. (when they will wiped out of this planet, they won't be dictators anymore anyway... ).. ps2. golf course? You can find it everywhere...
-
How can you get half-spin elementary stable particles starting from full-integer elementary stable particles? If you could split particle to two new particles, they were not elementary/fundamental particles in the first place.. Well, you should start from what is reality, what can be observed by naked eye: If you start from composite-boson unstable isotope, which must have full-integer spin, it will decay be emitting gamma photon, to decrease spin by 1 unit. Trying to get to its ground state. f.e. U-238, has 92 protons and 146 neutrons, so it's composite-boson, with full-integer spin (0), it's decaying to Th-234, also composite boson (spin 0), or by double beta decay minus, also to composite boson Pu-238 (spin 0).. So they don't need to emit any additional gamma photons.
-
Press knowing about what, more or less, will be conference about, should be prepared for the all possible (and even more not possible) scenario, in advance, and gather all possible data/photos/videos about subject.. Use the all possible way to encode transmission so government scums not being able to know what press is preparing it (by intercepting Internet transmission, smartphones, computers, turning on microphones, computer cameras etc. etc.) When they're revealing some gibberish or lie, instantly show the real state, and asking on conference "why are you lying? again?" And showing data that obviously contradict gibberish told by government officer/president/whoever.. in the middle of conference..
-
Who said it's low-level scientists who are problematic? Low-level, soon after graduation, like Elite Engineer, are full of energy, are full of fresh ideas (at least, they should!), just recently gained knowledge on University. They don't have wife/husband, children, yet, so shouldn't run for money and employment for any cost. Check age of scientists who made progress of science late-XIX century, early XX century, when they revealed discovery/theory. They were pretty young. Wasn't afraid to be laughed to reveal their ideas, theories. Such young people were the most influencing progress of science in the past.
-
hijack from Q regarding evolution and creation
Sensei replied to Air Between The Notes's topic in Trash Can
You can create amino acids, even the one not existing in the world naturally, repeating Miller-Urey experiment: https://en.wikipedia.org/wiki/Miller-Urey_experiment See "Chemistry of experiment" section. There is just needed carbon dioxide CO2, water H2O, and nitrogen N2. Eventually methane CH4, ammonia NH3, and water H2O. Hydrogen is primordial particle, Carbon, Nitrogen, and Oxygen are created during fusion in star. Spark in experiment, exists in the nature, it's simply thunderbolt. And source of energy f.e. volcano heating water. Source of energy for planet's core is radioactivity of unstable isotopes present in it. Every time you see thunderbolt on the sky there are created some compounds. Multiply average quantity of compounds created per single thunderbolt, by quantity of thunderbolts per year worldwide, then by the age of the planet.. Two amino acids can join together and create even longer amino acid and release water, f.e. NH2CH2COOH+NH2CH2COOH -> NH2CH2CONHCH2COOH + H2O https://en.wikipedia.org/wiki/Glycine (Gly) https://en.wikipedia.org/wiki/Glycylglycine (Gly-Gly) -
One thing we agree on. I am glad you're thinking this way. But you're trying always do everything as the less work as possible and learning involved, starting from not reading docs of C/C++ functions that you're using, ignoring reading docs I gave link to etc.. You're searching for and copying code from somebody else example, and then learning how to not do it, if they contained errors/mistakes. Like this shutdown(s,1).. You wouldn't know that SD_SEND is 1, unless you would not get this constant from some poor C/C++ example that you found on the net.. Search for examples, but when they contain functions that you never heard about, that you never used, search for their proper documentation, and read them all. You will often see that in C/C++ examples somebody not correctly used them.. f.e. didn't handle error codes to show error to user.. But you don't need SSL to do such functionality at all.. Make PayPal button to press by user. https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/create_payment_button/ It can be called from not secure HTML page..
-
How could any educated person, not only businessman, not known that the weaker economy of Mexico, the more people trying to get out and migrate to USA.. ?
-
Destruction of efforts taken to decrease global warming effects will hit you no matter where you are... And this is just the beginning ..
-
First, you should learn how to send content compressed by gzip/deflate, then multi-segment, then the next stage is to dream about the real encryption.. What we're doing on forum is not even tip of iceberg..
-
You must be kidding us... You have no idea how to make HTTP, and you want to make HTTPS.. ?! All your work, disagree with this... HTTPS don't listen on port 80 like in posts #3, #5, #12... You have no bloody idea, nor willingness to know about either HTTP, nor HTTPS... Otherwise you would be very busy reading all day long, for months, protocol specifications... Forms don't use HTTPS (HTTP-Secure protocol!). You must made yet another mistake, sending message through POST, is not equivalent to HTTPS (secure HTTP)...
-
They are the same in C. Check for example PI... #define M_PI 3.14159265... in header file math.h You can/SHOULD make your own when needed... Slightly confused, by why you might need it... You don't need/use POST at all... POST can be called only from forms, from HTML code...
-
If you made sendDateHeader() it should use sendHeader(), not send() directly, not attach CRLF by itself, don't you see it? You're reusing MAXCHAR over and over again, while MAXCHAR is not size of buffer... ps. "Appears to be working" is not enough.. f.e. error handling is way below limits... ps2. Thx, ydoaPs, but put some thought in this stuff.. I can't handle it by myself... I am writing how to do it, and then it's ignored, and made worser way...
-
Here you go. But I have no idea about what "special equipment" you're talking about. Google Earth/Maps used to work even on WinXP and single core 15 years old machine..
-
They will change skin color, but it takes many generations to preserve. It's adaptation to environment. https://en.wikipedia.org/wiki/Melanin "In humans, melanin is the primary determinant of skin color." "The melanin in the skin is produced by melanocytes, which are found in the basal layer of the epidermis. Although, in general, human beings possess a similar concentration of melanocytes in their skin, the melanocytes in some individuals and ethnic groups produce variable amounts of melanin. Some humans have very little or no melanin synthesis in their bodies, a condition known as albinism." Read also "Human adaptation" section. https://en.wikipedia.org/wiki/Melanocyte https://en.wikipedia.org/wiki/Albinism
-
Typical question on religion lesson: if Adam was the first man (and the only created, as you stated, in "unique and singular historical event"), and Eve was the first woman (suppose to be made of Adam's part of body), and they had three sons Cain, Abel and Seth, where did their wives come from.. ? (it could be repeated over and over for later generations) After that question the most of priests/religion teachers are starting reproving student.. According to: https://en.wikipedia.org/wiki/Adam_and_Eve Genesis 5 is introducing sister and wife of Cain named Awan https://en.wikipedia.org/wiki/Awan_(religious_figure) and there is Azura, also sister of Awan, so at the same time sister of Abel and Cain and Seth.. So Adam and Eve had to have at least 5 children.. And they together "exchanged their genes".. That's pretty unhealthy and since at least couple thousands years even forbidden in majority of societies. One may ask, how can somebody forbid it, if Bible clearly started from it (as long as, taking it literally, word by word)... ? For majority of world population miracle is even how computer, electronics, TV, generally world, how they work. Because they are poorly (or none) educated. Depends on whether somebody treats Bible literally, or not. Take for instance creation of Adam. "God fashions Adam from dust" Isn't very similar to creation of organic matter from non-organic matter and Earth rocks.. ? You can create organic matter by yourself performing this experiment: https://en.wikipedia.org/wiki/Miller%E2%80%93Urey_experiment "The Miller–Urey experiment[1] (or Miller experiment)[2] was a chemical experiment that simulated the conditions thought at the time to be present on the early Earth, and tested the chemical origin of life under those conditions. The experiment confirmed Alexander Oparin's and J. B. S. Haldane's hypothesis that putative conditions on the primitive Earth favoured chemical reactions that synthesized more complex organic compounds from simpler inorganic precursors. Considered to be the classic experiment investigating abiogenesis, it was conducted in 1952[3] by Stanley Miller, with assistance from Harold Urey, at the University of Chicago and later the University of California, San Diego and published the following year.[4][5][6] After Miller's death in 2007, scientists examining sealed vials preserved from the original experiments were able to show that there were actually well over 20 different amino acids produced in Miller's original experiments. That is considerably more than what Miller originally reported, and more than the 20 that naturally occur in life"
-
char* ConvertToUpper(char* szSource) { if (szSource == NULL) return NULL; int i = 0; char *str = strdup(szSource); while (str[i]) { if (str[i] >= 97 && str[i] <= 122) str[i] -= 32; i++; } return (str); } C/C++ have built-in linked libraries functions for checking whether char is letter, whether it's upper or lower letter, or to making upper or lower letter from other one.. http://www.cplusplus.com/reference/cctype/islower/ http://www.cplusplus.com/reference/cctype/isupper/ http://www.cplusplus.com/reference/cctype/isalpha/ http://www.cplusplus.com/reference/cctype/toupper/ http://www.cplusplus.com/reference/cctype/tolower/ You didn't even need it. You could use case-insensitive string comparison function stricmp() instead. //Set the current date message = "Date : "; Here you made the same error as before. There is no space after Date and colon.. const char MimeTypes[][2][128] = { (....) {"M4V","Content-Type: video/x-m4v\r\n"}, {"FLV","Content-Type: video/x-flv\r\n"} }; I would use NULL- terminated array instead of above (or better C++ classes and objects instead)... f.e. struct MIMEEntry { char *m_Extension; char *m_ContentType; bool m_Binary; // binary or text }; static MIMEEntry entries[] = { { "m4v", "video/x-m4v", true }, { "html", "text/html", false }, (.... ) { NULL }, }; Then in loop you're just checking whether entry is NULL or not, to stop enumeration.. Why don't you make function for sending headers? f.e. int send_header( socket, const char *row ) { // send row, // send \r\n } Then sending HTTP response will look like: send_header( s, "HTTP/1.1 OK" ); send_header( s, "Content-Type: text/html" ); send_header( s, "Content-Length: 123" ); send_header( s, "" ); // empty You could easily add logging there, if needed, and see what data are send to client.. while (fgets(message, 80, fp) != NULL) { send(socket, message, strlen(message), 0); } ?!?! strlen()? Image is not ASCII string... fgets() is NOT for reading binary files. It's for text files only.. You don't read documentation of functions which you're using.. http://www.cplusplus.com/reference/cstdio/fgets/ "Get string from stream" I see that you're using this code for either text files (.html, .css) and for binary (.png), so you will have to use fgets() only to text files (and fopen() in "r" mode!) and fread() only to binary files (and fopen() in "rb" mode!) Also 80 row length is way to small.. Soon you will forget you made such limit, and have longer row, and it'll fail, and again you won't know why it failed.. shutdown(socket, 1); And again the same... errNum = asctime_s(buffer, 32, &newtime); if (errNum) { printf("Error code: %d", (int)errNum); return "false"; } //open and get the file handle if ((fp = fopen(filename, "rb")) == NULL) { return "HTTP 404"; shutdown(socket, 1); } Here is also not appropriate error handling.. You have to send error to client! Through TCP/IP socket.. In HTTP response.. const char* Sendfile::sendfile(int socket, char* filename) { char dest[MAXCHAR]; MAXCHAR is NOT size of string buffer (char array)... It's equal to 127 (2^7-1 = 127) The largest signed char value. Similar like MAXSHORT is 32767 (2^15-1) and MAXINT is 2147483647 (2^31-1)... Make your own f.e. #define BUFFERSIZE 1024 char buffer[ BUFFERSIZE ]; sprintf( buffer, "Content-Length: %d", get_file_size( filename ) ); send_header( s, buffer ); sprintf( buffer, "Content-Type: %s", get_file_type( filename ) ); send_header( s, buffer );
-
Are Greenhouse Gases or AGW Real? (Split from, 'Climate Change')
Sensei replied to RiceAWay's topic in Speculations
I could swear I saw couple days ago somebody (Strange?) in other thread told you Hawking (not Hawkings, again the same error) is not the author of Standard Model, and you again and again keep repeating the same erroneous information.. Wondering how can you have alleged IQ 145 if you can't even remember knowledge gained just a few days ago.. ? I found it, and was right: http://www.scienceforums.net/topic/90604-why-quantum-physics-is-a-waste-of-time/?p=967344 Oh, really? In which way.. ? -
Can you link posts were it has been said?
-
Which photons? Photons can have various energy/frequency/wavelength.. Gamma photon with 1.022 MeV, has tremendously more energy than f.e. visible photon with 2.32 eV (green light)..