Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougBTX
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
691.
▲
by
DougBTX
12y ago
The Apache version is: > If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributor
692.
▲
by
DougBTX
12y ago
Hi! That might be my comment down below. There's a nice article about how the diffing works here: http://calendar.perfplanet.com/2013/diff/ The important bit is that the diff is applied to the old and new vir
693.
▲
by
DougBTX
12y ago
The article seems to muddle the two, e.g., after showing that the method to render virtual DOM elements has been called for each cell it says: > React’s whole thing is that it doesn’t do unnecessary DOM manipulation, but clearly it is he
694.
▲
by
DougBTX
12y ago
I've put together a toy version here, any ideas for making it faster? Render time goes >100ms for me at around 45x45. http://jsfiddle.net/zme8f7k8/1/ Edit: for comparison, a VanillaJS re-render: http:
695.
▲
by
DougBTX
12y ago
> regulatory capture There doesn't seem to be much disagreement about the facts, just the definition of "regulatory capture". The idea which "regulatory capture" describes is when regulations fail to do what they
696.
▲
by
DougBTX
12y ago
Does anyone know of a library like this which plays nicely with TypeScript's type checker? I've not come across a way to avoid the use of essentially un-typed string keys in cursors like this.
697.
▲
by
DougBTX
12y ago
Here's the script: #!/bin/sh i=0 f=`head -1 $1` n=`tail -1 $1` rm -f $f while [ $i != $n ]; do cat $1.$i >> $f i=`expr $i + 1` if [ $i != $n ]; then printf "5"
698.
▲
by
DougBTX
12y ago
The "compressed" files includes a header file which records the original file name and the number of parts which make up the compressed file, so it doesn't depend on directory listing to re-combine the parts.
699.
▲
by
DougBTX
12y ago
Looks like it replaces the pick-a-username and remember-a-password workflows with a single tap, lowering the bar for new users to start using the service. They can still favourite things, track data, get high scores, whatever the app is for
700.
▲
by
DougBTX
12y ago
IANAL, but shouldn't you be more concerned about open source projects which don't grant you patent rights required to use the software?
701.
▲
by
DougBTX
12y ago
Calling the Log function there is a hack to work around the stack being unwound inside catch blocks, it isn't being used to control whether the catch block is run based on whether logging is turned on or not, so those suggested alterna
702.
▲
by
DougBTX
12y ago
Exaggerating claims beyond a certain point makes them unconvincing. For example, the BBC's iPlayer is designed for time shifting and device shifting, and it has always used restrictive DRM, so saying that DRM prevents that just makes t
703.
▲
by
DougBTX
12y ago
There's another demo here: https://github.com/zertosh/ssr-demo-kit
704.
▲
by
DougBTX
12y ago
Closest is probably http://facebook.github.io/flux/docs/overview.html
705.
▲
by
DougBTX
12y ago
Lambda expressions which capture "this" have replaced almost all the cases when I'd use .bind in the past, the only time I've needed to do something like that recently has been when attaching events to the window object
706.
▲
by
DougBTX
12y ago
Her fans are already uploading all her music in derived work, and she doesn't want to ban the derived work. The rep's argument seems to be that she can't allow derived work to be published unless she also publishes the origin
707.
▲
by
DougBTX
12y ago
The Steam line was more like ` rm -rf $VAR/* `, eg, they didn't want to delete the $VAR directory. Still, ` rm -rf /* ` is no fun.
708.
▲
by
DougBTX
12y ago
Cleaning up by exiting can be much faster too, eg, https://lists.gnu.org/archive/html/coreutils/2014-08/msg0001...
709.
▲
by
DougBTX
12y ago
Ending up with a code base which is 10% of the size of the original is a massive improvement, can you share some examples of what the code was doing before? Even cutting down by 50% would be impressive.
710.
▲
by
DougBTX
12y ago
For track runners, 12-13 seems to be regarded as slowish, so 15 might not be too far off. http://training.fitness.com/interval-training/what-average-1... Also note that the parent said "average runner" but yo
711.
▲
by
DougBTX
12y ago
I couldn't find the phrase "number sentence" on the Common Core standards website, no idea where that comes from. Possibly from Pearson Education inc themselves? Here are a couple of examples from the standards themselves: &g
712.
▲
by
DougBTX
12y ago
So really the title of the post should be "Collateral damage when Amazon went to war against bad punctuation," which casts Amazon's motives in a different light.
713.
▲
by
DougBTX
12y ago
This is almost the answer to the next question too.
714.
▲
by
DougBTX
12y ago
It makes it easier to catch some types of bugs without having to run the code. http://en.wikipedia.org/wiki/Type_system#Static_type-checkin...
715.
▲
by
DougBTX
12y ago
Yep, here's some related discussion: https://github.com/Microsoft/TypeScript/issues/185 tl;dr: they want to support both of those features, the question is what syntax to use and how to introduce those f
716.
▲
by
DougBTX
12y ago
Seems it would be better if the "that's not right" error highlighted the matching rows rather than what to click on to win.
717.
▲
by
DougBTX
12y ago
Unless it opens the door to downgrade attacks, then things get a bit more murky: http://crypto.stackexchange.com/questions/10493/why-is-tls-s...
718.
▲
by
DougBTX
12y ago
I wonder what he thinks of eg, https://medium.com/medium-eng/why-contenteditable-is-terribl...
719.
▲
by
DougBTX
12y ago
Most of the functionality is in the xlrd library, think of this as just a frontend.
720.
▲
by
DougBTX
12y ago
A good talk about that is "Pete Hunt: React: Rethinking best practices -- JSConf EU 2013" http://www.youtube.com/watch?v=x7cQ3mrcKaY
More ›