Difference between revisions of "User:Jontow"
Jump to navigation
Jump to search
(reformat for ease of readability, remove redundant items, etc.) |
|||
(25 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* Email: jontow AT hijacked DOT us | * Email: jontow AT hijacked DOT us | ||
* Profession: UNIX System/Network Administrator; involving Network Security, Development, and other. | * Profession: UNIX System/Network Administrator; involving Network Security, Development, and other. | ||
− | |||
− | |||
== TODO == | == TODO == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Deployments === | === Deployments === | ||
− | |||
− | |||
− | |||
=== Misc Code === | === Misc Code === | ||
− | |||
− | |||
− | |||
=== Research === | === Research === | ||
− | + | === Scratch Space === | |
− | + | <syntaxhighlight lang="erlang" line> | |
− | + | % -- Note: Part 1 uses ?MATCHSTRING1 | |
− | + | % | |
− | + | -module(day4par). | |
+ | -export([tc_solve_part1/0, tc_solve_part2/0, | ||
+ | prof_solve_part1/0, prof_solve_part2/0, | ||
+ | solve_part1/0, solve_part2/0, | ||
+ | worker_run/1, foreman_run/3]). | ||
+ | -define(MATCHSTRING1, "00000"). | ||
+ | -define(MATCHSTRING2, "000000"). | ||
+ | -define(SEED, "iwrupvqb"). | ||
+ | -define(WORKERS, 2). | ||
+ | -define(MBOXDEPTH, 5000). | ||
+ | -define(BACKOFFMS, 250). | ||
− | + | tc_solve_part1() -> | |
− | + | timer:tc(fun() -> solve_part1() end). | |
− | + | </syntaxhighlight> |
Revision as of 18:27, 9 January 2018
Contact Details
- Name: Jonathan Towne
- Email: jontow AT hijacked DOT us
- Profession: UNIX System/Network Administrator; involving Network Security, Development, and other.
TODO
Deployments
Misc Code
Research
Scratch Space
1 % -- Note: Part 1 uses ?MATCHSTRING1
2 %
3
4 -module(day4par).
5 -export([tc_solve_part1/0, tc_solve_part2/0,
6 prof_solve_part1/0, prof_solve_part2/0,
7 solve_part1/0, solve_part2/0,
8 worker_run/1, foreman_run/3]).
9 -define(MATCHSTRING1, "00000").
10 -define(MATCHSTRING2, "000000").
11 -define(SEED, "iwrupvqb").
12 -define(WORKERS, 2).
13 -define(MBOXDEPTH, 5000).
14 -define(BACKOFFMS, 250).
15
16 tc_solve_part1() ->
17 timer:tc(fun() -> solve_part1() end).