-
Posts
7956 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Events
Everything posted by Sensei
-
..do you know that you can run a Virtual Machine e.g. VirtualBox, with Windows (any version), simulated.. ? Even a couple (if you have >>=16 GB ram especially), parallel.. https://www.virtualbox.org/ It doesn't cost anything. Other than a few GB of disk space. Win10 takes ~ 10 GB, Kali Linux takes ~ 11 GB. USB v3.0 is blue inside: https://www.google.com/search?q=blue+usb+3 (go to image mode) On Windows use Start > cmd, enter "dxdiag", it will tell what hardware do you have i.e. mobo model.. Search net for motherboard model + "specification" and it will tell how many USB ports do you have and in which versions.. some may be v2 and some v3.. v3 compatibility should be able to switch on/off in BIOS (Linuxes don't like v3, have been told, especially if you try to boot from such drive/pendrive.. driver problems etc.).
-
Depends on USB. I am getting max. ~ 25 MB/s which is pretty slow for today standards.. (should be more, but pendrive does not let it go any faster) SSD should work 550 MB/s, and NVMe should be even 3500 MB/s with 25 MB/s it's ~ half of obsolete HDD performance.. (just copy one big multi-GB file, and you will see) Connecting to USB v3.0, in my case, made no difference in speed..
-
If you like music, how about starting from visualization of staff.. ? Make generic C++/Java class Note with attribute taking enum { C, D, .... , H } as parameter, and second one integer with octave, and third one with length. e.g. new Note( Note.C, 5, Note.Half ) will be C-5 half-note.. methods: set/get C,D... H (from enum) set/get octave integer.. set/get length (whole note, half note, etc.) (from enum) set/get frequency (convert human readable e.g. C-5 to corresponding the real frequency https://www.google.com/search?q=notes+frequencies ) helper public static function Parse( std::string &string ); generating Note object from given string. Then make class which has dynamic list of such notes (Staff class). (template class? List<Note> / ArrayList<Note> in Java?) Then make class which is taking Staff object as argument and outputs PNG image. Draw 5 horizontal lines with user defined space between them, and then iterate through the all elements in the staff object, and for each note object, draw it, with appropriate shape and horizontal position (index in staff) and vertical position (octave and note), with appropriate design (load PNG with predefined templates or generate them by yourself using drawing functions?). Make parameters fully controllable by the user. Sizes, spaces, distances, thicknesses etc. Then you can take staff as argument in command-line like in Linux pipe: echo "C-5, D-5, E-5" | genstaff image.png Then you can make website, on your dedicated server, where from e.g. PHP/CGI code you can execute bash script/command-line, taking HTML form input with notes, which will generate PNG and show staff to the website client.. It should not take you more than a just a few hours for all this project. Teacher (or other students) will be able to visit your website, enter notes in text input field in HTML form and instantly see generated staff (use AJAX/jQuery to parse HTML form and call genstaff command, and send to web-browser client to see result), so user has not have to click any button, but see result instantly.. Fun project. A joint-venture of several technologies C/C++/Java/HTML/CSS/AJAX/jQuery/PHP.. Sounds it would require FT/FFT https://en.wikipedia.org/wiki/Fourier_transform Boring.. (IMHO) ...unless you make a website (Android/iOS app?) that uses a microphone to capture sound from the user's room and then analyzes it in real time visualizing something.. If you do the first (on the top) project with FT/FFT, you can generate staff with notes automatically from the given music (recorded by microphone?) example.... and show it to the user.. a multi-million dollar website if you achieve this.. Can be done this week..
-
Not really.. Python can be created in any text file and/or generated on demand by other script or application.. e.g. echo >script.py "python script content" then execute it.. Any programming language code can be written in any text editor (as long as you don't start using UTF-8/Unicode, some text editors don't support Unicode, which will result in damage of the code) The code is written in text file format (exceptions can be counted on one lumberjack hand, e.g. Amiga Amos https://en.wikipedia.org/wiki/AMOS_(programming_language) ) It could be, but it is not really webmaster friendly editor. Try mousepad on Linux, or ConTEXT/NotePad+ on Windows. Terminal/shell can be "HTML editor" too.. you just do: echo >index.html "<html>.....</html>" Not really. HTML is Hyper Text Markup Language, which has nothing to do with programming languages, apart of suffix in the name. It's just a way to encode tags. HTML can be interpreted only by web-browser. Python is a way more robust and general purpose language..
-
The amount of energy flux in this small hot area less than the energy flux intercepted by the lens of the magnifying glass. ..because part of the photon energy is reflected and part is absorbed by the glass.. This statement could be true if there were 100% efficiency..
-
What is the difference between activity and event in "simulation"?
Sensei replied to shivajikobardan's topic in Homework Help
Is this a computer science question? If yes, in object-orientated programming languages, "customer", "message" will be object of class which you will create for them. Change of attribute can trigger event. The activity will be a method of the class that will do something to the object, change attributes and possibly trigger some events. Events and event-handlers are used to let an unknown class/object learn about changes made to an object. See how this is implemented in Java: https://docs.oracle.com/javase/7/docs/api/java/beans/EventHandler.html https://docs.oracle.com/javase/tutorial/uiswing/events/intro.html Event object contains detailful information about the event. e.g. event with information about mouse click will have x and y position of mouse where click occurred and which mouse buttons were clicked or released. For GUI window, attribute will be opened=false or opened=true, with activity-method open()/close(), with events: opening, opened, closing, closed. User (some class e.g. button, listview, application etc.) of window will add event-handler listening for arriving opened event, or closed event, and do something with this information. -
You don't seem to understand/know/taking into account true reasons for NATO and EU interventions.. i.e. massacres, mass executions, war crimes, concentration camps.. https://en.wikipedia.org/wiki/Serbia_in_the_Yugoslav_Wars#War_crimes https://en.wikipedia.org/wiki/Omarska_camp https://en.wikipedia.org/wiki/Prijedor_ethnic_cleansing In early '90: https://en.wikipedia.org/wiki/Bosnian_War in late '90: https://en.wikipedia.org/wiki/Kosovo_War https://en.wikipedia.org/wiki/NATO_bombing_of_Yugoslavia
-
The actions of the V.P., and historical data to date, indicate that the russkies, after capturing a region, annihilate, mass murder all opposition and intelligence, in the region, in order to have "peace and quiet", just slaves obedient to their rules.. slaves like their own citizens.. Why do you think they put eastern and southern Ukrainians (from occupied regions) in "filtration camps" and send others to the far eastern regions of Siberia and Asia.... ? https://en.wikipedia.org/wiki/Russian_filtration_camps Millions of Ukrainians have "disappeared".. I am surprised Ukrainians didn't destroy bridges on Dnieper to Kherson.. if/when V.P. forces will be forced to escape Kherson, they will certainly destroy them anyway.. so, better take them into blockade, when there is time for it, than give them route of escape to other side of the river.. (Dnieper is ~ 500m wide in that area) The more V.P. units captured in Kherson, the better (for Ukrainians).. Ukrainian forces must be well prepared to cross the Dnieper River without any bridge.. or southern Ukraine is lost..
-
No material can have a net negative charge. [Answered: Wrong!]
Sensei replied to martillo's topic in Speculations
...if you make positive ions, you also have to make negative ions.. electrons don't disappear.. they are intercepted by some other atoms.. e.g. 2Na + Cl2 -> 2 ( Na+ + Cl- ) Neutral Sodium has 11 protons and 11 electrons, Qna=0e Neutral Chlorine has 17 protons and 17 electrons, Qcl=0e Sodium gives electron to Chlorine, Positive ion of Sodium has 11 protons and 10 electrons, Qna=+1e , because +11e-10e=+1e Negative ion of Chlorine has 17 protons and 18 electrons, Qcl=-1e , because +17e-18e=-1e Overall Q= Qna + Qcl = 0e all the time (conservation of charge). -
No material can have a net negative charge. [Answered: Wrong!]
Sensei replied to martillo's topic in Speculations
Actually, the photo is of a bubble chamber with a relatively dense medium - liquid hydrogen. In newer LHC detectors: https://www.lhc-closer.es/taking_a_closer_look_at_lhc/1.detectors "Charged particles – electrons, protons and muons – leave traces through ionisation. Electrons are very light and therefore lose their energy quickly, while protons penetrate further through the layers of the detector. Photons themselves leave no trace, but in the calorimeters, each photon converts into one electron and one positron, the energies of which are then measured. The (kinetic) energy of neutrons is measured indirectly: neutrons transfer their (kinetic) energy to protons, and these protons are then detected. Muons are the only particles that reach (and are detected by) the outermost layers of the detector." -
No material can have a net negative charge. [Answered: Wrong!]
Sensei replied to martillo's topic in Speculations
It had the same number of protons as electrons, so it was neutral. When an electron is ejected, the neutral atom or molecule loses an electron, so it now has more positive charge. After capturing an electron, the neutral atom or molecule gains an electron, so it now has more negative charge. Isn't that obvious? Electrically charged particles, atoms (ions), or molecules, are easily detectable and observable by naked eye.. They reacts to external electric fields, and external magnetic fields.. Unlike neutral particles, neutral atoms, and neutral molecules, which do not react.. Visible in e.g. cloud chamber, Millikan oil drop experiment: (Neutral particles are straight lines, circles to the left and right, are charged particles and their opposites) https://en.wikipedia.org/wiki/Oil_drop_experiment -
No material can have a net negative charge. [Answered: Wrong!]
Sensei replied to martillo's topic in Speculations
If you have a neutral metal and emit photons of sufficient energy into it ( photoelectric effect ), the electrons will be ejected from it.. they don't disappear, do they? So where do they end up? On another material, of course, making it negatively charged.. So your statement is easy to dispute.. ...after a while, or not, positively charged atoms or molecules, intercept electrons from surrounding environment, making it one again, neutral.. -
@J.C.MacSwell Russian politicians are complete idiots. Russia doesn't need land. They have plentiful of land.. mostly without any human beings.. No one will want to live in Donbass or Lugansk.. No sane person will want to invest in these lands.. for decades.. another county field without a man.. No sane person will invest in anything in Russia for decades.. Instead of making their own country, Russia, prosperous, good managed, they devastated other countries, murdered people and wiped out infrastructure, and brought to their own crap level instead.. The first one was Chechnya.. then they attacked Georgia.. then they attacked Ukraine.. then they destroyed Syria.. then they attacked Ukraine again.. I don't blame Russians.. they are slaves.. mental and physical slaves.. brainwashed since the early childhood.. how to blame such person who can't speak for himself/herself freely.. ? Who had any sign of intelligence, fled away in February, March, when they could do it.. Putinjugend was established once again.. they will murder and die for their Führer.. ..who needs German land without Germans on that land (i.e. businessmen, investors, etc. etc.) It is as good (useful) as any other land they already have..
-
Is that official shit you eat every day at morning in your country after turning on russian TV on.. ?
-
..will we see you in the next season of "Westworld"?
-
..funeral will fix it even better.. ps. Unless I resurrect you..
-
..you think too much.. and too much "good-path".. idealizing.. etc. ...If he was seminar, the question would be "how much for a wedding? how much for a funeral? and how much for a baptism?".. ..or more hardcare version: "how much for the forgiveness of sins?".. (not without a reason we had split https://en.wikipedia.org/wiki/Protestantism )
-
https://gagadget.com/en/144824-german-soldiers-wanted-to-blow-up-the-crimean-bridge-but-were-arrested/?utm_source=news.google.com "German soldiers wanted to blow up the Crimean bridge, but were arrested" "Two members of the Bundeswehr decided in the spring of 2022 to help Ukraine and destroy the Crimean bridge. They committed several thefts at military facilities in the federal state of Schleswig-Holstein, but unfortunately, they did not succeed in realizing their plans. Our heroes were part of a group of 12 men. Four were in the service of the Bundeswehr. The servicemen discussed the bombing of the Crimean bridge in phone conversations, unaware that they were being wiretapped by the intelligence services." "They stole weapons and equipment from barracks in Schleswig-Holstein with the intention to damage the Crimean bridge by blowing it up. This was reported by the German magazine Stern." Arrested by who? By V.P. agents and forces? NO! By Germany agents! So they confirmed they are inflated and controlled by pro-russian agents...
-
Look at this video: ...and download apps that can be played on your smartphone: iOS: https://www.google.com/search?q=chimp+memory+test+for+ios Android: https://www.google.com/search?q=chimp+memory+test+for+android What is your score? Let other people play. You will see that your score is not as bad as you think. The more you play, the better score you'll get (and in the meantime, you'll train your memory). Inappropriate diet lacking essential elements for the brain. https://www.google.com/search?q=diet+good+for+brain https://www.health.harvard.edu/healthbeat/foods-linked-to-better-brainpower
-
You may regret it, and miss him, if the new PM is pro-Russian.. risky operation at tough times..
-
Here we have computer bots calling people and doing surveys.... Local YouTube is full of people mocking them when they can't answer basic questions.. Such a bot usually resets to the beginning of the script if you still say "Hello" or equivalent.
-
..outsourcing ICT services to East Asia.. The next time try: - where are you? - in Toronto (e.g.) - what is the time/weather in Toronto? - (a person in India may have no idea what the time/weather is on the other side of the world)
-
..now you have Google Translator.. type a word and press play to hear how to pronounce the word correctly.. (Deepl is better than Google Translator, but has less features and less languages) Why, oh why on Earth, people in India don't use this feature (more often) to learn the correct pronunciation.. ..you can't believe it's a real teacher.. https://www.facebook.com/todayenglishmadrid/videos/funny-indian-teachers-spelling-english-words/886573301717697/
-
Dynamic Gravity theory to explain dark matter, cosmic ray energy, etc.
Sensei replied to kba's topic in Speculations
@kba What is wrong with the education system in your country?- 95 replies
-
-1
-
2 cents: 1) water evaporates 2) water freezes in winter ...it was much easier to "not shut down perfectly fine nuclear power plants after the Fukushima accident"....