{"id":79,"date":"2010-04-04T00:39:46","date_gmt":"2010-04-04T04:39:46","guid":{"rendered":"http:\/\/www.joshmatthews.net\/blog\/?p=79"},"modified":"2010-04-04T00:41:08","modified_gmt":"2010-04-04T04:41:08","slug":"knowledge","status":"publish","type":"post","link":"https:\/\/www.joshmatthews.net\/blog\/2010\/04\/knowledge\/","title":{"rendered":"Knowledge++"},"content":{"rendered":"<p>Nine days ago, I made an off-hand remark in #content that I might be able to get the <a href=\"http:\/\/bugzil.la\/552822\">geolocation service<\/a> working in <a href=\"http:\/\/wiki.mozilla.org\/Mobile\/e10s\">Fennectrolysis<\/a> by the end of the day if my plans worked out.  I also remember referring to the process as &#8220;not a big deal.&#8221;  Since that moment, I have put in a significant amount of work (at least several hours every day), and learned:<\/p>\n<ul>\n<li>My estimating skills are severely underdeveloped<\/li>\n<li>How to make use of the cycle collector<\/li>\n<li>How weak references work<\/li>\n<li>Best practices for XPCOM reference counting<\/li>\n<li>There&#8217;s a confusing thing called nsIClassInfo which I should learn more about, but I know enough to force it to do my bidding for now<\/li>\n<li>How non-modal prompts work<\/li>\n<li>The meaning of obscure GCC linker errors like &#8220;undefined reference to vtable&#8221;<\/li>\n<li>How to implement an XPCOM object in Javascript<\/li>\n<li>Implementing XPCOM objects in Javascript frequently results in much more pleasant code than C++<\/li>\n<\/ul>\n<p>Having said all that, yesterday I got the Fennec geolocation permission prompt to appear when triggered by a content page, and the proper callback was called when I allowed or canceled the request, so I&#8217;m confident that I can have a patch up for review by the end of the holiday weekend.  Of course, given my track record, that means it might be up by the end of the week.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nine days ago, I made an off-hand remark in #content that I might be able to get the geolocation service working in Fennectrolysis by the end of the day if my plans worked out. I also remember referring to the &hellip; <a href=\"https:\/\/www.joshmatthews.net\/blog\/2010\/04\/knowledge\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,15],"tags":[],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-code","category-mozilla"],"_links":{"self":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":2,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/posts\/79\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshmatthews.net\/blog\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}