Hacker Newsnew | past | comments | ask | show | jobs | submit | 2010-01-08login
Stories from January 8, 2010
Go back a day, month, or year. Go forward a day, month, or year.
1.Why you should do OpenGL and not DirectX (wolfire.com)
192 points by zitterbewegung on Jan 8, 2010 | 42 comments
2.Advanced Imaging Reveals a Computer 1,500 Years Ahead of Its Time (io9.com)
140 points by soundsop on Jan 8, 2010 | 50 comments
3.How I got 50,000 page views by simply being me (jgc.org)
105 points by jgrahamc on Jan 8, 2010 | 33 comments
4.Why you should use English versions of your OS and other software (szynalski.com)
97 points by tszyn on Jan 8, 2010 | 61 comments
5.Can't start a business only eating a Tombstone pizza every day (inklingmarkets.com)
97 points by nate on Jan 8, 2010 | 20 comments
๐Ÿ“š. 2025 letter (danwang.co)
57 min read | by Dan Wang | saved 53 days ago | archive
6.Startup Advice in just three words (onstartups.com)
86 points by smartbear on Jan 8, 2010 | 53 comments
7.Try Ruby (in your browser, now with 1.9) (tryruby.org)
72 points by jmonegro on Jan 8, 2010 | 39 comments
8.Harvesting email addresses surreptitiously (arvindn.livejournal.com)
68 points by dangoldin on Jan 8, 2010 | 26 comments
9.Using Visualization to Kill a Hoax (rhul.ac.uk)
67 points by byrneseyeview on Jan 8, 2010 | 11 comments
10.Codility - Automated tests of programming skills (codility.com)
71 points by grk on Jan 8, 2010 | 95 comments
๐Ÿ“š. They Thought They Were Free (press.uchicago.edu)
11 min read | by Milton Mayer | saved 166 days ago | archive
11.How to detect a page request from Safari 4's Top Sites feature (sunpig.com)
65 points by mattking on Jan 8, 2010 | 12 comments
12.Golden Ratio Discovered in Quantum World (sciencedaily.com)
63 points by slater on Jan 8, 2010 | 18 comments
13.Gremlin: A Graph-Based Programming Language (github.com/tinkerpop)
62 points by dood on Jan 8, 2010 | 11 comments
14.How newLisp Took My Breath (And Syntax) Away (taoeffect.com)
61 points by itistoday on Jan 8, 2010 | 32 comments
15.Do It Now (aaronsw.com)
60 points by joao on Jan 8, 2010 | 15 comments
๐Ÿ“š. The Worldโ€™s Most Common Surgery (asimov.press)
25 min read | by Asimov Press | saved 155 days ago | 24% read | archive
16.Tadpole code convert any <4k string to a 'single' character (Unicode magic) (goozo.net)
59 points by est on Jan 8, 2010 | 28 comments
17.An onion of obfuscation (arcanesentiment.blogspot.com)
55 points by blasdel on Jan 8, 2010 | 8 comments
18.Reverse job fair Jan 16th: Job seekers have tables, recruiters walk around. (pbworks.com)
54 points by TimothyFitz on Jan 8, 2010 | 25 comments
19.How to be insanely great in front of any audience (slideshare.net)
52 points by wallflower on Jan 8, 2010 | 12 comments
20.Things I learnt by not writing tests (rfw.posterous.com)
51 points by transmit101 on Jan 8, 2010 | 22 comments
๐Ÿ“š. Big Macs vs. The Naked Chef (joelonsoftware.com)
8 min read | by Joel Spolsky | saved 158 days ago | archive
21.Pyprocessing: Processing without Java. (code.google.com)
50 points by vicehead on Jan 8, 2010 | 21 comments
22.Six Months of Pinboard (pinboard.in)
49 points by wyclif on Jan 8, 2010 | 24 comments
23.The 14 Days of jQuery (jquery14.com)
48 points by robin_reala on Jan 8, 2010 | 8 comments

This is sort of a loaded article, since it glances over the benefits of DirectX. (Note: I'm an OpenGL developer, but I worked on implementing D3D10 on top of OpenGL, and I've worked with DX7+ over the years. I'm not a fan, but leaving these things out is misleading.)

First and foremost, it's wrong to compare OpenGL and DirectX, rather than OpenGL and Direct3D. OpenGL directly competes with a small portion of Direct3D, and requires several libraries (I'm a big fan of SDL, OpenAL, etc myself) to begin to touch the breadth of DX.

Second, with OpenGL you have many vendors producing extensions and implementing them at different times. With Direct3D, you have a single set of features you write for which are guaranteed to be there (in a given version). This means that when you write code for OpenGL, you have to special-case paths for many different available extensions and duplicate many pieces of functionality.

If you want to use shaders, you have to either make your own effects system on top of GLSL/ARB shaders or use something like Cg. The Direct3D effects pipeline saves a lot of time, but of course reduces flexibility.

In the end, the call on OGL vs DX really comes down to these things: How much do you care about cross-platform compatibility? How much time do you have to put into your engine? Do you want complete flexibility w.r.t. your rendering pipeline?

If you're an engine-tech-heavy firm, OpenGL will almost always be the right choice. If you're just making a game, DirectX will almost definitely save you time. Again, I'm not a DX fan, but it has its place, and this sort of article is woefully misleading.


The most important life lesson that I have learned that I like to share with fellow entrepreneurs who have failed in startups or friends and family members who have lost a job is the old Chinese saying that, โ€œGrass survives the heaviest of rock.โ€ The emphasis here is โ€œgrassโ€. If you put a rock on a flower, flower will die. If you put a rock on grass, grass will find a way to survive. As entrepreneurs, we are not entitled to anything. We must not think of ourselves as flowers that deserve sunshine and nutrients. We must accept that we are the lowest form of beings, or we won't find the courage and the clarity to survive. As I learned to say in America, as entrepreneurs, your ass is grass and the world is your lawnmower. So don't go looking for โ€œloveโ€ in the wrong places. Good luck, everyone.
๐Ÿ“š. AI Can Manage Your Mutual Fund (archive.is)
16 min read | by Matt Levine | saved 6 hours ago | archive
26.Getting 60 thousand pageviews with 2 carefully constructed posts (maxklein.posterous.com)
45 points by azharcs on Jan 8, 2010 | 49 comments
27.Brain Hack: turn your Loss Aversion Bias on its head (petermichaud.com)
44 points by pmichaud on Jan 8, 2010 | 25 comments
28.Bad hackers copy, great hackers steal โ€”ย Avi Bryant (cusec.net)
42 points by hyfen on Jan 8, 2010 | 5 comments
29.2010: The year of the products + a new way of working (37signals.com)
42 points by mrduncan on Jan 8, 2010 | 19 comments
30.Google SketchUp (sketchup.google.com)
41 points by kosofalla on Jan 8, 2010 | 4 comments
๐Ÿ“š. Are OpenAI and Anthropic Really Losing Money on Inference? (martinalderson.com)
6 min read | by Martin Alderson | saved 190 days ago | archive

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: