Hacker Newsnew | past | comments | ask | show | jobs | submit | 2010-06-26login
Stories from June 26, 2010
Go back a day, month, or year. Go forward a day, month, or year.
1.I don't like Python. Does that make me a bad person?
151 points by thedigitalengel on June 26, 2010 | 218 comments
2.Always ship trunk: Managing change in complex websites (paulhammond.org)
138 points by brown9-2 on June 26, 2010 | 23 comments
3.No more confusions on tricky C declarations (c-faq.com)
132 points by ashishb4u on June 26, 2010 | 41 comments
4.VNC client using HTML5 (Web Sockets, Canvas) with encryption (github.com/kanaka)
111 points by est on June 26, 2010 | 18 comments
5.Competition is overrated (cdixon.org)
96 points by shedd on June 26, 2010 | 12 comments
6.How can I write an interface like Gmail?
83 points by gotouday on June 26, 2010 | 50 comments
7.Jonathan Ive on the design of the iPhone 4 (core77.com)
72 points by latif on June 26, 2010 | 25 comments
8.Logical Fallacies and the Art of Debate (csun.edu)
67 points by ffpaladin on June 26, 2010 | 32 comments
9.Bill Gates's Playboy Interview (1994) (playboy.com)
65 points by omaranto on June 26, 2010 | 20 comments
10.Buzz Aldrin Is Not All That Impressed With Walking on the Moon (vanityfair.com)
65 points by jackfoxy on June 26, 2010 | 33 comments
11.PyPy 1.3 released (morepypy.blogspot.com)
60 points by stephenjudkins on June 26, 2010 | 3 comments
12.SQLite 3.7: WAL (Write Ahead Logging) for better Concurrency and Performance (sqlite.org)
55 points by jsrn on June 26, 2010 | 2 comments
13.ASCAP seeking donations to oppose Creative Commons, Public Knowledge, and EFF (zeropaid.com)
54 points by jmillikin on June 26, 2010 | 10 comments
14.Polyphasic Sleep: Facts and Myths (supermemo.com)
50 points by etal on June 26, 2010 | 26 comments

On the other hand, I'm only happy with a line of code that I wrote myself until the next time I look at it.

Imo, the most important technique (besides standard ajax with js lib of choice) is making use of hashchange and organizing your behavior into 'routes' based on the hash. You'll notice that Gmail does this -- it has URIs ending with #inbox, #label/action, etc.

Using hash routes allows you to keep track of state and decouple event handlers that set state from code that updates the page. Plus you get back button functionality and bookmark support.

Some background info on hashchange: http://blog.whatwg.org/this-week-in-html-5-episode-3

jquery library for dealing directly with hashchange: http://benalman.com/projects/jquery-bbq-plugin/

Higher-level jquery library for handling hashchange: http://code.quirkey.com/sammy/ . It has more assumptions and imposes more constraints on the structure of your code. But in return you get route parsing and a DSL.

If you go through the examples/tutorials in those two libraries you should gain enough knowledge to get started.

17.Ask HN: log on, drop out?
46 points by cageface on June 26, 2010 | 80 comments
18.Ask HN: Anyone using Python 3 in production?
44 points by iamelgringo on June 26, 2010 | 28 comments
19.Startup Financing: The Coming Super-Seed Crash (kedrosky.com)
44 points by cwan on June 26, 2010 | 7 comments
20.Sparkfun discovers counterfeit Atmel ICs (sparkfun.com)
43 points by mcantelon on June 26, 2010 | 2 comments
21.Ask HN - Rate my startup: Gigayo.com (gigayo.com)
44 points by cvg on June 26, 2010 | 47 comments
22.Ask HN: I really want to start a startup but I don't know what to do.
42 points by hungry_hungry on June 26, 2010 | 38 comments
23.Open Source Stock Technical Analysis (r-chart.com)
41 points by EzGraphs on June 26, 2010 | 7 comments
24.Google Isn't Just Reading Your Links, It's Now Running Your Code (blogs.forbes.com)
40 points by mlinsey on June 26, 2010 | 21 comments
25.White House Proposes Vast Federal Internet Identity Scheme (vortex.com)
39 points by wglb on June 26, 2010 | 20 comments
26.OS X/iOS Programming
37 points by minischneides on June 26, 2010 | 25 comments
27.Residents catch on to local con artist..using a local wiki (nytimes.com)
34 points by philipn on June 26, 2010 | 15 comments
28.Lulu.com - My experience with self publishing (litlift.com)
33 points by dottertrotter on June 26, 2010 | 13 comments
29.The Sobering Reality of Entrepreneurship in the U.S. (mint.com)
32 points by wherespaul on June 26, 2010 | 37 comments
30.Interactive map of World Debt (economist.com)
31 points by cwan on June 26, 2010 | 13 comments

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

Search: