News for hackers. Stuff that matters.

dkempner

Re:GitHub isn't fun anymore on Wednesday June 17, 2020 @11:54AM (#23552855)
Better'n SourceForge.
Re:Porting a React Front End to TypeScript on Tuesday April 28, 2020 @02:16AM (#23003987)
But how often do you forget what properties are required for the config object that is the third argument to your function?
Re:"DigitalOcean Killed Our Company" on Friday May 31, 2019 @08:03PM (#20066189)
> Wait, a whole distributed computing sub-system to make a 1s process faster?

I think OP means 1s per row, so 138 hours.

Re:An overview of JavaScript reactive frameworks on Sunday June 07, 2015 @01:01PM (#9675421)
Most of the time, data binding IS one-way when using Knockout.

Input field? That's one-way from display => a variable in your viewmodel.

P tag? That's one-way from variable in viewmodel => display.

But when do you really need two-way data binding? Form validation and formatting. Man, this stuff is hard even with two-way data binding. You have to be able to accept, parse, format, and validate all in the same element. It's very helpful to be able to use knockout for a task like this.

Can you please explain a little more what you mean?