This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /Library/Frameworks/Python.framework/Versions/2.6/bin/python -m Cura.cura | |
load preferences from /Users/Scott/Library/Application Support/Cura/dev/preferences.ini | |
Traceback (most recent call last): | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 122, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/runpy.py", line 34, in _run_code | |
exec code in run_globals | |
File "/Users/Scott/dev/github/Cura/Cura/cura.py", line 89, in <module> | |
main() | |
File "/Users/Scott/dev/github/Cura/Cura/cura.py", line 86, in main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Scott Hendrickson | |
NetID: 9067627977 | |
09/15/2014 | |
## Birthday Paradox Details | |
For this program I simply worked through each part. First handling program arguments with getopt, then the file reading, the algorithm execution was done a bit messy, then finally creates the output file. Ussually I would segement the code into more descriptive functions but it seems I got lazy on this one. | |
The simplified algorithm does the following: | |
``` | |
for each value in fileValues: | |
dynamicallly allocate array value * sizeof(int) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 0.8 | |
title: Notification Service | |
version: v0.1 | |
baseUri: http://server/api/{version} | |
schemas: | |
- notification: | | |
{ "$schema": "http://json-schema.org/schema", | |
"type": "object", | |
"description": "A notification", | |
"properties": { |
NewerOlder