-
Posts
7933 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
Computer Science Olympiad Algorithms Difference Arrays
Sensei replied to coderhk's topic in Homework Help
Regardless what is put there, teacher should fail student, because of hardcoding.. -
Computer Science Olympiad Algorithms Difference Arrays
Sensei replied to coderhk's topic in Homework Help
LOL... 1<<30 is > 1 bln entries.. 2D array of ints with 1 bln entries per row, per column, won't allocate on any currently existing computer.. -
Computer Science Olympiad Algorithms Difference Arrays
Sensei replied to coderhk's topic in Homework Help
Attached code should fail because it's hardcoding limits in this line: int[][] diff = new int[25][25]; Nobody in your assignment said there will be just 25^2=625 cells.. -
Computer Science Olympiad Algorithms Difference Arrays
Sensei replied to coderhk's topic in Homework Help
How about starting from making rectangle class taking all data as params in constructor, and putting these rectangles to (custom made class) kd-tree (or quadtree), but just 2D, not 3D, and checking whether they intersected, which will be easier/faster in kd-tree (quadtree), rather than regular list. -
Actually from Slovenia, not Russia.. https://en.wikipedia.org/wiki/Sevnica
-
Did you hear about Gold foil experiment? It's one century old.. Even thin layer of Gold foil reflects majority of alpha particles from radioactive isotope.
-
The money is problem. Because large army, and large mass destruction business (aka "defense industry"), demands new orders every year (usually bigger and more lucrative than previous year!) so they can continue working (and growing year-by-year showing higher income).. Unused airplanes are landing on desert graveyards.. You paid for it, from your own pocket, and nobody went to jail for stealing that money from you.. LOL! At the same time, people were thrown out from their homes, and made homeless, because they could not pay bill...
-
why are there no perfect Platonic figures in nature?
Sensei replied to ZeroZero's topic in Analysis and Calculus
See your monitor screen. It's made of pixels. Full HD = 1920 x 1080 pixels = ~ 2 mln pixels. You can draw circle, triangle. They look fine from distance. After zooming in, reveal they're made of pixels. After zooming in the Universe, it reveals that it's made of atoms. Why there is no perfect crystals? See how they were created.. Because they're contaminated.. f.e. Diamond is made of Carbon. But Carbon has two stable isotopes C-12 and C-13. C-13 is 13/12 = ~8% heavier than C-12. And there is also trace of C-14, made by cosmic rays, collected by plants, eaten by animals. It decays to N-14. Imagine you put them together.. and after a while, after making artificial Diamond, some C-14 will decay, and you have no more pure Carbon in your crystal... there is contamination, Nitrogen atom.. -
I see what you meant. Some governments might be pissed off not getting money from taxes, when everything is given for free, exchanged by citizens for free.. Taxation on robots is example of such interference. https://en.wikipedia.org/wiki/Robot_tax
-
I am not feeling good with all this narration that he lied. Simply, if you'll be measured when you're lying on the bed, you will get different result, than standing straight.. http://lmgtfy.com/?q=height+lying+down+vs.+standing ..or measure at the morning and at the night.. ..or like I showed in my initial post article, astronaut "grew" up +9 cm in cosmic space..
-
Whether he has 188 cm or 190.5 cm does not matter. What matters is what he has between ears..
-
Ten oz, I was talking more generally about what is considered truth (the all sides claim to have monopoly for truth *) ), not specifically about DACA. I fully agree, that young-children-immigrant should remain in the country, in which he/she lived entire life, instead of being thrown abroad. Especially if they are fully naturalized, integrated, useful member of community, etc. etc. *) but scientists at least are using scientific methods, to gather, process and analyze data..
-
Send him to outer space.. He will grow up.. http://www.independent.co.uk/news/science/astronaut-japan-grow-space-international-station-norishige-kanai-lieutenant-a8149871.html "Japanese astronaut grows in space and now says he's worried he won't properly fit in the capsule bringing him back". "Lieutenant Norishige Kanai said that he has stretched out during his time on the International Space Station (ISS). The extra 9cm he has gained since he arrived on December has left him worried he won't squeeze into the small space of the Soyuz capsule, which is set to carry him back down to Earth."
-
But the same claim your opponents, claiming that their version of right, is truly right, while your version of right, is actually wrong.. (e.g. "fake news")
-
Entire world is world of immigrants.. The only question is "how many generations ago?"... ps. I was not talking only about humans..
-
Somebody who is programmer can (should?) apply for a job in IT company e.g. making games (they are the easiest to find around).. But after applying, the all diploma does not matter, you have to pass through internal tests given by IT company, to actually check how good programmer is.. I know people with diploma, and can't pass through these internal tests.. Not to mention somebody can do programming projects through Internet..
-
Robots taking human jobs, is meaningless problem. Simply there will be no money. Everything will be for free. Without money there will be no robbery, no thieves, no other crimes with unauthorized taking somebody money and/or property. So there will be no prisons either. There will be no inequality. At least not due to being rich or poor. But still there can be inequality due to access to knowledge, and personal willingness to learn (and mental retardation making learning impossible). Imagine, somebody is learning programming, robotics, etc. and building his/her own robot. And telling him "build this for me", "do this for me".. And robot is doing it.. Repeat as many times as there is people around the world. It's impossible to sell anything to anybody, because they can tell their own robot(s) to do the same, without having to buy it from somebody else.. You can have it now. Just buy 3D printer (or better, build you own). But you will have to model thing that will be printed. You can print parts of robots in 3D printer and join with Arduino, and control it from laptop. Do you want to have house? No need to take 30y loan, no need to hire team of workers. Just build robot building house like this one: https://www.youtube.com/watch?v=4YcrO8ONcfY Money, job, career, motivates people to get out of house every day (and not being evicted and become homeless), and do something with their life. Sometimes that thing they do is also useful for entire community. Sometimes it's exactly reverse (like somebody eviction from house). Without money, there are needed smarter motivating mechanism for people to do something instead of watching TV on their lounge the all day long. or simply they have to be 'aware'.
-
The future of humans... ...is not bright...
-
Through vacuum e.g. free electrons can flow. They can be emitted by e.g. electron gun. https://en.wikipedia.org/wiki/Electron_gun ps. Very unpleasant reply from you, directed at people who are trying to help you.. When accelerated particle changes direction, it can emit photon and slow down. It's called Bremsstrahlung https://en.wikipedia.org/wiki/Bremsstrahlung Eventually cyclotron radiation https://en.wikipedia.org/wiki/Cyclotron_radiation
-
I can agree with this statement to some degree. In ancient times there was rule "there is no crime without a victim". Now there is plentiful of such silly laws. https://en.wikipedia.org/wiki/Victimless_crime Starting from possession of insignificant amount of drugs for personal use (or voluntary prostitution). I don't recommend (or promote!) narcotics. I can understand that person after taking some of them may lose perception of this world (by law they are put in the same group, regardless of how they change perception), and under influence do some the real crimes. But narcotics addicted person requires healing instead of going to jail.. After prison, with criminal record, won't be able to get normal job, unable to pay for rent, will lose house/apartment, etc. etc. and it'll turn him/her to full-time narcotic dealer and abuser, at accelerated rate.
-
Question about temperature and materials
Sensei replied to JackyJay's topic in Modern and Theoretical Physics
You should start from reading Wikipedia article about Thermal conductivity: https://en.wikipedia.org/wiki/Thermal_conductivity https://en.wikipedia.org/wiki/List_of_thermal_conductivities -
When it's regulated, it's kinda authoritarian regime, not capitalism.. So.. let's me jump in (authoritarian! ).. and tell them "what to do".. Regulation made by human who is involved in the business is even worser, as he/she will be supporting one party, and rejecting other party.. Large companies have thousands/millions shareholders who are ruling the company. If they will say so, "we want this", CEO, management and directors, have no options, they have to fulfill orders or quit. Current mood is: if they have enough revenue leave them alone.. In the case of global warming and similar stuff, things like revenue from investment, is meaningless..
-
Who said there has been created just one Universe.. ? There can be created Multiverse to test the all possible physical constants and/or there can be created Parallel Universes to test the all possible solutions, from initial state... If you can control which Parallel Universe exists, you're pretty much immortal, as you decline (wipe out) the all Parallel Universes, in which you accidentally, or not, died.. (somebody killed you in some Universe? whatever! jump in the one in which you still exist.. the next day at morning, nobody will even remember about "accident".. )