Better HN
topnewbestaskshowjobs
Log inSign up

kfinley

636 karma · joined May 27, 2012 (14y ago) · 51 submissions

Submissions

comment 1y ago · link · parent

Yes, most likely the restaurant employees. That's probably why they are starting with orders that are fulfilled by DoorDash employees.

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

I couldn't agree more.

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

Which browser are you using?

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 3y ago · link · parent

> If any hedge funds are looking for analysts, I'm always open to offers...

How would you invest based on this prediction?

comment 6y ago · link · parent

> The problem is that you can’t use the 16” with an external display and the lid open without the fans spinning at full speed.

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 8y ago · link · parent

Google announced, in December, that it would be opening an artificial intelligence centre in China.

1: https://www.bbc.com/news/business-42334583

comment 9y ago · link · parent

It's possible to profit from increased volatility without knowing the direction of the move.

http://www.investopedia.com/articles/active-trading/040515/h...

comment 9y ago · link · parent

> "You pop it into a headset which has eye sensors on it, which enables the next iPhone to have a higher apparent frame rate and polygon count than a PC with a Nvidia 1080 card in it."

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

> Does the 'fn' key force-change the touchbar to display F1-F12?

Yes it does

comment 10y ago · link · parent

I suspect we will see the share desktop experience extend to other devices.

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

That's a fair point. Kind of like adding a redux @connect in a child component.

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

You can still do nesting within a case, or add another case 'about-team': and add another {var} to your component. That's essentially what RR would do. React Router approach is probably a little cleaner, however.

comment 10y ago · link · parent

Interesting change. If I understand correctly, basically you have a base component that updates fragments of the UI based on the route.

    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.

Reddit is down(reddit.com ↗)

24 points · by kfinley · 10y ago · 8 comments

comment 10y ago · link · parent

Not that I've found.

comment 10y ago · link · parent

> I wish I could revert to pre-tabs file behavior

Adding the following to your User Settings should get you pretty close:

  {
    "workbench.editor.showTabs": false,
    "workbench.editor.enablePreview": false,
    "workbench.editor.enablePreviewFromQuickOpen": false,
    // ...
  }

comment 10y ago · link · parent

TypeScript 2 adds Easier Module Declarations[0]. So if a library doesn't have a type definition, you can silence errors by adding:

    declare module "some-module"
Does that help?

0: https://blogs.msdn.microsoft.com/typescript/2016/07/11/annou...

comment 10y ago · link · parent

> 2.7 Apps that download code in any way or form will be rejected

Is this an indication that things like CodePush[0] may be rejected in the future?

0: http://microsoft.github.io/code-push

19.

Eternity II puzzle - A $2 million prize was offered(en.wikipedia.org ↗)

2 points · by kfinley · 10y ago · discuss

comment 11y ago · link · parent

https://github.com/vslinko/ripster

21.

Elon Musk AMA(reddit.com ↗)

569 points · by kfinley · 11y ago · 152 comments

comment 11y ago · link · parent

FezVrasta - Nice work!

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

Yes, React components have a special `this.props.children` property [0]. Which works similarly to web components's <content/>.

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...

comment 12y ago · link · parent

I don't believe Meteor has two-way data binding. You have to update the model manually using events[0].

0: https://docs.meteor.com/#/full/eventmaps

25.

Modulus Acquired by Progress Software(blog.modulus.io ↗)

15 points · by kfinley · 12y ago · 4 comments

comment 12y ago · link · parent

Yes.

Google Cached: https://webcache.googleusercontent.com/search?q=cache:VI0ttG...

Video: https://www.youtube.com/watch?v=Qe10ExwzCqk

comment 13y ago · link · parent

Is Vimeo a good alternative, or is it also blocked?

comment 13y ago · link · parent

Before making the switch you might consider https://uploadcare.com

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

12