I've used code generation in Java to get database information into objects. My metadata recorded what tables I was bringing in, what the fields were, and what the Java types should be.
The code generator then created a class for each table, with a constructor that read a JDBC recordset and read each field into the data member, accessor methods, and lookup functions for the fields I needed. It basically took me one day of work on the generator for what would have been four days of annoying, repetitive coding.
The other neat thing was that I used Access VBA (with Access tables for the metadata) to generate Java code, which is great for the sheer perversity of it. Now I'd probably use XML metadata and XSLT, though.
It sounds like what you want is the file system from Windows Longhorn. As I understand it, it will be using SQL Server 2004 (Yukon) for the entire file system. It seems self-evident that using a relational database for all files would result in a single table for files, and a table of attributes, search terms, subjects, etc., so that a file could be found any number of ways.
This is pretty clearly a better system. The only thing that concerns me is that every existing set of programming-language file system tools expects to be working with directory trees, even if they do support different delimiter characters, name length limits, multiple vs. single roots (drive letters vs. '/'), etc. I expect they will include some sort of mapping to a traditional hierarchy, though, as VB will have just as much trouble with the new system as Java will.
By far, the biggest problem I see with our society's dependence on computers is that they believe that computers are infallible.
The belief that paper is infallible is almost as bad. Accountants constantly talk about creating paper trails, but there is really nothing that tells you a report was printed the day it said it was.
Sorry, but "possibly" doesn't do in a court of law. Sure it's possible he set up an alibi, but if there's not sufficient evidence that he did it's not the court's right to assume guilt. That's how "beyond a reasonable doubt" works.
No, it isn't.
"beyond a reasonable doubt" is the burden of proof on the prosecution (supposedly -- my wife was just on a murder jury, and her account pretty much convinced me that it's not taken seriously). The defense just has to establish reasonable doubt, not eliminate it.
Maybe this is why Slayer finally stopped sounding like Death Classic Rock. They needed more distortion for a long time; I just expected it to come from the guitar amplifiers.
Utilitarianism does not have to be materialistic. If the sense of unfairness makes most people unhappy more than they are helped by the economic advantages, it can still be wrong under the utilitarian principle.
Every other (commercial) database I have used allows this
MS SQL Server didn't support this until 2000. I've been working without it, because we're just now getting around to upgrading from SQL Server 7.
Re:Congo was one of his best???
on
Electronic Life
·
· Score: 1
Surely you jest.
Have you read _Andromeda Strain_ or _The Great Train Robbery_?
Yes, I have. The Andromeda Strain is one of two movies based on books where I thought the movie was better than the book (the other is Interview With a Vampire). The movie was pretty good, but the book seemed like a lab report masquerading as a novel.
The Great Train Robbery was decent, but nothing special. It was below average for Crichton.
Word developers wouldn't use Word to develop in: Word is not an IDE. They *would* be expected to use Word to write memos, meeting notes, letters, etc - things that Word is meant for.
Just using Word myself, I'm constantly irritated by all the DWIM (Do What I Mean) behaviour, mainly because I'm a programmer, and I want the computer to do what I explicitly tell it. I suspect MS may not really want the programmers own experiences with the product to be a factor.
That's scary that Chrichton wrote a book about computers in 1983. In 1980, he wrote Congo (of his books, only Sphere is better, and Jurassic Park is about on par), which is a great book, but it demonstrated he didn't really understand computers terribly well.
The expedition team in in the Congo in Africa, using satellite communication to the United States. Because bandwidth was so limited, their messages were abbreviated to IM-Speak and beyond ("HLO. HW R U DOIN? MY NAM IS MKL CRITN.", etc.). Makes sense, I supposed. Along with this, though, they needed to do digital cleanup of a moss-covered wall, so they took digital video of the wall, sent it via satellite to the U.S. where it ws processed, and received the results back in Africa, in real time. Right.
I haven't seen the movie yet, but if I remember correctly, the "blood" for writing on the walls came *from* the walls (the words formed automatically).
Ginny wrote the messages on the wall. This was mostly cut from the movie, but I believe the book said it was blood from the chickens that Ginny killed (the crow of a rooster was supposed to be fatal to a baslisk.).
This is the one thing that bothers me about Harry Potter, as much as I enjoyed the stories superficially. The characters have no moral depth. The good guys are good guys; the bad guys are just mean. There's no struggle in Potter's goodness, just as there's no struggle in Malfoy's evil. The stories are finger-painted in pastels, with none of the moral ambivalences that make life (and characters) so interesting. ...
Even when he gets into trouble he does so for all the right reasons. He breaks rules because it is, under the circumstances, right to do so, and oh-so-dimensionless Harry Potter always does the right thing.
Harry does break the rules sometimes, for bad reasons. It's usually just due to general teenager irresponsibility, though.
A much better counter-example is Snape. He's so mean, unpleasant, and frequently in the wrong that the trio still hasn't quite figured out that he's a good guy, after four years.
Sirrius Black was pretty borderline in book three, as well.
I've got the MSDN library on CD at my office, and I never use it because the web version is easier and more up-to-date. If a login were required, I'm sure we could provide it (we have a MSDN Universal Subscription), but I've never seen anything asking for one.
Thus, if the race had been a head-to-head contest between Bush and Gore, Florida voters probably would have chosen Gore by a substantial margin.
They did, anyway. The whole hanging chad/butterfly ballot nonsense was not the real issue. Republicans in the state hired a company to wipe convicted felons from the voting roles, and they erroneously knocked out 100,000 people or so, from mostly democratic areas of the state. We can be pretty certain that more people showed up at the polls in Florida planning to vote for Gore.
PostScript may be based on Forth in the modeled after sense of "based on", but it isn't implemented with Forth.
Also, most people print with PCL these days, as it's free and PostScript adds to the printer cost.
I have done PostScript programming for phone bills, because the PostScript my program can create, knowing the structure of the data, is a small fraction of the size that PostScript or PCL from a generic print driver would be.
And how often does it go down?
It's funnier this way:
There are two things I hate in this world: insensitivity to other cultures, and the Dutch.
I think that was just a press release. Real news stories are generally not centered around a single person's quotes to that degree.
Your true worth comes from what you do when the chips are down.
Honestly, what I'm going to do first is make sure my son is taken care of.
These guys had a sense of humor.
What do you mean "guys"? It was Grace Hopper.
Why is the parent not moderated "+5, devastatingly on target"?
Because it was an AC post, starting at 0, and most people browse at +1.
I've used code generation in Java to get database information into objects. My metadata recorded what tables I was bringing in, what the fields were, and what the Java types should be.
The code generator then created a class for each table, with a constructor that read a JDBC recordset and read each field into the data member, accessor methods, and lookup functions for the fields I needed. It basically took me one day of work on the generator for what would have been four days of annoying, repetitive coding.
The other neat thing was that I used Access VBA (with Access tables for the metadata) to generate Java code, which is great for the sheer perversity of it. Now I'd probably use XML metadata and XSLT, though.
It sounds like what you want is the file system from Windows Longhorn. As I understand it, it will be using SQL Server 2004 (Yukon) for the entire file system. It seems self-evident that using a relational database for all files would result in a single table for files, and a table of attributes, search terms, subjects, etc., so that a file could be found any number of ways.
This is pretty clearly a better system. The only thing that concerns me is that every existing set of programming-language file system tools expects to be working with directory trees, even if they do support different delimiter characters, name length limits, multiple vs. single roots (drive letters vs. '/'), etc. I expect they will include some sort of mapping to a traditional hierarchy, though, as VB will have just as much trouble with the new system as Java will.
News story about it (news.com)
Not really. He just didn't want to deal with Microsoft, specifically.
By far, the biggest problem I see with our society's dependence on computers is that they believe that computers are infallible.
The belief that paper is infallible is almost as bad. Accountants constantly talk about creating paper trails, but there is really nothing that tells you a report was printed the day it said it was.
Sorry, but "possibly" doesn't do in a court of law. Sure it's possible he set up an alibi, but if there's not sufficient evidence that he did it's not the court's right to assume guilt. That's how "beyond a reasonable doubt" works.
No, it isn't.
"beyond a reasonable doubt" is the burden of proof on the prosecution (supposedly -- my wife was just on a murder jury, and her account pretty much convinced me that it's not taken seriously). The defense just has to establish reasonable doubt, not eliminate it.
Maybe this is why Slayer finally stopped sounding like Death Classic Rock. They needed more distortion for a long time; I just expected it to come from the guitar amplifiers.
Utilitarianism does not have to be materialistic. If the sense of unfairness makes most people unhappy more than they are helped by the economic advantages, it can still be wrong under the utilitarian principle.
You read it backwards. On his side job, he generated business for his main job.
Oh, sorry. Yes, I meant the "SELECT * FROM EXEC sp_some_sproc" version.
If stored procedures can't even return recordsets to the client, are they strictly for server processes?
Every other (commercial) database I have used allows this
MS SQL Server didn't support this until 2000. I've been working without it, because we're just now getting around to upgrading from SQL Server 7.
Surely you jest.
Have you read _Andromeda Strain_ or _The Great Train Robbery_?
Yes, I have. The Andromeda Strain is one of two movies based on books where I thought the movie was better than the book (the other is Interview With a Vampire). The movie was pretty good, but the book seemed like a lab report masquerading as a novel.
The Great Train Robbery was decent, but nothing special. It was below average for Crichton.
Word developers wouldn't use Word to develop in: Word is not an IDE. They *would* be expected to use Word to write memos, meeting notes, letters, etc - things that Word is meant for.
Just using Word myself, I'm constantly irritated by all the DWIM (Do What I Mean) behaviour, mainly because I'm a programmer, and I want the computer to do what I explicitly tell it. I suspect MS may not really want the programmers own experiences with the product to be a factor.
That's scary that Chrichton wrote a book about computers in 1983. In 1980, he wrote Congo (of his books, only Sphere is better, and Jurassic Park is about on par), which is a great book, but it demonstrated he didn't really understand computers terribly well.
The expedition team in in the Congo in Africa, using satellite communication to the United States. Because bandwidth was so limited, their messages were abbreviated to IM-Speak and beyond ("HLO. HW R U DOIN? MY NAM IS MKL CRITN.", etc.). Makes sense, I supposed. Along with this, though, they needed to do digital cleanup of a moss-covered wall, so they took digital video of the wall, sent it via satellite to the U.S. where it ws processed, and received the results back in Africa, in real time. Right.
I haven't seen the movie yet, but if I remember correctly, the "blood" for writing on the walls came *from* the walls (the words formed automatically).
Ginny wrote the messages on the wall. This was mostly cut from the movie, but I believe the book said it was blood from the chickens that Ginny killed (the crow of a rooster was supposed to be fatal to a baslisk.).
Harry does break the rules sometimes, for bad reasons. It's usually just due to general teenager irresponsibility, though.
A much better counter-example is Snape. He's so mean, unpleasant, and frequently in the wrong that the trio still hasn't quite figured out that he's a good guy, after four years.
Sirrius Black was pretty borderline in book three, as well.
Interesting... apparently he only planned on having a net worth of about $800,000,000. How modest.
I think he meant that was what he came up with in his wildest dreams.
I've got the MSDN library on CD at my office, and I never use it because the web version is easier and more up-to-date. If a login were required, I'm sure we could provide it (we have a MSDN Universal Subscription), but I've never seen anything asking for one.
Thus, if the race had been a head-to-head contest between Bush and Gore, Florida voters probably would have chosen Gore by a substantial margin.
They did, anyway. The whole hanging chad/butterfly ballot nonsense was not the real issue. Republicans in the state hired a company to wipe convicted felons from the voting roles, and they erroneously knocked out 100,000 people or so, from mostly democratic areas of the state. We can be pretty certain that more people showed up at the polls in Florida planning to vote for Gore.
PostScript may be based on Forth in the modeled after sense of "based on", but it isn't implemented with Forth.
Also, most people print with PCL these days, as it's free and PostScript adds to the printer cost.
I have done PostScript programming for phone bills, because the PostScript my program can create, knowing the structure of the data, is a small fraction of the size that PostScript or PCL from a generic print driver would be.