Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment I'm European and what is this? (Score 1) 637

Health insurance: already included in my paycheck.
Gym membership: don't have one.
Current account with non-pharma drug provider: never heard of that.
Birth control pill prescription: You can usually get these without a prescription if you ask nicely :)
NPR membership : What is this?

So I guess I would choose phone line even though I haven't used a land line in the past 6 years.
Graphics

Sony To Launch First 3D PS3 Games On Friday 151

Stoobalou writes "Sony plans to show off the first 3D PlayStation 3 games in the UK on 10 June, with a retail launch on 11 June. If you were wondering why Sony is shutting down half the PSN today for maintenance, then wonder no more. We reckon the company's simply gearing up for the launch of the PlayStation 3's first stereoscopic 3D games. Unfortunately, many game developers are seemingly indifferent to the 3D revolution at the moment. In fact, EA CEO John Riccitiello reckons that it's going to be a good three years before 3D becomes a standard gaming feature. Riccitiello explained that there's a big difference between converting a game to run in 3D mode and properly developing it to take full advantage of the extra dimension."
Graphics

The Nuts and Bolts of PlayStation 3D 154

The Digital Foundry blog took an in-depth look at how Sony is introducing 3D technology to PlayStation 3 games. They give a step-by-step description of how the system generates a 3D frame (or rather, a pair of frames), and the graphical hurdles that need be to overcome to ensure the games look good. The article also discusses some of the subtle effects 3D technology can have on gameplay: "'One interesting thing came through in the immersion aspect was that in the first-person camera view, it felt so much more like being there. Typically when most people play MotorStorm, something like 90 per cent play in the third-person view,' Benson explains. 'As soon as we put the 3D settings in place, the first-person view became a lot more popular, a lot more people were using that view. This could indicate that 3D could perhaps change the standards, if you like.' ... 'We found that in the first-person view the game is giving you all the sorts of cues that you're used to in normal driving: speed perception, the ability to judge distances, things like that. It's far easier to avoid track objects.' The insertion of true stereoscopic 3D into MotorStorm also brings about a new sense of appreciation of the scale and size of the game world and the objects within it."
Graphics

DirectX 11 Coming To Browser Games 200

arcticstoat writes "Forget Farmville, Flash puzzlers and 8-bit home computer emulators. The next generation of browser games will be able to take advantage of DirectX 11 effects, not to mention multi-core processing and both Havok and PhysX physics effects. A new browser plug-in called WebVision will be available for Trinergy's new game engine, Vision Engine 8. This will enable game developers to port all the advanced effects from the game engine over to all the common browsers. Of course, any budding 3D-browser-game dev will face the problem that not every PC has a decent graphics card that can handle advanced graphics effects. Not only that, but limited bandwidth will also limit what effects a developer can realistically implement into a browser game. Nevertheless, this is an interesting development that could result in some tight 3D programming, as well as some much more interesting browser games."

Comment PHP advice legitimity (Score 1) 106

I'm no PHP guru, but reading some of their advice on PHP made me flinch.

Don't copy variables for no reason.

Sometimes PHP novices attempt to make their code "cleaner" by copying predefined variables to variables with shorter names. What this actually results in is doubled memory consumption, and therefore, slow scripts. In the following example, imagine if a malicious user had inserted 512KB worth of characters into a textarea field. This would result in 1MB of memory being used!

BAD:
$description = $_POST['description'];
echo $description;

GOOD:
echo $_POST['description'];

Now I would never question the almighty Google, but the Rasmus Lerdorf taught me that PHP uses copy-on-write. Quoting from his O'Reilly Programming PHP book:

When you copy a value from one variable to another, PHP doesn't get more memory for a copy of the value. Instead, it updates the symbol table to say "both of these variables are names for the same chunk of memory."

So who's right? I tend to believe M. Lerdorf since he pretty much invented PHP but like I said before I'm not an expert and my book is pretty old so (PHP 4.1.0) so maybe that has changed since (although I doubt it)...

Comment Install The Gorilla on it (Score 1) 544

If you're into gaming just buy an adapter to connect your laptop to a TV and a couple game controllers and install The Gorilla on your PC. That way you can turn your broken laptop into a ghetto retro gaming system with an interface you can navigate using only a gaming controller.

(Unfortunately the guy who created The Gorilla apparently died about 2 years ago so don't expect any updates soon...)
Power

Using Sun's Energy to Split Water Means Solar Power All Night 557

phorm writes "Reuters is carrying an article about a recent MIT development which may pave the way for solar-energy to be collected for use in low-input periods. According to Reuters, the discovery of the a new catalyst for separating hydrogen+oxygen from water requires only 10% of the electricity of current methods. This would allow storage-cells to function as a form of battery for other forms of energy-collection, such as solar panels. The new method is also much safer (and likely environmentally friendly) than current methods, which require the use of a dangerously caustic environment, and specialized storage containers." sanjosanjo points out coverage of the process at EE Times, which features the MIT group's press release.

Slashdot Top Deals

If all else fails, lower your standards.

Working...