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

 



Forgot your password?
typodupeerror
Linux

Submission + - Nouveau NVIDIA Driver To Enter Linux 2.6.33 Kernel (phoronix.com)

An anonymous reader writes: Not only is DRBD to be included in the Linux 2.6.33 kernel, but so is the Nouveau driver. The Nouveau driver is the free software driver that was created by clean-room reverse engineering NVIDIA's binary Linux driver. It has been in development for several years with 2D, 3D, and video support. The DRM component is set to enter the Linux 2.6.33 kernel as a staging driver. This is coming as a surprise move after yesterday Linus began ranting over Red Hat not upstreaming Nouveau and then Red Hat attributing this delay to microcode issues. The microcode issue is temporarily worked around by removing it from the driver itself and using the kernel's firmware loader to insert this potentially copyrighted work instead.

Submission + - Cyborg professor on the future of AI

Half-man half-biscuit writes: British university professor Kevin Warwick has been discussing the future of artifical intelligence via a video on silicon.com. Warwick has previously claimed to be the world's first cyborg after having an implant in his nervous system that enabled him to remotely control a robot hand via the internet. For more on AI see the Cheat Sheet.
Data Storage

Submission + - Researchers Create Flexible Plastic Flash Memory (technologyreview.com)

An anonymous reader writes: Researchers at the University of Tokyo, led by electrical engineering professor Takao Someya, have created a new kind of plastic, low-cost, flash memory storage device. Although not as dense or stable as it's silicon cousin, the plastic flash memory is useful because of it's low cost, simple manufacturing process, and potential use in e-paper or other flexible devices. To demonstrate the memory, Someya's group integrated a 676-memory-cell device with a rubber pressure sensor. The flexible sensor-memory device, which is less than 700 micrometers thick, can record pressure patterns and retain them for up to a day. The plastic device is described today in the journal Science.
Image

NASA Tests Flying Airbag 118

coondoggie writes "NASA is looking to reduce the deadly impact of helicopter crashes on their pilots and passengers with what the agency calls a high-tech honeycomb airbag known as a deployable energy absorber. So in order to test out its technology NASA dropped a small helicopter from a height of 35 feet to see whether its deployable energy absorber, made up of an expandable honeycomb cushion, could handle the stress. The test crash hit the ground at about 54MPH at a 33 degree angle, what NASA called a relatively severe helicopter crash."

Comment Re:Seatbelts are useless too! (Score 1) 477

You are so busy being sarcastic you don't examine what I'm saying.

Suppose you are dealing with code that is greater then 4 years old that has had several hands involved in it. You are asked to add some functionality to the program.
You need to find out where in the code that functionality should go, and add it in an appropriate place.

So are you going to understand what the program is doing by reading the comments or the code? If you've had any experience you will of course read the code. The code has been tested and works, while the comments are only what some programmer thought he was doing.

What I'm saying is you should write your code so that comments are superfluous, and if the comments are superfluous then why are you writing them. The reason you would write them is when the code doesn't explain what you are trying to do.

Or you could just rant and rave that the comments don't make sense and therefore you can't change the program.

Comment Re:Seatbelts are useless too! (Score 1) 477

Actually I agree with the professor. Overtime code will change, and comments rarely are kept up with the same level as the code. I therefore don't read comments as often as just looking at the code. (Hence the saying "comments lie")

I also rarely comment as the code is created with enough information that it has the commenting built in.

The only time I comment is when something is happening that is not obvious from the code, or which explains the background thinking behind doing something a certain way. Basically just notes to myself to remind me (or the next guy) what thoughts went into it.

Comment Is this a clever one liner? (Score 1) 477

I like to use ternary conditions in my code where strings output based on a condional
for example

int n; //number of shoes
printf("we have %d pair%s of shoe%s",n,n ? : "s" : "",? "es" : "");

If you aren't used to it it is confusing, but if you are it saves a ton of code.

Is it considered a clever one liner?

How about
while(1)
{ // do loop until return or break
}

My code is usually very terse, which helps me maintain it because dense code requires less reading to understand. (IMHO)

Submission + - SPARC vs SparkFun (sparkfun.com)

An anonymous reader writes: "SPARC Industries' attorneys seem to think SPARC looks and sounds an awful lot like SparkFun. Tuesday morning we received a cease and desist letter from K&L Gates law firm. Amongst other things they demand that we "immediately take steps to transfer the sparkfun.com domain name to [SPARC International]."

Anybody ever confused both brands? I used both and I don't!

Comment touch typing at grade 3 (Score 1) 705

I guess my kids were lucky, they had touch typing in grade 3. They had keyboards that were a bit smaller to accommodate smaller hands.

The teacher taught them to not look at their hands while typing.

I took typing in grade 9, and it was the most practical course I ever took.

My kids are done high school and they all type faster then me, and I go around 70 wpm.

Comment Boredom is a useful tool (Score 1) 1345

I think boredom is a useful tool, to encourage young minds to think for themselves. Also to encourage young minds to not get boring jobs. If you've never experienced boredom you won't understand how tedious it is.

With this in mind, I think unschooling should be taught in schools. Students should sit at their desks for many hours a day with a teacher droning on and on about some book to be examined in microscopic detail until nothing of interest remains.

Oh wait.... that happens now.

Slashdot Top Deals

Machines certainly can solve problems, store information, correlate, and play games -- but not with pleasure. -- Leo Rosten

Working...