Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Semi-popular dogfood (Score 1) 609

When I worked at Microsoft, I knew one or two people who had the previous generation. Most people I saw had iphones. Now I've got a friend working on the Win7 team now and he's got one, although he still has his iphone....

I think the way MS does stuff is just so weird, they buy up everything thing that looks like a good idea, try to smash it all together, and then throw 90% of it away. And there's often some really good ideas in that 90%, but all it takes is one spooked exec or manager to chuck it all out...

Comment That's 3 subjects (of varying complexity) (Score 4, Informative) 117

I just want to point out that there are 3 different topics you're talking about there:

  1. C++
  2. OpenGL
  3. Development/building on Linux

Indeed, there are pretty deep concepts behind each of them: C++ is related to fundamental programming concepts, object orientation, and metaprogramming, OpenGL deals with framebuffer rendering/graphics, and Linux development deals with source control, Makefiles, compilers, and configuration setups.

These concepts are not orthogonal by any stretch of the imagination, but it might help to keep in mind that each of them can be studied without the other.

Speaking from personal experience as a 'graphics guy', I would suggest you look further than OpenGL if you want to learn C++. OpenGL is great, don't get me wrong, but it is just an API, and a fairly limited one at that. You won't learn much C++ trying to figure out how to set up texture contexts and binding VBOs.

I would recommend writing a raytracer or your down software-based rasterizing renderer (or both!) - you'll find youself diving right into the data structures that are important to graphics and tackling 'fundamental' problems that really test your programming abilities, versus realizing that you passed GL_LINE to glBegin() instead of GL_LINES or some stupid API issue like that.

Later, you can work on your OpenGL skills; heck, you could even play with it in Python if you're curious. You'll find that any API is easier and more satisfying to use if you say 'How does this API address the following problem in graphics?' as opposed to browsing through the API reference and saying 'Ooh, what does this function do?'.

As for the Linux part, my advice would be to read up on Makefiles and spend some time writing them for various projects. When you've really got a handle on them, you can move on to CMake or autotools or whatever - but jumping into those without knowing that basic mechanism does you a disservice. I'd also recommend experimenting with one of those fancy programming editor (I recommend The One With All of the Modifier Keys), but there are several that are very good.

Good luck!
njord

Comment Cool - but probably not shockwaves (Score 5, Interesting) 99

Those look like regular acoustic waves to me.

I don't doubt the the rocket can go faster than the speed of sound (which gets lower as you get further from the surface), but those waves distinctly lead the rocket's motion, which means that they are the product of acoustic perturbations moving at the speed of sound in the medium.

If the rocket were moving faster than the speed of sound in that medium, then we would see the usual 'shock cone', where those waves would appear an a fairly narrow cone around the rocket as it passed though - certainly not before.

I qualify 'medium' since it is possible that the rocket is moving faster than the speed of sound (in the air) but not faster than the medium that the sundog constitutes. Liquids, for example, have much higher speed-of-sounds and it is (conceptually, not physically) fairly simple for something to be moving faster than the speed of sound in air at sea level but not be anywhere close to the speed of sound in a liquid that it is travelling - and thus producing the regular u-c, u+c acoustic waves.

However, as I understand them, sundogs are collections of ice crystals and probably don't have a higher speed of sound than the air around them. But anyway, waves preceding the motion of a body in a medium are certainly not shockwaves - if we could visualize the waves any object makes in the air, you would see acoustic waves arising from the object's motion before and after it.

Still neat-looking, though.

Comment LaTeX + AucTeX outght to do it (Score 1) 823

I don't see the problem; it seems like you should be able to easily beat the Prof. at writing equations with a (good) text editor you know well and LaTeX.

With the AUCTeX mode for Emacs, you get lots of shortcuts (like 'electric' backslashes and quick commands for environments) plus in-buffer previews.

Add in judicious copy+paste and you should be able to run circles around most professors writing on a blackboard and have plenty of time to read slashdot comments. If they are using an overhead or powerpoint, it might be a little trickier, but hopefully they are handing out notes.

Comment Regulation for regulation's sake (Score 5, Insightful) 612

There have been two big news items about child porn regulations 'gone wild' recently - this, and that business in the UK about images on Wikipedia. It was hard to trump the UK's absurd regulation, but Australia did it!

I'm absolutely against "child pornography" for reasons that I think I share with many others. However, that term is clearly very broadly interpreted.

The reasoning for child porn regulations is pretty reasonable:

  1. Child porn requires that children be put in compromising, sexual situations. We can broadly say that children will not understand the connotation of the situation and at the very least, they will be participating in something that they don't consent to (since without understanding, there can't be consent). In short, children will come to harm through the very act of creating child porn. I think this is something that nearly everyone agrees with.
  2. Child porn encourages people perform sexual acts with children. This conclusion is harder to support, and something that I take some issue with. We see this kind of argument in (usually well-meaning) efforts at censorship - 'violent video games make people violent', etc. I think the issue is not content in these cases, but with individuals. I don't feel that I'm really qualified to make an argument either way in this case, but I have heard of no instances where a person who realized their sexual interest in children after seeing some child porn.

Since most people agree with 1., we should prosecute those who produce and sell overtly sexual images of real children. If we just consider 1., I think it's fairly straightforward to delineate between acceptable and unacceptable images; pictures of children taking a bath or running around naked (which children do, and which parents find charming for some reason) were clearly not taken in circumstances where children were exploited.

Point 2 is where the more broad regulations come from. Perhaps there are people who would be sexually aroused at seeing an image of a child bathing, even if the picture has the most innocent of connotations. I would argue that we need to deal with the disturbed individuals in this case, not parents recording their childrens' lives.

With point 2 in hand, regulators can really go nuts - who's to say what will sexually excite an individual? Pictures of fully-clothed children playing, pictures of aspiring dancers in tutus, pictures of children's shoes, where is the line? Is there some critical number of people who have to be sexually excited to make the image illegal? Even if that is solid reasoning (and I don't think it is), how do you measure that?

I think the important thing to keep in mind is point 1 - we know that the creation sexual photographs of (real) children exploits children, so we must prevent it. Point 2 must be treated with care; we shouldn't abridge our liberties to create content just because there are mentally ill people who would use said material as a call to action. We should be devoting our resources to helping such people.

Another example of lazy, ineffectual government.

njord

Slashdot Top Deals

"All the people are so happy now, their heads are caving in. I'm glad they are a snowman with protective rubber skin" -- They Might Be Giants

Working...