HN user

mhansen

1,616 karma
Posts22
Comments428
View on HN
markhansen.co.nz 14y ago

Automatically Compiling Haml in Vim

mhansen
2pts0
markhansen.co.nz 14y ago

XMonad and Unity in Ubuntu Oneiric 11.10

mhansen
3pts1
worldipv6day.org 15y ago

Remind HN: Your systems need to be ready for World IPv6 Day June 8th

mhansen
5pts3
stackoverflow.com 15y ago

How can you use Python in Vim?

mhansen
2pts0
markhansen.co.nz 15y ago

Fish sucks (but your shell sucks more)

mhansen
71pts60
markhansen.co.nz 15y ago

Awesome Small Software: watch

mhansen
3pts0
arstechnica.com 16y ago

Will the cloud will have its own Deepwater Horizon disaster?

mhansen
1pts1
cjohansen.no 16y ago

Javascript Test Spies, Stubs and Mocks

mhansen
1pts0
jacquesmattheij.com 16y ago

How to get better at estimating software projects for freelancers and teams

mhansen
1pts0
www.okcupid.com 16y ago

MyBestFace: an OkCupid Experiment

mhansen
3pts2
staging.markhansen.co.nz 16y ago

Virtualization is the Future

mhansen
1pts0
arstechnica.com 16y ago

Ars Technica reviews the iPad

mhansen
114pts48
arstechnica.com 16y ago

AT&T's forgotten plot to hijack the US airwaves

mhansen
1pts0
www.lhup.edu 16y ago

Fibonacci Flim-Flam

mhansen
65pts16
projectionpoint.com 16y ago

Determine your risk-measuring ability (Risk Quotient)

mhansen
1pts0
smarterware.org 16y ago

Hackers don't tinker because they got invited

mhansen
2pts0
arstechnica.com 16y ago

Furious Google throws down gauntlet to China over censorship

mhansen
3pts0
www.peetm.com 16y ago

The infinitely profitable program

mhansen
61pts5
arstechnica.com 16y ago

How Robber Barons Hijacked the Victorian Internet

mhansen
7pts1
arstechnica.com 16y ago

Ars Technica on SPDY

mhansen
3pts0
www.vanderbilt.edu 16y ago

Stopping people from disturbing radioactive waste for 10,000 years

mhansen
21pts14
arstechnica.com 16y ago

Microsoft Word, RIP: 1983 - 2009

mhansen
77pts46

Sorry, what I meant is that when the application rerenders (digesting changes that have been made) it will re-evaluate the function to check if the result has changed.

Polling the function for changes, contrast with how e.g. knockout.js pushes changes. (I could be wrong, please let me know if my understanding's not reality)

Yes, it polls. Most functions are quite fast, and fine to just poll, and it's quite convenient to be able to bind to functions when needed.

But it's all tradeoffs - in our app we have a few that aren't - for those, we profiled to find them, and added a bit of code to the functions to cache the return value.

[Googler here]

There's little overlap between Closure Library and Angular.

Closure Library is a grab bag library full of useful functions that you can pick and choose from and integrate into your own code. Kind of like a standard library.

Angular is a client-side MVC framework that gives you two-way databinding and custom views and dependency injection.

Indeed, in our angular project, we use both - Closure Library for useful functions and advanced compilations, and angular for MVC.

I work at Google, but not on the Angular team. Our team has deployed angular.js: places.google.com/manage. Angular's also used extensively in internal projects.

I use fish (http://fishshell.com/), and it's amazing. However, they're missing the most important feature from their front page: Syntax highlighting!

Valid executables are colored green, as you type. Invalid commands are red, as you type. Valid files are underlined, as you type.

Like the carpenter who can feels the feedback of the grain of the wood through the handle of his plane can adjust his technique as he planes, fish shell lets me 'feel' the programs and files I'm working with through the shell.

And that makes me happy.

I daresay by now users are more familiar with web-based UI paradigms than traditional OS paradigms.

I think they'd spend more time interacting with web-based applications than traditional OS applications.

If that's the case, then Firefox is actually adapting to people's expectation of the UI.

  Android, instead of making the web a first-class citizen,
  has in fact set the mobile web back by years.
I don't know how you can come to this conclusion. Android has made an excellent mobile web browser available to over a quarter of a billion people.

And how is the web not first-class? Google even started Web Intents to interoperate web apps with native apps.