Christopher2222

MaplePrimes Activity


These are replies submitted by Christopher2222

@pagan Thanks for the explanation.  I realize it is not the same issue.   I have no reason not to use printf, in fact that works perfectly for what I need it for.  printf had slipped my mind.  Thanks for pointing it out. 

@pagan Thanks for the explanation.  I realize it is not the same issue.   I have no reason not to use printf, in fact that works perfectly for what I need it for.  printf had slipped my mind.  Thanks for pointing it out. 

Funny D being protected should come up here.  I was just going to comment about that in another question.  I used D in a procedure and couldn't figure out why it returned a proc statement everytime I used certain values. 

I found out D can only be used inside the double quotation marks and not within the two single quotes.

I had something like

grade:=440:
if grade<500 then print ('D');end if;

and it would return
               proc(f::{set,array,list,algebraic,equation,procedure}) ... end proc
because D is protected

In my case here I would have to enclose D in double quotes "D"

type(D,protected)
    true

type(`D`,protected)
    true

type('D',protected)
    true

type("D",protected)
    false

It's almost unfortunate that we can't assign D but we can use lowercase d

Funny D being protected should come up here.  I was just going to comment about that in another question.  I used D in a procedure and couldn't figure out why it returned a proc statement everytime I used certain values. 

I found out D can only be used inside the double quotation marks and not within the two single quotes.

I had something like

grade:=440:
if grade<500 then print ('D');end if;

and it would return
               proc(f::{set,array,list,algebraic,equation,procedure}) ... end proc
because D is protected

In my case here I would have to enclose D in double quotes "D"

type(D,protected)
    true

type(`D`,protected)
    true

type('D',protected)
    true

type("D",protected)
    false

It's almost unfortunate that we can't assign D but we can use lowercase d

Cool Awesome!  Thanks! 

I never even knew such a site existed.  Wow!  it almost recreates the old primes as it once was.  All the old topics in subdirectories of subdirectories ... OH JOY!   

The link to the file is no longer valid.  Can you please fix?

Thank you very much!

Thank you very much!

Thanks Alec.  What I want to do is everything within the confines of Maple.  So I'll probably have to write my own parser, I thought Maple might have had something included that would do the same thing Internet explorer did so easily and so fast. 

Unfortunately I don't know how to achieve a general parser for all webpages the way I.E. takes care of things.  As you mentioned I would search for header strings <h1> <h3> <tr> etc.. but without forehand knowledge of the source code of the webpage wouldn't the code for a general parser be too bloated?

 

Thanks Alec.  What I want to do is everything within the confines of Maple.  So I'll probably have to write my own parser, I thought Maple might have had something included that would do the same thing Internet explorer did so easily and so fast. 

Unfortunately I don't know how to achieve a general parser for all webpages the way I.E. takes care of things.  As you mentioned I would search for header strings <h1> <h3> <tr> etc.. but without forehand knowledge of the source code of the webpage wouldn't the code for a general parser be too bloated?

 

Why not use mapleprimes here as an example if you wish.

View source code - it's a much larger file than if you save as .txt from I.E. 

So how can we get Maple to do it easily?  I thought it might be easy but there is too much fluff in the source code to strip out. 

Can we do it?

Awesome!  Thanks Duncan for getting that to work! 

Strange about the code edit region.  It is things like this I wish could be fixed or patched on older versions.  How can or would we introduce our own patch into Maple to fix this?

 

 

Thanks Robert for checking that.  It seems as if the site www.oanda.com has changed its webpage programming style since this application was made.  I typed in manually the format with which the application used like this

www.oanda.com/currency/historical-rates/currency/historical-rates?date_fmt=us&date=01/23/10&date1=09/23/10&exch=GBP&expr=CAD&format=CSV&redirected=1

and all I get is an error and then I'm redirected back to www.oanda.com so it appears that the website no longer accepts extended webpage addesses.  This would make this application obsolete since the code will no longer work it probably needs to be re-coded.  I almost wonder if this type of new website programming will make all maple applications using sockets to become obsolete.  This kills all the possibilities that sockets was opening up for maple. 

Even then I don't know if Maple can actually now use the website or not. 

Samir seems to be fluent in webpage protocols and programming however it seems he has dissappeared of the planet. 

Maybe this app still can work even in newer versions, anyone? 

Can anyone get this application to work in Maple 12?

Either no one has a clue how to do it (I can't figure it out), or no one works with Maple 12 anymore.  Well the other obvious option is that it just plain doesn't work in Maple 12. 

Any help would be appreciated

@Alec Mihailovs I think there are still some badges problems to be ironed out. 

Regarding not getting upvoted for your given answer, what did you do before when there was no vote system?  So why should no upvotes change that way of thinking.  Well, I guess the psychology of the voting system can inadvertantly affect anyones thoughts on the matter.  Kind of like quantum physics, the very act of measuring the system changes the outcome. 

I would have never thought no upvotes would be looked at negatively.  What would happen if you got a down vote?  Luckily they are being abolished, downvotes sting ones psychie.  I suppose if you expect to get up voted and don't get any at all, I can see how that can be looked at in a negative light. 

For me I expect to get no votes, so when I do, I'm happy, but when I don't then it's okay but if I get downvoted then because my expectation was for no votes then I would be unhappy.   

First 122 123 124 125 126 127 128 Last Page 124 of 162