Skip to content

Instantly share code, notes, and snippets.

View katyhuff's full-sized avatar

Katy Huff katyhuff

View GitHub Profile
@katyhuff
katyhuff / npre-phd-checklist.md
Created June 9, 2020 20:33
Checklist for the PhD in NPRE
  • Accept Admission
  • Begin Reading
  • Register for Classes
  • Pass Qualifying Exam
  • Identify MS Topic
  • Identify 2nd MS Reader
  • Write MS thesis
  • Prof. Huff Approves MS Thesis
  • Add name to MS Degree List
  • Submit MS thesis to second reader
@katyhuff
katyhuff / pr-checklist.md
Last active April 26, 2024 06:22
Pull Request Review Checklist
  • Read the PR description
  • Read through all the changes, considering the following questions.
    • Is there anything you can praise about this PR? Start with praise.
    • Are variable names brief but descriptive?
    • Are new/changed functions no longer than a paragraph?
    • Do all function parameters have default values where appropriate?
    • Is the code clear and clean? (see Robert C. Martin's Clean Code)
    • Is there enough documentation?
  • Does the programming style meet the requirements of the repository (PEP8 for python, google for c++, etc.)
% use the answers clause to get answers to print; otherwise leave it out.
\documentclass[11pt,answers,addpoints]{exam}
%\documentclass[11pt]{exam}
\RequirePackage{amssymb, amsfonts, amsmath, latexsym, verbatim, xspace, setspace, mathrsfs}
\usepackage{graphicx}
% By default LaTeX uses large margins. This doesn't work well on exams; problems
% end up in the "middle" of the page, reducing the amount of space for students
% to work on them.
\usepackage[margin=1in]{geometry}
Though you didn't ask, here are some language tips for interacting with women
in the US (and most other english speaking nations):
- "sir" is gendered, and is not used for greeting women. It is only used for men.
- "Prof." or "Professor" is universal and appropriate for all faculty, regardless of gender.
- "Dr." is appropriate for everyone with a PhD.
- "Ma'am" is acceptable for women, but very rarely used.
- "mom" is never appropriate in a professional context, as it means "mother".
You might be thinking "but how am I supposed to know the gender of the person?"
cyc-user@cyclusbox:~/cyclus/hybrid$ python install.py --clean-build --prefix=../install
/usr/bin/cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
cyc-user@cyclusbox:~/cyclus$ mkdir testlib
cyc-user@cyclusbox:~/cyclus$ cd testlib/
cyc-user@cyclusbox:~/cyclus/testlib$ cycstub --type facility teststub:testlib:TestFacility
/home/cyc-user/cyclus/install/bin/cyclus
Exception ignored in: 'pymodule.clear_pyagent_refs'
NameError: name 'cyclib' is not defined
cyc-user@cyclusbox:~/cyclus/testlib$ cd ..
cyc-user@cyclusbox:~/cyclus$ rm -rf testlib/
cyc-user@cyclusbox:~/cyclus$ mkdir teststub
cyc-user@cyclusbox:~/cyclus$ cd teststub/
cyc-user@cyclusbox:~/cyclus/teststub$ python install.py --clean-build --prefix=../install/
/usr/bin/cmake
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
[----------] 2 tests from RegionClassTests
[ RUN ] RegionClassTests.TickIter
Exception ignored in: 'pymodule.py_del_agent'
NameError: name 'cyclib' is not defined
Exception ignored in: 'pymodule.py_del_agent'
NameError: name 'cyclib' is not defined
Exception ignored in: 'pymodule.py_del_agent'
NameError: name 'cyclib' is not defined
[ OK ] RegionClassTests.TickIter (48 ms)
[ RUN ] RegionClassTests.TockIter
def main():
step = 0
output[step] = somefile
for step in dep_steps:
infile = rewrite_infile(output[step-1])
output[step] = run_serpent(infile)
def rewrite_infile(outfile):
#do stuff with pyne
@katyhuff
katyhuff / issues
Last active April 26, 2017 15:25 — forked from jbae11/issues
# cycamore::reactor should have a fungibility factor
### Current:
`cycamore::reactor` will not accept material output from `cycamore::Fuelfab` (mox) because the `cycamore::reactor`
judges material acceptance depending on recipe as well as commodity name. The `cycamore::Fuelfab`
does not create output according to a recipe, but mixes input fissile material streams to fulfil
neutronics properties.
An example input file which fails to move matrial from FuelFab to the reactor can be found here: [simple_reprocess.xml](https://gist.github.com/3e8e2cb882597c040b93fe66de4261ca.git).
### Suggested Long Term Solution: