Everything posted by Ghideon
-
Artificial Intelligence with n-gram(Python 2.7 (64 bits) Scripts)
Your text look like the output from some algorithm, based on Markov Chains(?), that generates random sentences. This seem to require more time and effort than I am willing to provide at this time.
-
Artificial Intelligence with n-gram(Python 2.7 (64 bits) Scripts)
And how is that related to the discussion in this tread?
-
A rather unique idea to room cooling (radiant cooling + peltier array)
Wouldn't that mean that the rest of the building will be supplied with water that has passed through the radiator? Over here that would not be ok according to regulations; water from cold water mains is intended for consumption and is not supposed to pass through custom equipment. Maybe I misinterpret you idea?
-
Artificial Intelligence with n-gram(Python 2.7 (64 bits) Scripts)
Information provided so far is not enough to comment on what kind of issue you are facing regarding performance; I do not have an opinion if specific products are suitable or not suitable.
-
Curiosity/Perseverance landing scale comparison contradiction.
How did you check for possible reasons such as focal length, cropping of video and others*? There are a number more plausible reasons than the non mainstream speculations you linked to. *) I haven't checked your mathematics (yet) but what is that calculation supposed tho show?
-
Curiosity/Perseverance landing scale comparison contradiction.
What is your point and what is the contradiction? The Perseverance and Curiosity did not land on the same spot. The Perseverance's landing site is about 2,300 miles (3,700 kilometers) from Curiosity’s landing site in Gale Crater. sources: https://mars.nasa.gov/imgs/mars2020/landingsitemap.jpg https://mars.nasa.gov/mars2020/mission/science/landing-site/
-
The fast forward key for retro game(I want to apply it to Python)
Can you explain what you are looking for in a way that does not require videos to be watched? But it sounds like the comparison is backwards: the question would be how slow your current python code would run on the old gaming hardware. The fact that an old game can run faster on new hardware than the game was able to (or designed to) run on old hardware does not in general mean any code can run faster. (I assume you want some Python program to execute faster without changing the program or changing the hardware and that the Python program currently utilize the hardware to max; your question it's not simply an issue of allocating more of the existing CPU power to the Python program.)
-
Game development idea character movement/automation help
I think there is more than 2D vs 3D to consider when it comes to commercial success like business model, platform, gameplay, part of a franchise etc. For instance compare a low-price 2D mobile game sold in large quantities vs a more expensive 3D shooter intended for consoles. 2D vs. 3D may not be the factor that decides popularity and income for the developers/publishers.
-
Artificial Intelligence with n-gram(Python 2.7 (64 bits) Scripts)
The information provided is too limited, I will not try to make a prediction. In my experience performance is a result of many parameters; using another implementation language may or may not result in a required performance boost.
-
Synthetics vs natural fibres - odour
After workout my cotton socks smells less uncomfortable than my synthetic t-shirt. My synthetic training cap smells really bad. So elevation is one factor to consider? Jokes aside, the following paper "Microbial Odor Profile of Polyester and Cotton Clothes after a Fitness Session" may be of interest*. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4249026/. It suggests that differences in the properties of fibers promotes different microbes and that differences in absorption may affect the smell. *) I have not checked the quality of the paper, just quickly scanned it to check that it applies to the questions.
-
Algorithm sub program
Thanks! Now, let's say we have both the grades for a student, any idea how we could find out if both grades are 8? You could answer something in plain English like "if grade is this then do this..." A loop in this case means some way the algoritm uses to go through the array(s), step by step. A loop may be useful to check grades and do counting. Below is an example of a loop. It means: "go through the grades, one by one, and do something." In this case it prints the grades. grades = [5, 8, 5, 3, 8, 5 ] for x in grades: print(x) The above can be copy-pasted into an online tool such as w3schools* if you want to test. *) in chis specific case you may start here: https://www.w3schools.com/python/trypython.asp?filename=demo_for
-
Algorithm sub program
May we assume 8 is the highest grade? I'll assume that you have two arrays containing 6 integers each: 5, 8, 5, 3, 8, 5 and 5, 8, 7, 4, 8, 3 As a stating point, do you know how to loop through arrays and use the index to access values?
-
A person who is honest and dignified without any expectation is the person to be respected. (Biological Combination Theory)
I would like a comment on why "(Biological Combination Theory)" is in the title and how that is applicable to the discussion about Honesty, Dignity, Expectation and Respect.
-
Lighting questions on the Perseverance landing video.
Let's try to sum up what you have presented so far: -Claim that a bright area in a video is sun reflection. -Claim that the reflection is "too small" according to some unknown measure. -Support for your claim is an artist impression of mars as, it was believed to have looked like billions of years ago. The effect, light reflected from mars soil, that you discuss is invisible in the artists work. Anyone able to spot a few logical issues with your line of reasoning? Maybe because possible explanations, such as opposition surge, is well known in the community and not a very important aspect of the landing? https://en.wikipedia.org/wiki/Opposition_surge Here is an article specifically targeting the effect on mars: https://www.jpl.nasa.gov/images/opposition-surge-sunlight-glinting-off-mars The opposition surge effect may be the reason why a bright spot appears in both missions' landing videos posted in this thread; Curiosity and Perseverance. The sun seems to be at a very similar angle relative the camera in both cases. As beecee have said from the beginning:
-
Lighting questions on the Perseverance landing video.
I asked: What is the correct size of a reflection under the conditions of the Perseverance landing? Your response: You pick a few frames that show reflection of sun where the surface has water. How does an artist's impression of water reflection support your argument? Also note that in your linked video the dry surface reflection looks like below*. Conclusion: no support for your claim regarding sun reflections on mars surface. Note that the overall brightness variations in your reference picture is similar to the variation in the frames from the video. So the explanation may be that the mars soil is looking slightly brighter or at the spot in the video from the Perseverance descent. Or any combination of this or other possibilities that we have not yet ruled out. Also note that the few frames used on the right seems post processed / compressed witch seems to enhance circular bands that may not be part of the original footage. I recommend a comparison with the original high resolution video rather than a gif. Edit: Other readers may be interested in this with lots of engineering related information about the cameras used on the mission: https://link.springer.com/article/10.1007/s11214-020-00765-9 *) source; link to timestamp where the frame is from: https://youtu.be/sBdioF65wNQ?t=3.
-
Lighting questions on the Perseverance landing video.
The Curiosity Mars Descent Imager (MARDI) captured the rover's descent to the surface of the Red Planet. The instrument shot 4 fps video from heatshield separation to the ground*. Note the faint bright spot. The spherical looking object in the picture below is the heat shield. Repeating it does not rule out other possibilities. What is the correct size of a reflection under the conditions of the Perseverance landing? Side note: It is within reach for radio amateurs to pick up signals from spacecrafts on mission to Mars**. *) Source: NASA Jet Propulsion Laboratory at YouTube https://youtu.be/UcGMDXy-Y1I?t=16 **)https://spaceweatherarchive.com/2021/02/16/ham-radio-signals-from-mars/
-
Game development idea character movement/automation help
Sorry but I think you need to think through what you want to create and how to present it. It is tricky to sort out what kind of computer science aspects you wish to discuss. The contradictions between you posts does not help. If you want to incorporate FPS*in the gameplay I think it would be more efficient to start from something else than a comparison with Command and Conquer. AFAIK the Command and Conquer franchise does not incorporate FPS gameplay (yet). That may depend on which release in the Command and Conquer franchise you mean. Ever tried the "guard mode"? Side note: I played Command and Conquer a lot; I got Red Alert for Christmas in the 90's. *) First person shooter
-
Lighting questions on the Perseverance landing video.
Or it is an artifact in the low res animation. Or post processing of video. Or it is an illusion. Which picture below appears to have the brightest spot? The small inlay or the large picture? Have you accounted for possible swinging movements due to the open parachute? Is the shadow from the parachute or the backshell protecting the rover?
-
Lighting questions on the Perseverance landing video.
I think suspicion was appropriate when opening post says: Instead of: Sun on the surface of Mars.
-
Lighting questions on the Perseverance landing video.
Can you show the reasoning and information you use to rule out other possible explanations? I presented some possibilities above. Why should it move in the other direction? With the information available so far we do not yet know if the bright spot is on the surface of Mars.
-
Lighting questions on the Perseverance landing video.
I would have to investigate a lot more information to have an opinion on what actually causes the bright spot; sun light, properties of the mars surface at the location, camera optics, signal processing, digital artifacts, combination of these and/or other causes I can't tell from the video.
-
Lighting questions on the Perseverance landing video.
@AlexandrKushnirtshuk you may look a few seconds further into the video you linked to. The heat shield is probably just wobbling after being dropped? That makes the heat shield look oval from the camera's point of view and reflections are moving. ( https://youtu.be/4czjS9h4Fpg?t=36) Why do you say "Mars" instead of Mars? Your point? I agree.
-
Artificial Intelligence with n-gram(Python 2.7 (64 bits) Scripts)
Ok. Suggestion 1: Add comments and documentation to your scripts. Note that Python 2.7 has reached end of life*, migrate to 3.x. *) https://www.python.org/doc/sunset-python-2/
-
Where do algorithms go in the java program heiarchy
Unfortunately those books have run out of fashion; the Java language has evolved a lot since I started. It's hard to give a short answer, it is very dependent on the problem the Java program will solve. In an educational context, for instance if I was involved in a course at a university*, I would likely organize the classes to mirror some "reality" to make the discussion less abstract. Example: a board game would probably have classes that represent players, the board, game state and similar. It might help to separate data structure and algorithm from the implementation. Data structure could be for instance an array of sorted objects. An algorithm for finding a specific object could be "binary search", since the array is sorted. A description how to perform a binary search and any discussion about the algorithm's behavior does not require a specific programming language, we could print an array on paper and perform the algoritm's steps manually. Now let's say we want to implement this in Java; the class will be namned SortedArray. For this discussion we may need to take into account other aspects, for instance how to insert or remove elements from the array. Since the binary search fails unless the array is sorted we could have an insert() method implemented in the SortedArray class; insert() is implemented to always add the new object in the correct location to keep the array sorted at all times**. In this case I would also implement binary search in a methon search() in the class SortedArray. Data and algorithm implementation is in the same class in this case. The user of the class can see from the name SortedArray that the objects are sorted but the search method does not reveal the underlaying algorithm. We can also see that the initial description we did of the data structure and the algorithm holds even if we would change to another programming language or if we would need the binary search algorithm in another programming task in Java. That sounds correct. In an enterprise project there will be maybe hundreds of classes. Even if classes belong to the same system they should not know about nor depend upon the internals of other classes unless necessary. "Black box" is not just for someone looking at the system or program from the outside but also between internal parts of the program. How to organize, select proper sub systems or components of systems (or programs etc) is a large topic with interesting ongoing research. *) I use this as context for this discussion since it seems suitable for OP situation. My answer does not necessarily apply to Java development in general. **) This is a quick example for educational purposes, not necessarily useful or efficient in real life situation. Abstractions such as Java's collections framework is out of scope at this time.
-
Where do algorithms go in the java program heiarchy
I introduced "black box" in the thread and I intended the meaning @Sensei described, sorry for any confusion. Collections.sort() is a good example of the point I tried to make when answering ALine. I'll address @ALine's other questions later.