News for hackers. Stuff that matters.

ansman

The readme is very unclear, I've installed it but it doesn't appear that it's doing anything.
Re:Genome complexity puts origin of life 9.7B years ago on Saturday April 20, 2013 @01:24AM (#5580391)
s/M/B/g
Re:I Can Detect Your Facebook Username, Using W3C Standard on Wednesday February 27, 2013 @08:06PM (#5296250)
Isn't this the same guy who discovered the mass assignment bug in Rails last year?
Re:Discourse ditches CoffeeScript on Friday February 22, 2013 @08:42PM (#5268121)
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 and I like it, I've never found it hard to debug and it's just easier to read.

Re:Nitpicker - an overly picky language style checker on Sunday December 30, 2012 @09:47AM (#4985797)
Same here, tried Chrome, FF and Safari.
Re:Delhi gang-rape victim dies in hospital in Singapore on Friday December 28, 2012 @06:03PM (#4980059)
Very sad but I fail to see how this belongs on HN.
Re:Google Nexus 4: Nearly flawless on Friday November 02, 2012 @08:05PM (#4735380)
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.

Re:Google Nexus 4: Nearly flawless on Friday November 02, 2012 @12:41PM (#4733463)
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.

Re:This Website did cost 4.390.000 EUR on Tuesday October 02, 2012 @06:17AM (#4601318)
If you spent over €4M on a website wouldn't you want some traffic too?
Re:BitTorrent study finds most file-sharers are monitored on Tuesday September 04, 2012 @09:20AM (#4474402)
This feels like a scare tactic to get people scared, they could never go after all downloaders.
Re:The retina macbook appears to have problems with image retention on Saturday September 01, 2012 @11:35AM (#4463987)
Mine has quite bad IR, 20 seconds is enough.

Given a full minute I can easily read the entire page on a #444 background.

Re:Facebook Timeline with HTML and CSS on Saturday July 28, 2012 @04:13PM (#4306381)
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.

Re:Rivets.js - Binding data to views on Sunday July 08, 2012 @05:34AM (#4214181)
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?

Re:Rivets.js - Binding data to views on Sunday July 08, 2012 @05:32AM (#4214176)
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.
Re:Rivets.js - Binding data to views on Saturday July 07, 2012 @04:02PM (#4212555)
Hehe, it's not actually my code, I just found this gem and I liked it :)
Re:Rivets.js - Binding data to views on Saturday July 07, 2012 @02:41PM (#4212366)
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.

Re:Rivets.js - Binding data to views on Saturday July 07, 2012 @01:18PM (#4212154)
Don't think you can have dependencies.

It just updates the specified part (data-value updates the value, data-html updates the innerHTML etc)

Re:Rivets.js - Binding data to views on Saturday July 07, 2012 @12:47PM (#4212068)
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 which would probably make the user loose his changes.

Re:Rivets.js - Binding data to views on Saturday July 07, 2012 @12:12PM (#4211981)
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 is that the lib is a little under 3KB minified while knockout is 40KB minified.

I prefer having smaller libraries that are really good at what they do.

Re:Rivets.js - Binding data to views on Saturday July 07, 2012 @11:57AM (#4211925)
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.

Re:Show HN: My first iphone app was accepted on Sunday July 01, 2012 @10:30AM (#4184804)
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.

Older »