Re: [Hardhats-members] Interleaving

2006-01-14 Thread Jim Self
Gregory wrote:
>How can you demonstrate the interleaving of jobs without disturbing
>it with explicit synchronization? 

>JOB BODY("A")
>JOB BODY("B")
>
>where BODY is just a FOR loop
>
>BODY(X)  ;
>  FOR I=1:1:25 WRITE X
>QUIT
>
>But, of course that's not allowed, because background jobs can't
>write to the terminal. A natural idea is to use a host file instead,
>but then the test would say more about output buffering than anything
>else.
>
>Does anyone have any ideas?

Greg, I am not sure what the point of this is, but try it from a local xterm in 
GT.M.
I think you will get the effect you are looking for.

---
Jim Self
Systems Architect, Lead Developer
VMTH Computer Services, UC Davis
(http://www.vmth.ucdavis.edu/us/jaself)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Wisdom from SICP

2006-01-14 Thread Gregory Woodhouse
I came across the following in a footnote to "The Structure and  
Interpretation of Computer Programs":


"A perfectly rational dog placed between two equally attractive  
sources of food will starve

to death." --Jean Buridan (14th cent. French philosopher)

The context was a discussion of lock arbitration, but the principle  
may just be of wider applicability. :-)


===
Gregory Woodhouse
[EMAIL PROTECTED]

"We ascribe beauty to that which is simple."
--Ralph Waldo Emerson




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Re: Teaching and Learning

2006-01-14 Thread Stephen Hay
Joseph's and John's words reminded me of a course I once did 
with the World Health Organisation. Amazingly, I have the 
monograph in front of me, "Educational Handbook for Health 
Personnel", J-J. Guilbert, 1992.


In it, they draw heavily on the work of Mager (mid-50s) and 
strongly advise that the workshop participants set their own 
objectives. The "instructor" then sinks into the background 
as the participants first identify their objectives, then 
work out how they'll achieve them, and show that they have, 
then find all the necessary information to do so.


These types of workshops tend to start slowly - the biggest 
hurdle is often the participants overcoming their desire to 
be told what to do - but once they get going it is a real 
pleasure to behold...


Cheers,
Stephen


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] So...how do you stat a file?

2006-01-14 Thread Bhaskar, KS
On Sat, 2006-01-14 at 21:03 -0600, Gregory Woodhouse wrote:

[KSB] <...snip...>

> > so they are effectively useless as standards - it's 
> > much easier to accommodate differences in syntax than it is   
> > differences 
> > in semantics.
> 
> I'm not quite sure what you mean here. In fact, one of my major   
> complaints about the M standard is that it doesn't really touch on   
> semantic issues at all, except in a very informal way. I'm not
> saying   
> we need complete mathematical rigor, but a reasonably formal   
> operational semantics would be nice. But be that as it may, I don't   
> think I agree: syntactic forms without a semantic interpretation   
> (whether we make it explicit or not) are pointless. The question is   
> not whether or not you define new semantics but whether or not the   
> semantics is formally specified. 

[KSB] I think we're actually in violent agreement!  If I had two
different syntactic constructs with the same semantics in two M
implementations, I could easily code around it.  But standardized syntax
that doesn't specify common semantics is much harder to deal with.

-- Bhaskar


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman SEARCH frustration

2006-01-14 Thread Kevin Toppenberg
On 1/14/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
I am gettting a
> GT.M compile error.
>
> I'll keep working on this.

Actually it's not a compile error, but just that it hadn't been
compiled.  A simple zl "filename" fixed the problem.  I have seen
Baskar do a command that will compile all the files at once.  I can't
remember how he did it.

Kevin


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman SEARCH frustration

2006-01-14 Thread Kevin Toppenberg
Well, I edited the entries in the httpd.conf so that all references to
apache2 where removed or changed to httpd equivalents, and now it is
starting.  But when I browse to a default home page, I am gettting a
GT.M compile error.

I'll keep working on this.

.
Kevin

On 1/14/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> OK.  I have just spent at least 2 hrs trying to get it working, and I
> have failed again.  I don't have apache2.  I have scoured the net and
> have not figured out how to uninstall my apache and install apache2.
...


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman SEARCH frustration

2006-01-14 Thread Nancy Anthracite
I am going to take a stab at this from what I know from using apt on my 
system, thanks to my son who takes good care of my Linux issues when he is 
available.  

I suspect that you have to define what servers apt is allowed to use.  In 
Debian, that is done in /etc/apt/sources.list .  This is the beginning of  
mine:

cat /etc/apt/sources.list
#deb file:///cdrom/ sarge main

#deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-3 
(20041217)]/ unstable contrib main
#deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-2 
(20041217)]/ unstable contrib main
#deb cdrom:[Debian GNU/Linux testing _Sarge_ - Official Snapshot i386 Binary-1 
(20041217)]/ unstable contrib main

deb http://security.debian.org/ sarge/updates main contrib
deb http://http.us.debian.org/debian sarge main contrib non-free
deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib non-free
deb ftp://ftp.nerim.net/debian-marillat/ sarge main

#deb http://security.debian.org/ testing/updates main contrib
deb http://http.us.debian.org/debian testing main contrib non-free
#deb http://non-us.debian.org/debian-non-US testing/non-US main contrib 
non-free
deb ftp://ftp.nerim.net/debian-marillat/ etch main

#deb http://security.debian.org/ unstable/updates main contrib
deb http://http.us.debian.org/debian unstable main contrib non-free
#deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib 
non-free
deb-src http://mentors.debian.net/debian unstable main contrib non-free
deb ftp://ftp.nerim.net/debian-marillat/ sid main

etc. 
*
After you define your servers, you can see if you can get apache2 by using 
apt-cache search 


#apt-cache search apache2
apache-utils - utility programs for webservers (transitional package)
apache2-mpm-threadpool - experimental high speed model for Apache2 
(transitional package)
libapache-mod-auth-mysql - Apache module for MySQL authentication
libapache-mod-dav - A DAV module for Apache
libapache-ruby1.8 - Ruby libraries for mod_ruby
libapache2-mod-auth-mysql - Apache 2 module for MySQL authentication
libapache2-mod-auth-pam - module for Apache2 which authenticate using PAM
libapache2-mod-auth-plain - Module for Apache2 which provides plaintext 
authentication
libapache2-mod-auth-sys-group - Module for Apache2 which checks user against 
system group
libapache2-mod-jk2 - Apache 2.0 connector for the Tomcat Java servlet engine
libapache2-mod-macro - Create macros inside apache2 config files
libapache2-mod-proxy-html - Apache2 filter module for HTML links rewriting
libapache2-mod-python - An Apache module that embeds Python within the server
libapache2-mod-python-doc - An Apache module that embeds Python within the 
server
libapache2-mod-python2.2 - An Apache 2 module that embeds Python 2.2 within 
theserver
libapache2-mod-python2.3 - An Apache 2 module that embeds Python 2.3 within 
theserver
libapache2-mod-rpaf - module for Apache2 which takes the last IP from the 
'X-Forwarded-For' header
libapache2-mod-ruby - Embedding Ruby in the Apache2 web server
libapache2-mod-security - Tighten web applications security for Apache 2.x
libapache2-mod-xmlrpc2 - XMLRPC Server module for Apache2 web server
libapache2-redirtoservname - Apache 2 module to redirect users to the 
canonicalhostname
mod-security-common - Tighten web applications security - common files
adzapper - proxy advertisement zapper add-on
apache2 - next generation, scalable, extendable web server
apache2-common - next generation, scalable, extendable web server
apache2-doc - documentation for apache2
apache2-mpm-perchild - experimental high speed perchild threaded model for 
Apache2
apache2-mpm-prefork - traditional model for Apache2
apache2-mpm-worker - high speed threaded model for Apache2
apache2-prefork-dev - development headers for apache2
apache2-threaded-dev - development headers for apache2
apache2-utils - utility programs for webservers
libapache-mod-jk-doc - Documentation of libapache-mod-jk/libapache2-mod-jk 
packages
libapache-mod-php4 - server-side, HTML-embedded scripting language (apache 1.3 
module)
libapache-mod-php5 - server-side, HTML-embedded scripting language (apache 1.3 
module)
libapache2-mod-apreq2 - generic Apache request library - Apache module
libapache2-mod-auth-kerb - apache2 module for Kerberos authentication
libapache2-mod-auth-pgsql - Module for Apache2 which provides pgsql 
authentication
libapache2-mod-cband - An Apache 2 module for bandwidth limiting the webserver
libapache2-mod-chroot - run Apache in a secure chroot environment
libapache2-mod-encoding - Apache2 module for non-ascii filename 
interoperability
libapache2-mod-fcgid - an alternative module compat with mod_fastcgi
libapache2-mod-jk - Apache 2 connector for the Tomcat Java servlet engine
libapache2-mod-layout - Apache2 web page content wrapper
libapache2-mod-ldap-userdir - Apache2 module that provides UserDir lookups via 
LDAP
libapache2-mod-musicindex - Browse, stream, download and 

