{"id":467,"date":"2009-09-04T23:49:32","date_gmt":"2009-09-05T03:49:32","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=467"},"modified":"2009-09-04T23:49:32","modified_gmt":"2009-09-05T03:49:32","slug":"just-saved-5000","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2009\/09\/04\/just-saved-5000\/","title":{"rendered":"Just saved $5,000"},"content":{"rendered":"<p>\t\t\t\tI had a project I was sending out to potential contractors, to display a 320&#215;200 video feed based off images from SQL. My performance requirement was 30 FPS for 4 videos, 15 FPS for 8. One company wrote:<\/p>\n<p>&#8220;For $5000, we can<br \/>\nimplement the proof of concept suggested by my senior engineers (see below)&#8230;<\/p>\n<p> For example, I had two of my senior engineers review the RFP. They both zeroed in on a possible bottleneck between animating the user interface at 30fps vs. retrieval from the database. It is their recommendation that a *proof of concept* be implemented that indentified the bottleneck (if any) so that the appropriate infrastructure could be implemented to achieve your performance goals.&#8221;<\/p>\n<p>Up until that point, I had only used QT for a few days, had never written OpenGL before. I&#8217;m not a graphics programmer.<\/p>\n<p>I did it myself, in a day, by reading the SQL in a thread, buffering multiple rows at a time, bypassing the QT calls to skip code that doesn&#8217;t apply for single frame videos, and using glTexImage2D to generate the texture and glTexSubImage2D to update the texture.<\/p>\n<p>I didn&#8217;t have to modify the QT source, or come up with new data structures, or call an expert. Just pick the low hanging fruit. For all I know it could be twice as fast again if I really knew what I was doing.<\/p>\n<p>Take it as a word of warning when dealing with fat contracting firms, more used to dealing with Cisco than small businesses. These guys think nothing of asking for 2K a day, spending a week on what would take a motivated hungry programmer a few hours. Meeting after meeting, week after week, charging you for that time, just to come up with a price you&#8217;d reject out of hand.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a project I was sending out to potential contractors, to display a 320&#215;200 video feed based off images from SQL. My performance requirement was 30 FPS for 4 videos, 15 FPS for 8. One company wrote: &#8220;For $5000, we can implement the proof of concept suggested by my senior engineers (see below)&#8230; For [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/467"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/467\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}