Version at: 04/07/2014, 14:19 vs. version at: 14/07/2014, 12:49 | ||
---|---|---|
1 | 1 | This is a general work log updated <strike>daily</strike> <strike>weekly</strike> sometimes... |
2 | ||
3 | ##Today's TODO list: | |
4 | - check in the MEGA PATCH | |
5 | - keep working on fixes | |
6 | 2 | |
7 | 3 | ##This week's TODO list: |
8 | 4 | |
9 | 5 | - make sure code works, fix bugs, breakage |
10 | 6 | - work some more on the api: |
11 | 7 | - add oauth2 authentication |
12 | - remove exposed text fields from the model resource | |
13 | - hook some post methods to expose the python api | |
14 | - disable exposed pagination | |
15 | - write and expose a saner pagination class | |
8 | - start with a skeleton of the js project | |
9 | ||
16 | 10 | |
17 | 11 | ##Work log |
18 | 12 | |
19 | 13 | ###Week 1 19/5 |
20 | 14 | |
21 | 15 | ####Monday |
22 | 16 | - compiled dependencies and tools (sage, git, etc..) |
23 | 17 | - set up virtual env |
24 | 18 | - set up pytoeba-dev repo/structure |
25 | 19 | - setup pytoeba's project structure |
26 | 20 | |
27 | 21 | ####Tuesday |
28 | 22 | - added sentence and link models |
29 | 23 | - threw out sage and compiled scipy/numpy |
30 | 24 | - explored agpl for graph manipulation |
31 | 25 | |
32 | 26 | ####Wednesday |
33 | 27 | - added log model |
34 | 28 | - added correction model |
35 | 29 | - added tag models |
36 | 30 | - added audio model |
37 | 31 | - set up work log |
38 | 32 | |
39 | 33 | ####Thursday |
40 | 34 | - read py.test documentation |
41 | 35 | - read django testing documentation |
42 | 36 | - wrote a passing test for the sentence manager |
43 | 37 | |
44 | 38 | ####Friday |
45 | 39 | - read "Test Driven development with Python" |
46 | 40 | |
47 | 41 | ####Saturday |
48 | 42 | - Finished the sentence manager |
49 | 43 | |
50 | 44 | ###Week 2 26/5 |
51 | 45 | |
52 | 46 | ####Monday/Tuesday |
53 | 47 | - added scaffolding/structure for tests and fixtures using py.test |
54 | 48 | - added database/form validation tests for: |
55 | 49 | - sentence/link models |
56 | 50 | - correction model |
57 | 51 | - tag models |
58 | 52 | - audio models |
59 | 53 | - generated coverage reports |
60 | 54 | |
61 | 55 | ####Wednesday |
62 | 56 | - refactored tests and fixtures to be more modular |
63 | 57 | - added more tests and expanded the manager some more |
64 | 58 | |
65 | 59 | ####Thursday/Friday/Saturday |
66 | 60 | - N/A |
67 | 61 | |
68 | 62 | ###Week 3 2/6 |
69 | 63 | - python api for CRUD operations on Sentences/Tags/Links |
70 | 64 | |
71 | 65 | ###Week 4 9/6 |
72 | 66 | - User, SocialAccount, Wall, Comment, Message models/managers |
73 | 67 | - python-social-auth integration |
74 | 68 | |
75 | 69 | ###Week 5 16/6 |
76 | 70 | - Haystack integration |
77 | 71 | - mirroring haystack's searchqueryset api on models with indices |
78 | 72 | - Added indices for sentences, comments, messages, wall posts, comments |
79 | 73 | |
80 | 74 | ###Week 6 23/6 |
81 | 75 | - Exposed tastypie model resources (still needs work) |
82 | 76 | - Added HTTPBasicAuth/SessionAuth to the api |
83 | 77 | - Exposed haystack's auto_query through tastypie |
84 | 78 | |
85 | 79 | ###Week 7 30/6 |
86 | 80 | - fixed various bugs |
87 | 81 | - reorganized graphing code into backends (now we're pypy ready) |
88 | 82 | - wrote a networkx graphing backend (pure python) |
89 | 83 | - reorganized permissions code into backends |
90 | 84 | - sql optimizations (bulk upsert, bulk update, etc...) |
91 | 85 | - reading ng-book |
86 | - major optimizations in the sipy backend, replaced most python code with numpy code | |
87 | - rewrote bulk operations in the python api to utilize the raw sql bulk functions | |
88 | ||
89 | ||
90 | ###Week 8 7/7 | |
91 | - more sql optimizations, this time in the part of the graphing code that gets the subgraph, more to come (dropping down from orm code to raw sql). | |
92 | - hooked most python api to tasty pie resource classes, the api should support write functions and other custom read queries now. | |
93 | - fixed various bugs in haystack integration, did more testing on it. | |
94 | - wrote 2 custom pagination classes for the orm/tasty pie | |
95 | - hooked pagination classes to tastypie resources | |
96 | - hooked haystack autoquery to relevant tastypie resources (more to come here, it should support as much filtering and ordering as the searchqueryset api supports probably) | |
97 | - added outline to a plan to switch from O(n^2) links in the Link table to O(2n) links using connected components. Also plans to support tatodb instead of the link table+ graphing backends | |
98 | - wrote cffi bindings for iplus1 following the available python extension. It should probably be fine to run this under pypy as well once tmjake gets the bindings to work. | |
99 | - addressed some of liori's comments on the latest mega patch | |
100 | ||
101 | ###Week 9 14/7 | |
diff view generated by jsdifflib |
Version at: 04/07/2014, 14:19
This is a general work log updated <strike>daily</strike> <strike>weekly</strike> sometimes... ##Today's TODO list: - check in the MEGA PATCH - keep working on fixes ##This week's TODO list: - make sure code works, fix bugs, breakage - work some more on the api: - add oauth2 authentication - remove exposed text fields from the model resource - hook some post methods to expose the python api - disable exposed pagination - write and expose a saner pagination class ##Work log ###Week 1 19/5 ####Monday - compiled dependencies and tools (sage, git, etc..) - set up virtual env - set up pytoeba-dev repo/structure - setup pytoeba's project structure ####Tuesday - added sentence and link models - threw out sage and compiled scipy/numpy - explored agpl for graph manipulation ####Wednesday - added log model - added correction model - added tag models - added audio model - set up work log ####Thursday - read py.test documentation - read django testing documentation - wrote a passing test for the sentence manager ####Friday - read "Test Driven development with Python" ####Saturday - Finished the sentence manager ###Week 2 26/5 ####Monday/Tuesday - added scaffolding/structure for tests and fixtures using py.test - added database/form validation tests for: - sentence/link models - correction model - tag models - audio models - generated coverage reports ####Wednesday - refactored tests and fixtures to be more modular - added more tests and expanded the manager some more ####Thursday/Friday/Saturday - N/A ###Week 3 2/6 - python api for CRUD operations on Sentences/Tags/Links ###Week 4 9/6 - User, SocialAccount, Wall, Comment, Message models/managers - python-social-auth integration ###Week 5 16/6 - Haystack integration - mirroring haystack's searchqueryset api on models with indices - Added indices for sentences, comments, messages, wall posts, comments ###Week 6 23/6 - Exposed tastypie model resources (still needs work) - Added HTTPBasicAuth/SessionAuth to the api - Exposed haystack's auto_query through tastypie ###Week 7 30/6 - fixed various bugs - reorganized graphing code into backends (now we're pypy ready) - wrote a networkx graphing backend (pure python) - reorganized permissions code into backends - sql optimizations (bulk upsert, bulk update, etc...) - reading ng-book
version at: 14/07/2014, 12:49
This is a general work log updated <strike>daily</strike> <strike>weekly</strike> sometimes... ##This week's TODO list: - make sure code works, fix bugs, breakage - work some more on the api: - add oauth2 authentication - start with a skeleton of the js project ##Work log ###Week 1 19/5 ####Monday - compiled dependencies and tools (sage, git, etc..) - set up virtual env - set up pytoeba-dev repo/structure - setup pytoeba's project structure ####Tuesday - added sentence and link models - threw out sage and compiled scipy/numpy - explored agpl for graph manipulation ####Wednesday - added log model - added correction model - added tag models - added audio model - set up work log ####Thursday - read py.test documentation - read django testing documentation - wrote a passing test for the sentence manager ####Friday - read "Test Driven development with Python" ####Saturday - Finished the sentence manager ###Week 2 26/5 ####Monday/Tuesday - added scaffolding/structure for tests and fixtures using py.test - added database/form validation tests for: - sentence/link models - correction model - tag models - audio models - generated coverage reports ####Wednesday - refactored tests and fixtures to be more modular - added more tests and expanded the manager some more ####Thursday/Friday/Saturday - N/A ###Week 3 2/6 - python api for CRUD operations on Sentences/Tags/Links ###Week 4 9/6 - User, SocialAccount, Wall, Comment, Message models/managers - python-social-auth integration ###Week 5 16/6 - Haystack integration - mirroring haystack's searchqueryset api on models with indices - Added indices for sentences, comments, messages, wall posts, comments ###Week 6 23/6 - Exposed tastypie model resources (still needs work) - Added HTTPBasicAuth/SessionAuth to the api - Exposed haystack's auto_query through tastypie ###Week 7 30/6 - fixed various bugs - reorganized graphing code into backends (now we're pypy ready) - wrote a networkx graphing backend (pure python) - reorganized permissions code into backends - sql optimizations (bulk upsert, bulk update, etc...) - reading ng-book - major optimizations in the sipy backend, replaced most python code with numpy code - rewrote bulk operations in the python api to utilize the raw sql bulk functions ###Week 8 7/7 - more sql optimizations, this time in the part of the graphing code that gets the subgraph, more to come (dropping down from orm code to raw sql). - hooked most python api to tasty pie resource classes, the api should support write functions and other custom read queries now. - fixed various bugs in haystack integration, did more testing on it. - wrote 2 custom pagination classes for the orm/tasty pie - hooked pagination classes to tastypie resources - hooked haystack autoquery to relevant tastypie resources (more to come here, it should support as much filtering and ordering as the searchqueryset api supports probably) - added outline to a plan to switch from O(n^2) links in the Link table to O(2n) links using connected components. Also plans to support tatodb instead of the link table+ graphing backends - wrote cffi bindings for iplus1 following the available python extension. It should probably be fine to run this under pypy as well once tmjake gets the bindings to work. - addressed some of liori's comments on the latest mega patch ###Week 9 14/7