Better HN
topnewbestaskshowjobs
Log inSign up

sceutre

32 karma · joined Jun 11, 2014 (12y ago) · 14 submissions

Submissions

comment 3y ago · link · parent

Perhaps you could be co-CTO's. Fwiw I can see not liking CUXO

comment 3y ago · link · parent

Sounds like what curl does. Maybe curl:{curl commandline}

comment 3y ago · link · parent

Well the totp (even in your passwd manager) defends against phishing I'd thought vs password alone.

comment 4y ago · link · parent

I don't think the acronym helps. I should know better but still read it as Personal Health Information in my head

comment 4y ago · link · parent

This one is a more in-depth rebuttal to the article and indeed BMJ itself; I found it compelling. https://sciencebasedmedicine.org/what-the-heck-happened-to-t... It argues that the article was disingenuous to the point of being propaganda.

comment 6y ago · link · parent

If I have 15 sites in google authenticator is it such a win that 1/15th of them will allow me to reset without needing the second factor? Backing up the app or backup codes seems needed to scale to widespread 2FA use.

comment 7y ago · link · parent

The latter. You can look at what javascript is emitted on the playground.

  let bar: any, log: any;
  log?.(`foo ${bar()}`);
  
  // becomes
  var _a;
  var bar, log;
  (_a = log) === null || _a === void 0 ? void 0 : _a("foo " + bar());

comment 9y ago · link · parent

In webstorm/intellij say you have a react component, one export per module as you say. The import statements are a tie imo to write by hand:

  import MyThing from "../../components/editors/MyThing";
  import {MyThing} from "../../components/editors/MyThing";
But if it's named, you don't need to stop what you're doing, scroll to the top of the file, type out the import statement by hand, and look over at your code tree and figure out the path to the module you want.

You just type MyT Ctrl-Space and let intellij do all that for you, not even having to move out of the function you're writing.

comment 9y ago · link · parent

We use https://github.com/electronicarts/ea-async at work and quite enjoy it. Baked into the language would be great though.

comment 9y ago · link · parent

Typson hasn't been updated for a while, we use https://github.com/YousefED/typescript-json-schema which works with recent typescript coupled with https://github.com/mafintosh/is-my-json-valid

comment 11y ago · link · parent

This. It not only fixes the article's complaint, but removes all the other metadata stuffed into the URL and just plain looks nicer.

comment 11y ago · link · parent

Electron is more active than NW.js looking at their github repos, it has had 25 releases since the last NW.js release for example. Visual Studio Code choosing electron was a big external validation too in my opinion. (no idea if that was a factor though)

comment 11y ago · link · parent

Well it still exists and is actually great for distributing Java desktop apps inside a corporate intranet.

But it never caught on because it was a poor implementation of a dubious idea. It started up many hundreds of time slower that Flash, required you to context shift out of the browser, was pretty ugly, and obfuscated the fact it was getting unrestricted access to your machine behind confusing security dialogs.

I think the underlying programming language was the least of its concerns.

comment 11y ago · link · parent

This is all Objective-C. In Smalltalk sending messages to nil results in a #doesNotUnderstand: runtime exception.