For Programmers: Free Programming Magazines  


Home > Archive > Fortran > March 2008 > data with metadata









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author data with metadata
analyst41@hotmail.com

2008-03-30, 8:18 am

Would it be a good idea to define "fortran data sets" as part of the
language?

These datasets would store metadata in addition to data. You can read
the fields in any order , select only a subset to read etc. and the
data-types are known outside the code.

These data sets can be made compatible with SQL and Fortran read/write
from/to RDBMS's can be made standard.
Colin Watters

2008-03-30, 9:17 pm

Sounds like XML to me...

--
Qolin

Email: my qname at domain dot com
Domain: qomputing
<analyst41@hotmail.com> wrote in message
news:863b1614-5359-48db-b255-4467f886bc7c@s19g2000prg.googlegroups.com...
> Would it be a good idea to define "fortran data sets" as part of the
> language?
>
> These datasets would store metadata in addition to data. You can read
> the fields in any order , select only a subset to read etc. and the
> data-types are known outside the code.
>
> These data sets can be made compatible with SQL and Fortran read/write
> from/to RDBMS's can be made standard.



Ken Plotkin

2008-03-30, 9:18 pm

On Sun, 30 Mar 2008 04:57:24 -0700 (PDT), analyst41@hotmail.com wrote:

>Would it be a good idea to define "fortran data sets" as part of the
>language?

[snip]

No. Data format should not be part of a language.

Ken Plotkin

Gary Scott

2008-03-30, 9:18 pm

Ken Plotkin wrote:

> On Sun, 30 Mar 2008 04:57:24 -0700 (PDT), analyst41@hotmail.com wrote:
>
>
>
> [snip]
>
> No. Data format should not be part of a language.
>
> Ken Plotkin
>

It would be of tremendous value tho if there was a standardized database
interface for Fortran.

--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Dick Hendrickson

2008-03-30, 9:18 pm

Gary Scott wrote:
> Ken Plotkin wrote:
>
> It would be of tremendous value tho if there was a standardized database
> interface for Fortran.
>

Doesn't the C interoperability feature do this? Essentially any
set of library routines that can be described in terms of the C
features can be called from Fortran. I think most of the major
databases have a C interface.


Dick Hendrickson
Gary Scott

2008-03-30, 9:19 pm

Dick Hendrickson wrote:
> Gary Scott wrote:
>
> Doesn't the C interoperability feature do this? Essentially any
> set of library routines that can be described in terms of the C
> features can be called from Fortran. I think most of the major
> databases have a C interface.


Well, yes, but "yuk". At least if some vendor goes the rest of the way
and creates a ready-made module of declarations (and whatever else may
be needed to adapt to the "Fortran way". F90SQL only went part of the
way, retaining much of the horrid C'isms of the native API.

>
>
> Dick Hendrickson



--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Gerry Ford

2008-03-30, 9:19 pm



"Gary Scott" <garylscott@sbcglobal.net> wrote in message
news:q2XHj.36585$J41.14342@newssvr14.news.prodigy.net...
> Dick Hendrickson wrote:
>
> Well, yes, but "yuk". At least if some vendor goes the rest of the way
> and creates a ready-made module of declarations (and whatever else may be
> needed to adapt to the "Fortran way". F90SQL only went part of the way,
> retaining much of the horrid C'isms of the native API.

That's an unflattering description of what you have described as the tools
of your trade.

If, instead, you were to promote their virtues, what would you say?
--

"I am waiting for them to prove that God is really American."

~~ Lawrence Ferlinghetti


Gary Scott

2008-03-30, 9:20 pm

Gerry Ford wrote:

> "Gary Scott" <garylscott@sbcglobal.net> wrote in message
> news:q2XHj.36585$J41.14342@newssvr14.news.prodigy.net...
>
>
> That's an unflattering description of what you have described as the tools
> of your trade.


Not the tools of my trade, because I was unable to convince them to pay
for an unsupported package (F90SQL). No, the tools of the trade are VB
and .asp.

>
> If, instead, you were to promote their virtues, what would you say?



--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Gerry Ford

2008-03-31, 5:50 am



"Gary Scott" <garylscott@sbcglobal.net> wrote in message
news:NjXHj.5738$qT6.4654@nlpi070.nbdc.sbc.com...
> Gerry Ford wrote:
>
>
> Not the tools of my trade, because I was unable to convince them to pay
> for an unsupported package (F90SQL). No, the tools of the trade are VB
> and .asp.

What were you refering to semi-recently as having been compiled in C?
--

"I am waiting for them to prove that God is really American."

~~ Lawrence Ferlinghetti


Dan Nagle

2008-03-31, 5:51 am

Hello,

On 2008-03-30 19:49:37 -0400, Dick Hendrickson <dick.hendrickson@att.net> said:

> Gary Scott wrote:
> Doesn't the C interoperability feature do this? Essentially any
> set of library routines that can be described in terms of the C
> features can be called from Fortran. I think most of the major
> databases have a C interface.
>
>
> Dick Hendrickson


There's been an "official" liaison between J3 and H2
for years now.

Nothing has ever happened.

There is a standard interface between Fortran
and SQL. Never head of it? Why?

Just asking, I'm (theoretically) the liaison.

--
Cheers!

Dan Nagle

Gerry Ford

2008-03-31, 5:52 am



"Dan Nagle" <dannagle@verizon.net> wrote in message
news:2008033023034916807-dannagle@verizonnet...
> Hello,
>
> On 2008-03-30 19:49:37 -0400, Dick Hendrickson <dick.hendrickson@att.net>
> said:
>
>
> There's been an "official" liaison between J3 and H2
> for years now.
>
> Nothing has ever happened.
>
> There is a standard interface between Fortran
> and SQL. Never head of it? Why?
>
> Just asking, I'm (theoretically) the liaison.
>
> --
> Cheers!
>
> Dan Nagle
>
>


SQL seems to be a notion supported by international standards:

http://en.wikipedia.org/wiki/SQL

I've always associated it with MS. Who is H2?
--

"I am waiting for them to prove that God is really American."

~~ Lawrence Ferlinghetti


Ken Plotkin

2008-03-31, 5:53 am

On Sun, 30 Mar 2008 17:34:03 -0500, Gary Scott
<garylscott@sbcglobal.net> wrote:

>It would be of tremendous value tho if there was a standardized database
>interface for Fortran.


Yes - that would be very useful. Then I'd never have to learn to use
Access. :-)

Ken Plotkin
Gary Scott

2008-03-31, 8:50 am

Gerry Ford wrote:
> "Dan Nagle" <dannagle@verizon.net> wrote in message
> news:2008033023034916807-dannagle@verizonnet...
>
>
>
> SQL seems to be a notion supported by international standards:
>
> http://en.wikipedia.org/wiki/SQL
>
> I've always associated it with MS. Who is H2?

IBM more likely

--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Gary Scott

2008-03-31, 8:50 am

Ken Plotkin wrote:

> On Sun, 30 Mar 2008 17:34:03 -0500, Gary Scott
> <garylscott@sbcglobal.net> wrote:
>
>
>
>
> Yes - that would be very useful. Then I'd never have to learn to use
> Access. :-)


Exacry

>
> Ken Plotkin



--

Gary Scott
mailto:garylscott@sbcglobal dot net

Fortran Library: http://www.fortranlib.com

Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html

If you want to do the impossible, don't hire an expert because he knows
it can't be done.

-- Henry Ford
Richard Maine

2008-03-31, 9:59 pm

Gary Scott <garylscott@sbcglobal.net> wrote:

> Gerry Ford wrote:


> IBM more likely


(I seem to now be seeing Gerald's posts, after supernew's rehosting. I'm
not yet sure whether this is a plus. :-))

Associating SQL with MS is one I sure have a hard time imagining. If one
actually reads the cited wikipedia page, one sees that it originated in
1974, before MS even existed.

I've never actually used it on an MS system, though I have an MS client
for my servers that use SQL (from Fortran) on Sun systems.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
James Van Buskirk

2008-03-31, 10:01 pm

"Dick Hendrickson" <dick.hendrickson@att.net> wrote in message
news:lGVHj.56066$D_3.24843@bgtnsc05-news.ops.worldnet.att.net...

> Gary Scott wrote:


[color=darkred]
> Doesn't the C interoperability feature do this? Essentially any
> set of library routines that can be described in terms of the C
> features can be called from Fortran. I think most of the major
> databases have a C interface.


Uh, well, there's a question of whether C interoperability can ever
do anything. For most people out there at the present time, 32-bit
Windows is all there is in the world of computing. When you want to
interface to something in that environment, it almost inevitably
means to a *.DLL with STDCALL interfaces.

Now, Intel is waiting for someone else to make all the mistakes
before it considers STDCALL to be compatible with BIND(C), and I
don't know about the other commercial vendors, but I sent a bug
report to Andy about this and never heard back (although this was
during a period of inactivity, which seems to have ended) and the
gfortran group can't seem to consider it to be a bug or at least
a fixable bug. In tracking down a bug with Mozilla-based browsers
I ran across the dreaded bug 915:

https://bugzilla.mozilla.org/show_bug.cgi?id=915

The discussion there shows how an active open source project can
get hung up on an obvious crippling bug and not do anything about
it for a decade! I am hoping that gfortran doesn't experience
the same sort of problems with STDCALL interoperability, but for
sure it could happen, and others who are waiting for someone to
make the first move could stay backed up indefinitely as well.

Until movement it made by someone, BIND(C) will be hamstrung on the
most popular platform at the current time.

--
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end


Gerry Ford

2008-03-31, 10:02 pm



"Richard Maine" <nospam@see.signature> wrote in message
news:1ientul.w1zrjy1kldbwgN%nospam@see.signature...
> Gary Scott <garylscott@sbcglobal.net> wrote:
>
>
>
> (I seem to now be seeing Gerald's posts, after supernew's rehosting. I'm
> not yet sure whether this is a plus. :-))

#include <stdio.h>

int main(void)
{
int ch = '*';
++ ch;

putchar(ch);
putchar('\n');
getchar();
}


// gcc -o plus plus.c


>
> Associating SQL with MS is one I sure have a hard time imagining. If one
> actually reads the cited wikipedia page, one sees that it originated in
> 1974, before MS even existed.
>
> I've never actually used it on an MS system, though I have an MS client
> for my servers that use SQL (from Fortran) on Sun systems.

All of the guys I've known who were doing database stuff were on the MS
bandwagon.

Disamgibuating MS from the rest of the computer world is a process.

I'm curious whether Richard can see this post. I claim that there is such a
thing as non-nntp usenet. I can read everybody's posts using net::nntp in
perl except Keith Thompson's, the MI5 presecution dude, and myself. I think
it has to do with the company from which I get a newsfeed.
--

"I am waiting for them to prove that God is really American."

~~ Lawrence Ferlinghetti


Richard Maine

2008-03-31, 10:02 pm

Gerry Ford <gerry@nowhere.ford> wrote:

> I'm curious whether Richard can see this post.


Yes.

> I claim that there is such a thing as non-nntp usenet.


What nntp or the lack thereof would have to do with it is a mystery to
me. But I think I'll not pursue that matter.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com