Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
styfle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
481.
▲
by
styfle
9y ago
This reminds me of Markdown before the CommonMark standard was created. Actually...even with the standard, there are so many derivatives.
482.
▲
Yarn vs. npm5 determinism
(yarnpkg.com)
72 points
by
styfle
9y ago
|
18 comments
483.
▲
by
styfle
9y ago
I second Dreamhost[0] for PHP/HTML. I would also recommend you checkout now[1] for deploying containers and adding ability to add route by path[2]. [0]: https://www.dreamhost.com/ [1]: https://zeit.co/n
484.
▲
by
styfle
9y ago
Related: https://news.ycombinator.com/item?id=14460083
485.
▲
by
styfle
9y ago
Thanks for this detailed description! Is there a way to close the entry point for evil JS? For example, can you tell the extension to stop touching the DOM and injecting any code. That way the username/password can be only interacted w
486.
▲
Instead of Semicolons, What If You Could Code with Dragons?
(hackernoon.com)
2 points
by
styfle
9y ago
|
0 comments
487.
▲
by
styfle
9y ago
Correct. Most node core APIs are written this way and now core ships an utility function[0] to wrap those functions in a promise. [0]: https://medium.com/@styfle/promises-in-node-js-8-x-core-d6a8...
488.
▲
by
styfle
9y ago
Yes! I wrote about promisify a few weeks ago[0] [0]: https://medium.com/@styfle/promises-in-node-js-8-x-core-d6a8...
489.
▲
by
styfle
9y ago
Today, that's the browser. Hit F12 and you are inside a REPL (the console). Hit "View Source" and you can learn how a website works. The fact that developer tools ship with most browsers is really cool and encourages learning
490.
▲
by
styfle
9y ago
> How would you expect a programmer to ask "do these two pointers hold the same address?" In Java and C#, you rarely need to ask this question. In fact, the .NET Framework overloads String, DateTime[0], etc so you can use == fo
491.
▲
by
styfle
9y ago
It reminds me of Beavis and Butthead from the 90s--both the style of the artwork and also the fact that they are rebellious teenagers.
492.
▲
by
styfle
9y ago
Does git svn build a local git repo out of the svn server or just act as a normal svn client?
493.
▲
by
styfle
9y ago
Very cool! Thanks for the examples and linking back to the commit :+1:
494.
▲
Promises in Node.js 8.x Core
(medium.com)
1 points
by
styfle
9y ago
|
0 comments
495.
▲
by
styfle
9y ago
> git branch, git tag, and git for-each-ref all learned the --no-contains option to match their existing --contains option. This can let you ask which tags or branches don't have a particular bug (or bugfix). I'm surprised that
496.
▲
by
styfle
9y ago
We wrote a .NET Core microservice a few months back and there were problems upgrading from 1.0 t 1.1 (or some minor point like that). I scraped it and rewrote it in node.js and now looking at this, I'm glad I did it. I just don't
497.
▲
by
styfle
9y ago
More info about why this landed can be found here: https://github.com/nodejs/CTC/issues/12
498.
▲
Node.js promisify in core
(github.com)
2 points
by
styfle
9y ago
|
1 comments
499.
▲
by
styfle
9y ago
I started a project call magnemite[0] that records the window and saves to disk. It's not done but it only makes a few API calls. [0]: https://github.com/styfle/magnemite
500.
▲
by
styfle
9y ago
Fascinating. This is really nice for REPL environments. I'm not sure I would use it in production.
501.
▲
by
styfle
9y ago
It appears that the npm team is trying to make a compatible lock file that will work with yarn and other CLIs.
502.
▲
Proposal for shrinkwraps/locks in npm5
(github.com)
1 points
by
styfle
9y ago
|
1 comments
503.
▲
by
styfle
9y ago
Is there a demo page where we can try it?
504.
▲
Node.js 8.0.0 Delayed Until May 30th
(medium.com)
2 points
by
styfle
9y ago
|
0 comments
505.
▲
Add util.promisify() to Node.js 8.x core
(github.com)
1 points
by
styfle
9y ago
|
0 comments
506.
▲
by
styfle
9y ago
The language service API is huge! One of the main reasons I even bothered to learn React was because TypeScript supported type checking JSX. Back when I picked up TS, I was using Handlebars for templating. The templates were the only part o
507.
▲
by
styfle
9y ago
I suspect you didn't set target to ES6 in the `tsconfig.json` file which would limit some of the features. If you don't specify, I think the default is ES5. See this example: https://github.com/styfle/react-se
508.
▲
by
styfle
9y ago
How does this compare to Elasticsearch or Solr?
509.
▲
by
styfle
9y ago
This happens with "Visual Studio". When someone says "Visual Studio" won't work, do you mean VS Enterprise or VS Code--two totally different products. Come to find out they really mean visualstudio.com which is some
510.
▲
by
styfle
9y ago
Don't forget Electron
More ›