Re: http://ingles.homeunix.org,
Wow Ray, I didn't know you had a web page.
First thing I did was check out your physics... not too bad.
One point though, despite how our minds think in terms of events,
chances are Very good that, intrinsically, time is Perfectly spatial.
As Einstein so eloquently stated: << People like us, who believe in physics,
know that the distinction between past, present, and future
is only a stubbornly persistent illusion. >>
[ Due to incomplete information, I add ]
So what is life then ?
It's just things consuming things leaving nought but ***** behind.
i.e. Dissipation and inefficiencies are intrinsic properties of mass-energy.
Everything is just always dissipating, getting ever colder and less dense.
In a display of hubris,
not unlike the pre-Galileo geo-centric model of our solar system,
we define life as that temperature at which we're at now,
....where water ( and we humans ) can exist.
So entropy is the fifth dimension: Space_Time_Entropy
As I've said before:
We're like stars burning bright, dissipating into the night.
Serious choices, like whether to breath or die, are not really choices at all,
....so our freedoms/guilts/virtues are quite delusional.
Re: http://home.twmi.rr.com/sorceror/srilanka/slmap2.gif ,
My style-sheet overrides enforce a black background, so I couldn't read it.
Re: Your software at: http://ingles.homeunix.org/software/
Wow, one runs on an 8086 IBM PC running DOS 3.1,
the other on a Palm Pilot ( 16MHz 68000 )
as well as a Mac SE/30 ( 16MHz 68030 ).
I saw the screen shot of your Ostiary program here:
http://home.twmi.rr.com/sorceror/software/ost/ascreen.gif
I looked at the source code for the Palm:
http://ingles.homeunix.org/software/ost/palmost-3.2.tar.gz
Re-wrapped by me, it started like this: <<
UInt32 PilotMain( UInt16 cmd, void * pbp, UInt16 flags ) {
Err error;
/* Make sure this Palm can run this app... */
if (
errNone != ( error = RomVersionCompatible( MIN_ROM_VERSION, flags ) ) ) {
return error; }
switch ( cmd ) {
/* Note how the case is enclosed with a {} pair. This allows it to
only allocate stack space if it actually needs it.
Palms don't have a lot of stack to spare... */ >>
How cool Ray,
I was wondering if {} scoping actually effected the stack like that or not.
Coninuting: <<
case sysAppLaunchCmdNormalLaunch: {
EventType event; UInt16 pref_size = sizeof( g_prefs );
/* Clear the prefs struct. */
MemSet( & g_prefs, sizeof( g_prefs ), 0 ); >>
What are you doing here.... defining a new language ? ( ha ha )
I thought memset() was the standard.
Coninuting: <<
/* Load up our saved preferences, if any. */
PrefGetAppPreferences(
ostclient_crid, 0, & g_prefs, & pref_size, false );
/* Load up our main form. */
FrmGotoForm( main_f_id );
/* Enter the event loop. */
do {
EvtGetEvent( & event, evtWaitForever );
( void ) (
SysHandleEvent( & event)
|| MenuHandleEvent(NULL, &event, &error)
|| OstclientHandleEvent(&event)
|| FrmDispatchEvent( & event ) );
} while ( event.eType != appStopEvent ); >>
Ah good, a loop... time for some serious Ray bashing... no doubt. ( ha ha )
Assuming that each of your event handlers
immediately returns when it's not the proper handler,
( with very low overhead, I imagine )
Why wouldn't this work ? :
event.eType = ! appStopEvent ;
while ( event.eType != appStopEvent ) {
EvtGetEvent( & event, evtWaitForever );
SysHandleEvent( & event );
MenuHandleEvent( 0, & event, & error );
OstclientHandleEvent( & event );
FrmDispatchEvent( & event ); }
I prefer pre-tests like that.
Coninuting: <<
/* Okay, we're done. Close our forms. */
FrmCloseAllForms();
/* Save our preferences. */
PrefSetAppPreferences(
ostclient_crid, 0, 0, & g_prefs, sizeof( g_prefs ), false );
break; } } return 0 ; } >>
Notice I removed the latter comments, too verbose for me.
.
|