3,275 karma · joined September 2, 2012
strml.net github.com/STRML bitmex.com securesha.re
[ my public key: https://keybase.io/strml; my proof: https://keybase.io/strml/sigs/Rr2YKiZGMMOgxiMMcgqAy5aykMgj0OxJamVQAZkQ0iE ]
Of course, RRC is not as battle-tested as React-Router; it's more of a "works for us" project I took over from @andreypopp as we had already committed to the router before React-Router became stable. And given the many backcompat-breaking changes to React-Router, it seems to have been a good idea.
React-Router does great work though; RRC doesn't even pretend to do React Native and the Environment selection we do have (pathname, pushstate, etc) isn't quite as nice. RRC also can't do some of the more interesting features, like Recursive Routes. All of the children of the router have to be `<Location>` objects.
Edit: React-Router's docs are awesome! Nice work @ryanflorence.
Congrats on this great release. We're all looking forward to what comes next!
https://gist.github.com/STRML/cc368c46c2d7de8679196e69ddbcae...
The key is, even in your case (with price alerts), you'll still want to tick occasionally, thus the `FORCE_TICK_INTERVAL`.
React's own batching is smart enough to merge the work. For example, before the next tick, one component calls setState() 20 times, another calls it once. Only one rerender will actually be done.
Some more discussion on rAF batching here: https://github.com/petehunt/react-raf-batching/issues/8
https://www.npmjs.com/package/visibility is a nice little package that encapsulates some of the browser compat issues, if you have out-of-date clients.
Say you use up 150ms of CPU time. Chrome isn't going to let another timer fire for 15s. Then, you're late on a whole bunch of work that needs to get done, so the next timer takes 500ms. Chrome then throttles the next timer by 50s. And so on and so forth...
I've reverted to a plain-HTML layout.
This could be easily solved by releasing all documents and a list of their hashes simultaneously.
I get that a billion dollars doesn't buy what it used to, but it really ought to buy native apps on at least all the major platforms.
By removing every single legacy port long before there's anywhere near ubiquitous USB-C? Even USB-C cables themselves are more commonly sold as USB-A to USB-C. I love having usable DisplayPort/Thunderbolt, HDMI, and USB-A on my 2013 rMBP - I never need a dongle. If I went to a 2016, I'd need at least 3, every day.
> Prioritising thinness and weight over everything else
Battery life is certainly not the same, and the lack of a 16GB option or a faster processor is a well-missed loss.
It's certainly easier and may even be safer (in the case of a malfunction, which has happened on OSX) to just use a longer password.
1. We should be able to configure this for a few/all branches (including PRs) and have conditional build tasks based on branch.
2. We need be able to access resources inside a VPC.
3. Turnkey chat integrations would be nice, but it's not a big deal to just curl.
4. We need a way to execute actions on failure.
t2 instances notoriously throttle way down to 10% if your workload is too consistent. The full performance is quite good from the 2.40 GHz E2676 v3, but at 10% it's worse than a Raspberry Pi. And this will always hit you at the worst time (when under load).
As for the SSDs, they're just GP2 storage, which is an order of magnitude slower than DO and nearly 2 orders of magnitude slower than Joyent Triton.
So AWS is providing a seriously inferior product here, but it's under the AWS umbrella and peers with the rest of their services. The question is: will the target market care about any of AWS's other services enough to make the inferior $/perf worthwhile, and will they integrate easily enough for the average developer to use them?
So network-attached storage for Lightsail is upside for AWS, but all downside for the customer.
Many competitors just use local storage, which comes with its own serious downsides for the company and customer. DigitalOcean just recently launched its Volumes service, but it's very limited compared to EBS, and not nearly as fast as its local SSDs.
EBS is generally fine but I would really enjoy the option to have ~40GB local SSDs for caching (but I suppose you can always grab an r3/r4 and cache in memory if that's your bag).
The best cloud I/O perf I've seen, bar none, comes from Joyent's Triton containers. Beats even DO by 3-4x. Beyond that you need to go bare-metal.
The docs appear to say you can add these to a VPC but I don't see how to do it.
They don't say the SSD storage is local, so I'm sure it's not.
A few runs with `fio` confirms this is EBS GP2 or slower:
The bench: "fio --name=randrw --ioengine=libaio --direct=1 --bs=4k --iodepth=64 --size=4G --rw=randrw --rwmixread=75 --gtod_reduce=1"
Lightsail $5:
read : io=3071.7MB, bw=9199.7KB/s, iops=2299, runt=341902msec
write: io=1024.4MB, bw=3067.1KB/s, iops=766, runt=341902msec
DigitalOcean $5: read : io=3071.7MB, bw=242700KB/s, iops=60674, runt= 12960msec
write: io=1024.4MB, bw=80935KB/s, iops=20233, runt= 12960msec
More than an order of magnitude difference in the storage subsystems.These appear to just be t2.nano instances (CPU perf is good, E5-2676 v3 @ 2.40 GHz, http://browser.primatelabs.com/geekbench3/8164581).
For advanced users, there isn't much compelling here to make up for the administration overhead. It's a little cheaper than a similar-spec t2.nano (roughly $4.75 on-demand + $3 for a 30GB SSD). The real win is egress cost; you can transfer EC2->Lightsail for free. 1TB of egress would be nearly $90 on EC2, but is only $5 on Lightsail.
In other news, EC2 egress pricing is obviously ridiculous.