arghbleargh
Joined 13 years ago
Joined 13 years ago
I have a project along these lines as well: https://github.com/zhaizhai/turnbase . That's a somewhat cleaned-up version that I put on github recently; I actually started it almost five years ago. You can see an example implementation of Battleship here: https://github.com/zhaizhai/turnbase/blob/master/games/battl...
I once had visions of a "code-blocks" interface like you're doing, but you've certainly gotten a lot farther than me on that front. I'd love to find out more about what you're doing and if any of my code can help (will send you an email). I don't actually have time to work on this project seriously, so I'm happy to share whatever experience I've gained so that it doesn't go to waste :).
Also, the main point preceding the quote that men and women may have different natural dispositions is a reasonable one. He only oversteps by implying men are better leaders, a claim that may be defensible under some very specific definition of "good leadership" but is mostly just inflammatory in this case.
Still, if the allegations are true, a culture where it is fine to engage in such active deception is not a good sign.
is_in_bounds(x, y, z)- vaccines cause autism: OK, we have no reason to believe that they do, but we don't know for sure that nothing in them can cause autism. But even if they did, we believe the effect must be quite small.
- people are safer owning a gun: The science can't possibly say whether a particular person is safer or not owning a gun. But it does suggest that you may be underestimating the dangers of owning a gun.
- genetically modified crops are harmful: So far they have not really been harmful, but we have only a vague idea of the likely consequences down the road.
- climate change is not happening: Well, it's obviously happening, but a lot of similar questions are not clear. There's really no way to prove for sure that it's caused by humans or predict its consequences. We should still worry about it because of the potential consequences, but at the end of the day, we are still mostly working with educated guesses.
At the end of the day, even when science is wrong, I think it tends to give answers that are much closer to the truth than e.g. random intuition. So that's why some people arguing against pseudoscience try to paint the actual science as absolute truth. They're using the ends to justify the means. But their arguments are sometimes over-reaching, and that can ultimately make them lose credibility.
To me, the primary value of math for programming is that it is a pure form of exercising many of the skills that help you write good code. For example:
- fluency in logical reasoning
- turning vague intuitions into precise statements (translating business requirements into code)
- formalizing proofs (covering all cases, establishing invariants)
- developing abstractions to succinctly describe relationships
- solving a problem systematically
You can also learn these skills by programming, of course, but probably not as quickly, because you will be distracted with other tasks such as debugging, setting up your dev environment, waiting for your program to run, etc. So in my opinion, what's important is not so much the immutability of the math itself, but rather the process of doing the math. I would be interested to know if others have had similar experiences.
Also, I know for a fact that many (but not all) people who were good at these contests are also good all-around programmers. (In fact, you probably do better at these contests by writing more readable code, even accounting for the time cost. But some people can get by with messy code as well.)
From the pictures, it looks like they've set up some kind of system to translate certain physical movements into changes in the projected images. It seems like a non-technical user can only make superficial changes within a limited set of pre-defined behaviors. But from the description it sounds like there's a lot more to it than that...