Christopher2222

5100 Reputation

24 Badges

11 years, 362 days

MaplePrimes Activity


These are replies submitted by Christopher2222

I don't have access to the google play store or the apple app store.  Is there any way to download the apk file so I can sideload the app? 

edit **added** ok I've found where I can do that.  Thanks!

Ok, it seems there is a size limitation on the HTML method (stops at 7)

The internal CSS appears not to have the same size limitation.

Thanks.  I had to remove the designation of the variable s as a string to make it work since the values going in was a variable.

The extent of the functionality?  Just make it larger on screen so you can see it from far away - that's all.  Nothing complicated. 

Funny though, I made it 9 and it went larger but it wouldn't change at all from that size rerunning it for different sizes (is that a bug?)

How can you increase the size of the button and font?

I branched this quesiton off - the answer of it is here https://www.mapleprimes.com/questions/228551-Increasing-The-Font-Size-In-The-Button

Ah, a couple of if statements clears that up.  Not sure yet why using the AdjustDateField route didn't work. 

Start:=proc()
  local status,T,h,s,sinetime;
  uses DocumentTools,StringTools;
  status:=parse(GetProperty("StartStop",value));
  if status=false then
    SetProperty("StartStop",':-caption',"start",':-refresh');
    return;
  elif status = true then
    while parse(GetProperty("StartStop",value))=true do
      Threads:-Sleep(1.0);
      sinetime := floor(60*sin((90*parse(FormatTime("%M")))/60*Pi/180.)):
      if sinetime<10 then
        sinetime:=cat("0",sinetime):
      end if:
      h := parse(FormatTime("%I")):
      s := parse(FormatTime("%S")):
      if s<10 then
        s:=cat("0",s):
      end if:
      T:=cat(h, ":", sinetime, ":", s);
      SetProperty("StartStop",':-caption',T,':-refresh');
    end do:
  end if;
end proc:

Thanks Acer

This works but the display of the numbers is out (ie need a zero in front of the single digit minutes and seconds)

Start:=proc()
  local status,T,h,s,sinetime;
  uses DocumentTools,StringTools;
  status:=parse(GetProperty("StartStop",value));
  if status=false then
    SetProperty("StartStop",':-caption',"start",':-refresh');
    return;
  elif status = true then
    while parse(GetProperty("StartStop",value))=true do
      Threads:-Sleep(1.0);
      sinetime := floor(60*sin((90*parse(FormatTime("%M")))/60*Pi/180.)):
      h := parse(FormatTime("%I")):
      s := parse(FormatTime("%S")):
      T:=cat(h, ":", sinetime, ":", s);
      SetProperty("StartStop",':-caption',T,':-refresh');
    end do:
  end if;
end proc:

 

To adjust the minutes according to the sin of 0 to 90.  The idea was to compress the minutes time within the hour towards the end so the kids, for example, think it's closer to 8:00 than it really is.  Time is accurate on the hour.

I tried using this formula to modify the minutes time within your procedure but it doesn't quite work

sinetime:= floor(60*sin((90*parse(StringTools:-FormatTime("%M")))/60*Pi/180.))

Start:=proc()
  local status,T,Tod,New,sinetime;
  uses DocumentTools,StringTools;
  status:=parse(GetProperty("StartStop",value));
  if status=false then
    SetProperty("StartStop",':-caption',"start",':-refresh');
    return;
  elif status = true then
    while parse(GetProperty("StartStop",value))=true do
      Threads:-Sleep(1.0);
      Tod:=Calendar:-Today():
      sinetime:= floor(60*sin((90*parse(FormatTime("%M")))/60*Pi/180.)):
      New:=Calendar:-AdjustDateField(Tod,"minute",sinetime):
      T:=Calendar:-Format(New,"hh:mm:ss a");
      SetProperty("StartStop",':-caption',T,':-refresh');
    end do:
  end if;
end proc:

 

Ok one last thing.  How would you multiply the time by a factor?

Alright thanks!  How would you keep the time 10 minutes ahead? 

@eithne I'm pretty sure it's ok, but the filename for the update is labelled as 2019.2 and not 2019.2.1 How can I be sure the update on the download page is linked to the 2019.2.1 and not just the old 2019.2 file?

So that makes Amazon Fire tablets out as well, since it looks like it runs under the same architecture a 1.5 GHz quad-core ARM 4xCA53 processor.

There is a PreviewConfig tool for registering custom files, but it is only for plain text or multimedia file.  I doubt it will work with Maple files. But here's the link of where I found it if you want to try it  https://www.winhelponline.com/blog/previewconfig-tool-registers-file-types-for-the-preview-pane-in-windows-vista/

This may also help - registering a preview handler, but I do not know if it will work

https://docs.microsoft.com/en-us/windows/win32/shell/how-to-register-a-preview-handler

@student_md .m files are simple text files that can be read by notepad, hence they are readable in the windows preview pane.  Maple files (mw, mws, maple) files are proprietary to the Maple system .  Indeed yes it would be nice to preview the file.  It is similar to AutoCAD files, the files are preview(able) within AutoCAD (which Maple doesn't have) but not within the windows file directory system. 

Some files (I think) give windows/microsoft the rights to it's programming allowing the preview pane to access the information - an example is pdf files. 

I'm not sure about Mathematica files, but I doubt it's files are previewable through windows.

 

Possibly?  I don't think I know enough to say that it does.  I did run the same in a Maple 10 classic worksheet interface (has the same look and feel as Maple 7) but the multiple lighting sources was still only graphed with one. 

I'm not sure when the change occured.  Maybe between Maple 9 and Maple 9.5?
...

Just checked for Maple 9.5 only one light source works -can't do more. So have yet to find out if it works in Maple 8 or Maple 9 (anyone? I might be able to check, just need some time to find) 

@Christian Wolinski - I suspect who it might be.

@MrMarc - It would be interesting to learn Javascript or Python, but everything is done from scratch, so in that respect IMHO you'd be better off with SageMath.  Regardless is nicer to work from a base software like Maple. Also if you're slamming Maple as being closed source, then you definitely don't want to work with Mathematica - it's even more closed source than Maple is. 

What is "amateurish" about Maple?  Please point them out.  Also, what did Alec Mihailov find amateurish about Maple?  A google search and mapleprimes search finds no such reference - if it is there it is either worded differently or quite obscure.

3 4 5 6 7 8 9 Last Page 5 of 139