Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Programming

Real World Code Sucks 292

An anonymous reader tips an article at El Reg about the disparity between the code you learn at school and the code you see at work. Quoting: "There is a kind of cognitive dissonance in most people who've moved from the academic study of computer science to a job as a real-world software developer. The conflict lies in the fact that, whereas nearly every sample program in every textbook is a perfect and well-thought-out specimen, virtually no software out in the wild is, and this is rarely acknowledged. To be precise: a tremendous amount of source code written for real applications is not merely less perfect than the simple examples seen in school — it's outright terrible by any number of measures."
Science

Single Microbe May Have Triggered the "Great Dying" 171

An anonymous reader writes with an excerpt from Medical Daily about a new theory for what triggered the "Great Dying: " "Researchers believe that they may finally know why the event occurred, but the theory is not without controversy. There are several theories, including the possibility of a meteorite hitting the planet. Previously, most researchers believed that the Permian mass extinction was a result of a series of volcanic eruptions in what is now Siberia. ... However, Daniel Rothman from the Massachusetts Institute of Technology is floating around a different theory. As he presented in a meeting for the American Geophysical Union, he believes that the mass extinction could have been caused by something much smaller. His theory is that the extinction was caused by a single strain of bacteria."
Hardware

Current Radio Rules Mean Sinclair ZX Spectrum Wouldn't Fly Today 64

First time accepted submitter wisewellies writes "Ben clearly has way too much spare time on his hands, but he decided to see just how well an antiquated ZX Spectrum would hold up to modern EMC requirements. His blog is a good read if you're looking for something to do while pretending to work! From the blog: 'This year is the 30th anniversary of one of my favourite inventions of all time, the Sinclair ZX Spectrum. A few weeks ago, I finally bought one: a non-working one on eBay that I nursed back to health. Fortunately there was very little wrong with it. Unfortunately it's a 16K model, and a fairly early one at that, which won't run much software in its native state. This probably accounts for its unusually pristine condition. We took half an hour in the chamber to perform an approximate series of EN55022 measurements, to check its radiated emissions against today's standard. The question is, what have we learned as an industry since 1982?'"
Patents

Apple Patents Wireless Charging 253

GabriellaKat writes "Via El Reg: 'Apple is trying to patent wireless charging, claiming its magnetic resonance tech is new and that it can do it better than anyone else. This would be cool if its assertions were true. Apple's application, numbered 20120303980, makes much of its ability to charge a device over the air at a distance of up to a meter, rather than requiring close proximity. The Alliance For Wireless Power, which also touts long-range juicing, will no doubt be comparing Apple's designs to its own blueprints.'"

Comment The scariest monster should be the Doctor (Score 1) 170

The Doctor has dealt with crises from a little girl with a psycho-active imagination, to genocidal extinction and universe-threatening cataclysms. He looks like a little, fussy man in a bowtie, but is a 1,000 year old alien with vast storehouses of knowledge and a very non-human perspective.

There are many ways this could be explored; where the Doctor has to do the right thing, which isn't necessarily the good thing. I also wish that the plot line they had in mind for Colin Baker's Doctor could have been done properly, instead of being mangled about by writer's strikes etc. For its time, it was quite revolutionary - the idea that the Doctor's regeneration had gone subtly wrong, leaving him more like the Master than the Doctor. The Sixth Doctor's arc was meant to be a slow descent into hell for the character, and any companions unfortunate enough to get caught up in his self-destruction, before his realisation that it had all gone wrong, and his deliberate suicide, in the hope that the next regeneration would correct the problem, because he was too dangerous to leave running around.

That arc would have made the Sixth Doctor a damaged and tragic figure in the Who mythos, not just the 'bit of a twat' he's generally regarded as, which I feel is a bit unfair to Colin Baker.

Comment Re:Hmmm (Score 1) 96

Higher freqs?

