Everything posted by Sensei
-
Linux - Which files execute the first instructions when calling the sftp or ssh service on port 22?
If it is already in this file, why not to use e.g. grep on it, to extract it? or make Perl or Python or bash script to parse it..
-
U.S. presidential election modelling
@VenusPrincess Why are you adding 1 in the line: sample = (double)rand() / (RAND_MAX + 1.0); rand() result can be up to RAND_MAX, so RAND_MAX / ( RAND_MAX + 1 ) will never ever give you sample = 1.0 ... 32767 / 32768 = 0.999969482421875
-
Are the regular expressions same?
No, in regular expressions it does NOT mean union.... https://stackoverflow.com/questions/8020848/how-is-the-and-or-operator-represented-as-in-regular-expressions You mixed two different independent things. Regular expressions with mathematics (set theory).. If you would enter a sample regular expression with a sample text string into the online debugger, you should see that it doesn't work as you think.
-
Are the regular expressions same?
(text) creates "capturing group", which can be referenced during replacing by e.g. $1, $2 etc. (or other following digit) Use one of many on-line regular expressions debuggers, if you have any objections. Like this one for example: https://regex101.com/
-
Barriers to equal opportunity in education
Anonymization of exams is a good idea. A person should be judged by knowledge, not by the surname or the depth of the pockets of the parents.
-
What's The Point Of Calculus??
"Massless" means "having no rest-mass".. i.e. "having no frame of reference in which particle is at rest". In the case of massive particle e.g. electron or proton, you can use external forces like electrostatic, to keep particle at rest. In electromagnetic trap.
-
What's The Point Of Calculus??
https://en.wikipedia.org/wiki/Area_of_a_circle "Modern mathematics can obtain the area using the methods of integral calculus or its more sophisticated offspring, real analysis." e.g. you can calculate area of any shape using calculus.. "Using calculus, we can sum the area incrementally, partitioning the disk into thin concentric rings like the layers of an onion. This is the method of shell integration in two dimensions. For an infinitesimally thin ring of the "onion" of radius t, the accumulated area is 2πt dt, the circumferential length of the ring times its infinitesimal width (one can approximate this ring by a rectangle with width=2πt and height=dt). This gives an elementary integral for a disk of radius r."
-
Linux - Which files execute the first instructions when calling the sftp or ssh service on port 22?
Your question is ambiguous. I am wondering whether you're talking about instructions of TCP protocol or instruction like command-line or what else? If you want to learn PID you can try: Dump all active processes to a text file before running something, dump it again after running something, compare the differences between text files.. and you will know which processes were created by "something". You can make a script. Dump, compare, display differences, wait 0.1-1s, repeat.
-
The Official JOKES SECTION :)
Too long to quote. It will be fun only for programmers. https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f
-
Why Can't We With Water?
There is plenty of water in the far west just ahead of Los Angeles and other cities on the West Coast: the Pacific Ocean. https://en.wikipedia.org/wiki/Desalination "Desalination costs in 2013 ranged from US$0.45 to $1.00/cubic metre." https://www.google.com/search?q=desalination+cost+2020 "the cost of desalinated water in most regions could range from €0.32/m3 to €1.66 " They just should be powered from renewable energy sources..
-
Is there such a Thing as Good Philosophy vs Bad Philosophy?
...we have enough of members not bothering about non-empirical evidences.. they end up in Speculation part of this forum.. and then in Banned part.. ..how so.. ? You're mortal entity with limited amount of time here on the Earth.. and you spend it on asking and trying to answer questions you cannot get answers (which my post was about)... Entity living in where it is living is able to examine only place where it is living.. You cannot examine places which you don't live... You cannot prove or disprove places where you are not living.. By "true knowledge" I meant "empirically verifiable knowledge".. Why to waste time of (limited) human life time on things which are not verifiable.. ?
-
Is there such a Thing as Good Philosophy vs Bad Philosophy?
..if we take your words seriously then mathematics is religion e.g. 2+2=4 ... ? "to be, or not to be".. isn't Boolean either.. ?
-
Is there such a Thing as Good Philosophy vs Bad Philosophy?
Philosophies distract people from true knowledge and waste their time which they could spend on studying subjects that can be verified experimentally. e.g. discussions about paradoxes. It's a kinda like programmers talking about infinite loops and endless algorithms. It is better to concentrate on feasible topics than on impossible to complete.. ..my speech shows my pragmatism..
-
Has anyone
..what is minimum velocity of dust from a supernova explosion? (i.e. which won't get back to it due to gravity and being sucked by the newly forming black hole)... ..what is maximum velocity of dust from a supernova explosion? (can it exceed escape velocity of the entire galaxy? analyze per galaxy size and mass).. In the case of Crab Nebula velocity measurements x time, can give the moment in which supernova exploded. According to Wikipedia it might be 1054 year A.D. https://en.wikipedia.org/wiki/SN_1054 Enjoy Betelgeuse until you have it! The same extrapolation can be done with any other supernova, or supernova-to-be. i.e. when (and in what quantity) remnants of Betelgeuse will reach Earth in the future (and any other close to the Solar System supernova-explosion-to-be) The same extrapolation can be done with the Solar System. I think the best is to write a computer simulation which calculates, estimates, predicts where and when it happened (or predicts where any other historical supernova was in the past billions of years ago). Where is remaining black hole after supernova explosion, which created the all heavier elements which you have here on the Earth, and in the Solar System?
-
Has anyone
..it would be a much more interesting discussion if you would stop a few words earlier.. It would be discussion about location of supernova explosion which gave birth to the all heavier elements in the Solar System..
-
Questioning the Basis of Christianity
Actually it is very simple. Religions evolve. Acquires some parts from older religions, merges or splits, rejecting part of older religion. It helps to get new followers, converting believers of older religion to newer religion, if you combine part of older religion. After centuries, millennia, without traces of written word, you cannot distinguish what is merged and its origin, as the all written materials never really existed, were destroyed accidentally, or destroyed on purpose, to removed traces of older religion, or are hidden in the ruins of ancient buildings buried under the desert sand.. Remembering what I just said, analyze what religions were in ancient times on lands which are now known as Middle East. In some of them there were rituals of bloody sacrifices of people on the altar, tortured and/or killed, in the name of a god, to please him/her/it, appease to stop sending plagues, Earth Quakes, thunders, flooding, etc. etc. Look at story currently known as Binding of Isaac. In Isaac's time, Jews believed in completely different religions than 2000 years ago, and different than now. It is story showing transition of religion from older one, in which people were killing other people on altars, to religion in which it is forbidden. Instead of humans, they continued to give just animals and plants as sacrifice. In Christianity it was taken even further and the slaughter of animals on altars was also stopped (due to what you just said, it was "The Last Bloody Sacrifice"). It has been replaced by less violent, less cruel, more civilized, religious rituals.
-
Questioning the Basis of Christianity
Because online forum is a better place? e.g. like this.. ..people dream at night about stuff they usually made at day and/or wanted to do.. e.g. if you will spend the all day/week/month long (literally) on playing game e.g. Scrabble, during sleep you will have dreams/nightmares about "what the best word can be made with supplied letters".. ..if you will spend the all day on playing Chess, during sleep you will have dreams/nightmares about "what the best move can be done on chessboard with supplied figures".. ..professional football players dream about "how they helped/failed team to win the match".. ..gold miners dream about finding the last final the biggest gold nugget which will make them rich.. etc. etc. Priests, nuns, devoted prayers, regardless of religion, spending the all day long (literally) on praying, will have religious dreams at night.. Priests, regardless of religion, who are doing it for money, will have dreams about people giving money and how they will spend donation.. ..I think it is more about origin of dreams/nightmares.. You are taking it too literally.. Africa used to be a better place for living for humans in the past. Sahara used to be covered by plants. Change of climate thousands years ago destroyed a nice place for living to a hell on the Earth. People had to migrate to find a new habitable area. Remembrance of escaping from Africa gave the myth of being expelled from paradise. The rest of your post is just a continuation of this myth, and actions and reactions of humans to solve not existing in the reality problem of "being expelled from paradise".. ..except everywhere? BTW, it is Old Testament. Common for Jews, Mulims and Christians. This is absolutely true.. Work in progress..
-
The Killing of George Floyd: The Last Straw?
...and POTUS obviously just added fuel to the fire, tweeting that the police will start shooting.. https://www.businessinsider.com/twitter-warning-trump-tweet-george-floyd-glorifying-violence-2020-5?IR=T When something like this happened in Ukraine in 2014, Viktor Yanukovych had to flee his country to Russia..
-
The massless universe
Having no mass is shortcut of having no rest-mass. It means that object have rest-frame of reference. https://en.wikipedia.org/wiki/Rest_frame Objects with rest-frame can change their frame of reference by acceleration in specified direction. Two or more objects in the same frame of reference appear motionless to each other.
-
Corona virus general questions mega thread
https://erj.ersjournals.com/content/early/2020/03/26/13993003.00688-2020 "Smokers and individuals with COPD have increased airway expression of ACE-2, which is the entry receptor for the COVID-19 virus. "
-
Trump Connection to Hydroxychloroquine (split from Corona virus general questions mega thread)
Not sure whether you are aware of this info guys, but he today threatened the Indian government for banning the export of this drug: https://www.bbc.com/news/world-asia-india-52180660
-
Corona virus general questions mega thread
The list of school holidays in Germany with their dates per region: Baden-Württemberg -- Bavaria school February 24 - February 28, 2020 Berlin school February 3 - February 8, 2020 Brandenburg February 3 - February 8, 2020 Bremen February 3 - February 4, 2020 Hamburg January 31, 2020 Hesse -- Lower Saxony February 3 - February 4, 2020 Mecklenburg-West Pomerania February 10 - February 21, 2020 North-Rhine Westphalia : -- Rhineland Palatinate February 17 - February 21, 2020 Saarland February 17 - February 25, 2020 Saxony February 10 - February 22, 2020 Saxony-Anhalt February 10 - February 14, 2020 Schleswig-Holstein -- Thuringia February 10 - February 14, 2020 Reference https://www.iamexpat.de/education/primary-secondary-education/school-holiday-dates-germany
-
Corona virus general questions mega thread
When we look at Germany map of infected individuals and fatality rate map we can see very "strange"/"interesting" thing. Basically old West Germany and East Germany (GDR) country border is also border between more and less influenced by COVID-19 regions: Where is coming from such regularity? Some specialists suggested that it is result of different medical standards used in these two countries in the past history between 1945 until the reunification of countries in 1990. e.g. what vaccines were obligatory given to their citizens. The most promising "suspect" of differences is tuberculosis vaccine. BCG World Atlas reveals which countries have obligatory tuberculosis vaccination now, which used to have in the past, and which never had it mandatory: Green colored countries never had it obligatory for all. Purple had it obligatory in some years in the past. France started mass vaccination in 1950 and ended in 2007. Spain started in 1965 and ended in 1981. Very short period of time (and COVID-19 fatality rate 9% for this moment). Italy never had it obligatory (and COVID-19 fatality rate 12% for this moment). https://en.wikipedia.org/wiki/BCG_vaccine I would start from analysis of what kind of e.g. vaccines people from different countries received in the past looking at their medical records. Anonymized big data should be public available so any volunteer programmer or company could write algorithm to analyse..
-
Corona virus general questions mega thread
You made my day with this article. This world needs true, honest, anonymous, not for likes, videos and public applause, generosity.. #fishandchips4all
-
Corona virus general questions mega thread
I have an idea for easy to implement method to keep people at home: Simply give them free access to Netflix/Steam for a couple months. They will be too busy to watch the all movies or play games (with premium enabled). It will be especially efficient in areas with small percentage of users of these platforms.