Re: [Hardhats-members] Attracting developers

2006-01-14 Thread Ismet Kursunoglu
> How do you attract developers to work on projects like VistA? There  

How does the VA do it?  How many active developers are there right now? What
has the total cost been to bring VistA to where it is today? Can you estimate it
based on lines of source code? What metric can you use to value medical
software? What is the sales value of VistA by itself? What if you combine it
with GT.M, or Cache?  

What are the other M based commercial systems doing to attract developers? 

> are a few brave physicians on this list that are really making the  
> effort to learn to program, but then there are people like me who  

I struggled and am now about 1/2 the way through RF Walters book  - but I doubt
I will ever be able to write any useful code- other than the exercises in his
book it would be way too scary. I can safely say that your job is very, very
secure!

> know more about semaphores, graphs and complexity classes than blood  
> gases and basal ganglia. How do you attract people who are not health  
> care professionals burt who have valuable expertise in software  
> development to a project such as this?

If we could just capture the imputed value of the wasted dollars that are now
spent (failed software projects, medical delivery, medical error, medical 
duplication etc..)
I would imagine that one could fund hundreds of full time developers. 

If a VistA system could bloom to included a national "standard of care" then
eventually we could add billions more what would otherwise go to liability
premiums. 

I would estimate that there are at least 300,000 physicians in the US who are
not using electronic records or management systems (or at least ones that they
like) and would gladly pay $100/month/physician to realize the value of VistA in
their offices. That gives you $360,000,000 a year to fund more development -
just an estimate  - would this be enough to fund the proper number of
developers? 

Ismet

-- 
Ismet B. Kursunoglu, MD, FCCP

 Medical Director
 Alaska Clinic, LLC
 3750 Country Field Circle, UNIT B
 Wasilla, Alaska 99654
 [EMAIL PROTECTED]
 (907)357-7240


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Attracting developers

2006-01-14 Thread Kevin Toppenberg
Motivate them.  Either with money, or by ggiving one a reason to do
it.  No one would voluntarily work with M, whose cool one variable
type just barely outweighs its horrible language definition.  I am
using it because I have a goal in mind.  You will have to do the same
for that programmer.

Kevin



On 1/14/06, Gregory Woodhouse <[EMAIL PROTECTED]> wrote:
> How do you attract developers to work on projects like VistA? There
> are a few brave physicians on this list that are really making the
> effort to learn to program, but then there are people like me who
> know more about semaphores, graphs and complexity classes than blood
> gases and basal ganglia. How do you attract people who are not health
> care professionals burt who have valuable expertise in software
> development to a project such as this?
> ===
> Gregory Woodhouse
> [EMAIL PROTECTED]
>
> "Prediction is difficult, especially of the future."
> --Niels Bohr
>
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman SEARCH frustration

2006-01-14 Thread Kevin Toppenberg
OK.  I have just spent at least 2 hrs trying to get it working, and I
have failed again.  I don't have apache2.  I have scoured the net and
have not figured out how to uninstall my apache and install apache2. 
Apt-get install apache2 --> can't find package.  apt-get install
apache-mpm-prefork --> no better.

So I tried to reading over the older instructions:
http://vista.vmth.ucdavis.edu/notebook/index/12.html  (targeting apache)

