HNHacker News
TopNewBestAskShowJobs

kfinley

636 karma · joined May 27, 2012

submissionscomments
kfinley··on DoorDash and Waymo launch autonomous delivery service in Phoenix
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.

kfinley··on How long til we're all on Ozempic?
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.

kfinley··on Apple Intelligence for iPhone, iPad, and Mac
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...

kfinley··on Intel exiting the PC business as it stops investment in the Intel NUC
> If any hedge funds are looking for analysts, I'm always open to offers...

How would you invest based on this prediction?

kfinley··on Apple Silicon M1 chip in MacBook Air outperforms high-end 16-inch MacBook Pro
> 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.

kfinley··on DeepMind: First major AI patent filings revealed
Google announced, in December, that it would be opening an artificial intelligence centre in China.

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

kfinley··on Trump2cash – A stock trading bot powered by Trump tweets
It's possible to profit from increased volatility without knowing the direction of the move.

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

kfinley··on MacBook Battery Time Remaining
> "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.

kfinley··on 2016 Retina MacBook Pro Caveats
> Does the 'fn' key force-change the touchbar to display F1-F12?

Yes it does

kfinley··on 2016 Retina MacBook Pro Caveats
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.

kfinley··on React Router v4 FAQ
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.

kfinley··on React Router v4 FAQ
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.
kfinley··on React Router v4 FAQ
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.
kfinley··on Visual Studio Code 1.4
Not that I've found.
kfinley··on Visual Studio Code 1.4
> 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,
    // ...
  }
kfinley··on Why Angular 2 Switched to TypeScript
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...

kfinley··on Apple rolls out a new App Store developer site
> 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

kfinley··on Thinking in GraphQL
https://github.com/vslinko/ripster
kfinley··on Material Design for Bootstrap
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

kfinley··on Material UI
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...

kfinley··on Meteor hits 1.0
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

kfinley··on Project Tango
Yes.

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

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

kfinley··on Jolla
Is Vimeo a good alternative, or is it also blocked?
kfinley··on Tell HN: In 1 week Filepicker forces paid signup or lose S3 & image conversion
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

kfinley··on Actualvim – Sublime Text 3 input mode powered by Vim itself
You might want to try Vintageous[0], It improves the native "Vintage" mode and adds things like vim-style searching and multiple cursors support. If you are addicted to NERDTree like I was, here are some custom keymapping[1] that will allow you to navigate the sidebar using the keyboard.

ctrl+h ctrl+h - takes you to the sidebar where you can navigate using j, k, h, l

ctrl+h - move to pane to the left

ctrl+l - move to pane to the right

ctrl+shift+h - move and create pane to the right

ctrl+shift+l - move and create pane to the left

.. and a few others

0: https://github.com/guillermooo/Vintageous/ 1: https://github.com/kylefinley/dotfiles/blob/master/sublime/U...

Edit: formatting

kfinley··on What's up with HN?
I suspect that's intentional; older items are less likely to be cached.
kfinley··on A month after switching to Macs
I second slate, it's been a hugh time saver. Here's the url for those that are interested.

https://github.com/jigish/slate - It's free and open source.

kfinley··on How SublimeText Bodybags vim+Terminator
The reason that I suggest spf13, is because it shows what's possible. I spent nearly a year building up a set of plugins and settings only to discover that 95% of what I had "discovered" was included.

I'm sure it has it's problems, but you can easily remove all of the included bundles. I think at the very least it provides a well structured foundation to built upon.

kfinley··on How SublimeText Bodybags vim+Terminator
If you are just staring with VIM, I recommend taking a look at spf13-vim (https://github.com/spf13/spf13-vim)
kfinley··on HTML and CSS Preprocessors
You might be interested in shpaml-jinja[0]. It extends the shpaml[1] syntax to provide jinja commands.

[0]: https://github.com/p/shpaml-jinja [1]: http://shpaml.webfactional.com/examples

Page 1 of 2Next →