Version at: 14/07/2014, 12:49 vs. version at: 14/07/2014, 12:52
11This is a general work log updated <strike>daily</strike> <strike>weekly</strike> sometimes...
22
33##This week's TODO list:
44
55- make sure code works, fix bugs, breakage
66- work some more on the api:
77 - add oauth2 authentication
88- start with a skeleton of the js project
99
1010
1111##Work log
1212
1313###Week 1 19/5
1414
1515####Monday
1616- compiled dependencies and tools (sage, git, etc..)
1717- set up virtual env
1818- set up pytoeba-dev repo/structure
1919- setup pytoeba's project structure
2020
2121####Tuesday
2222- added sentence and link models
2323- threw out sage and compiled scipy/numpy
2424- explored agpl for graph manipulation
2525
2626####Wednesday
2727- added log model
2828- added correction model
2929- added tag models
3030- added audio model
3131- set up work log
3232
3333####Thursday
3434- read py.test documentation
3535- read django testing documentation
3636- wrote a passing test for the sentence manager
3737
3838####Friday
3939- read "Test Driven development with Python"
4040
4141####Saturday
4242- Finished the sentence manager
4343
4444###Week 2 26/5
4545
4646####Monday/Tuesday
4747- added scaffolding/structure for tests and fixtures using py.test
4848- added database/form validation tests for:
4949 - sentence/link models
5050 - correction model
5151 - tag models
5252 - audio models
5353- generated coverage reports
5454
5555####Wednesday
5656- refactored tests and fixtures to be more modular
5757- added more tests and expanded the manager some more
5858
5959####Thursday/Friday/Saturday
6060- N/A
6161
6262###Week 3 2/6
6363- python api for CRUD operations on Sentences/Tags/Links
6464
6565###Week 4 9/6
6666- User, SocialAccount, Wall, Comment, Message models/managers
6767- python-social-auth integration
6868
6969###Week 5 16/6
7070- Haystack integration
7171- mirroring haystack's searchqueryset api on models with indices
7272- Added indices for sentences, comments, messages, wall posts, comments
7373
7474###Week 6 23/6
7575- Exposed tastypie model resources (still needs work)
7676- Added HTTPBasicAuth/SessionAuth to the api
7777- Exposed haystack's auto_query through tastypie
7878
7979###Week 7 30/6
8080- fixed various bugs
8181- reorganized graphing code into backends (now we're pypy ready)
8282- wrote a networkx graphing backend (pure python)
8383- reorganized permissions code into backends
8484- sql optimizations (bulk upsert, bulk update, etc...)
8585- reading ng-book
8686- major optimizations in the sipy backend, replaced most python code with numpy code
8787- rewrote bulk operations in the python api to utilize the raw sql bulk functions
88- wrote orm manager integration for iplus1
89- wrote a tastypie resource for iplus1
8890
8991
9092###Week 8 7/7
9193- 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).
9294- hooked most python api to tasty pie resource classes, the api should support write functions and other custom read queries now.
9395- fixed various bugs in haystack integration, did more testing on it.
9496- wrote 2 custom pagination classes for the orm/tasty pie
9597- hooked pagination classes to tastypie resources
9698- 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)
9799- 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.
100- wrote cffi bindings for iplus1 following the available python extension. It should probably be fine to run this under pypy as well once jake gets the bindings to work.
99101- addressed some of liori's comments on the latest mega patch
100102
101103###Week 9 14/7
diff view generated by jsdifflib

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

version at: 14/07/2014, 12:52

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
- wrote orm manager integration for iplus1
- wrote a tastypie resource for iplus1
 

###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 jake gets the bindings to work.
- addressed some of liori's comments on the latest mega patch

###Week 9 14/7

Note

The lines in green are the lines that have been added in the new version. The lines in red are those that have been removed.