Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Education

Best Paradigm For a First Programming Course? 592

Keyper7 writes "The first programming course I had during my computer science schooling, aptly named 'Introduction to Programming,' was given in C because its emphasis was on imperative programming. A little before I graduated, though, it was decided that the focus would change to object-oriented programming with Java. (I must emphasize that the change was not made because of any hype about Java or to dumb down the course; back then and still, it's presented by good Java programmers who try to teach good practices and do not encourage excessive reliance on libraries.) But the practices taught are not paradigm-independent, and this sparked a discussion that continues to this day: which paradigm is most appropriate to introduce programming? Besides imperative and object-oriented, I know teachers who firmly believe that functional programming is the best choice. I'm interested in language-independent opinions that Slashdotters might have on this matter. Which paradigm is good to introduce programming while keeping a freshman's mind free enough for him/her to learn other paradigms afterwards?"
Games

The Importance of Procedural Content Generation In Games 160

Gamasutra reports on a talk by Far Cry 2 developer Dominic Guay in which he discussed why procedural content generation is becoming more and more important as games get bigger and more complex. He also talks about some of the related difficulties, such as the amount of work required for the tools and the times when it's hard to retain control of the art direction. Quoting: "Initially, the team created a procedural sky rendering approach based on algorithms — which led to a totally unconvincing skybox that was clearly inferior to what a hand-authored skybox would be. 'We considered it to be a total failure,' he said. He explained that a great deal of focus must be put on the tools that surround the algorithms, to allow the systems to be properly harnessed. In the end, the game shipped with a revamped procedural sky system that ended up much more effective than the first attempt."
Cellphones

(Useful) Stupid BlackBerry Tricks? 238

Wolfger writes "Continuing the recent (useful) stupid theme: I've recently become a BlackBerry user, and I'm in love with the obvious(?) tricks, such as installing MidpSSH to access my home box remotely. But I'd like to know what more experienced Crackberry addicts can share."
Networking

Microsoft Working For Samba Interoperability 221

JP writes "Andrew Bartlett of Samba fame has written a document describing their recent collaboration with Microsoft's Active Directory team. In brief, it would seem that the sky is falling, as Microsoft's engineers seem to be really committed to making Samba fully interoperable with AD. They have organized interoperability fests and have knowledgeable engineers answering technical questions without legal or marketing drones getting in the way. However according to Andrew the Samba AD team is currently very short on manpower, so if you have network experience, now is the time to get coding."
Google

Google To Fund Ideas That Will Change the World 165

Peace Corps Online writes "This week, as part of their tenth birthday celebration, Google announced the launch of project ten to the 100th, a project designed to inspire and fund the development of ideas that will help to change the world. They have called on members of the public to share their ideas for solutions that will help as many people as possible in the global community, offering a $10 million prize pool to back the development of those chosen as winners. 'We know there are countless brilliant ideas that need funding and support to come to fruition,' says Bethany Poole, Project Marketing Manager for Google. 'These ideas can be big or small, technology-driven or brilliantly simple — but they need to have impact.' The project's website asks entrants to classify their ideas into one of eight categories listed as Community, Opportunity, Energy, Environment, Health, Education, Shelter and Everything Else. Members of the public have until October 20th to submit their ideas by completing a simple form and answering a few short questions about their idea."

Comment Re:What about a Comparison Matrix (Score 1) 415

You are wrong. There are scripting languages with dynamic but strong typing like Python for example.
You cannot change types in Python variables implicitly. You have to do type conversions.
you can't do:

print "some string" + some_integer

You have to convert it:

print "some string" + str(some_integer)

Nice troll though...

Encryption

Submission + - Spore Creature Creator uses steganography in PNG. (nedbatchelder.com)

arcanumas writes: "It seems that Spore Creature Creator allows you to save images of creatures in PNG format, that you can later import and get your creature back. Ned Batchelder did some digging using Python and PIL, and discovered that Creature Creator uses steganography to embed creature data within the PNG file. According to Ned:

"These pixels are part of the black transparent edge of the image, except it isn't truly black and it isn't truly transparent. There's one bit of information being encoded in each channel, or four bits per pixel."

The article also raises some questions on why they used this method instead of tEXT records (supported by PNG), but it is a cool hack nevertheless."

What Programming Languages Should You Learn Next? 759

