jblow88's picture
From jblow88 rss RSS  subscribe Subscribe

CSUA talk 



 

 
 
Views:  37280
Downloads:  109
Published:  June 23, 2011
 
19
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
The Secret to Making Money from Penny Stocks.

The Secret to Making Money from Penny Stocks.

From: adsava7
Views: 15 Comments: 0
For Daily Income Visit: http://tinyurl.com/cd5v82v

 
arnold schwarzenegger talk bodybuilding

arnold schwarzenegger talk bodybuilding

From: SabineMendozage
Views: 501 Comments: 0

 
See all 
 
More from this user
No more plicks from this user
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
plicker Cheap From China (2 months ago)

Moroccan design is suited for all types of people and all types of styles. Moroccan design is known for its rich, vibrant colors, textures and patterns, and by adding touches here and there of our exotic living space. Moroccan lighting is typically dramatic and can put you in the right direction by setting a soothing and inspiring mood. A hand-painted Moroccan bench is perfect for the foot of the bed. Moroccan artisans are talented in many areas, so consider all types of Moroccan furniture and decor.

Read more:http://www.shoesclothingchina.com/
plicker fredrikvestin (3 months ago)
I watch/listen to this about once a week. It reminds me of not doing unnecessary stuff, not only code wise but almost in every aspect of whatever I do.
plicker Padded Bra (3 months ago)
Amazing write-up! This could aid plenty of people find out more about this particular issue. Are you keen to integrate video clips coupled with these? It would absolutely help out. Your conclusion was spot on and thanks to you; I probably won’t have to describe everything to my pals. I can simply direct them here!
plicker UGGBOOTSWHOLESALER (9 months ago)
We wholesale and retail large selection of fashion prducts, competitive price with high quality . 3 or more items free shipping. Check on:

https://picasaweb.google.com/aaaladyhandbags AAA handbags outlets


https://picasaweb.google.com/susanchai01 UGG BOOTS, CHRISTIAN LOUBOUTIN, TORY BURCH OUTLET

https://picasaweb.google.com/susanchai01 A&F, FM, RALPH LAUREN OUTLETS

MSN:googlefashion1@hotmail.com
E-mail: googlefashion1@hotmail.com skype:googlefashion1

plicker UGGBOOTSWHOLESALER (9 months ago)
We wholesale and retail large selection of fashion prducts, competitive price with high quality . 3 or more items free shipping. Check on:

https://picasaweb.google.com/aaaladyhandbags AAA handbags outlets


https://picasaweb.google.com/susanchai01 UGG BOOTS, CHRISTIAN LOUBOUTIN, TORY BURCH OUTLET

https://picasaweb.google.com/susanchai01 A&F, FM, RALPH LAUREN OUTLETS

MSN:googlefashion1@hotmail.com
E-mail: googlefashion1@hotmail.com skype:googlefashion1

plicker UGGBOOTSWHOLESALER (9 months ago)
We wholesale and retail large selection of fashion prducts, competitive price with high quality . 3 or more items free shipping. Check on:

https://picasaweb.google.com/aaaladyhandbags AAA handbags outlets


https://picasaweb.google.com/susanchai01 UGG BOOTS, CHRISTIAN LOUBOUTIN, TORY BURCH OUTLET

https://picasaweb.google.com/susanchai01 A&F, FM, RALPH LAUREN OUTLETS

MSN:googlefashion1@hotmail.com
E-mail: googlefashion1@hotmail.com skype:googlefashion1

plicker Jonathan O'Brien (11 months ago)
I can't see The Witness.
 
 
Notes:
 
Slide 1: Programming Aesthetics learned from making independent games April 1, 2011
Slide 3: Braid source code http://cloc.sourceforge.net v 1.53 -------------------------------------------------------------------Language files blank comment code -------------------------------------------------------------------C++ 221 25736 8312 73223 C/C++ Header 239 3655 2029 9467 C 3 1046 2249 5986 HLSL 20 354 143 1287 ... -------------------------------------------------------------------SUM: 488 30907 12746 90347 --------------------------------------------------------------------
Slide 4: The Witness source code http://cloc.sourceforge.net v 1.53 -------------------------------------------------------------------Language files blank comment code -------------------------------------------------------------------C++ 329 37708 14900 96822 C/C++ Header 331 5303 2221 12889 C 2 583 647 3883 HLSL 51 986 311 2458 ... -------------------------------------------------------------------SUM: 720 44659 18095 116204 --------------------------------------------------------------------
Slide 5: “Industry Average”: 3250 lines/year (90000 lines) / (3250 lines/year) ≈ 28 years
Slide 6: 512 MB RAM (you can’t use it all), no VM 3 slow in-order cores Slow file access
Slide 7: Certification Program can’t crash, even with antagonistic user Loading time is capped
Slide 8: Certification “Soak Test” 3 days * 86400 sec/day * 60 frames/sec = 15,552,000 frames If you leak 4 bytes per frame, you’ll fail.
Slide 9: game design level design art direction audio direction business development marketing / PR financial management
Slide 10: be extremely effective at getting things done
Slide 11: … by the way …
Slide 12: Impulses to optimize are usually premature.
Slide 13: Most code is not performance-sensitive.
Slide 14: Optimization is usually bad! (Unless practiced very carefully!)
Slide 15: Data Structures
Slide 16: Data structures are about optimization.
Slide 17: “using the right data structure” is usually bad! (Because it is premature optimization!)
Slide 19: Now I use arrays of records for almost everything.
Slide 20: Things you might optimize seconds per program execution (speed) bytes per program execution (space)
Slide 21: Instead, optimizing years of my life per program implementation (life) This is a valid optimization parameter you can consider just like those others!
Slide 22: Data structures are about memory or speed optimization. They are not about life optimization (unless you absolutely need that speed or memory).
Slide 23: Complicated Algorithms are not good!
Slide 24: Almost all applied CS research papers are bad propose adding a lot of complexity for a very marginal benefit doesn’t work in all cases (limited inputs, robustness) “supported” by bogus numbers, unfair comparisons This isn’t fooling anyone any more…
Slide 26: A generalized system is usually worse than a specific / hardcoded one!
Slide 27: Adding new systems is bad! This should only ever be a last resort. deleting code >>> adding code
Slide 28: Straight-line code preferred over function calls { a = b + c; a *= f(k); a /= g(a); print(a); } } { recompute(a); print(a); } float recompute () { float a = b + c; a *= f(k); a /= g(a); return a; { { // a a a Update a. = b + c; *= f(k); /= g(a); } print(a); }
Slide 29: What is a good programmer, then? (in this context)
Slide 30: gets things done quickly gets things done robustly makes things simple finishes what he writes (for real) broad knowledge of advanced ideas and techniques (but only uses them when genuinely helpful)
Slide 31: it’s easy to see benefits of an idea developed for benefit’s sake! very hard to measure subtle negatives chained to this idea (which often outweigh the benefits)
Slide 32: “knowing” vs. deeply, intuitively understanding

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location