edahl

20 Reputation

4 Badges

7 years, 73 days

MaplePrimes Activity


These are replies submitted by edahl

@Mac Dude That seems like something that would do really well as a layer for http://spacemacs.org/

I suggested it here: https://github.com/syl20bnr/spacemacs/issues/10758
@Joe Riel just fyi

 

@tomleslie I might follow your example there, since vs code's plugin seems lackluster and relearning and configuring ancient editors is a luxury I don't feel like I can really afford

@Carl Love I think that sort of approach would be helpful for my long-term sanity. Do you know of any useful resources to get started using Maple this way?

@Carl Love Thank you, that's very useful to know!

I like Vim. Do people use plain text files seriously, or is it more of a curiosity? I tried a plugin for VS Code and it was okay, but when your output is pages upon pages of differential forms it gets to be a little tedious.

The ideal thing would of course be something that could, say, format LaTeX output and display it inline (or in a separate window I guess), just with the typical 1-1 code-text type of thing of a standard programming language so I don't have to deal with the Very Helpful™ document formatting etc., which makes sharing code outside of these notebook things, or sometimes even being sure what is actually going on, rather tedious. But this is probably not the right place to rant about that...

Sorry, it didn't enter my head that it was possible to use Maple for anything but differential geometry. What acer said :)

@Carl Love Bahahaha, wow lucky pick

Thanks, that was ofc it.

ps: This is why I wish I could program Maple in a traditional text editor with syntax highlighting etc (which I apparently can)

@Carl Love Probably because I've copy pasted code in-between different frames and Maple refuses to update it

By the way there's one last thing I'm unsure about, namely the last brackets in

[dx||i, dy||i][]

EDIT: Nevermind, it's just a short form of op apparently.

@Joe Riel But why? x||y seems a great deal more ergonomic than cat(x,y) for simple use cases.

Edit: Reporting back on how these suggestions work out a little later.

@Carl Love I was running maple 16 so I don't know what that's about. If it's zip I'm beginning to know what's going on. I'll try you suggestion asap, thanks. 

@Carl Love I didn't know there was such a thing as what seems to be instantly recognisable "idiomatic Maple" but that is pretty slick. Unfortunately I'm not quite sure what's going on. The `||` is new to me and seems like a much more flexible cat, I've never seen type signatures (k::posint) before, on the rhs you're doing [...][], and `=~` (seems like a short-hand for "map" type commands). is also new to me. Could you point me in the right direction here?

Running this locally I unfortunately get
 

> F(3), m || (1 .. 6);
Error, (in F) invalid input: `=` expects 2 arguments, but received 12

 

@ecterrab Thank you for your suggestion, I will check out the Physics package. I figured out my mistake, and it was simply a rogue '2' where I should have written a 1, resulting in what was certainly not a metric. I'll upload the worksheet in the future!

 

Eivind

Page 1 of 1