Skip to content

Commit 189bb53

Browse files
committed
Update learning docs
1 parent 1860b8d commit 189bb53

File tree

2 files changed

+31
-22
lines changed

2 files changed

+31
-22
lines changed

learning/LIVESTREAM_LESSONS.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ palindrome =. (-: |.) NB. hook version
4949
* That Travis-CI is not free, you have 10,000 credits which get used per minute per OS
5050
* We learned the following about CI pricing:
5151

52-
| Platform | Free Linux Minutes |
53-
| :------------: | :----------------: |
54-
| Travis CI | 1000 |
55-
| Azure Pipelines| 1800 |
56-
| Github Actions | 2000 |
57-
| Buildkite | Infinity? |
58-
| Appveyor | Infinity? |
52+
| Platform | Free Linux Minutes |
53+
| :-------------: | :----------------: |
54+
| Travis CI | 1000 |
55+
| Azure Pipelines | 1800 |
56+
| Github Actions | 2000 |
57+
| Buildkite | Infinity? |
58+
| Appveyor | Infinity? |
5959

6060
* We learned for some reason macOS is 5-10x more costly when it comes to CI
6161
* ~~We should checkout GitHub actions~~
@@ -119,3 +119,11 @@ Prelude> let innerProduct = blackbird sum (zipWith (*))
119119
* Learned that MicroAPL refers to "tack" as pass (and Dyalog APL refers to it as same)
120120
* Learned about the [P Programming Language](https://github.com/p-org/P)
121121
* Learned for a multi-line J function to use `f =. 3 : 0` or `g =. 4 : 0`
122+
123+
### Livestream #8 2021-02-18
124+
125+
* `x y z | value` is the sparse array view
126+
* We learned `=` has lower precedence that equality comparision in C++
127+
* IRS = Integral/Integrated Rank Support (optimizations for certain verbs - see [this paper](https://www.jsoftware.com/papers/rank.htm))
128+
* Discrovered [Try J](http://tryj.freeddns.org/) site set up by Nathan
129+
* Used our first C++ Standard Algorithm (`std::mismatch` x2)

learning/REFACTORINGS.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,28 @@
99

1010
| Rule | Core Guideline | Count |
1111
| :---: | :----------------: | :---: |
12-
| CON.4 | Use `const` | 1 |
12+
| CON.4 | Use `const` | 4 |
1313
| ES.21 | Reduce scope | 3 |
14-
| ES.22 | Decl-Init Split | 2 |
15-
| ES.30 | No Text Macros | 4 |
14+
| ES.22 | Decl-Init Split | 5 |
15+
| ES.30 | No Text Macros | 6 |
1616
| ES.49 | Use explicit casts | 4 |
1717
| E.12 | Use `noexcept` | 3 |
1818

1919
### Refactoring Translations
2020

21-
| From | To |
22-
| :-------------------: | :--------------------------------------------: |
23-
| `A` | `array` |
24-
| `SETIC` 1 | `item_count()` |
25-
| `REPSGN` | `replicate_sign` 2 |
26-
| `AV` | `pointer_to_values` |
27-
| `IAV` | `pointer_to_values` |
28-
| `IAV(w)[i] = k` | `set_value_at(w, i, k)` |
29-
| `k & ~1` | `!zero_or_one(k)` |
30-
| `GAT0(z, TYPE, x, y)` | `z = make_array<TYPE, copy_shape_0>(jt, x, y)` |
31-
| `GA(...)` | `make_array` |
32-
| `sc` | `make_scalar_integer` |
21+
| From | To |
22+
| :-------------------: | :-------------------------------------------------: |
23+
| `A` | `array` |
24+
| `SETIC` 1 | `item_count()` |
25+
| `REPSGN` | `replicate_sign` 2 |
26+
| `AV` | `pointer_to_values` |
27+
| `IAV` | `pointer_to_values` |
28+
| `IAV(w)[i] = k` | `set_value_at(w, i, k)` |
29+
| `k & ~1` | `!zero_or_one(k)` |
30+
| `GAT0(z, TYPE, x, y)` | `z = make_array<TYPE, copy_shape_0>(jt, x, y)` |
31+
| `GA(...)` | `make_array` |
32+
| `sc` | `make_scalar_integer` |
33+
| `DO(m, s)` | `for (int i = 0; i < m; ++i) m` OR `std::algorithm` |
3334

3435
1. There could be exceptions where this doesn't work
3536
2. Will probably be renamed

0 commit comments

Comments
 (0)