Alec Mihailovs

Dr. Aleksandrs Mihailovs

4415 Reputation

20 Badges

17 years, 32 days
Mihailovs, Inc.
Owner, President, and CEO
Tyngsboro, Massachusetts, United States

Social Networks and Content at Maplesoft.com

Maple Application Center

I received my Ph.D. from the University of Pennsylvania in 1998 and I have been teaching since then at SUNY Oneonta for 1 year, at Shepherd University for 5 years, at Tennessee Tech for 2 years, at Lane College for 1 year, and this year I taught at the University of Massachusetts Lowell. My research interests include Representation Theory and Combinatorics.

MaplePrimes Activity


These are replies submitted by Alec Mihailovs

@Alejandro Jakubi 

Nothing especially interesting at hand. Just looks nicer - colors, fonts etc.

Alec

PS Thumbnail inserting doesn't seem to work -Alec

@Alejandro Jakubi 

Nothing especially interesting at hand. Just looks nicer - colors, fonts etc.

Alec

PS Thumbnail inserting doesn't seem to work -Alec

Compare,

evalc(r2) assuming A>0;

                     2      2
                    k  sigma                       1/2
              exp(- ---------) sin(k theta) sigma A    I
                        2

Alec

Compare,

evalc(r2) assuming A>0;

                     2      2
                    k  sigma                       1/2
              exp(- ---------) sin(k theta) sigma A    I
                        2

Alec

@Alejandro Jakubi 

In this example, that happens because depending on the sign of A, the answer can be either real or imaginary, and evalc covers these 2 cases separately. It produces the same answer assuming A>0,

evalc(r) assuming A>0;

                      2      2
                     k  sigma                       1/2
               exp(- ---------) cos(k theta) sigma A
                         2

Alec

 

@Alejandro Jakubi 

In this example, that happens because depending on the sign of A, the answer can be either real or imaginary, and evalc covers these 2 cases separately. It produces the same answer assuming A>0,

evalc(r) assuming A>0;

                      2      2
                     k  sigma                       1/2
               exp(- ---------) cos(k theta) sigma A
                         2

Alec

 

@pagan : Yep.

I started selecting all and copying before clicking "submit".

Alec

PS Helped in posting this. -Alec

Here is a version with 76 characters (78 producing a list),

L := [4, 10, 3, 2, 9, 1, 5, 2, 4]:
M:=():use Threads in Wait(seq(Create((n->(Sleep(n),M,n))(i),'M'),i=L))end:M;

                      1, 2, 2, 3, 4, 4, 5, 9, 10

Alec

Edit: Just found a bug in it - if L is 1,1,1, it returns 1,1 - kinda strange, isn't it? That happens only in Maple 15 - works OK in Maple 14 with the Sleep that I posted above. I guess Mutex should be used to avoid that - but that's a lot of characters... Well, it seems to be working OK if equal numbers in L are not next to each other. -Alec

Edit 2: Here is a shorter version, with just 73 characters,

M:=():use Threads in Wait(seq(Create((Sleep,i->(M,i))(i),'M'),i=L))end;M;

                       1, 2, 2, 3, 4, 4, 9, 10

with the same feature - works OK for lists without 2 equal numbers located next to each other, and losing some of the (equal) terms otherwise. -Alec

Edit 3: On the other hand, other posted in this thread procedures also seem to having the same problem,

L:=2,2,2,1,1,1:
M:=():use Threads in Wait(seq(Create(proc(n):-M:=Sleep(n),M,n end(i)),i=L))end:M;

                              1, 1, 2, 2

L:=[2,2,2,1,1,1];
M:=():use Threads in p:=proc(n)Sleep(n);:-M:=M,n;end:Wait(map(i->Create(p(i)),L)[])end:[M];

                           [1, 1, 2, 2, 2]

SleepSort(L);

                           [1, 1, 2, 2, 2]

Alec

@Alejandro Jakubi 

That usage (first in importance etc.) is usually for adjectives (as in prime time etc.).

As a noun, applied to people, "prime" may sound as a shortcut for "primitive" (in slang).

What I don't like about "primer" is that it sounds (applying to a human being) like somebody who primes.

Primate on the other hand is a friendly word, including a "mate" in it (almost like a "playmate"). From zoological point of view, humans are primates, too, not only monkeys. That's a kind of a joke though.

A normal usage would be "MaplePrimes members", which I believe Bryon meant, and the word "members" just slipped out (in a hurry, after me posting "a silent upgrade" note).

It would look better, I think if the tab "Users" was changed to "Members", too.

Alec

@Christopher2222 

I would go with MaplePrimates.

The word "Users", while used in the tab above, is not covering properly all the members - because people working at Maplesoft also post here, and while some of them might use Maple, but I don't think that they call themselves users.

Alec

That expression made me laugh, too.

I've searched Google for the definition of primes, and found an interesting one that doesn't seem obvious -

4. Of the highest U.S. government grade of meat.

Originally, before becoming a forum, this site served for the Extendend Service subscribers - it provided some additional downloads (like Classic Maple for Mac, the guides that are now in the Documentation Center), upgrades, etc. - perhaps that name was meant for them.

Alec

@PatrickT 

Same situation - retyping the message again. It doesn't happen every time, but does from time to time.

About the ability to edit other people posts - I am against censorship in general, but would delete spam immediately when I see it without much thinking. Excessive white space at the bottom of a post (that I saw a few times) I would also might delete without much thinking and without leaving a note that I deleted it.

Obscene language - that's debatable. I saw such kind of a post once during last month - it stayed unedited for several days, was voted down 8 or 9 times, still got a couple of good answers, then was edited by somebody not leaving a note about that, and the user apologized at the end.

Alec

PS - I would certainly appreciate my posts editing for obvious typos, if they are typos - the only problem with that is that they may be not. -Alec

It works in Maple 14 after defining

Sleep:=proc(n)
local t;
t:=time();
while time()-t < n do od 
end:

Alec

2 3 4 5 6 7 8 Last Page 4 of 180