|
|
Up |
  |
Author: David WilliamsDavid Williams
Date: Sep 22, 2008 18:55
-> Gor blimey! Yer 2 years younger than me kid brudda (5/23/39)! ;-D
Bruvva, surely!
I was born 1941 05 21, in England. My mother told me it was about 4pm.
However, I'm not sure whether that was GMT, or GMT+1 or even GMT+2.
During part of WW2, British clocks were put ahead an hour *twice*
during the spring, and back twice in the autumn. So I certainly can't
specify my time of birth to the exact minute, as you can. Actually, I'm
not sure what such precision means. What part of the process happened
exactly then?
dow
|
| |
|
1 Comment |
|
  |
Author: Robert BlassRobert Blass
Date: Sep 22, 2008 18:19
QuickBASIC interpreter/debugger runs my CPU to 60C which is 10C above
the max for this CPU.
The QuickBASIC interpreter/debugger defaults to a window size that is
too tiny. If I try to increase the size or even make it maxamized the
thing with Freeze.
Is there a QuickBASIC interpreter/debugger that works the way the MS
version does but allows it in a Windows XP environment?
I'm not trying to code something big and I'd like to be able to see
what I am doing.
Anyone??
|
| |
|
1 Comment |
|
  |
Author: David WilliamsDavid Williams
Date: Sep 22, 2008 14:54
I found this version of my Julian Day program on an old disk. It is in
very simple BASIC, and should run under GW-BASIC and similar dialects.
It's much shorter than the QBasic version I posted a few days ago, and
doesn't have any bells and whistles. For example, it does not check if
the user has entered a valid date. However, it has all the code to
convert between Julian Days and Gregorian dates.
Maybe somebody will find it useful.
dow
-----------------------------------------------------------
100 REM Julian Day and Gregorian Date interconverter
110 REM Date must be after year 1582 (approx. JD 2299000).
120 REM Decimal digits allowed in JDs and month-days (in UT/GMT).
130 REM Note: No checking...
|
| Show full article (1.82Kb) |
|
no comments
|
|
  |
Author: David WilliamsDavid Williams
Date: Sep 22, 2008 10:41
On 09/22/2008 2:40 AM, n_cramerSPAM@ pacbell.net wrote to All:
-
-> > -> Thanks, David. I'll give that a try. My Julian birth date was
-> > 2427934.55764
-> >
-> > According to my program, your JD birthdate translates to
-> > 1935,5,12.05764. Multiplying up the fractional day gives 1 hour and 23
-> > minutes, so I conclude that you were born at 1:23 am (UT or GMT) on
-> > May 12, 1935. Correct? I'm sure it must be, if the JD you gave was the
-> > right one. Of course, if you were born in North America, you would
-> > celebrate May 11 as your birthday. [ . . . ]
->
-> I'm busted. You are absolutely correct, based in the (mis)information I
-> provided. Since I was born at 6:23 AM EST, I should have added, rather than
-> subtracted, 5 hours for GMT. Can we still be friends? ;-)
Of course! We old-timers have to stick together in times like these. (I'm
almost exactly 6 years younger than you are.)
dow
|
| |
|
1 Comment |
|
  |
Author: David WilliamsDavid Williams
Date: Sep 21, 2008 14:56
-> > A while ago, I wrote a QBasic program to interconvert Gregorian dates
-> > and "Julian Days"
-> [program snipped, but saved]
-> Thanks, David. I'll give that a try. My Julian birth date was 2427934.55764
-> according to http://aa.usno.navy.mil/data/docs/JulianDate.php
-> BTW See
->
http://articles.adsabs.harvard.edu/full/seri/JRASC/0058/0000003.000.html
According to my program, your JD birthdate translates to
1935,5,12.05764. Multiplying up the fractional day gives 1 hour and 23
minutes, so I conclude that you were born at 1:23 am (UT or GMT) on
May 12, 1935. Correct? I'm sure it must be, if the JD you gave was the
right one. Of course, if you were born in North America, you would
celebrate May 11 as your birthday.
|
| Show full article (2.08Kb) |
|
no comments
|
|
  |
Author: Helge HaenselHelge Haensel
Date: Sep 21, 2008 04:55
Hallo NG!
WindowsXP/HE SP3, VB5EE/SP3
I am trying to read a binary file with gps-track data. The data is valid
seen with an hex-editor, size of file is about 8kb.
I googled the web and found the following code that seemed promising to me:
-----------------------------------------------
Dim hdl1 As Long
Dim Tummy As String, buffer As String
|
| Show full article (1.03Kb) |
|
1 Comment |
|
  |
Author: David WilliamsDavid Williams
Date: Sep 20, 2008 11:48
If you feel like writing your own code for this kind of thing, you'd be
well advised to use a system in which the year starts at the beginning
of *March*, as was the case whem the Romans invented the calendar,
before the Christians meddled with it. With the New Year on March 1,
the leap-year fiddles happen at the very end of the year, which makes
them easier to handle. Also, the lengths of months run in a simple
five-month cycle - 31, 30, 31, 30, 31 - which is repeated two and a bit
times until February is cut short by the start of the next year.
A while ago, I wrote a QBasic program to interconvert Gregorian dates
and "Julian Days", a dating system used by astronomers and others that
simply counts days from a starting date lang ago. It uses the above
ideas. The algorithm it uses to convert Julian Days to Gregorian dates
is one I have never seen elsewhere. I like it, but I'm biased!
dow
-----------------------------------------------
' JGCONV.BAS
' Julian Day and Gregorian Date interconverter
' David Williams
' Version date: 2007 Feb 09
|
| Show full article (7.45Kb) |
|
2 Comments |
|
  |
Author: Helge HaenselHelge Haensel
Date: Sep 20, 2008 05:54
Hallo NG!
WindowsXP/HE SP3, VB5EE/SP3
The subject says it.
0x4884B5D6 (1216656854) is 19:14:14, 21 Jul 2008
That is what I need as a function.
Thanks for your help!
Vy 73! Helge
--
Helge, DJ1WM
|
| |
|
2 Comments |
|
  |
Author: David WilliamsDavid Williams
Date: Sep 17, 2008 19:35
-> You could do this:
-> IF PI = 0 THEN PI = 4 * ATN(1)
-> Tom Lake
I've tried exactly that in Borland Turbo BASIC. It bombed. The compiler
had a hissy fit when it saw the assignment, even though it would never
be executed.
dow
|
| |
|
no comments
|
|
  |
Author: David WilliamsDavid Williams
Date: Sep 17, 2008 19:30
-> I remember having a bookmark to The Orrery's website a few years back...
-> Very interesting stuff. Then it disappeared, I think.
Yes. Greg Neill, the owner and editor (and often chief contributor), got
involved in some project which he figured would make his fortune. He
swore for some time that publication of The Orrery was merely
suspended, and would resume before too long. But the time never came.
I had just renewed my subscription, too. He owes me a year's issues.
dow
|
| |
|
no comments
|
|
|
|
|