-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.org
More file actions
73 lines (52 loc) · 1.88 KB
/
Copy pathREADME.org
File metadata and controls
73 lines (52 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
* FunStuff
A place for all the fun stuff I do.
** GNU-Parallel
GNU Parallel is a program for running command-line tools in parallel.
map.pl and reduce.pl implement a Map/Reduce analysis of the flight
data set. You run the analysis
using the command:
#+BEGIN_EXAMPLE
cat On_Time_Performance_1H2012.csv | parallel --pipe --blocksize 64M ./map.pl | ./reduce.pl
#+END_EXAMPLE
** LEGO
Various experiments with LEGO Mindstorm. Most of these experiments
have been published in Alt om DATA.
** Comal
Retrocomputing in COMAL-80 (using OpenComal).
- fib.lst :: Fibonacci numbers
- sieve.lst :: finding prime numbers
- brussel.lst :: simulation of Brusselator using simple Euler integrator
** JavaScript
Just a couple of JavaScripts experiments.
- graph.js :: a "library" for handling directed acyclic graphs.
** Extensions
A model extension for Node.js and Python. C++ classes are wrapped as Node.js and Python classes.
- person.cpp and book.cpp :: C++ classes
- person_wrap.cpp and book_wrap.cpp :: Wrapper classes (Node.js).
- py_person.cpp and py_book.cpp :: Wrapper classes (Python).
Notice that both Python 2 and 3 are supported.
Building C++ classes:
#+BEGIN_EXAMPLE
make
#+END_EXAMPLE
Building Node.js extension:
#+BEGIN_EXAMPLE
node-waf configure
node-waf build
sudo node-waf install
#+END_EXAMPLE
** Pi
Implementation of calculation of pi using Monte Carlo in various
languages.
Currently supported languages:
- pi.sh :: bash
- pi.py :: Python
** C++
Experiements in C++
- try_catch.cpp :: How to use lambdas to wrap exception handling.
** Misc
Just a collection of small programs.
- hailstone.c :: generating hailstone series (see http://en.wikipedia.org/wiki/Collatz_conjecture)
- fraction.py :: implementation of rational number arithmetic in Python.
- opg1A.py and opg3A.py :: simulations of Svante's home work in probability.
- greeting.cob :: tribute to Grace Hopper.