Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×

Comment Does the guy really qualify as seasoned? (Score 3, Funny) 683

For example, nothing was said about GOTOs being liberally sprinkled throughout the code. If he's working in a non-optimal language that doesn't support GOTO, he should try hacking in the functionality with preprocessor defines. Maybe even hack in a preprocessor if the language designer forgot one, or add another preprocessor if not. With a few stacked preprocessors one can even write his own (better) computer language, and what seasoned programmer doesn't aspire to have one or two of those under his belt?
Programming

Ask Slashdot: How Can I Explain To a Coworker That He Writes Bad Code? 683

An anonymous reader writes "I have a coworker who, despite being very smart, and even very knowledgeable about software, writes the most horrible code imaginable. Entire programs are stuffed into single functions, artificially stretched thanks to relentless repetition; variable and class names so uninformative as to make grown men weep; basic language features ignored, when they could make everything shorter and more readable; and OOP abuse so sick and twisted that it may be considered a war crime. Of course, being a very smart person who has been programming since before I was born makes him fairly impervious to criticism, so even a simple 'Do you see how much better this function is when written this way?' is hopeless. How can I make him see the light, realize the truth, and be able to tell good code from bad?"

Comment Use of language (Score 2) 59

Also among the business practices Google has agreed to stop is 'scraping Web content from rivals and allegedly passing it off as its own, said FTC Chairman Jon Leibowitz.'"

So, would there be a problem if Google scraped Web content from rivals and proudly proclaimed it was passing it off as its own?

AMD

Submission + - AMD tweaking Radeon drivers to reduce frame latency spikes (techreport.com)

crookedvulture writes: "Slashdot has previously covered The Tech Report's exposure of frame latency issues with recent AMD graphics processors. Both desktop and notebook Radeons exhibit frame latency spikes that interrupt the smoothness of in-game animation but don't show up in the FPS averages typically used to benchmark performance. AMD has been looking into the problem and may have discovered the culprit. The Graphics Core Next architecture underpinning recent Radeons is quite different from previous designs, and AMD has been rewriting the memory management portion of its driver to properly take advantage. This new code improves frame latencies, according to AMD's David Baumann, and the firm has accelerated the process of rolling it into the official Catalyst drivers available to end users. Radeon owners can take some comfort in the fact that a driver update may soon alleviate the frame latency problems associated with AMD's latest GPUs. However, they might also be disappointed that it's taken AMD this long to optimize its drivers for the now year-old GCN architecture."

Submission + - That link you just posted could cost you 300 Euros (the-digital-reader.com)

Nate the greatest writes: Do you like to tweet or share links to interesting news articles? According to a coalition of Irish newspapers, that makes you a pirate. The National Newspapers of Ireland has adopted a new policy. Any website which links to one of the 15 NNI member newspapers will have to pay a minimum of 300 euros, with the license fee going up if you post more links.

Note that this is not a fee to post an excerpt or some punitive measure for the copying of an entire article. No, the NNI wants to charge for links like. It's almost as if this organization has no idea how the web works. Or maybe they have found an elaborate way to commit suicide.

Security

Submission + - Africa's Coming Cyber-Crime Epidemic (itworld.com)

jfruh writes: "Those Nigerian spam scams of the last decade may have just been the first step in a looming African cyber-crime wave. Africa has the world's fastest-growing middle class, whose members are increasingly tech-savvy and Internet connected — and the combination of ambitious, educated people, a ceiling on advancement due to corruption and lack of infrastructure, and lax law enforcement is a perfect petri dish for increased cybercrime."

Submission + - The 2013 Slashdot Free Education Challenge (edx.org) 2

DiamondGeezer writes: Most slashdotters would agree that with the ever rising cost of higher education and the ever-present need to keep ourselves ahead of the game, the game-changer might well be the free massively online education courses now being rolled out.

With that in mind, I'd like to suggest a 2013 challenge for as many Slashdotters as possible to enrol in at least one free online course and report on the results back to the providers.

Some courses have had mixed reviews (for example this one got a pasting) but the only way these massively online courses will improve and go mainstream (and maybe get real-world accreditation to boot) is to take courses and provide large amounts of feedback — oh, and learn of course.

I've chosen edx.org as a starting point and I've already signed up to Introductory Statistics at Berkeley.

We could call it "The Slashdot MMO learning challenge". Cost: nothing but time which you would normally be frittering away playing WoW or Eve or something. There are no dragons to slay or grand space battles to conquer for virtual resources, but there is a future universe of education to be found.

Who's with me?

Submission + - Command & Conquer recreated in HTML5, with multiplayer!! (adityaravishankar.com)

An anonymous reader writes: Back in the deep dark days of 1995, computer gaming was very different from what we know today. It was slower, blockier, and everything was a pain to install. Still, many gamers of the era have fond memories of the original Command and Conquer, later renamed Tiberian Dawn. This real-time strategy game pitted the Brotherhood of Nod against the GDI in all-out war. Now you can play this classic PC title entirely in your browser . What an age we live in.

