Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


NYT's "Games To Avoid" an Ironic, Perfect Gamer Wish List 189

Posted by Soulskill
from the more-or-less dept.
MojoKid writes "From October to December, the advertising departments of a thousand companies exhort children to beg, cajole, and guilt-trip their parents for all manner of inappropriate digital entertainment. As supposedly informed gatekeepers, we sadly earthbound Santas are reduced to scouring the back pages of gaming review sites and magazines, trying to evaluate whether the tot at home is ready for Big Bird's Egg Hunt or Bayonetta. Luckily, The New York Times is here to help. In a recent article provokingly titled 'Ten Games to Cross off Your Child's Gift List,' the NYT names its list of big bads — the video games so foul, so gruesome, so perverse that we'd recommend you buy them immediately — for yourself. Alternatively, if you need gift ideas for the surly, pale teenager in your home whose body contains more plastic then your average d20, this is the newspaper clipping to stuff in your pocket. In other words, if you need a list like this to understand what games to not stuff little Johnny's stocking with this holiday season, you've got larger issues you should concern yourself with. We'd suggest picking up an auto-shotty and taking a few rounds against the horde — it's a wonderful stress relief and you're probably going to need it."

Comment: Re:A huge pain (Score 1) 531

by failrate (#30294436) Attached to: Trying To Bust JavaScript Out of the Browser

I'm not sure why anyone would want JavaScript anywhere else. I believe that the only reason why JavaScript is "popular" in the first place is because it is the only option available for client-side processing on the web.

You are discounting the ubiquity of both Flash and Java. I could easily imagine you not taking seriously other plugins like Shockwave, Unity, etc., but if your argument is based on what a given person will have installed on their machine by default, you've still got Flash and Java.

But what truly kills JavaScript for me is the lack of development tools and a solid reference. Debugging JS with an alert window is a horrible experience.

Douglas Crockford's Javascript: The Good Parts is an excellent reference. If you go to, you can find links to videos of the class where he goes over the content in the book. Mr. Crockford also provides the JSLint tool on his website. It compensates for JS's lack of a compiler. Additionally, debugging with the alert window is an exercise in torture.
If you need to work with JS for a website, I would strongly recommend using the FireBug plugin. If you can't install plugins, then the very flexibility of JavaScript allows you to override the alert function. I generally add a div with the id="alert_box", then add this to your script: function alert(txt) { var box = document.getElementById('alert_box'); box.innerHTML = txt + "br/>" + box.innerHTML; }
That's not perfect, but it definitely works in a pinch. Just add an opening angle bracket before br. I couldn't get the formatting correct ;)

Comment: Re:Javascript is actually a great language (Score 1) 531

by failrate (#30294344) Attached to: Trying To Bust JavaScript Out of the Browser
Re: 2D/3D libraries

-Binding SpiderMonkey to openGL took me about a week and a half as a hobby project, and I'm not a particularly good C programmer. The result was an easy to use 3D livecoding environment that performed good enough for games. I had plenty of places in the JavaScript engine choice, binding and openGL calls to improve performance as well, but given the advent of webGL, I assumed that the proof of concept had outlived its purpose.
-If you prefer 2D, it is just as easy to bind it to libSDL. I didn't make much use of the graphics, but I used the basic sound functions to create a 256 channel additive sine synthesis soft instrument. Again, plenty of room to optimize (didn't even use sdl_mixer), and it meant that I was able to tweak the instrument code while it was running.

Theory is gray, but the golden tree of life is green. -- Goethe