Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rictic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
391.
▲
by
rictic
9y ago
This is a misconception. Service workers don't sit in the background consuming resources and performing arbitrary tasks. They respond to events, typically to intermediate requests while a user is using a site. The service worker spec w
392.
▲
by
rictic
9y ago
http://caniuse.com/#feat=push-api is the interesting notifications API, which allows notifying a user (with their permission) even when the app isn't open. Neither API is supported on iOS Safari, and desktop Safari onl
393.
▲
by
rictic
9y ago
If you're doing inline styles, the former is how the style is expressed to the style engine isn't it? i.e. <div style="font-weight: normal; font-style: italic">
394.
▲
by
rictic
9y ago
There's more to it than that. The self driving car promises advantages beyond a smaller total cost of transportation. From an individual perspective though, few people will need to make a big tradeoff decision all at once. It'll s
395.
▲
by
rictic
9y ago
There is no comment which is improved by a call to downvote it. It's also explicitly against HN's guidelines: https://news.ycombinator.com/newsguidelines.html
396.
▲
by
rictic
9y ago
Serious question: what is block chain being used for besides trading crypto currency? Like, not building infrastructure that may be useful, for things in the future, not speculative value but stuff that's identifyably useful in and of
397.
▲
by
rictic
10y ago
Closure compiler, while trickier to use than the other options, will do dead code elimination, constant propagation, and other classic whole-program optimizations.
398.
▲
by
rictic
10y ago
Have you considered using another browser? Staying up to date isn't just about the convenience of web devs, but about your security. [Disclosure: I work in this area, but I'd much rather someone be using a patched browser than an
399.
▲
by
rictic
10y ago
I don't want a web where every time a user visits a new domain they see a scary interstitial warning that asks them to make a trust decision. We have too many centralizing forces already.
400.
▲
by
rictic
10y ago
> Polymer's CSS automatically spills over into the child components. Hm? No, the opposite, the shadow DOM provides CSS encapsulation.
401.
▲
by
rictic
10y ago
Nit, but await is an operator, not an annotation on a statement. So that should be written as: const [a, b] = await Promise.all([getA(), getB()]);
402.
▲
by
rictic
10y ago
I'd characterize the research so far as suggestive, but not conclusive. It's fairly well supported that caloric restriction extends the lives of many rodent species. There have been two primate studies, both finding health benefit
403.
▲
by
rictic
10y ago
Before good birth control, extramarital sex meant single mothers. And if it's hard to be a single mom today, imagine being a single mom in a world where there were a fraction of the job opportunities outside the home for a woman.
404.
▲
by
rictic
10y ago
Agreed that the first iPhone was special, it let me move across the country without knowing a soul for two thousand miles with confidence. The limitations were obvious though. The small screen and low resolution made it hard to read much te
405.
▲
by
rictic
10y ago
I think that the Vive is a little like the release iPhone. It has all of the pieces, but it's also clunky and extravagant. You had to have a pretty good imagination to look at any 2004 phone and envision the iPhone, but once you had th
406.
▲
by
rictic
10y ago
Borrow checking means much less defensive copying without a loss of safety.
407.
▲
by
rictic
10y ago
Thanks for the detailed response :) Corollary #3 is the one I feel the shakiest about. Interesting point about church. Childhood friends who went into careers with diverse income ranges, combined with a social scene outside my career does s
408.
▲
by
rictic
10y ago
Observations: 1. Wealth is exponentially distributed. 2. People tend to socialize with people in their rough income range. 3. Expenses tend to grow to fill any budget. 4. US society isn't very good at saving money, so most
409.
▲
by
rictic
10y ago
The version that beat Lee Sedol was trained on pro games.
410.
▲
by
rictic
10y ago
The things that make Java slow compared to C++ aren't in the compiler so much as in the language. In a sentence, Java made tradeoffs for productivity and simplicity that in C++ went in favor of performance and power.
411.
▲
by
rictic
10y ago
Couldn't mirror in what sense? I know that you can cast your entire screen from a desktop or from an Android. Unsure about iOS devices.
412.
▲
by
rictic
10y ago
Parameters aren't implementation details. Implementation details are stuff like "It's written in framework X so you need to call that framework's init method after document load, then do frameworkX.initCarousel(document.
413.
▲
by
rictic
10y ago
<template> elements are also implemented everywhere but IE: http://caniuse.com/#feat=template The advantage of <template> over strings in JS is that the browser can parse the <template> as HTML in parallel
414.
▲
by
rictic
10y ago
You can create reusable UI widgets that are usable without the user knowing how they were written. e.g. with today's frameworks you need to know how to create widget, and that may involve rolling up your sleeves and diving into a bunch
415.
▲
by
rictic
10y ago
One more thing that's particularly nice about `async/await` is just using the `async` part. For existing functions that should always return promises, when that function is `async` you can be sure of it. Even if it throws. Even if
416.
▲
by
rictic
10y ago
Is that increasing write amplification to a meaningful degree? Compressing already compressed data is generally only slightly less efficient than just compressing the data once, isn't it?
417.
▲
by
rictic
10y ago
I am typing this on a 2013 MBP with 16 GB of ram. If I get a new machine today, I'd like to keep it until 2019 or so. The resource that I feel most pinched on with my Macbook is its ram.
418.
▲
by
rictic
10y ago
Couldn't you do the same thing with less of a human cost by merely telling people about cases where the ransomware was unreliable, and refusing to spread the information that it was reliable?
419.
▲
by
rictic
10y ago
As far as I'm aware it is only out-of-spec cables that can cause damage. If everything is in spec then the worst case is just reduced performance or the connection not working. I'd add that – IMO – if an out of spec cable causes d
420.
▲
by
rictic
10y ago
If the consideration is that they made the product work for his use case, then that's not corruption in any meaningful sense of the word. That is exactly the behavior you want to reward companies for.
More ›