Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ansman
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Validate.js, sharing validations between the server and the client
(validatejs.org)
2 points
by
ansman
13y ago
|
0 comments
2.
▲
by
ansman
13y ago
The readme is very unclear, I've installed it but it doesn't appear that it's doing anything.
3.
▲
by
ansman
13y ago
s/M/B/g
4.
▲
by
ansman
14y ago
Isn't this the same guy who discovered the mass assignment bug in Rails last year?
5.
▲
by
ansman
14y ago
If you understand programming (there is a difference between knowing how to program and understanding, a lot of people lack the latter) there is absolutely no difficulty learning CS if you know JS. I've been coding CS for over a year now an
6.
▲
by
ansman
14y ago
Same here, tried Chrome, FF and Safari.
7.
▲
by
ansman
14y ago
Very sad but I fail to see how this belongs on HN.
8.
▲
Google has stopped offering free Google Apps accounts
(support.google.com)
1 points
by
ansman
14y ago
|
0 comments
9.
▲
by
ansman
14y ago
Well I had having to decide in advance what I want to listen to. And I hate interruptions in my music just because I happened to go into a house without wifi.
10.
▲
by
ansman
14y ago
Isn't anyone else bothered that it only has 16GB space? I use around 13GB for music (Spotify) and 2GB for photos. I don't see why they couldn't make a 32GB version.
11.
▲
Apple releases Supplemental Update 1.0 for Mountain Lion 10.8.2
(macworld.com)
1 points
by
ansman
14y ago
|
0 comments
12.
▲
by
ansman
14y ago
If you spent over €4M on a website wouldn't you want some traffic too?
13.
▲
by
ansman
14y ago
http://ismycreditcardstolen.com/
14.
▲
We lost data in the github crash, did you lose data as well?
1 points
by
ansman
14y ago
|
0 comments
15.
▲
by
ansman
14y ago
This feels like a scare tactic to get people scared, they could never go after all downloaders.
16.
▲
by
ansman
14y ago
Mine has quite bad IR, 20 seconds is enough. Given a full minute I can easily read the entire page on a #444 background.
17.
▲
The retina macbook appears to have problems with image retention
(discussions.apple.com)
2 points
by
ansman
14y ago
|
1 comments
18.
▲
Did Heath Ledger get his Joker voice from Tom Waits?
(kotaku.com)
2 points
by
ansman
14y ago
|
0 comments
19.
▲
by
ansman
14y ago
I don't get it, what's so special about this? Seeing as FB is built using HTML and CSS I don't see this as especially hard. Also, the <article> and <section> tags would fit nicely in your markup.
20.
▲
Git-praise
(github.com)
3 points
by
ansman
14y ago
|
0 comments
21.
▲
by
ansman
14y ago
So how would you solve updating a view after rendering? Do you want your view to know about the markup in your template. I'm really curious, is there a better way?
22.
▲
by
ansman
14y ago
It template agnostic, once you've rendered your view you give rivets your DOM element and it will find the data attributes. You could use handlebars, haml or any other templating engine with rivets.
23.
▲
by
ansman
14y ago
Hehe, it's not actually my code, I just found this gem and I liked it :)
24.
▲
by
ansman
14y ago
But on the other hand the view has to know about the template. Change a tag name or class name (which I think is far more common than attribute names) would then break the relationship.
25.
▲
by
ansman
14y ago
Don't think you can have dependencies. It just updates the specified part (data-value updates the value, data-html updates the innerHTML etc)
26.
▲
by
ansman
14y ago
This is pretty much only useful for JS apps. The problem comes when you have data changing after a view has been rendered. Rendering the whole view again can be expensive. As well as this the user might have interacted with the page in whic
27.
▲
by
ansman
14y ago
Well, they do have different goals. Rivets wants to be a small plugin that works with any framework while knockout is also designed to bring structure to the party. For me it's like comparing an engine with a car. One big upside to knockout
28.
▲
by
ansman
14y ago
You're comparing apples and oranges, Knockout is a lib for structuring your app while this is a small lib that doesn't do anything more than data binds. This could be used with backbone or any other lib that doesn't have data binds.
29.
▲
Rivets.js - Binding data to views
(rivetsjs.com)
69 points
by
ansman
14y ago
|
31 comments
30.
▲
by
ansman
14y ago
You might want to hire a designer before charging money for this. I hardly think anyone will pay $1 for something that looks like this.
More ›