simoniker writes "Over at Dobbs Code Talk, Chris Diggins has been discussing programming languages beyond C++ or Java, suggesting options such as Ruby ('does a great job of showing how powerful a dynamic language can be, and leverages powerful ideas from Smalltalk, Perl, and Lisp') but suggesting Scala as a first choice ('Very accessible to programmers from different backgrounds.') What would your choice be for programmers extending beyond their normal boundaries?"
Input Devices

Use Your Cellphone as a 3D Mouse 77

Roland Piquepaille writes "In recent years, we've started to use our cellphones not only for placing calls or exchanging messages. Now, we take pictures, read our e-mails, listen to music or watch TV. But, according to New Scientist, UK researchers are going further with a prototype software that turns your cellphone into a 3-D mouse. The phone is connected to your computer via Bluetooth. And you control the image on the screen by rotating or moving your phone. As says one of the researchers, 'it feels like a much more natural way to interact and exchange data.' The technology might first be used in shopping malls to buy movie tickets or to interact with advertising displays."
Unix

Submission + - End of 32 Bit Time Problem 1

georgetirebiter writes: "At least one large, very successful financial services organization in the last few days fell victim to the Unix year 2038 problem when trying to create a standard 30 year risk contract in their proprietary financial software. The problem occurred when trying to make a standard time call in sql. I wonder how many other programmers have had to try to solve this problem in legacy systems? What solutions did they use? Is this really an incipient and perhaps more serious successor to the Y2K bug?"
Censorship

Chinese Government Sued Over Dog Height Censorship 259

Googling Yourself writes "More than 30,000 censors are employed in China to monitor the Internet, so it was no surprise when censors deleted a posting by Chen Yuhua protesting Beijing municipal government's regulations barring any dog over 14 inches high and restricting each family to only one dog. The surprise (reports the Washington Post) was when Chen studied China's civil code and marched into court with a lawsuit, only the second time that a Chinese citizen has gone to court over party censorship. 'I was very careful to follow the correct procedure,' Chen said in an interview, while pointing at the official legal manual on his dining room table. On December 14 Chen was told by clerks that the district court, after referring to higher-level judges for advice, had decided to reject the case. The next step, Chen said, is an appeal to the Supreme Court."
Intel

Intel Set To Demo PRAM 83

xavatarx writes "Intel's chief technology officer Justin Rattner is set to give the first public demonstration of the company's PRAM (phase-change RAM) technology at this week's Intel Developer Forum conference. 'Intel and other companies are counting on PRAM to replace both NOR and NAND flash memory to generate the demand required to produce the new memory chips in volume, and drive down costs,' the article says."
Censorship

Submission + - BBC World report on WTC 7 collapse 23 mins early.

Anonymous Coward writes: "World Trade Center building 7, aka the Salomon Bro's building, collapsed around 5:20pm EDT (10:20pm BST) supposedley due to weakening and fire damage caused by the collapse of the twin towers WTC1 and WTC2.

The BBC however reported the collapse at 4:57pm (9:57pm BST) EDT, apparently recieving this information from a newsfeed.

How can this be? Was the destruction of building 7 scheduled? And why have google removed the video clips as soon as they go up? Also, the BBC is now saying that they have lost all of the 9/11 tapes from that day.

If building 7 had a scheduled demolition, what does that mean for the events of the entire day?

http://www.prisonplanet.com/articles/february200 7/260207building7.htm

and the BBC response:

http://www.bbc.co.uk/blogs/theeditors/2007/02/part _of_the_conspiracy.html#commentsanchor"
Security

Scientists Make Quantum Encryption Breakthrough 156

Madas writes "Scientists working in Cambridge have managed to make quantum encryption completely secure (registration required) by putting decoy pulses in the key transmission stream. According to the story this paves the way for safe, encrypted high-speed data links. Could this allow completely private transmission of data away from snooping eyes and ears? Or will it mean film studios can stop movies from being copied when traveling on the internet?"
Media

Submission + - Reading a DVD with VLC is illegal in France

An anonymous reader writes: Starting December 31st 2006, reading a DVD protected with CSS (as most DVD are) is illegal in France when it is done with software allowing to circumvent the protection, such as VLC or mplayer which can both use the libdvdcss library. This Journal Officiel (where laws and executive orders are published) says that you may be fined 135 (around $180) for doing so. This includes watching any DVD that you have legally purchased.

Slashdot Top Deals

It is easier to write an incorrect program than understand a correct one.

Working...