Difference between revisions of "User:Sdowne/summer 2010 worklog august"
Line 67: | Line 67: | ||
* Started commenting the processing.js parser. | * Started commenting the processing.js parser. | ||
− | Wednesday August | + | Wednesday August 25th<br /> |
* Did an early fix of a small bug in [https://processing-js.lighthouseapp.com/projects/41284/tickets/454-textleading#ticket-454-14 text leading] | * Did an early fix of a small bug in [https://processing-js.lighthouseapp.com/projects/41284/tickets/454-textleading#ticket-454-14 text leading] | ||
* blogged about my recursion fix | * blogged about my recursion fix | ||
Line 75: | Line 75: | ||
* started going through the code and adding a comment at the beginning of each major function, I am about 30% through the whole parser, but I suspect not all of it will need to be done. | * started going through the code and adding a comment at the beginning of each major function, I am about 30% through the whole parser, but I suspect not all of it will need to be done. | ||
* I think it's fair to say I can be done tomorrow, and come back to it for a day in the future after the review process. | * I think it's fair to say I can be done tomorrow, and come back to it for a day in the future after the review process. | ||
+ | |||
+ | Thursday August 26th<br /> | ||
+ | * | ||
+ | |||
+ | Friday August 27th<br /> | ||
+ | * | ||
+ | |||
+ | Wednesday August 29th<br /> | ||
+ | * | ||
+ | |||
+ | Thursday August 30th<br /> | ||
[[category:Summer 2010 August]] | [[category:Summer 2010 August]] | ||
[[category:Scott's Work Log]] | [[category:Scott's Work Log]] |
Latest revision as of 10:08, 10 September 2010
Tuesday August 3nd
- Final touches to lextLeading
- back onto popcorn and open video
- started to research a new demo, brainstorm ideas.
Wednesday August 4th
- continued with research for a new demo. I am hitting a lot of dead ends, and not sure which dead end to turn into an opening.
- Talked with Brett about popcorn, about where it is heading, what is important, and to get ideas for the current and future demos. I think I need to focus on, as much as I can, breaking that wall between flash and the web. I think a strong argument with using javascript over flash is I can have the library, made in a way that is easily integrated with familiar things like jquery, processing, and any javascript library. Something the xml limits us on is that it is just xml, and not integrable with any and every javascript library, but also using xml in an of itself is an advantage, and maybe supporting both is the best way.
Thursday August 5th
- First thing I did was re read yesterday's conversation with Brett, to help it sink in and warm me up.
- Researched a new demo, and continued with popcorn research
Friday August 6th
- reviewed anna's ticket
- reviewed anna's init.js ticket I didn't fail it, as we are discussing the direction.
Monday August 9th
- Did an unofficial review of js only processing.js patch
- helped anna with xml stuff The specifics of what she was doing was beyond me, but, I was able to parse data with some regex stuff I helped her with. Knowing little as possible; I had x data, and I needed to make it into y data, and made regexs to do this. I love regex :)
- Swing back into processing.js textAscent and textDescent. Anna failed them, which is good. I started to fix them up.
Tuesday August 10th
- Worked on textAscent and textDescent. This is going to require a rewrite. What I am doing is all wrong, and stems from the unavoidable difference between java fonts, and browser fonts. TextLeading will also have to be fixed. Ugh... I hate fonts...
Wednesday August 11th
- processing conference call
- Finished off the rewrite for textAscent and textDescent then applied new code to textLeading, which will fail in future reviews...
Thursday August 12th
- I think I am trying to balance too much at once, and it's making it hard for me to concentrate and focus on something. Personally, I work best when I can get lost in something, and obsess over. I need to start putting things to rest, and get lost in popcorn. Anyway, moving towards getting html5 current time, and a demo put to rest. Got started on that.
- Ended up doing a review of updates to patch init.js
Friday August 13th
- Was stuck all day on changing a html5 video's current time. I wrote a blog post on it next Monday (just went through time a little :P). The fix mentioned in the post was discovered a few minutes before the day was over.
Monday August 16th
- Worked on the video demo Brett from Mozilla started while he was in Brazil, working on the fix discovered in my last worklog entry.
- There is a problem with loading the video based on time stamps, instead of having many multiple smaller videos... it's just as slow.
- Popcorn conference call with Brett
- Going to try the brazil demo with multiplel videos again, but instead of creating the videos, have all videos loaded, and hide and display them as needed. Might boost the performance.
Tuesday August 17th
- Finished up a refactoring of popcorn.js that I have been slowly working on while balancing other projects...
- Started phase two of popcorn refactoring
- Blogged and did final research about HTML5 video currentTime problems. Hopefully I can put this to rest and move on to popcorn.
Wednesday August 18th
- Worked on phase two of popcorn refactoring
Thursday August 19th
- Finished phase two of popcorn refactoring
- started work on fixing text leading
Friday August 20th
- Continued working on text leading
- I assessed the main problem with textLeading. it has to do with infinite recursion because of calling processing instances inside createGraphics which calls another processing instance, etc. This is caused by the way I solved ascent and descent. Blogged about it.
- the other problems with textLeading was some code I wrote to make the results looks the same as p5, which I shouldn't of had to do, the reason they looked off was because of my previous ascent and descent were incorrect. Now that I fixed those a couple days ago, some of text leading can use the previous code. Basically, I took my failed code, and the original code, merged what works in both; it wasn't too hard.
Monday August 23st
- Ok, text leading is going to require a small, but efficient class to emulate the text drawing of processing. This will also be faster.
- I got the class working in a reduced little demo, I just need to add it to processing and I will be done.
Tuesday August 24nd
- finished and submitted textLeading
- Popcorn conference call with Brett, Corban, Joel, Anna, and Jason. We talked about Popcorn's future, using a wrapper for the video element, to emulate the html5 video element's functionality, but to wrap multiple videos into seemingly one video. Could also be used for flash or canvas(to create a test suite). Also talked about switching from xml to JSON, and exporting xml or JSON.
- Started commenting the processing.js parser.
Wednesday August 25th
- Did an early fix of a small bug in text leading
- blogged about my recursion fix
- continued commenting processing parser
- besides going through and understanding the code, I am done with a general comment at the beginning of the parser. This comment will be a work in progress, which I will add to as I get a complete grasp on the parser. I am shooting for 15-20 lines.
- there are six large regexs left that need a comment, I finished the comment for the largest regex.
- started going through the code and adding a comment at the beginning of each major function, I am about 30% through the whole parser, but I suspect not all of it will need to be done.
- I think it's fair to say I can be done tomorrow, and come back to it for a day in the future after the review process.
Thursday August 26th
Friday August 27th
Wednesday August 29th
Thursday August 30th