From: Philip S Tellis philip.tellis@iname.com
Sometime Today, noel seq assembled some asciibets to say:
Does linux have support for telex machines/telex data. I have an old 8088 based telex machine (diskless) which receives input from the serial port (9 pin) which i would like to do away with and connect the telex line to my linux box. Any pointers in this regard will be
This is something that I would love to work on. I don't know if there is any software that does it yet, but basically, you'd need a telex driver to attach to your serial port. Shouldn't be too hard if one knew what kind of data needs to be sent/read. Can you find out what kind of data goes through the serial port for a telex?
We mostly send and receive text data, but do not know in what format does it send. You can contact me if you want to see it.
Noel.
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
On Fri, 24 Aug 2001, noel seq wrote:
what kind of data needs to be sent/read. Can you find out what kind of data goes through the serial port for a telex?
We mostly send and receive text data, but do not know in what format does it send. You can contact me if you want to see it.
Let me check with my dad first. He's worked with telex machines for a few decades.
Philip
On Aug 24, 2001 at 11:46, Philip S Tellis wrote:
Let me check with my dad first. He's worked with telex machines for a few decades.
So's mine!
Whoever was talking about station12, could you please contact me off-list? I accidentally deleted the message. I think it was Noel, but the archives don't give me an address. I need to know how to get a message from a Linux box here (L.A.) to a ship somewhere in the Atlantic. And other considerations.
on 24/8/2001 1:33 AM, Satya at satyap@satya.virtualave.net wrote:
I need to know how to get a message from a Linux box here (L.A.) to a ship somewhere in the Atlantic. And other considerations.
How about Email?
Heard, most of the ships now-a-days do have Email access...
BTW, does anybody have any idea as to where/how one can learn Morse code?
~Mayuresh
On Aug 25, 2001 at 00:22, Mayuresh A Kathe wrote:
on 24/8/2001 1:33 AM, Satya at satyap@satya.virtualave.net wrote:
I need to know how to get a message from a Linux box here (L.A.) to a ship somewhere in the
How about Email?
Nope.
Heard, most of the ships now-a-days do have Email access...
Not this one.
BTW, does anybody have any idea as to where/how one can learn Morse code?
You get programs for that, try freshmeat.
Sometime Today, Mayuresh A Kathe assembled some asciibets to say:
BTW, does anybody have any idea as to where/how one can learn Morse code?
There are two symbols, . and -, about 40 different combinations of one to five of these make up the entire character set. Just get the code and memorise it.
Philip
on 25/8/2001 12:36 PM, Philip S Tellis at philip.tellis@iname.com wrote:
BTW, does anybody have any idea as to where/how one can learn Morse code?
There are two symbols, . and -, about 40 different combinations of one to five of these make up the entire character set. Just get the code and memorise it.
Hmnn...
Also, if you could release your date system and make it open source? [Have still got the old copy someplace]
Just incase people don't know, Philip has a neat date system designed, very much like the Stardate system aboard the Enterprise (from Star Trek).
~Mayuresh
Sometime Today, Mayuresh A Kathe assembled some asciibets to say:
Just incase people don't know, Philip has a neat date system designed, very much like the Stardate system aboard the Enterprise
I do? I remember us talking about the concept, but don't think I did anything about it. Refresh my memory.
Philip
on 26/8/2001 1:00 PM, Philip S Tellis at philip.tellis@iname.com wrote:
Sometime Today, Mayuresh A Kathe assembled some asciibets to say:
Just incase people don't know, Philip has a neat date system designed, very much like the Stardate system aboard the Enterprise
I do? I remember us talking about the concept, but don't think I did anything about it. Refresh my memory.
Gawd, Philip, where have you kept it? Now, I'll have to dig out my records (those from my Bangalore days) to get it out...
No probs though, worth the effort.
Anybody interested? If yes, please mail me off list and I will send over the concept and desing ASAP.
Warm Regards,
~Mayuresh
on 26/8/2001 1:00 PM, Philip S Tellis at philip.tellis@iname.com wrote:
Sometime Today, Mayuresh A Kathe assembled some asciibets to say:
Just incase people don't know, Philip has a neat date system designed, very much like the Stardate system aboard the Enterprise
I do? I remember us talking about the concept, but don't think I did anything about it. Refresh my memory.
It started with me asking Philip if there someway to have a date format similar to the one aboard the USS Enterprise... Wanted it to store my voice diary files, at first he had suggested that I simply use the unix date type, but, I needed something with a lot more sex appeal, so, people, here goes the date format from Philip.
<><><><><> Sometime on Dec 24, Mayuresh Kathe assembled some asciibets to say:
Could you suggest a date format, something like the "Stardate"?
Well, basically, you would want your date in the format of: year:month:date:hour:minute
For brevity, you could really omit the entire year, just put in an index starting from a reference point (say Jan 1 2000 00:00 corresponds to date zero)
Dump the month, since it's redundant. Just use the day within the year. Eg: 45th of 2001 == St. Valentine's Day.
You may need a lookup table to figure this out, but you'll soon be able to do it by heart.
Better may be to use day of week/week of year (because dow == 1..7 and woy == 1..52)
Either way, you should not have more than 3 digits to define any day within the year.
Then, your date becomes the number identified by: yearindex*1000+dayindex
where yearindex is a number (1 based) starting from 2000 (since your diary does not contain entries before that).
dayindex is either 1..365/366 or woy*10+dow
Eg date: 2013 == Tue 2 Jan 2001 (using dow/woy) 2154 == Wed 11 Apr 2001
2002 == Tue 2 Jan 2001 (using doy) 2101 == Wed 11 Apr 2001
The first way is better, because the least significant digit tells you the day of week. The 2nd and 3rd tell you the week. Multiply by 7 to get the approximate date. The most significant tells you the year.
Your time would come after the decimal point.
You encode your hours:
4==08 3==04 2==02 1==01 0==00
anything am is +ve, anything pm is -ve (0-x) so 11am == 7, 11pm == -3 (15-4==11)
Your minutes can be as is (0-59), or approximate to 50 minutes per hour (each minute is actually 1.2 minutes) and scale up to 100 minutes per hour.
Final date would look something like:
2123.-412
Hope you like it.
~Mayuresh
On Mon, 27 Aug 2001, Mayuresh A Kathe wrote:
Just incase people don't know, Philip has a neat date system designed, very much like the Stardate system aboard the Enterprise
Ok, now I remember. Didn't write anything for it (though it would be a trivial solution, given the detail). I figured it would be a voice based system, i.e., you would speak it out into your tape recorder. Didn't think that a program was required.
Anyway, here's the perl source to do it:
#!/usr/bin/perl -w
use strict; use integer; # only integer arithmetic here my $pm; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = localtime; $year-=100; # year is index from 1900. Change to 2000 my $woy=$yday/7; # week of year is year day div 7 $min=$min*5/3; # Scale minutes to 100 $sec=$sec*5/3; # Scale seconds to 100 my @hourcodes = (8, 4, 2, 1, 0); ($hour,$pm)=($hour>=12?(23-$hour,"0-"):($hour,"")); my $hourcode=0; my $i=0; while($hour>0) { if($hour>=$hourcodes[$i]) { $hour-=$hourcodes[$i]; $hourcode+=$#hourcodes-$i; } $i++; } print sprintf("Stardate: %d%2d%1d.%s%d%2d\n", $year, $woy, $wday, $pm, $hourcode, $min);
Philip
very interesting.... but,
on 26/8/2001 1:00 PM, Philip S Tellis at philip.tellis@iname.com wrote: Well, basically, you would want your date in the format of: year:month:date:hour:minute
For brevity, you could really omit the entire year, just put in an index starting from a reference point (say Jan 1 2000 00:00 corresponds to date zero)
I disagree with this. For whatever historic reasons, we have decided upon a zero date. If every new group comes and decides to set the zero date to one relevant to them then future historians will have a hell of a time to put everything in perspective. Does anyone know details about Julian date? I hear that system is quite good.
You encode your hours:
4==08 3==04 2==02 1==01 0==00
ummmm... 11 and 12 both can be represented by 7? why do we require the 0==00? more importantly what are you trying to do here?
anything am is +ve, anything pm is -ve (0-x) so 11am == 7, 11pm == -3 (15-4==11)
*sigh* my feeble intellect fails to grasp this too! If you are trying to convert a double digit number into a single digit number (this is only a guess !!) then how is it possible? and what is this 'x'?
Your minutes can be as is (0-59), or approximate to 50 minutes per hour (each minute is actually 1.2 minutes) and scale up to 100 minutes per hour.
ummm.. a 0-99 minutes hour will be quite decimal '-). but is it necessary? Then it would be as well to have a 0-9 hour day. I think the date representation should be in keeping with the current defined duration of the hour and the minute.
BTW anyone knows why the distribution of the day into 24 hours? and hour into 60 minutes and minute into 60 seconds? The year in one revolution of the earth around the sun (365.25approx. days) and the day into one rotation of the earth is defined quite naturally.
Final date would look something like:
2123.-412
As we use decimal system (usually) it is easy to describe 0-9 things with one digit (yes, very obvious). So if you use the Hex system you will be able to represent 0-15 things with one "digit". and so on so forth. In the above discussion the month was discarded for the week as it reduced one digit. Well we could use (deca+2) representation for month. 12 different "symbols" - maybe from the alphabet.
What is the optimum representation? dont know. but with my current "programming" 20010828:0317 seems quite verbose but OK. (at least till a better alternative is found ;)
quasi
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Sometime Today, Q u a s i assembled some asciibets to say:
For brevity, you could really omit the entire year, just put in an index starting from a reference point (say Jan 1 2000 00:00 corresponds to date zero)
I disagree with this. For whatever historic reasons, we have decided upon a zero date. If every new group comes and decides to set the zero date to one relevant to them then future historians
I agree with you, but at the time, I think it was meant for Mayuresh's personal use, and that he'd be the person speaking out the date, as well as transcribing things from tape later on. It was never meant to be publicly used.
will have a hell of a time to put everything in perspective. Does anyone know details about Julian date? I hear that system is quite
Julian date would be the method created by Julius Caesar, later modified by Pope Gregory into the Gregorian system. Or maybe I'm wrong here. There was this huge discussion about all this back in Jan 2000. I think people can figure out why.
4==08 3==04 2==02 1==01 0==00
ummmm... 11 and 12 both can be represented by 7? why do we require the 0==00? more importantly what are you trying to do here?
Also 6 and 9. Actually, there is no twelve, because we start from zero (midnight), and go to +/-11.
Yes, I am trying to convert a two digit number to a single digit, which basically cannot be done in the same number system. A duodecimal system would be better, but Mayuresh wanted only digits like in Star Trek.
ummm.. a 0-99 minutes hour will be quite decimal '-). but is it necessary? Then it would be as well to have a 0-9 hour day. I
It makes calculations easier, but we already have a global system (Systieme Internationale) that defines the second as the normal time unit. A second is the earth's period of rotation divided by 86400. Maybe it would be better to define the normal time as the time taken for light (constant velocity) to cross the length of a Hydrogen nucleus (== a proton again a constant). I think Feynman can give a better explanation though.
BTW anyone knows why the distribution of the day into 24 hours? and hour into 60 minutes and minute into 60 seconds? The year in one revolution of the earth around the sun (365.25approx. days) and the day into one rotation of the earth is defined quite naturally.
I think we need to blame the Sumerians for that, but I'm not very sure.
What is the optimum representation? dont know. but with my current "programming" 20010828:0317 seems quite verbose but OK. (at least till a
Which is what I had suggested first, but as you said, it was too verbose for him.
BTW, just for the record. In Star Trek, stardates are completely randomly chosen in episodes. There comes into existence the little complication of space-time continuum. Since ships need to travel faster than light (ok, they don't actually do that, they warp space instead), the stardate would be different at the same time in different quadrants of the galaxy.
Philip
Date sytems dealing with telex support in Linux? Strange, but while on the topic, I saw a question in a book, asking the reader to write a program in C, which could give you the the day of the week on which a given date falls, provided one knew the Julian day for that date. As in, 1st Jan = Julian day 1 and so on. Admittedly, I don't know the ABC of C, but would it be possible to, using that program, to find the Julian day if one knew the date, and the day of the week? And consequently, it would be nice to insert such a program into some init script, such that on every bootup, it would give you the date, time and the Julian day of the year...
Oh, and the 24-hour a day, 60-minutes an hour and 60-seconds a minute system originated from the Babylonians.
- Shrikant