Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DougBTX
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
511.
▲
by
DougBTX
8y ago
Do they have any docs covering what's supported on mobile? Edit: reading through their issue tracker, looks like they're going to make a good go at it, but it is hard: https://github.com/ianstormtaylor/slate&#
512.
▲
by
DougBTX
8y ago
PR to fix it here: https://github.com/ianstormtaylor/slate/pull/2412
513.
▲
by
DougBTX
8y ago
I expect that the output from a single printer won't be that bad, but it is interesting to put the "ventilate properly" comment in a wider context: > Gosh, this process produces something that is harmful to me. But it'
514.
▲
by
DougBTX
8y ago
In VS Code especially, the level of support in the IDE very much depends on the language. For example, TypeScript has code search like Find All References that goes beyond text search, it understands classes, methods and interfaces, it supp
515.
▲
by
DougBTX
8y ago
Links in the presentation point here: https://fuchsia.googlesource.com/garnet/+/master/bin/recover...
516.
▲
by
DougBTX
8y ago
Yes, I think you’re right, there are different restrictions on when useState and setState, though it is worrying seeing confusion straight away about it. I wonder about a case where there is an expandable panel in a UI, and when expanded it
517.
▲
by
DougBTX
8y ago
> each server/client update dance has to be mostly atomic There’s a nice write up showing how that’s a risk but not an absolute restriction of using messages with required fields here: https://martin.kleppmann.com/20
518.
▲
IRL Glasses – Glasses That Block Screens
(kickstarter.com)
5 points
by
DougBTX
8y ago
|
0 comments
519.
▲
by
DougBTX
8y ago
Coming back to this a couple of weeks later, they appear to have changed their site, and https://citibank.com.sg now redirects to https://www.citibank.com.sg/
520.
▲
by
DougBTX
8y ago
Personally I’ve had a great experience with 4G LTE, but it is going to depend on lots of factors, including the ISP.
521.
▲
by
DougBTX
8y ago
The argument would go that if the radio has total capacity x and each user is allocated capacity y, then only x / y users should be allowed to join the service, otherwise it is "over selling". It is a super straight forward m
522.
▲
by
DougBTX
8y ago
I'm interested to know what people think about this with TypeScript - quite a lot of the weird behaviour in plain JS is rejected by the compiler, eg, "true == 1" evaluates to true in plain JS, but is a compiler error in TypeS
523.
▲
by
DougBTX
8y ago
The first citibank url doesn’t load for me, so it is site vs not site rather than two different sites, and both those ntp urls are redirecting me to https://www.ntppool.org/en/ - perhaps there’s less substance than mee
524.
▲
by
DougBTX
8y ago
> To clarify, claiming current is the derivative of charge is like claiming the current of a river is the derivative of it's water level. My electro mag skills are a little rusty, but I don’t think that’s the right analogy. You woul
525.
▲
by
DougBTX
8y ago
Following the principle that array indexes are “between” the elements, the bottom of the first step is 0, and the top of the first step is 1. Then the ground, which is equal in elevation to the bottom of the first step, is at 0, and the flo
526.
▲
by
DougBTX
8y ago
> Is this to support dependencies which rely on the same package at different versions? Yes, that's right. See for example NPM's docs on how this works: http://npm.github.io/how-npm-works-docs/npm3/how
527.
▲
by
DougBTX
8y ago
For more brain melting, here's a roadmap for learning React in 2018, React and associated tech is what, 20 years old? Here's what that looks like: https://github.com/adam-golab/react-developer-roadmap Then co
528.
▲
by
DougBTX
8y ago
The example looks fine to me. If the writer blocks until the partition is resolved, then it isn’t Available for writes, so only meets CP.
529.
▲
by
DougBTX
8y ago
The follow on from that is “performance is a feature”. If the emulator is supposed to emulate a fun, playable, game, then perf would be a required feature :-)
530.
▲
by
DougBTX
8y ago
That line is labelled with https://github.com/cretz/asmble
531.
▲
by
DougBTX
8y ago
Just "2 * 2" is near enough instant ("About 25,270,000,000 results (0.64 seconds)") but "2 * -2" takes its time ("About 0 results (5.16 seconds)"). Some sort of conflict between the "ignore keywo
532.
▲
by
DougBTX
8y ago
We’re still using https://www.npmjs.com/package/react-dom-factories for plain DOM elements, so code looks like dom.div({ props }, ...) For our own components, we export the output of React.createFactory https
533.
▲
by
DougBTX
8y ago
React was advertised from the start as the V in MV-whatever, so that seems like an overly restrictive definition of "idiomatic". > At which point, JSX is basically just another fancy HTML templating library. JSX is optional syn
534.
▲
by
DougBTX
8y ago
How could Bayesian statistics be applied in this case? I’m wondering if the situation is just too “simple” to make it applicable. Before Monty opens a door, so the prior probability, is 1/3 for each door. After he opens a door, that do
535.
▲
by
DougBTX
8y ago
Need to ask not just which is better, but which is better for who? With glass, producing new bottles for each delivery would be super expensive, so it is in their interest to bear the cost of collecting the bottles for reuse and recycling.
536.
▲
Give it five minutes (2012)
(signalvnoise.com)
2 points
by
DougBTX
8y ago
|
0 comments
537.
▲
by
DougBTX
8y ago
Another way to write that would be: NSString *one = @"Hello"; NSString *two = @"World"; NSString *three = [NSString stringWithFormat:@"%@ %@", one, two];
538.
▲
Reasons for Reset CSS (2007)
(meyerweb.com)
1 points
by
DougBTX
8y ago
|
0 comments
539.
▲
by
DougBTX
8y ago
The corollary of "no error handling" is "caller must be perfect", it is the opposite to defensive coding. I can see the appeal, it puts minimal constraints on the caller, in a sense making the library functions as flexib
540.
▲
by
DougBTX
8y ago
https://redditblog.com/2013/08/06/reddit-myth-busters/#indep...
More ›