to see if I could somehow merge these with:
http://vista.vmth.ucdavis.edu/notebook/index/48.html

But I guess I am just not smart enough, or don't have enough
background experience, to get this working.  I have no idea how my
current apache is linked into the RedHat9 system.  It seems to be a
low level service that is provided.

Your new instructions specify to :
copy file m2web-vista-site to /etc/apache2/sites-available/vista  (I
don't have an /etc/apache2/ directory)

Your equivalent older instruction indicate to edit:
/etc/httpd/conf/httpd.conf

So I tried putting the content from your new m2web-vista-site into the
httpd.conf file, in the section named: Virtual hosts.

When I do this, stop the httpd service and then restart it.  I get a
failure to start.  So something is wrong.

Is there anyway you could provide up to date instructions for those
(like me) not using Apache2?

Thanks
Kevin





On 1/14/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
>
>
>
> OK, you have convinced me.  I am going to try to get it going again.  We 
> cooresponded about this several months ago.  It was in a different e-mail 
> account.  I am right now trying to port all my old email into my gmail 
> account to make the searching better.
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] So...how do you stat a file?

2006-01-14 Thread Gregory Woodhouse


On Jan 14, 2006, at 10:29 AM, Bhaskar, KS wrote:


SSVNs are an attempt to provide a "standard" way to provide access to
some features that were previously provided in a non-standard way on
different MUMPSen.


That sounds right.


Unfortunately, M standardizes the names of SSVNs but
not their behavior,


Yes.


so they are effectively useless as standards - it's
much easier to accommodate differences in syntax than it is  
differences

in semantics.


I'm not quite sure what you mean here. In fact, one of my major  
complaints about the M standard is that it doesn't really touch on  
semantic issues at all, except in a very informal way. I'm not saying  
we need complete mathematical rigor, but a reasonably formal  
operational semantics would be nice. But be that as it may, I don't  
think I agree: syntactic forms without a semantic interpretation  
(whether we make it explicit or not) are pointless. The question is  
not whether or not you define new semantics but whether or not the  
semantics is formally specified.


GT.M does not support SSVNs, in part for this reason.  There were/are
also some security concerns with some SSVNs.


Maybe it doesn't need to be said, but I wasn't criticizing GT.M, just  
point out that you won't find these SSVNs on a GT.M system.


-- Bhaskar


===
Gregory Woodhouse
[EMAIL PROTECTED]

"Einstein was a giant. He had his head in the clouds and his feet on  
the ground."

--Richard P. Feynman




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Attracting developers

2006-01-14 Thread Gregory Woodhouse
How do you attract developers to work on projects like VistA? There  
are a few brave physicians on this list that are really making the  
effort to learn to program, but then there are people like me who  
know more about semaphores, graphs and complexity classes than blood  
gases and basal ganglia. How do you attract people who are not health  
care professionals burt who have valuable expertise in software  
development to a project such as this?

===
Gregory Woodhouse
[EMAIL PROTECTED]

"Prediction is difficult, especially of the future."
--Niels Bohr




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Interleaving

2006-01-14 Thread Gregory Woodhouse
How can you demonstrate the interleaving of jobs without disturbing  
it with explicit synchronization? I actually did this in PLT Scheme  
as follows


