Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wishlist for demos #1

Open
4 tasks done
olexandr-konovalov opened this issue Aug 28, 2019 · 10 comments
Open
4 tasks done

Wishlist for demos #1

olexandr-konovalov opened this issue Aug 28, 2019 · 10 comments

Comments

@olexandr-konovalov
Copy link
Member

olexandr-konovalov commented Aug 28, 2019

Which other demos would be good to have here?

  • Francy
  • JupyterViz
  • Meataxe64
  • HPC-GAP
@stevelinton
Copy link
Collaborator

Add syntaxtree. It should be possible to demo some kind of very crude automatic parallelisation, turning

for i in [1..n] do
    y[i] := foo(x[i]);
od;

into

tasks := [];
for i in [1..n] do
   tasks[i] := RunTask(foo,x[i]);
od;
for i in [1..n] do
   y[i] := TaskResult(tasks[i]);
od;
Unbind(tasks);

or something like that.

Maybe also include something with an SCSCP server farm.

@olexandr-konovalov
Copy link
Member Author

Add SemigroupViz demo - this is https://github.com/nathancarter/semigroupviz by @nathancarter, not SgpViz.

@nthiery
Copy link

nthiery commented Aug 30, 2019

At this rate, it will soon be nice to run planetaryum on this repo :-)

@olexandr-konovalov
Copy link
Member Author

Suggested by @stevelinton in D5.15: MajoranaAlgebras by Markus Pfeiffer and Madeleine Whybrow, which constructs Majorana representations of finite groups (added in GAP4.10.1).

@olexandr-konovalov
Copy link
Member Author

Pushed very much initial version of JupyterViz demo with an incomplete map of locations of GAP package authors and some heuristics implemented to determine countries if they are not stated in PackageInfo.g

Screenshot 2019-10-21 at 00 55 57

@nathancarter
Copy link

Nice!!

@olexandr-konovalov
Copy link
Member Author

olexandr-konovalov commented Oct 21, 2019

Thanks @nathancarter! I will update the data cleaning script and offload most of it to a .g file, but if you have any suggestions how the map could be made better, they will be much appreciated!

@olexandr-konovalov
Copy link
Member Author

@stevelinton for HPC-GAP in Jupyter see gap-packages/JupyterKernel#108. Getting it to work requires gap-system/gap#3710 and gap-packages/ZeroMQInterface#26. Print does not work though.

@olexandr-konovalov
Copy link
Member Author

@nathancarter is there an option to put different marks on the line plot (instead of circles, use also triangles and squares)? We want it for the plot at the bottom of https://github.com/OpenDreamKit/gap-demos/blob/master/notebooks-master/Meataxe64%20Demo.ipynb

@nathancarter
Copy link

Yes. To specify detailed options, you have to dig inside a bit, but it goes like so:

LoadPackage( "jupyterviz" );

# let's assume you have your list of numbers to plot here...
numbers := [ 3, 5, 4, 6, 5, 7 ];

# we package it up for use by the Plotly graphing tool:
series := ConvertDataSeriesForTool.plotly( [
    JUPVIZMakePlotDataSeries( numbers ) ] );

# then we tweak one of Plotly's defaults, to make the markers different:
series.data[1].marker := rec( size := 20, symbol := "cross-dot" );
# (see https://plot.ly/javascript/reference/#scatter-marker-symbol
# for all the different types of markers you can use)

# then we have JupyterViz draw it, using Plotly:
CreateVisualization( rec( tool := "plotly", data := series ) );

Does that do what you want?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants