I hereby claim:
- I am compiler-errors on github.
- I am compilererrors (https://keybase.io/compilererrors) on keybase.
- I have a public key whose fingerprint is EAA1 45A0 9E75 3D38 FA85 79DE 088C DF5C 9727 84D6
To claim this, I am signing this object:
The bounding square around the grid: GRect(9, 21, 126, 126) | |
The points on the grid are GPoint(18 + 9 * i, 30 + 9 * j) | |
where i = (0, 1, 2... 12) denoting the minutes / 5. | |
where j = (0, 1, 2... 12) denoting the hours % 12. | |
Font: FONT_FORCED_SQUARE_10 | |
The (x, y) position of any H:M combination is | |
i = H + M / 60 |
things = """ | |
L 855.91 | |
PhNHPz 158.072 | |
tBuPhNHPz 214.135 | |
pyDAPz 239.093 | |
OAc 59.014 | |
Fe 55.933 | |
O 15.996 | |
OH 17.003 | |
H2O 18.011 |
I hereby claim:
To claim this, I am signing this object:
INSERT INTO insert_perf VALUES (1, 'podocarpus cardizem overtensely spondylopyosis hereditabilities superultrafrostified diphthongalize pterostemon', 85.5039); | |
INSERT INTO insert_perf VALUES (2, 'phenylethylmalonylure climaciaceous uncorrectablely homoousianist abby nothal tean', 32.4448); | |
INSERT INTO insert_perf VALUES (3, 'mendication injucundity isothermobath cosmopolitanisation dasyurus undercondition', 67.2431); | |
INSERT INTO insert_perf VALUES (4, 'postfact preoriginally fengtien sequestratrix precooker authorly hoydenishness proterandric overnamed saring pleurobrachiidae endofaradism bigthatch egyptology splanchnoptosia chanier amphiarthrodial ', 57.1906); | |
INSERT INTO insert_perf VALUES (5, 'concaulescence doostoevsky involucellated caingua sobersidedly jfs propoganda craniopagus uncoft unsuspendible minimarket lepidospermae grapling gastroanastomosis cardioscope dzungar maraline mendelye', 68.5627); | |
INSERT INTO insert_perf VALUES (6, 'pomonic fantigues babua mixblood espacement helply pseudoaconitine bu |
from sys import stdin, stdout | |
currentStudent = dict() # A map of gradingReason to possible additional message | |
gradingReasons = [] # List of grading reasons (which are pairs of general message and point values) | |
thisTeam = None # Our current team name | |
def printMenu(): | |
global thisTeam | |
global currentStudent | |
global gradingReasons |
First, check out the preprocessor:
git clone git@gitlab.caltech.edu:mgoulet/preprocessor.git
Then install the Maven Mojo by navigating to the preprocessor directory and running:
mvn install
Which should complete successfully.
So we've got our struct. Imagine augmenting it with a bool called mark
:
struct Foo {
bool mark;
int data_size;
char[] data;
}
So we've got our struct. Imagine augmenting it with a bool called mark
:
struct Foo {
bool mark;
int data_size;
char[] data;
}
struct Value { | |
int reference; // Just a uniquely identifying value for this struct. Counts up from 0. | |
size_t data_size; | |
}; | |
struct IntValue { | |
int reference; | |
size_t data_size; // Should always be sizeof(int) = 4. | |
int value; |
{ 1 }
is type lazy number
Functions can require that their parameters be lazy with the ~
:
fn times n ~do = if (n <= 0) { nothing } { eval do; times (n - 1) do }
(the ;
meaning chain evaluation of two expressions)
If a lazy value is passed to a function that doesn't want a lazy value,
then the lazy value is automatically evaluated. This, as a consequence
means that the definition of the eval
function in the language can