636 karma · joined May 27, 2012 (14y ago) · 51 submissions
comment 1y ago · link · parent
From the article
> The service will begin with deliveries from DashMart, DoorDash’s owned and operated convenience, grocery, and retail store that also powers DashMart Fulfillment Services, with plans to expand over time.
comment 2y ago · link · parent
Out of curiosity, last year, I purchased some test strips to test my drinking water. The strips showed typical contaminates: arsenic, lead, copper etc. they all registered in the "acceptable range". In the test, there was a test strip for QUATs (https://en.wikipedia.org/wiki/Quaternary_ammonium_cation), which caught my attention. It wasn't something that I would have thought to test for, but my water tested positive. I was curious, so I started testing other local water sources including bottled water from various brands; to my surprise they all tested positive for QUATs. The only local water I could find that didn't contain QUATs was distilled.
I thought maybe it was just in my area, so I started taking the test strips with me when I traveled. In the last year, I've tested the drinking water in multiple states and countries, and only one source has tested negative for QUATs. It was the water from a drinking fountain in the San Francisco Airport, interesting enough.
My suspicion is that QUATs are often flushed down the drain, and the molecules must be too small to be filtered out in the water treatment process.
I haven't found much research on the impact of QUATs on the human body, but I can help but think our mitochondria would be susceptible to damage.
comment 2y ago · link · parent
I switched to Apple Passwords and have been using the official Chrome extension for a few months. It's not as seamless as some of the password manager extensions, but has been working well enough.
https://chromewebstore.google.com/detail/icloud-passwords/pe...
comment 6y ago · link · parent
I had the same problem, when connected to a USB-C monitor I wanted to use the keyboard, but not the built in monitor. Even with the display backlight off the fan would still run. After a lot of searching I found that you can disable the built in monitor by:
- Booting into recovery mode - Opening Terminal - Entering `sudo nvram boot-args="niog=1"` - Restarting - Close the clamshell - Plug in the external monitor - Open the monitor
I hope that helps.
comment 9y ago · link · parent
http://www.investopedia.com/articles/active-trading/040515/h...
comment 9y ago · link · parent
Interesting. Ive said that the touch bar was the first step in a new paradigm. Maybe the next step is connect your iPhone as the display. That would explain why Apple stopped investing in displays.
comment 10y ago · link · parent
In an post release interview Jony Ive implied that the touch bar was the first step in a new paradigm.
Imagine the Photoshop toolbar being available on your iPad's touch screen, while you're editing a photo on your Mac. Or playing a video game while using your iPhone for controls.
comment 10y ago · link · parent
Edit: To the idiomatic point. The first thing that struct me when using React, was that instead of having to use a custom Component for a for loop I could just use someArray.map(). I see this as a similar situation.
comment 10y ago · link · parent
const App = () => (
<BrowserRouter>
<h1>Hello World</h1>
<Match exactly pattern="/" component={Home} />
<Match pattern="/about" component={About} />
<Miss component={NoMatch}/>
</BrowserRouter>
)
Couldn't we take it one step farther and just use a switch statement? It seems like using pure JavaScript would be more idiomatic React. The URL pattern could be parsed in the data layer, and passed down as props. That way the components don't rely on global state, making them easier to test. const App = (screen, args) => {
let content;
switch (screen) {
case 'home':
content = <Home args={args} />
break;
case 'about':
content = <About args={args} />
break;
default:
content = <NoMatch args={args} />
break;
}
return (
<div>
<h1>Hello World</h1>
{content}
</div>
)
}
It's probably just a matter of preference. Recently I started using React-Storybook, so I've become addicted to "dumb" components.14.
24 points · by kfinley · 10y ago · 8 comments
comment 10y ago · link · parent
declare module "some-module"
Does that help?0: https://blogs.msdn.microsoft.com/typescript/2016/07/11/annou...
19.
Eternity II puzzle - A $2 million prize was offered(en.wikipedia.org ↗)
2 points · by kfinley · 10y ago · discuss
21.
569 points · by kfinley · 11y ago · 152 comments
comment 11y ago · link · parent
I'm curious about your choice of license[0]. I've been considering the use of a non-commercial license for a project I'm working on. Would you mind discussing:
1. Your motivation for the choice. Is it to prevent people from reselling the theme?
2. The impact, if any, that the choice has had on adoption. With the popularity of the project, it doesn’t seem to be an issue. In your experience are users not using your project to built commercial application? Or are they violation the terms (un)intentionally?
3. Your longterm objectives for the project. Do you plan on making this into a business by selling commercial licenses? Do you plan on having a standard commercial license fee, or do you believe it works better to negotiate each license independently?
Thanks!
0: https://github.com/FezVrasta/bootstrap-material-design/blob/...
Edit: grammar, added license
comment 12y ago · link · parent
The current implementation of `LeftNav` doesn't allow for this, but it would be easy to add.
0: http://facebook.github.io/react/docs/multiple-components.htm...
25.
Modulus Acquired by Progress Software(blog.modulus.io ↗)
15 points · by kfinley · 12y ago · 4 comments
comment 13y ago · link · parent
Benefits of UploadCare:
- Free Tier includes cropping and S3 storage
- Better UI
- Better API (cropping doesn't require a query string which breaks cacheing on some proxies)
Disclaimer: I haven't used UploadCare nor am I affiliated with them