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

 



Forgot your password?
typodupeerror

Comment Warsow, WoP, ... (Score 5, Interesting) 205

I personally love Warsow (www.warsow.net), a Q2-based free (GPL?) FPS, and also World of Padman (www.worldofpadman.com) is quite fun at times, and I think both still have relatively active communities and some servers up at times. Other options include FEAR Combat (projectorigin.warnerbros.com/fearcombat/main), the free multi-player part of F.E.A.R., or free online-only games such as WarRock (www.warrock.net), though both options would require a relatively beefy graphics card. A game I also love personally is Iron Grip: Warlord (http://igwarlord.isotx.com/), which isn't free but they have a demo which allows you to go on-line, it's an FPS tower defense style game, and a lot of fun to play...
Movies

Review of 'MacHeads' Documentary 277

An anonymous reader writes "Just prior to its premiere at MacWorld later this week, CNet has a review of MacHeads, the new documentary film covering the obsessive world of Apple fanboyism. MacHeads features commentary from original Apple employees, the self-confessed Apple-obsessed and girls who claim they'll never sleep with Windows users. Summed up by CNet: 'MacHeads is a superb film that will give Apple haters a few cheap laughs, and Apple fans a few cheap thrills. But it'll entertain both equally, while educating everybody else.'"
It's funny.  Laugh.

Stallman Attacked by Ninjas 524

vivIsel writes "When RMS took the stage to address the Yale Political Union, Yale's venerable parliamentary debate society, it was already an unusual speech: instead of the jacket and tie customary there, he sported a T shirt, and no shoes. But then he was attacked by ninjas. Apparently some students took it into their head to duplicate an XKCD webcomic before a live audience — luckily, though, Stallman didn't resort to violence. Instead, he delivered an excellent speech about DRM."
The Courts

Provider of Free Public Domain Music Shuts Down 242

Mark Rogers writes "The International Music Score Library Project has provided access to copies of many musical scores that are in the public domain. It has just been shut down due to a cease-and-desist letter sent to the site operator by a European Union music publisher (Universal Edition). A majority of the scores recently available at IMSLP were in the public domain worldwide. Other scores were not in the public domain in the United States or the EU (where copyright extends for 70 years after the composer's death), but were legal in Canada (where the site is hosted) and many other countries. The site's maintainers clearly labeled the copyright status of such scores and warned users to follow their respective country's copyright law. Apparently this wasn't enough for Universal Edition, who found it necessary to protect the interests of their (long-dead) composers and shut down a site that has proved useful to many students, professors, and other musicians worldwide."

Comment Re:I love the autopointerage & hate the scope (Score 1) 439

> if( !Array.push )
> Array.prototype.push = function( item ){ ... }

Yes, this sounds nice, but it's a large pitfall too. It's very tempting to start extending 'basic datatypes' with all kinds of stuff, which can result in awful clashes with other libraries that do the same. Ruby on Rails' 'Prototype' library is a good example of how _not_ to use this.

> someObject.onclick = function(){ myFunction( this.someAttribute ) }

Horrible indeed. The idea of allowing to call a method with a different 'this' is already scary, and useful only for nasty hacks, but I think actually using this feature in very commonly used functionality* was a big mistake (perhaps not so obvious when 'object oriented' programming (yes, the prototype stuff, i know it's not strictly oo) wasn't very common, but nowadays it's one of the first walls JS developers bump into).

> function array_push( arr , item )
> arr[arr.length] = item;

Nothing new here I think... There's more (intepreted) languages that can do this. And most other languages actually _do_ implement push() (or something similar) on all platforms. ;)

> someObject.onclick = myFunction

Nothing new here either. Try Python for instance, which is a lot more dynamic than JavaScript... :)

Yes, I understand that JS has certain very nice features when you're used to more static ones like C or Java or whatnot, but I think compared to certain others (note that most of JS' features are in some way stolen from other languages) its awful implementation, lack of basic functionality (no String.strip() while there is a String.blink()?!?), sheer unintuitiveness (it's for instance not at all clear what notation to use for 'OO', there's a billion ways to define objects and prototypes and such, and the differences are subtle) and strange quirks (like the nested scopes example you mention, but there's plenty more examples) are reason enough to still see it as 'necessary evil' rather than 'an enlightening experience'... ;)

(Do note that I'm a bit biased, as I'm (not deeply, but a bit) involved in the PyPy project, which works on (among a lot of other things) a Python to JavaScript compiler... ;)

* most notably event handlers: when registering an event handler in certain ways 'this' points to the event, or the element on which the event is defined, or something, and not to the object, making that you need to use closures to actually have a reference to the object the method is defined on, from the method :|

Slashdot Top Deals

DISCLAIMER: Use of this advanced computing technology does not imply an endorsement of Western industrial civilization.

Working...