The problem isn't just higher frequencies, which as you say getting to optical frequencies will be really hard, but not impossible. The rest of the problem is bandwidth. I can't find the source article for this, but I'd bet the bandwidth is tiny. Visible light covers and entire octave of bandwidth. I've seen zero sign that metamaterials will ever have close to that much bandwidth. Increasing the frequency just means making things smaller. Most of the metamaterials have elements that resonate at specific frequencies.

Patents

Apple Loses Patent Case For FaceTime Tech, Owes $368 Million 139

beeudoublez writes "Apple was ordered to pay $368 million today to a software company named VirnetX over patents related to Apple's FaceTime technology. Apple engineers testified they didn't pay attention to any patents when building FaceTime. 'The jury, which had sat through the five-day trial, ruled that Apple infringed two patents: one for a method of creating a virtual private network (VPN) between computers, and another for solving DNS security issues. ... It's not the first time VirnetX has won a payout from a major tech firm: the company bagged $105.7m from Microsoft two years ago, and it may not be the last either. VirnetX has a separate case against Apple pending with the International Trade Commission and it has court cases against Cisco, Avaya and Siemens scheduled for trial next year.'" It's not all bad news for Apple today, though — according to Ars, they've won a new patent for a rounded rectangle (D670,286).

Comment Re:Cast in a negative light, obviously (Score 1, Offtopic) 301

"Every time you make a system too efficient, you reduce the number of workers but with economies it's important to have as many people working as possible."

But I have the perfect solution for that little problem and have been quietly promoting it in my country for years now:

The Department Of Beach Surveys.

The government hires people and sends them to the beach every day. They get a clipboard and a short form to fill out daily.

Date:
Location:
Survey Taker:

Did you see any sea life today? Y/N
Did you see any birds today? Y/N
Did you see any land animals on the beach today? Y/N
Was it Windy / Calm?
Was it Sunny / Rainy?
Did you encounter any tourists on the beach today? Y/N
      If Yes, did they seem to be having a good time? Y/N
Did you have an enjoyable day at the beach today? Y/N
Optionally note below anything of interest you might want to.

Perhaps if your country does not have enough beaches, you could send those workers to our country to do the surveys here.

all the best,

drew

Comment Legacy Code is not the issue here (Score 5, Insightful) 360

How about you fix you?

Rather than trying to avoid horrible legacy code, admit that the world is built out of horrible legacy code. Get hold of Martin Fowler, “Refactoring” and Michael C Feathers, “Working Effectively with Legacy Code” then develop your skills at working with legacy code to turn it into better code.

After all, that new beautiful code that you wrote for that last job is now someone else's horrible legacy code.

It is a matter of perception & expectation management.

Comment Collaborative Story-telling (Score 1) 197

Or like an improvised play. Or like a half-written thriller novel, where you're trying to work out how it might have ended. Depends who I'm trying to explain it to, and why.

I got a job once because on the interview form, where it said to state an achievement I was most proud of, I listed a 3.5 year RPG campaign that I wrote from scratch, designed the system for and GM'med every episode on a weekly basis. When they asked me about it, I explained how this involves system design, small-team leadership, group discussion and input, fast reactions to new data and events, and a huge amount of thinking on one's feet.

What I didn't mention were the puns that could stun at 20 paces; laughing so hard that it felt like God herself had opened the top of my head and kissed my naked brain; and the ability to reduce grown men and women to genuine laughter and tears with a handful of pencilled notes on a piece of paper.

What I couldn't mention is that some things grow out of these adventures organically, and there exists no way to describe them to outsiders. There is too much context required, and you know their eyes would glaze over long before you reached the punchline. There are only a handful of people on this planet who will ever understand why: "Range to target?" "B flat!" is funny, or grok what we meant by "Warm up the anthrax cannons, the main speakers, and the rotisserie!", or know why the cry of "Death from above!" is *always* followed by the line "Chocolates from Switzerland!". And that's as it should be.

I'll never understand why anyone would care about the outcome of a game that they didn't have money riding on; the mundanes will never understand why we never stopped telling ourselves stories.

Slashdot Top Deals

With your bare hands?!?

Working...