An enterprising coder, Aditya Ravi Shankar, actually recreated the strategy game using nothing but HTML5, where it runs on 69k of Javascript. Why did he set out on such an adventure? For starters, Shankar’s attempt was a self-mandated undertaking in order to improve his coding skills, where he gave himself a one month window to rebuild the game in the browser, and had to comb through the original game’s files in order to obtain all the right sprites, sounds and specs.

According to Shankar, “In hindsight, I might have wanted to take smaller steps and make a tower defense game instead of jumping directly into an RTS. Trying to do the whole thing in under a month all by myself wasn’t the smartest idea.”

This implementation of Command and Conquer has been developed entirely in HTML5, so any modern web browser should be compatible. In its current incarnation you can’t play the entire game. You can run through the first few levels of both campaigns, but there is online multiplayer support through node.js.

All the assets and audio are lifted directly from the original game, circa 1995. The developer stresses that the port was not created for financial gains, but only as a proof of concept. The game itself is available as a free download from EA , and has been for a few years. Considering this, you might be able to get away with calling the HTML5 port fair use.

The game itself plays well in most places. Unit movement seems a little clumsy, but this might be a fair representation of the original game. The multiplayer skirmishes are good for a few rounds of fun, but many of the structures and units from the full game are missing at this point. Assuming the developer does not get a cease and desist, more content could be added later.

Comment The trend is towards closed computing. (Score 4, Interesting) 284

It's always a little amazing to see how people cheer on the leaks and cracks when they appear in a closed system, yet continue to support these closed systems with their money and attention when open systems are available.

It's just this very weird disconnect in consumer psychology. You don't have to crack a PC (yet) to do what you want with it. But you make a computer small and flat and suddenly you find yourself having to pay $1+ for every little program, from a collection of programs that somebody else has decided you shall have access to. You don't see the "fuck the man" attitude at the store, you only see it when a Scandinavian high schooler comes up with a crack for your game console and the manufacturer tells you you can't have it.

I just don't get it. How many years past DeCSS are we and banging our heads against the same wall?

Comment Thank you for your interest in this topic. (Score 2, Interesting) 357

Efficiency in wireless communication is something of a purple elephant, mostly due to interference concerns that aren't at issue in wired Ethernet transactions. True, wired connections will have the occasional collision (though this is largely solved by modern algorithms and operating systems) but digital transmissions over an analog medium are difficult enough when they aren't running into each other in the air. And then you have other interference introduced by microwaves, whether from devices like cell phones, microwaves, or sunspots. It's a very noisy environment!

The concept of using algebra is a unique step forward in this field. Most here would agree, if you're in a crowded cafe and trying to carry on a conversation, it's easier to shout "Pythagoreas" than to talk about squares and triangles. But with computers it happens to be exactly the opposite because they're designed to compute -- it's what they do and what they like to do. So feed it generalities and, often, it can come up with specifics, much like the Monty Hall Paradox.

The next step appears to be to move from algebraics to broad descriptions of the type of data you want to download. This is waiting on computers with a great deal more processing power and perhaps emergent AI, but there will come a time where instead of feeding a bunch of packets over a noisy channel the Internet will simply say to your computer "short film with 20-something actor wondering whether to marry now or enjoy life for a while longer" and your system will fill in the rest, completing the transfer mathematically. This is down the road a ways, but newer technology such as lossy compression for data is already available and potentially lucrative for those who are willing to think outside of the conventional box and try something with a few more holes in it.

Comment Re:Bright and Sunny Skies Today! (Score 2) 176

If you think the risks of running in the cloud are less than the risks of running in a traditional data center, you're very much mistaken.

If one AWS AZ goes down I can bring up servers in a second one. If one AWS region goes down I can bring up servers in a second one. In fact to hedge against these risks I *already have* servers in multiple zones and regions.

Sure you can do that with traditional data centers. Just host your stuff across more than one, right? Do you have any concept of what that COSTS? Especially if you, say, want to add servers in multiple data centers, or move servers from one to another. Plus now you have multiple vendors, contacts, SLAs, and so son, and so forth. And heaven help you if you ever want to *decrease* your capacity. Have fun selling those servers on ebay.

Reddit and friends are suffering downtime from a single AZ outage because their architectures have single points of failure. Don't build your systems that way! If you have single points of failure it doesn't matter whether you're hosted in the cloud, in a commercial data center, or in your own data center. Conversely if your architecture is good and doesn't have single points of failure, the hosting question comes down to this: what do you specialize in as a business? If that list doesn't include "running a data center", don't run your own data center. If it doesn't include "maintaining a shit load of hardware", then don't host in a commercial data center either, run in the cloud. I think you will find that this latter category includes 99.99% of businesses.

Slashdot Top Deals

"Everything should be made as simple as possible, but not simpler." -- Albert Einstein

Working...