Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:I've never understood the UNIX world's fascinat (Score 4, Insightful) 267

How does it work for searching though? If I just have my "freespace" file and my pointers to records, does a search for some piece of user requested data have to hit every record or is there a hash somewhere for the data contained in the record? You don't mention it in your description.

It seems that the biggest advantage to a relational DB is that the syntax for accessing it is well known, SQL. It has a human read-able interface and while sometimes whonky to work with for complex operations, it provides the simplest cross-platform way to access data. I don't need to know which data blocks hold the data, I just ask the database for them "SELECT slashdotid, name FROM users where slashdotid 20000"... and I get rows of data.

Could I just read it from a file? Yes. Would it be simpler? Maybe. But what if I have 200001 records, then I have to do some magic sorting in my program, and I have to manage memory for them, and disk space, etc. It is simpler to let the DB handle that mess and I just ask for the data I need.

It breaks up the process of programming into data storage and data manipulation/presentation. DB's for storage, my bad python for manipulation and presentation.

--Donald

Comment Re:Just do what you did... (Score 5, Insightful) 201

First Black President, that's why this is important. I plan to watch it. This is how far we as a nation have come in the 60 years since the civil rights movement and the Jim Crow laws that held black people down for so long. More than just another president being inaugurated this is a statement that anyone can achieve anything they push for. Yes, I'm a flag waving optimist about this but having grown up in an inner city and having seen the devastation of being poor in America, It makes me hopeful that things can change for the better.

This is the kind of thing that can give an inner city kid a shred of hope that he can get out of the slums and into something better.

I'm starting to get all preachy now, but that's why this is something kids should watch.

Programming

Submission + - John W. Backus, FORTRAN creator/developer dies.

dcowart writes: ""John W. Backus, who assembled and led the I.B.M. team that created Fortran, the first widely used programming language, which helped open the door to modern computing, died on Saturday at his home in Ashland, Ore. He was 82." Source: NY Times. I first read this on the Beowulf mailing list, where a lively discussion of programming in Fortran vs. C vs. C++ was in process..."
Enlightenment

Submission + - Drowning in Tech Junk?

JackStrife17 writes: "In an attempt to reduce the clutter in my home office, I've been gathering up all of my spare disk drives, cables, screws, mice and other miscellaneous bits that I have lying around. While a tall cardboard box filled with categorized plastic and anti-static bags was once a satisfactory system of organization, it is no longer working for me. I currently access my "box of holding" about once a day where locating and retrieving things I need has become a tedious affair. With dozens of different types of tools, components, and cables that every nerd needs regular access to, how does Slashdot organize and store its own collections of tech junk?"

Slashdot Top Deals

One man's constant is another man's variable. -- A.J. Perlis

Working...