Reply by Eric Jacobsen December 9, 20052005-12-09
OKay, it's fixed now, but in a cheesy manner.   I changed the file
extensions to .txt as suggested and now it works.   So the webhost has
some special consideration for .m extensions....grrr...


On Wed, 07 Dec 2005 11:42:12 -0700, Eric Jacobsen
<eric.jacobsen@ieee.org> wrote:

>On 5 Dec 2005 08:22:19 -0800, "Peter K." <p.kootsookos@iolfree.ie> >wrote: > >> >>Jim Thomas wrote: >> >>> I think you're talking about the <pre> tag (IIRC, that stands for >>> pre-formatted). >> >>Yup, that's what I use on my .m files: >> >>% <PRE> >>function omegahat = discperiod(signal) >> >>%DISCPERIOD Find the discrete-frequency periodogram maximizer >>: >>: >>: >>%</PRE> >> >>Ciao, >> >>Peter K. > >Yes, the .m files in question use the pre-formatted escape indicators >just like Peter has shown, so that's not the problem (it used to >work). > >I haven't had a chance to get back to this but can try some of these >things. I'd like to leave the files with the .m extension since >people can right-click if they so desire from the sourcing page. > >My news server went off its meds for a few days, too, and I'm just now >getting back to being able to read this stuff. > >Cheers, >Eric Jacobsen >Minister of Algorithms, Intel Corp. >My opinions may not be Intel's opinions. >http://www.ericjacobsen.org
Eric Jacobsen Minister of Algorithms, Intel Corp. My opinions may not be Intel's opinions. http://www.ericjacobsen.org
Reply by Eric Jacobsen December 7, 20052005-12-07
On 5 Dec 2005 08:22:19 -0800, "Peter K." <p.kootsookos@iolfree.ie>
wrote:

> >Jim Thomas wrote: > >> I think you're talking about the <pre> tag (IIRC, that stands for >> pre-formatted). > >Yup, that's what I use on my .m files: > >% <PRE> >function omegahat = discperiod(signal) > >%DISCPERIOD Find the discrete-frequency periodogram maximizer >: >: >: >%</PRE> > >Ciao, > >Peter K.
Yes, the .m files in question use the pre-formatted escape indicators just like Peter has shown, so that's not the problem (it used to work). I haven't had a chance to get back to this but can try some of these things. I'd like to leave the files with the .m extension since people can right-click if they so desire from the sourcing page. My news server went off its meds for a few days, too, and I'm just now getting back to being able to read this stuff. Cheers, Eric Jacobsen Minister of Algorithms, Intel Corp. My opinions may not be Intel's opinions. http://www.ericjacobsen.org
Reply by Martin Blume December 5, 20052005-12-05
"Eric Jacobsen" schrieb 
> Hey all, this is a bit off topic but I thought I'd post > here as somebody may know what the problem is. > > [... HTML strangeness ...] >
Also, on your other FE page, http://www.ericjacobsen.org/intpfigs.mcd is not there. Perhaps the server is configured only to deliver file types it knows about? HTH Martin
Reply by Peter K. December 5, 20052005-12-05
Jim Thomas wrote:

> I think you're talking about the <pre> tag (IIRC, that stands for > pre-formatted).
Yup, that's what I use on my .m files: % <PRE> function omegahat = discperiod(signal) %DISCPERIOD Find the discrete-frequency periodogram maximizer : : : %</PRE> Ciao, Peter K.
Reply by Jim Thomas December 5, 20052005-12-05
Tim Wescott wrote:
> You could also embed the files into HTML. IIRC the keyword is <CODE> > and it just prints anything inside verbatim and in a fixed-width font. I > cannot remember the details, but I know it's there. >
I think you're talking about the <pre> tag (IIRC, that stands for pre-formatted). -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 The real fun of living wisely is that you get to be smug about it. - Hobbes
Reply by Stan Pawlukiewicz December 5, 20052005-12-05
Eric Jacobsen wrote:
> Hey all, this is a bit off topic but I thought I'd post here as > somebody may know what the problem is. > > I've ported my web stuff to a new host and now the links to the matlab > code no longer work. Specifically, if you go to the bottom of: > > http://www.ericjacobsen.org/fe2/fe2.htm > > and try to get any of the matlab source files it claims the page > doesn't exist (at least, that's what it does when I try it). I've > double, triple, quadruple checked that the files are there, even > deleted and reloaded them once, but it can't find them. The file > names match the hrefs in the fe2.htm source. > > If you go to Peter K's site with the previous code on it at > > http://home.comcast.net/~kootsoop/freqalgs.htm > > he uses slightly different html code but the idea is the same, and it > works fine even on my browser. > > This stuff used to work, it just seems that it's broken lately and I'm > pretty confused as to why. Any help is appreciated. > > Eric Jacobsen > Minister of Algorithms, Intel Corp. > My opinions may not be Intel's opinions. > http://www.ericjacobsen.org
Permissions maybe.
Reply by Tim Wescott December 5, 20052005-12-05
Eric Jacobsen wrote:
> On 04 Dec 2005 16:11:45 -0500, p.kootsookos@remove.ieee.org (Peter K.) > wrote: > > >>The links seem broken, but I suspect it's a file permission issue. >> >>If I try: >> >>http://www.ericjacobsen.org/fe2/inttst3.m >> >>I get the standard 404 error from Microsoft. If I try something random: >> >>http://www.ericjacobsen.org/fe2/sdfds >> >>then I get an error generated by your ISP. >> >>So I suspect that the files are there, they've just not got the right >>permissions. >> >>See if the files (or the fe2 directory) has given read permissions to >>the appropriate process / user. >> >>HTH, >> >>Peter K. > > > You may be right, and I'm not certain how to change it. I copied the > .m files with the same utility (ws_ftp) that I used to copy the > graphics and .htm files, and at the same time, so I don't know why it > would treat them differently. Perhaps the hosting company reserves > the .m file extension for something else and it does have different > permissions. >
You could also embed the files into HTML. IIRC the keyword is <CODE> and it just prints anything inside verbatim and in a fixed-width font. I cannot remember the details, but I know it's there. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com
Reply by December 4, 20052005-12-04
Eric Jacobsen <eric.jacobsen@ieee.org> writes:

> You may be right, and I'm not certain how to change it. I copied the > .m files with the same utility (ws_ftp) that I used to copy the > graphics and .htm files, and at the same time, so I don't know why it > would treat them differently. Perhaps the hosting company reserves > the .m file extension for something else and it does have different > permissions.
That's a thought: try changing the extension to ".txt" and see what happens.
> Ah, well, I'll have to see how good their support staff is, I suppose.
:-) Ciao, Peter K.
Reply by Eric Jacobsen December 4, 20052005-12-04
On 04 Dec 2005 16:11:45 -0500, p.kootsookos@remove.ieee.org (Peter K.)
wrote:

>The links seem broken, but I suspect it's a file permission issue. > >If I try: > >http://www.ericjacobsen.org/fe2/inttst3.m > >I get the standard 404 error from Microsoft. If I try something random: > >http://www.ericjacobsen.org/fe2/sdfds > >then I get an error generated by your ISP. > >So I suspect that the files are there, they've just not got the right >permissions. > >See if the files (or the fe2 directory) has given read permissions to >the appropriate process / user. > >HTH, > >Peter K.
You may be right, and I'm not certain how to change it. I copied the .m files with the same utility (ws_ftp) that I used to copy the graphics and .htm files, and at the same time, so I don't know why it would treat them differently. Perhaps the hosting company reserves the .m file extension for something else and it does have different permissions. Ah, well, I'll have to see how good their support staff is, I suppose. Eric Jacobsen Minister of Algorithms, Intel Corp. My opinions may not be Intel's opinions. http://www.ericjacobsen.org
Reply by December 4, 20052005-12-04
Eric Jacobsen <eric.jacobsen@ieee.org> writes:

> Hey all, this is a bit off topic but I thought I'd post here as > somebody may know what the problem is. > > I've ported my web stuff to a new host and now the links to the matlab > code no longer work. Specifically, if you go to the bottom of: > > http://www.ericjacobsen.org/fe2/fe2.htm > > and try to get any of the matlab source files it claims the page > doesn't exist (at least, that's what it does when I try it). I've > double, triple, quadruple checked that the files are there, even > deleted and reloaded them once, but it can't find them. The file > names match the hrefs in the fe2.htm source.
The links seem broken, but I suspect it's a file permission issue. If I try: http://www.ericjacobsen.org/fe2/inttst3.m I get the standard 404 error from Microsoft. If I try something random: http://www.ericjacobsen.org/fe2/sdfds then I get an error generated by your ISP. So I suspect that the files are there, they've just not got the right permissions. See if the files (or the fe2 directory) has given read permissions to the appropriate process / user. HTH, Peter K.