HNHacker News
TopNewBestAskShowJobs

scottmf

922 karma · joined October 26, 2014

https://twitter.com/scottinallcaps
submissionscomments
scottmf··on React Native at Airbnb
Sorry if the short response seemed rude. No is the answer to both of your questions.

RN isn’t just “HTML in a webview” like PhoneGap or Cordova: elements are actually rendered as native UI components. E.g., a <Text> element becomes a native UILabel on iOS and a TextView on Android.

scottmf··on Apple Launches Repair Program for Faulty MacBook Keyboards
Great news. I bought a MBP last February and already had the keyboard replaced. I was worried about it happening again now that it’s out of warranty.

Apart from this (apparently widespread) fault, it’s my favorite keyboard. I just wish I’d bought the non Touch Bar version.

scottmf··on React Native at Airbnb
No
scottmf··on Judge says ‘literal but nonsensical’ Google translation isn’t consent for search
Allowing illegal evidence would encourage illegal searches.
scottmf··on The Repeal of Net Neutrality Is Official
Welcome to politics!
scottmf··on [dead]
Yeah seriously what a waste of time that was.
scottmf··on iOS 12 introduces new features to reduce interruptions and manage Screen Time
This is a really great idea, but I wouldn’t have really got from the app listing and screenshots that this is what the app does.

Your comment here explains it much better than the App Store description IMO.

Maybe some help from a UI designer and a little rebranding could help a lot!

scottmf··on iOS 12 introduces new features to reduce interruptions and manage Screen Time
iPhone X does this if you’re looking at the screen
scottmf··on Supreme Court Sides with Baker Who Turned Away Gay Couple
>Wasn't the original case here something along the lines of refusing to bake a cake with homosexual imagery on it, not necessarily because the customers were a homosexual couple?

No. They had not discussed the content of the cake when they were refused service.

>I'm increasingly convinced that the left is moving us toward a 1984-era world...

Of course you are, because that narrative creates fear and fear sells.

Considering you’re not aware of the basic facts of this case, if your perception of such cases informs your paranoid worldview then perhaps it’s time to reassess it.

scottmf··on Supreme Court Sides with Baker Who Turned Away Gay Couple
They had not even discussed the content of the cake when they were refused service.
scottmf··on Supreme Court Sides with Baker Who Turned Away Gay Couple
I can’t believe there are comments here supporting the “baker’s right” to refuse service on these grounds.

>The Colorado Court of Appeals ruled that Mr. Phillips’s free speech rights had not been violated, noting that the couple had not discussed the cake’s design before Mr. Phillips turned them down.

This is a public business refusing service to a person(s) because of their sexual orentiation.

This is no different than refusing service to an interracial couple because you dont believe in race-mixing.

Yes, they could have gone to another bakery but that isn’t the point. Do you understand why anti-discriminatory laws exist? Step out of your privileged bubble and read some fucking civil rights and LGBT history.

scottmf··on Deno, a secure TypeScript runtime using V8 and Go
Importing URLs is how ES modules work afaik
scottmf··on Why “children,” not “childs”? (2016)
Sorry but it’s true.
scottmf··on Amazon device recorded private conversation, sent it out to random contact
Yeah it’s incredibly irresponsible and not really funny at all.
scottmf··on Amazon device recorded private conversation, sent it out to random contact
Why?
scottmf··on ReasonML – React as first intended
We can always fork these things if it comes down to it.
scottmf··on Exercise 'doesn't slow' progression of dementia if you already have dementia
You’re right but you should have included decent sources in your initial comment.

Sadly the vegan crowd overlaps too much with the pseudoscientific new age/alt med/antivaxxers crowd, so skeptical types are quick to dismiss any suggestion that such a diet is healthier.

And people generally don’t like to hear that eating meat is bad for them anyway.

If anyone is interested in why you instinctively react so negatively to the idea that your diet is unhealthy and unnecessarily wasteful/harmful, there’s a great Ted Talk on it: https://youtube.com/watch?v=o0VrZPBskpg

scottmf··on What Does “One JS” Mean in a World of Transpilers?
ReasonML has JSX. It just translates to function calls which do whatever you want. It’ll probably never happen but it’d be cool to see native JSX in JS.
scottmf··on Senate votes to reinstate net neutrality
We’re on Hacker “I could make Airbnb in a weekend” News. Why doesn’t it exist yet?
scottmf··on I Don’t Know How to Waste Time on the Internet Anymore
This is exactly how I've felt for the past few years. Besides Facebook, I think a large part of it is not being quite as young and open to new things.

E.g. I'm under 30 but I never got into Youtube, I don't even know how to find good content on it.

scottmf··on Tesla Plunges After a Conference Call
Doesn’t he have a duty to be honest to shareholders?
scottmf··on Proton Native – React Native for the desktop
https://github.com/Microsoft/react-native-windows

https://github.com/ptmt/react-native-macos

scottmf··on You know how HTTP GET requests are meant to be idempotent?
That’s the whole point of HTTP request methods: it isn’t. GET should never cause such side effects. The entire web is built with these principles in mind precisely so that problems like this don’t happen.

If you want a slower browsing experience feel free to disable prefetching in your browser, but this isn’t a hill worth dying on.

scottmf··on You know how HTTP GET requests are meant to be idempotent?
Darn kids and their prefetching, GET off my lawn!
scottmf··on Show HN: Fast 2kB date library alternative to Moment.js with the same API
There’s a stage 1 proposal for better date/time features

https://github.com/tc39/proposal-temporal

scottmf··on Show HN: “Is this loss?”: A TensorFlow Lite app to detect Loss.jpg
Wow I was thinking of this exact idea just yesterday.

Could you share the code or make this a web app? I don’t have access to Android.

scottmf··on After Facebook scrutiny, is Google next?
It was inevitable. If not for the CA scandal it would have been something else.

Regulations like GDPR aren’t a reaction to Trump.

scottmf··on VS Code can do that?
Slightly off topic but this code in example #5:

  get() {
    return new Promise((resolve, reject) => {
      fetch(`${baseAPI}/heroes`)
        .then(response => response.json())
        .then(json => resolve(json))
        .catch(err => {
          reject (err);
        });
    });
  }
Why not just:

  get() {
    return fetch(`${baseAPI}/heroes`)
      .then(response => response.json());
  }
scottmf··on Ask HN: When do you use a library vs. implement something yourself?
The trouble with leftPad was a flaw of NPM which could have happened with any package.
scottmf··on Ask HN: When do you use a library vs. implement something yourself?
Why waste time rewriting something like leftPad?
← PreviousPage 5 of 15Next →