Jump to content
  • Advertisement

Hedos

Member
  • Content Count

    1948
  • Joined

  • Last visited

Everything posted by Hedos

  1. In the frame of reference of ruler A, the ruler B will be shorter. In the frame of reference of ruler B, then ruler A will be shorter. You might be interested in the ladder paradox for a conceptual application of this phenomenon. That's a very good question indeed. I am really not sure, but I would take the point of view that it is "real" (whatever that means), rather than just an illusion, because length contraction is analogous to time dilation which is clearly very "real". Moreover, the ladder paradox above suggests that length contraction IS real and not a mere illusion.
  2. Confusing stuff... But you are saying that the guy left on the planet will read 15 years on the same clock? What happens when you land your spaceship? Will the decelleration make the clocks "synchronize", otherwise guy A on planet and B on the ship will have a big problem deciding on a time to meet eachother... If you never land, but have some kind of way to communicate, would guy A and B start to argue about what time the clock is showing? Or would communication be impossible? [/quote] The observer on the planet will read 15 years on the ship's clock, when the ship arrives, yes. This is the same time that the ship-based observer read on the ship's clock. The ship-based observer reads 20 years on the planet's clock and the planet-based observer reads 20 years on the planet's clock. The two observers are in complete agreement. Whether you land the spaceship or not doesn't matter! Nothing would change at all. There is no synchronization involved and there is no contradiction either. Time has indeed been shorter for the observer travelling on a spaceship, there is asymmetry in this situation (because the spaceship undergoes changes of velocity but the planet does not). Keep in mind that when the spaceship has just been launched from Earth, then the reference frame of the Earth and the reference frame of the spaceship disagree about when the clock on the destination planet was started relative to when the ship-based clock was started. But that's because the ship-based clock and the destination planet's clock are physically separated. When the ship arrives at its destination, then because the two clocks are at the same location, it doesn't matter at all which frame of reference you choose, they will all be in agreement about the two clocks.
  3. How on earth is this synchronisation achieved (no pun intended)? [/quote] If you know the distance between the planets, you can easily achieve that (in theory). Suppose the distance is 1 light-year. Send a beam of light from planet A to planet B and wait 1 year. After exactly 1 year, immediately start the clock on the spaceship and launch the spaceship (assuming the spaceship can be given a high acceleration burst such that the desired velocity is almost instantaneously achieved). On planet B, start the clock exactly when the light beam is received from planet A. This only synchronizes the watches in the reference frame of the planets, however.
  4. Okay, I think I understand your confusion. For simplicity, let's assume that the ship is going at speed 0.661c relative to the two planets, hence the time and space dilation factor is gamma = 3/4. From the reference frame of the two planets, the ship is moving, hence the ship's clock is ticking slower. With a speed of 0.661c the clock on the ship will show approximately 15 years when it arrives at the destination planet due to time dilation. As others have pointed out, an observer on the planet will read the ship's clock as indicating 15 years too and an observer on the ship will also read the clock on the ship as indicating 15 years. Now, from the reference frame of the ship, however, it is the destination planet that is moving. Hence, the clock on the planet is ticking slower. So at a speed of 0.661c, it is correct to say that the clock on the planet will only have ticked for 15 years throughout the journey and in the reference frame of the spaceship. I think your mistake is to assume that the clock on the planet will read 15 years from the observer on the spaceship. That is wrong, the clock will read 20 years from the observer on the spaceship, as others have pointed out. The problem lies with the notion of simultaneity of events. In relativity, there is no such thing as absolute simultaneity of events. So you cannot say without ambiguity that the two clocks were started at the same time. You need to specify in which frame of reference the clocks are being synchronized. So if the clocks were started at the same time in the reference frame of the planets, then in the reference frame of a spaceship that has just been launched from Earth, the two clocks were not started at the same time, in fact the clock on the destination planet was started earlier. This explains why the clock on the destination planet reads 20 years from the ship-based observer, even though he knows the clock must have only been ticking for 15 years since the ship left Earth. It's because from the ship's reference frame, the two clocks were not started at the same time and the clock on the destination planet has been started 5 years before the ship's clock was started. This part can be calculated using a Lorentz transformation to compare the space-time coordinates of an event in different inertial reference frames.
  5. Hedos

    Game programming vs Girls

    Just a tip but why don't you ask her out instead? It's a lot less awkward and it achieves essentially the same goal. Moreover, you can make the date as casual as you like which puts a lot less pressure on both of you than telling her about your feelings before you even went on a first date! And think about it from her perspective, if you confess your "love" out of the blues, what is she supposed to respond? Anyway, my advice is to try and go out with this girl as soon as possible so that you can gauge if there is any mutual attraction. So, just ask her out! It's really not worth your time obsessing about a girl if it's not meant to be anyway.
  6. Hedos

    Steve Jobs

    This is a huge loss of a truly brilliant man. RIP steve.
  7. Hedos

    Mini-Contest: ASCII Fishtank

    Good job everyone! I enjoyed playing with everybody's fish tanks! Thanks to capn_midnight for organizing this contest, it was fun!
  8. Hedos

    Relationships

    I always chuckle when I hear responses like that. Somehow in our society, mental health has become a taboo topic. Similar to how a century ago women couldn't admit to being pregnant, even when they were 9 months along and about to have the child; many people would whisper "Ignore her, she's P.G.", unable to even speak the dirty word "pregnant". Imagine if the OP had said "I hurt my shoulder two months ago. I've done everything I can think of, ice and heat, taking OTC anti-inflammatory drugs, done everything suggested by my friends, now I'm turning to the Internets for help". There would be the immediate replies of "see a doctor you idiot" along with the obligatory "I spun AIDS" comic. Even if the problem would go away with time, the recommendation would still be to get professional help. But when it is a psychological harm, and it is impairing your life for months on end, there is such a negative backlash against anything dealing with mental health. Physical health? Yeah, see a doctor after it starts impairing your life. Emotional health? Be a man and ignore the pain. Somehow people forget that emotional pain ruins lives and leaves deep scars. If ANYTHING is impairing your life and you can't fix it on your own, you simply get professional help from someone expert in the field. If you have problems with your car and you can't fix it, professional help means a mechanic. If you have problems with your air conditioning and can't fix it, professional help means an HVAC technician. If you can't find an address, professional help means opening a map or using a GPS or asking a local for driving directions. If you have problems with your shoulder and you can't fix it, professional help means visiting your family doctor. And if you have problems coping with a serious emotional event, professional help comes from a psychologist. There is no shame in admitting you aren't perfect or an expert on every topic, and seeking help from an expert whenever you need it. [/quote] Cannot agree with this more. Moreover, you don't need to be mentally ill to go see a psychiatrist. In fact, this couldn't be further from the truth! You can be very happy and still benefit from a few sessions. Indeed, the role of a psychologist includes simply helping to relieve psychological distress and promote your mental well-being and personal development. It's kind of like going to the doctor for a physical or bringing your car at the garage for a routine maintenance.
  9. Hedos

    Relationships

    I used to feel the same as you. I find that as I become more experienced with relationships and more mature in general, this kind of thinking and feelings go away. You are probably the worst person to figure out what you did wrong (if anything). Sometimes, especially so for those kind of things, one is just completely blind to what one is doing wrong. Keep in mind that it's quite possible that you didn't do anything wrong, sometimes relationships are just not meant to work because the other person is simply looking for something else. But given that you say this has been a recurring problem, there might very well be some things that you did (and always do) wrong. You could ask a close friend that knows you well about what they think you might have done wrong. Even better if you can ask a female friend. You could also ask the next girl you are dating, once it's serious enough, what are the good things and the bad things about dating you. Keep in mind also that you will get better and better at relationships as you get more experienced. However, I really think you shouldn't obsess about this issue. I certainly hope it isn't making you miserable thinking about your past girlfriend, and if it is I would second frob's idea of seeing a psychologist.
  10. Hedos

    simple ebay question

    I don't think eBay has the capabilities to mix an AND and an OR in a single search, you can only do either. What I recommend is that you do three distinct searches with the option "All words, any order" for: blue cat, brown cat and finally green cat. Then just combine the results together.
  11. Hedos

    How long would a zombie apocalypse last?

    You might be interested in the following (actually serious) articles written by a mathematics professor modeling zombies population using differential equations based on assumptions made from popular zombie movies: When zombies attack!: Mathematical modelling of an outbreak of zombie infection.
  12. Hedos

    Mini-Contest: ASCII Fishtank

    Alright, here it is: Hedos' Fishtank Hint: The game can become quite a bit of a huge mess if you drop too much food One fun way to play this game in fact is to not do anything at all and just watch the fishtank evolve given the initial setup. There should cycles where the population of fish alternate between going almost extinct and then growing very large. It's interesting to see how long your fish can survive without any intervention. If you do that however, make sure to toggle on the fast mode. Anyway, the fact that the fishtank behaves as some kind of an ecosystem with population cycles is what I'm most proud of! I really regret not adding the remaining features I had in mind. I wanted somehow to be able to export or visualize statistics (number of fish, quantity of plankton, etc.) so that one can see clearly the alternating cycles that the ecosystem goes through (inspired from the prey-predator cycles, where both populations oscillate but the predator population always lags the prey population). Also, I really wanted to add algae! I couldn't figure a proper way to have the algae grow or interact with the fish though.
  13. Hedos

    Mini-Contest: ASCII Fishtank

    Unfortunately I wasn't able to work on my fishtank in the last few days and hence missed the deadline. The game is far from finished, but I'd like to submit it anyway so that people can have a look. I have however to make a few very quick final adjustments to the game (otherwise it won't be playable) and then I'll submit it in the next hour or so. I totally understand if that means I'm out of the contest, that's okay.
  14. Hedos

    My reasoning is more than yours

    For Question 1, I thought of cutting a giraffe into pieces at first, but then I realized that the better idea is just to find a large enough refrigerator and put the giraffe in. My answer for question 2 was the same, which I stand is correct, because the question asks "How do you put an elephant into a refrigerator?". The assumption that you have to put the elephant in the same refrigerator as the giraffe is just arbitrary and plain wrong! I got question 3 right, I thought this was pretty obvious given the provided answers to the two previous questions... For question 4 though, I have to admit I completely missed the point, but my idea was if there is a bridge, just cross it, and otherwise ask the locals how they do it. Edit: Yes I do realize the quiz is silly
  15. Hedos

    Mini-Contest: ASCII Fishtank

    I'm going to enter this contest. I have some free time this month, plus this looks like fun I strongly suggest anybody that's willing to participate to have a look at Benryves' Windows Console tutorial to learn how to setup a 80x25 or 80x50 console window without a scrollbar, with no flickering and with user input. So far I have bubbles and one type of fish that only moves in a straight line
  16. Hedos

    Debate me about the bible

    I'd just like to make a small note here, because this is something that I've heard often lately and that I find irritating. The sentence "the belief of atheism" is a misrepresentation of what atheism is. Atheism is the lack or rejection of a belief in some form of a god (this is *not* agnosticism). The sentence "the belief of atheism" has implications, it is meant to suggest that atheism is an equivalent philosophical stance as is the belief in other religions, because it also requires a leap of faith. That is not the case, because the burden of proof is on religions. They make extraordinary claims, so they require extraordinary proofs. Atheism does not make any extraordinary claim. This statement above is essentially the same as the statement that an atheist would need to "prove that atheism is true". Would you require me to prove to you that Santa Claus does not exist? Would you require me to give you proof that the Tooth Fairy or that the Flying Spaghetti Monster don't exist? Of course not. If you choose to believe in any such fairy tale, you are the one expected to provide very strong evidence. [/quote] I think it is more like the Null Hypothesis. That itself is a belief. It is just a negative belief. Not having evidence of your test case does not necessarily prove the null hypothesis. [/quote] You might be interested in the wikipedia article on the Null Hypothesis. Quote: "It is important to understand that null hypothesis can never be proved." Thus, this is why I'm saying there is no such thing as a "belief in the Null Hypothesis". Is is a contradiction in itself, because the Null Hypothesis can't ever be proven. This is a subtle issue, but the main point I am addressing is just that of terminology. Stop saying that "atheism must be proved", it's a contradiction. We just refuse to believe in gods because of the lack of evidence, and we can point to this lack of evidence or we can criticize the weakness of the evidence or we can show the contradictions in the proposed evidence, but we are not trying (and don't need to try) to prove atheism.
  17. Hedos

    Debate me about the bible

    I'd just like to make a small note here, because this is something that I've heard often lately and that I find irritating. The sentence "the belief of atheism" is a misrepresentation of what atheism is. Atheism is the lack or rejection of a belief in some form of a god (this is *not* agnosticism). The sentence "the belief of atheism" has implications, it is meant to suggest that atheism is an equivalent philosophical stance as is the belief in other religions, because it also requires a leap of faith. That is not the case, because the burden of proof is on religions. They make extraordinary claims, so they require extraordinary proofs. Atheism does not make any extraordinary claim. This statement above is essentially the same as the statement that an atheist would need to "prove that atheism is true". Would you require me to prove to you that Santa Claus does not exist? Would you require me to give you proof that the Tooth Fairy or that the Flying Spaghetti Monster don't exist? Of course not. If you choose to believe in any such fairy tale, you are the one expected to provide very strong evidence. This is probably not something you did on purpose, but I noticed some people constantly using this rhetoric and I thought this should be clarified.
  18. Hedos

    Debate me about the bible

    It's great to see that you are using critical thinking and reason to question your faith. I have one suggestion for you, look up Christopher Hitchens (YouTube is a good source with many great debates he participated in), you should enjoy his rational and analytical approach to religions.
  19. Hedos

    When does rational thinking fail?

    To me, this "paradox" seems trivial (in the mathematical sense of the word). First of all, this "paradox" is impossible because it assumes the world to be deterministic, which we know it isn't. So let's assume that the scenario takes place in an alternative, deterministic universe. Now, in a deterministic universe, the choice that you will make is already determined at the very beginning of times. Hence, you never have the problem of trying to figure out which choice should you make, because in the end your choice is already predetermined. You might choose to reason it out and think about your choice anyway, but ultimately you will end up making the choice that is already predetermined. In fact, the alien could have either only brought 100$ or 100100$ from his home planet, depending on the choice he knew you would make, well ahead of time. So, there is no intelligent thinking to be done at all, no decision making involved. It is all a matter of in "which" universe you happen to be in. Either you live in the universe where you only open box B or you live in the universe where you open both boxes. In the sense, the "paradox" is trivial. Of course, because the paradox is so trivial, it does not imply anything about "rational thinking".
  20. Well, I think you are right that your Object class shouldn't have a pointer to an object of class Pointer, if you wanna do this the OOP way. But to me, it doesn't make sense either that the Player or Object class would have a method to "update" itself. There should be a routine in your main game loop that takes care of updating the physics of your game, and this routine should be at the level such that it has access to the all the objects of class Player and Object. Just make sure that you have a public method that allows you to retrieve and update the Player and Object position and velocity. Then, Objects and Players don't have to worry about knowledge of other entities. Your routine is at a higher level where all information is available and so all the objects can be updated by your routine according to your game physics rules. That approach will be easier to manage later on. What if you want to walls or some other new entity that doesn't behave like your "Objects"? Then the Player doesn't have to know about a new structure and need a new pointer for that new class, your update routine will do all the work.
  21. Hedos

    Atmospheric Scattering theory questions

    Your understanding is correct. When the sun is high in the sky, light rays of short wavelength get scattered all around the sky and hence the sky appears blue. When the sun is very low on the horizon, then the light rays have to travel a much longer distance through Earth's atmosphere before they reach you. Most of the light rays of short wavelength get scattered before they can reach you. That is, they get scattered onto the Earth, back into space, or simply get absorbed by the atmosphere after too many reflections. However, the longer wavelength light rays get scattered a little but not nearly as much. So all that you see are the remaining light rays which have been filtered out of their short wavelength contents. They do a little bit, but we just can't see it because a lot more of short wavelength rays get scattered and sent to our eyes. You have to think of this phenomenon as two distinct effects. There is scattering and absorption. Scattering causes all wavelengths to "spread" when passing through the atmosphere (of course, the short wavelengths spread a little more than the longer wavelengths). Absorption causes the luminosity of all wavelengths to decrease (again, short wavelengths have their luminosity decrease faster than longer wavelengths). You have to combine those two effects with the fact that absorption is small when the sun is high in the sky and absorption for short wavelengths is total when the sun is low.
  22. Hedos

    Wave property question

    You should have a look at the superposition principle. Basically, this tells you that no, you can't, because the frequency spectrum of a superposition of multiple waves is just the sum of the frequency spectrum of the individual waves. However, that's only true for waves that respect the superposition principle. You might want to have a look at nonlinear optics. In nonlinear media, it is possible to do precisely what you are talking about. However, the article claims that these phenomena are only possible at a very high intensity (such as those provided by a pulsed laser). But they do give an example on the wikipedia page where IR waves are converted to visible light.
  23. Hedos

    Eye floaters, health anxiety & motivation (oh my)

    I have them too ever since childhood. I think they're quite noticeable, I have both the long worm-like figures and the blurred dots, and at some point they were distracting me enough that I went to see an eye doctor about them. Later on, I realized that I actually only noticed them when I was thinking about them. Now, over the years they didn't go away at all, but I hardly notice them at all anymore, unless I consciously try to see them. Usually I won't think about them for months or years at a time, hence I don't see them either.
  24. Hedos

    What's your favorite StarCraft 2 unit?

    I like the Thor. They can tank so much damage, especially if you bring SCVs along to repair them. They work great for harass with a dropship too. Also, they shut down any mutas harass very efficiently. Finally, they synergize very well with hellions, which allow you to go for a mech build and get a lot of mech upgrades.
  25. Hedos

    Why lens flares?

    Also lens flares are present in 3rd person view games like Ocarina of Time, in which it seems more intuitive to think that we are looking at the world through a floating camera following the main character. Such games probably contributed to the lens flare popularity.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!