(define (the-body x)
  (begin
(let loop ((i 0))
  (begin
(if (< i 25)
(begin
  (display x)
  (loop (+ i 1
;The use of t1 and t2 here is an artifice to
;suppress display of the thread ID
(define t1 '())
(define t2 '())
(begin
  (set! t1 (thread
 (lambda () (the-body "A"
  (set! t2 (thread
(lambda () (the-body "B")


where the output could be (it varies from run to run):

AABBBAAABB

Now, this almost looks like MUMPS. Instead of a named let, I can use  
FOR, and instead of thread, I can use JOB, so it would seem natural  
to write something like


JOB BODY("A")
JOB BODY("B")

where BODY is just a FOR loop

BODY(X)  ;
 FOR I=1:1:25 WRITE X
QUIT

But, of course that's not allowed, because background jobs can't  
write to the terminal. A natural idea is to use a host file instead,  
but then the test would say more about output buffering than anything  
else.


Does anyone have any ideas?

===
Gregory Woodhouse
[EMAIL PROTECTED]

"A hero is no braver than an ordinary
man, but he is brave five minutes longer."
-- Ralph Waldo Emerson





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


RE: [Hardhats-members] Changing out the Cache.dat in Cache

2006-01-14 Thread Cameron Schlehuber
Cache 5.0.11

I wonder if journaling is involved.  There may have been a different default
on your later install.  If it's just a difference in the version, that's
pretty ugly for those of us who need to frequently restore accounts quickly.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nancy
Anthracite
Sent: Saturday, January 14, 2006 3:13 PM
To: hardhats-members@lists.sourceforge.net
Subject: Re: [Hardhats-members] Changing out the Cache.dat in Cache

May I ask what version of Cache you are running?  Mine is 5.018 and I didn't

have trouble with some of the older ones doing this.  They acted just like 
you discribe, except that I had to be sure they shut down all the way 
because, unlike now, the Cache controller in Services entry would not always

shut down when I stopped Cache.  

Now the Cache controller stops fine, but I can't switch out the database and

restart it. It acts like it is trying to protect a damaged database from

further damage, but if you try to put the first one back, I guess things
have 
changed enough that it won't allow that either.  I usually get around it by 
reinstalling Cache as that is the easiest thing for me to do. 

Someone told me there is a way to do this, something to do with a right
click 
somewhere, but I can't recall where.

On Saturday 14 January 2006 04:50 pm, Cameron Schlehuber wrote:
All I've ever had to do is "Stop Cache" under the Cache Cube and select
"Shutdown", swap out the desired cache.dat and then "Start Cache" under the
Cache Cube.  I've never stopped any service under Control Panel.  I wonder
if you nailed a service that shouldn't have been stopped, or stopping it
under Control Panel, something didn't shut down or start up correctly.

Cameron

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nancy
Anthracite
Sent: Saturday, January 14, 2006 9:52 AM
To: hardhats-members@lists.sourceforge.net
Subject: [Hardhats-members] Changing out the Cache.dat in Cache

In the past if I shut down Cache all of the way, including under Services in

the Control Panel, I could switch out the Cache.dat for a new one and start
it up with no problem.  That was a quick way to avoid reentering the
mappings
and test something quickly.

Now if I do that, Cache will not start.

I understand there is some way to sort of "unmount" the database and switch
it
out safely, but I have yet to discover where that is.  Can anybody tell me
how to do that?

-- 
Nancy Anthracite


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Changing out the Cache.dat in Cache

2006-01-14 Thread Nancy Anthracite
May I ask what version of Cache you are running?  Mine is 5.018 and I didn't 
have trouble with some of the older ones doing this.  They acted just like 
you discribe, except that I had to be sure they shut down all the way 
because, unlike now, the Cache controller in Services entry would not always 
shut down when I stopped Cache.  

Now the Cache controller stops fine, but I can't switch out the database and 
restart it. It acts like it is trying to protect a damaged database from 
further damage, but if you try to put the first one back, I guess things have 
changed enough that it won't allow that either.  I usually get around it by 
reinstalling Cache as that is the easiest thing for me to do. 

Someone told me there is a way to do this, something to do with a right click 
somewhere, but I can't recall where.

On Saturday 14 January 2006 04:50 pm, Cameron Schlehuber wrote:
All I've ever had to do is "Stop Cache" under the Cache Cube and select
"Shutdown", swap out the desired cache.dat and then "Start Cache" under the
Cache Cube.  I've never stopped any service under Control Panel.  I wonder
if you nailed a service that shouldn't have been stopped, or stopping it
under Control Panel, something didn't shut down or start up correctly.

Cameron

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nancy
Anthracite
Sent: Saturday, January 14, 2006 9:52 AM
To: hardhats-members@lists.sourceforge.net
Subject: [Hardhats-members] Changing out the Cache.dat in Cache

In the past if I shut down Cache all of the way, including under Services in

the Control Panel, I could switch out the Cache.dat for a new one and start
it up with no problem.  That was a quick way to avoid reentering the
mappings
and test something quickly.

Now if I do that, Cache will not start.

I understand there is some way to sort of "unmount" the database and switch
it
out safely, but I have yet to discover where that is.  Can anybody tell me
how to do that?

-- 
Nancy Anthracite


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


RE: [Hardhats-members] Changing out the Cache.dat in Cache

2006-01-14 Thread Cameron Schlehuber
All I've ever had to do is "Stop Cache" under the Cache Cube and select
"Shutdown", swap out the desired cache.dat and then "Start Cache" under the
Cache Cube.  I've never stopped any service under Control Panel.  I wonder
if you nailed a service that shouldn't have been stopped, or stopping it
under Control Panel, something didn't shut down or start up correctly.

Cameron

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nancy
Anthracite
Sent: Saturday, January 14, 2006 9:52 AM
To: hardhats-members@lists.sourceforge.net
Subject: [Hardhats-members] Changing out the Cache.dat in Cache

In the past if I shut down Cache all of the way, including under Services in

the Control Panel, I could switch out the Cache.dat for a new one and start 
it up with no problem.  That was a quick way to avoid reentering the
mappings 
and test something quickly.

Now if I do that, Cache will not start.  

I understand there is some way to sort of "unmount" the database and switch
it 
out safely, but I have yet to discover where that is.  Can anybody tell me 
how to do that?
-- 
Nancy Anthracite


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] Fileman SEARCH frustration

2006-01-14 Thread Kevin Toppenberg
On 1/13/06, Jim Self <[EMAIL PROTECTED]> wrote:
Did I say that I ADMIRE your tenacity and fortitude? ;)Thanks. :-) 
What sort of searches do you want to make? Who is going to formulate the searches? Naiveusers and/or programmers and expert users with training in logic and detailed knowledge ofthe database layout?
I was working on importing FDA drug data, and I need to see if a given drug already exists in the database.  But, because the names sometimes have slight differences in their names, I wanted to search based on ACTIVE INGREDIENTS.  But it has been a few weeks, and the details are fuzzy right now.
 >So maybe I should start over.Perhaps. At the least you should look closely at the query interface in M2Web. I believe
that your efforts in this direction would be much more productive starting from there.OK, you have convinced me.  I am going to try to get it going again.  We cooresponded about this several months ago.  It was in a different e-mail account.  I am right now trying to port all my old email into my gmail account to make the searching better.
 I have both to some degree in M2Web and will be working to provide much more extensive
capabilities in the near future. The web based query editor uses AJAX techniques toaccess the metadata and to provide highly interactive on-the-fly point-and-clickspecification of output formats. I don't know that there is anything like this on the web
for any other database. (If there is, please let me know so I might borrow some of theirideas. ;)Yes, but is your searching tied to html the same way that current VistA is tied to roll-n-scroll?  Based on what you have said before, I think not.  But we'll see, because I am going to want to use it without html interface (
i.e. programmer's api) One of the deep problems that I imagine you are wrestling with here is the fact that the
MUMPS code generated by Fileman is even less readable than the code in the applicationsthemselves. I am thinking in particular of the extensive re-use of X and Y and otherextremely short variable names.
Gosh, you can say that again!  In my decompiled code, I spend a great amount of time trying to figure out what a variable is being used for and then commenting the code.  What a waste of time! 
Not at all. This is a problem area that needs attention. At the least, your efforts shouldshed light on that and bring a solution a few steps closer. Still, it seems to me thatthere is a growing opportunity for synergy in focusing your energies on the web.
I like your background code, but again, I don't really need a web interface (or so I think.)ThanksKevin


Re: [Hardhats-members] So...how do you stat a file?

2006-01-14 Thread Bhaskar, KS
SSVNs are an attempt to provide a "standard" way to provide access to
some features that were previously provided in a non-standard way on
different MUMPSen.  Unfortunately, M standardizes the names of SSVNs but
not their behavior, so they are effectively useless as standards - it's
much easier to accommodate differences in syntax than it is differences
in semantics.

GT.M does not support SSVNs, in part for this reason.  There were/are
also some security concerns with some SSVNs.

-- Bhaskar

On Sat, 2006-01-14 at 09:01 -0600, Gregory Woodhouse wrote:
> 
> On Jan 14, 2006, at 5:00 AM, Kevin Toppenberg wrote:
> 
> > I'll be dumb.  What is SSVN? 
> > 
> > Kevin
> 
> SSVN = Structured System Variable Name.
> 
> I'm told that GT.M doesn't support them (correct me if I'm wrong),   
> but if you're using Cache or another MUMPS implementation, you
> might   
> try $ORDERing through
> 
> ^$ROUTINE 
> ^$GLOBAL 
> ^$JOB
> 
> These are kind of pseudo-globals that represent information about
> the   
> system. For example, ^$JOB is something like the /proc filesystem   
> under Linux.
> 
> When I get around to writing my own MUMPS implementation, I think
> it   
> will need to support user-defined SSVNs. (Isn't that an oxymoron?)
> 
> === 
> Gregory Woodhouse 
> [EMAIL PROTECTED]
> 
> "Prediction is difficult, especially of the future." 
> --Niels Bohr


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Changing out the Cache.dat in Cache

2006-01-14 Thread Nancy Anthracite
In the past if I shut down Cache all of the way, including under Services in 
the Control Panel, I could switch out the Cache.dat for a new one and start 
it up with no problem.  That was a quick way to avoid reentering the mappings 
and test something quickly.

Now if I do that, Cache will not start.  

I understand there is some way to sort of "unmount" the database and switch it 
out safely, but I have yet to discover where that is.  Can anybody tell me 
how to do that?
-- 
Nancy Anthracite


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


[Hardhats-members] Namespaces and modules

2006-01-14 Thread Gregory Woodhouse
Something else that I think would greatly benefit the language is  
support for namespaces and modules, and it's a real shame that it  
wasn't properly standardized. Think about it: One of the biggest  
headaches of VistA development is having to assign name and  
numberspaces to each application. No one can even start writing code  
without a namespace! It would be so much easier if we could just  
place each module in its own namespace and not even have to worry  
about collisions.


===
Gregory Woodhouse
[EMAIL PROTECTED]

"One must act on what has not yet happened."
--Lao Tzu





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] So...how do you stat a file?

2006-01-14 Thread Gregory Woodhouse


On Jan 14, 2006, at 5:00 AM, Kevin Toppenberg wrote:


I'll be dumb.  What is SSVN?

Kevin


SSVN = Structured System Variable Name.

I'm told that GT.M doesn't support them (correct me if I'm wrong),  
but if you're using Cache or another MUMPS implementation, you might  
try $ORDERing through


^$ROUTINE
^$GLOBAL
^$JOB

These are kind of pseudo-globals that represent information about the  
system. For example, ^$JOB is something like the /proc filesystem  
under Linux.


When I get around to writing my own MUMPS implementation, I think it  
will need to support user-defined SSVNs. (Isn't that an oxymoron?)


===
Gregory Woodhouse
[EMAIL PROTECTED]

"Prediction is difficult, especially of the future."
--Niels Bohr




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] So...how do you stat a file?

2006-01-14 Thread Kevin Toppenberg
I'll be dumb.  What is SSVN?KevinOn 1/14/06, LD 'Gus' Landis <[EMAIL PROTECTED]> wrote:
Hi,  Sounds like an opportunity for an SSVN to me.  What is the "vox populi" on the notion of SSVNs anyway?
Cheers,  --ldlOn 1/14/06, Jim Self <[EMAIL PROTECTED]> wrote:> Bhaskar wrote:> >Code specific to each MUMPS implementation should belong in the kernel,
> >isolated from the applications.> >> >GT.M doesn't provide a function to stat a file.  The two approaches> >would be to use ZSYstem to call a program like ls, stat or file, or to
> >call a standard C library function to get the answer.>> This reminds me of what I think might be THE most elegant way to extend MUMPS to a more> complete computing paradigm. Allow direct mapping of a global to a directory of files such
> that from the MUMPS side, a file could be treated simply as a global variable, and from> the OS side, MUMPS data (some, not necessarily all) could be made directly accessible to> other applications.
>> When I was (prior to GT.M/Linux) actively seeking a way forward for MUMPS development that> could avoid lock-in to proprietary databases and trying to find a way to have the benefits> of MUMPS globals in other programming languages, it occurred to me that the closest thing
> to MUMPS globals outside of MUMPS is the file system provided by each OS.>> Both provide an ordered hierarchical collection of persistent shared named values. MUMPS> globals are generally optimized more for speed of access to a larger tree of data with
> generally smaller data values, but the similarities seem amazingly close to me.>> The primary differences are that>   1) files are essentially unlimited in size where MUMPS data values>  generally have been constrained to a size of hundreds or perhaps
>  thousands of bytes. GT.M now allows local values up to one megabyte>  but limits global values to blocks of 1KB up to 32KB (last I checked).>   2) Every file generally has individual access permissions but an individual
>  global reference generally does not. Some MUMPS implementations allow>  individual globals to map to separate files while others allow ranges of>  subscripts within a given global to be mapped to different files.
>> Providing an optional globals model that simply maps a global to a directory of a file> system would make the exchange of data with other applications simpler and more uniform, A> MUMPS data file that could be mounted as a file system for some purposes could provide a
> potentially faster file system.>> ---> Jim Self> Systems Architect, Lead Developer> VMTH Computer Services, UC Davis> (
http://www.vmth.ucdavis.edu/us/jaself)>>> ---> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___> Hardhats-members mailing list> Hardhats-members@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/hardhats-members>--LD Landis - N0YRQ - from the St Paul side of Minneapolis---This 
SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?  Stop!  Download the new AJAX search engine that makessearching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick___Hardhats-members mailing list
Hardhats-members@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/hardhats-members


Re: [Hardhats-members] So...how do you stat a file?

2006-01-14 Thread LD 'Gus' Landis
Hi,

  Sounds like an opportunity for an SSVN to me.

  What is the "vox populi" on the notion of SSVNs anyway?

Cheers,
  --ldl

On 1/14/06, Jim Self <[EMAIL PROTECTED]> wrote:
> Bhaskar wrote:
> >Code specific to each MUMPS implementation should belong in the kernel,
> >isolated from the applications.
> >
> >GT.M doesn't provide a function to stat a file.  The two approaches
> >would be to use ZSYstem to call a program like ls, stat or file, or to
> >call a standard C library function to get the answer.
>
> This reminds me of what I think might be THE most elegant way to extend MUMPS 
> to a more
> complete computing paradigm. Allow direct mapping of a global to a directory 
> of files such
> that from the MUMPS side, a file could be treated simply as a global 
> variable, and from
> the OS side, MUMPS data (some, not necessarily all) could be made directly 
> accessible to
> other applications.
>
> When I was (prior to GT.M/Linux) actively seeking a way forward for MUMPS 
> development that
> could avoid lock-in to proprietary databases and trying to find a way to have 
> the benefits
> of MUMPS globals in other programming languages, it occurred to me that the 
> closest thing
> to MUMPS globals outside of MUMPS is the file system provided by each OS.
>
> Both provide an ordered hierarchical collection of persistent shared named 
> values. MUMPS
> globals are generally optimized more for speed of access to a larger tree of 
> data with
> generally smaller data values, but the similarities seem amazingly close to 
> me.
>
> The primary differences are that
>   1) files are essentially unlimited in size where MUMPS data values
>  generally have been constrained to a size of hundreds or perhaps
>  thousands of bytes. GT.M now allows local values up to one megabyte
>  but limits global values to blocks of 1KB up to 32KB (last I checked).
>   2) Every file generally has individual access permissions but an individual
>  global reference generally does not. Some MUMPS implementations allow
>  individual globals to map to separate files while others allow ranges of
>  subscripts within a given global to be mapped to different files.
>
> Providing an optional globals model that simply maps a global to a directory 
> of a file
> system would make the exchange of data with other applications simpler and 
> more uniform, A
> MUMPS data file that could be mounted as a file system for some purposes 
> could provide a
> potentially faster file system.
>
> ---
> Jim Self
> Systems Architect, Lead Developer
> VMTH Computer Services, UC Davis
> (http://www.vmth.ucdavis.edu/us/jaself)
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


--
LD Landis - N0YRQ - from the St Paul side of Minneapolis


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members