coderefinery / mma Goto Github PK
View Code? Open in Web Editor NEWMixed Martial Arts: Interfacing Fortran, C, C++, and Python for Great Good!
Home Page: https://coderefinery.github.io/mma/
Mixed Martial Arts: Interfacing Fortran, C, C++, and Python for Great Good!
Home Page: https://coderefinery.github.io/mma/
some shell blocks are difficult to read since they're long and terminal commands are mixed with long output. Some coloring would help, but I'm not sure if it's possible in markdown
since git is used to clone some repos in CFFI part
It looks like we actually do not discuss Cython. @blindij should I discuss it in part two or will you have preparation and speaker time to talk about it in part 1?
on macosx 10.11 I get a cmake error trying to compile with pybind11:
"""
Could not find a package configuration file provided by "pybind11" with any
of the following names:
pybind11Config.cmake
pybind11-config.cmake
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
"pybind11_DIR" to a directory containing one of the above files. If
"pybind11" provides a separate development package or SDK, be sure it has
been installed.
"""
Everything after the CFFI part is bonus.
which environments should learners set up and use? when should they be activated and deactivated?
maybe add "from cffi import FFI" to python code sample (the get_array_safe function), for clarity
My feeling is that CMake part might take less time and that there may not be enough time in the overview part. But keep the times if they are correct.
I am creating few issues here so that we know what to improve. But feel free to postpone to after the workshop if there is not time @blindij.
Here we need an example that researchers can immediately relate to.
sometimes it looks like this:
(boost-example) [lynx@boost]$ mkdir -p boost/src
and sometimes like this:
mkdir -p cython/src
We should at least mention it and refer to later.
in CFFI example
On a mac I installed swig via homebrew (into /usr/local/bin), but swig then links to libraries for the system /usr/bin/python, not the anaconda environment python
This program is then actually not familiar at this point. I would also show an example that connects better to what was discussed earlier.
sometimes "cat > source.file" is used, but sometimes it's recommended to use one's favorite editor
Looks like something is missing.
For me:
PyBind11
F2PY
Cython
...
it's difficult to listen to an instructor perform steps (create directories, paste code into files, compiling etc) and have time to type on own laptop at the same time. The instructions are usually clear and could be left to the learners (using stickies as usual)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.