Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phpnode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
601.
▲
by
phpnode
9y ago
NPM themselves recently launched a new package called npx [0] which will download and execute packages directly from the registry if you don't already have them installed. So if you make a simple typo like this: npx crossenv fo
602.
▲
Malicious crossenv package on npm
(twitter.com)
578 points
by
phpnode
9y ago
|
228 comments
603.
▲
by
phpnode
9y ago
Surprising because it's probably the lowest hanging fruit possible
604.
▲
by
phpnode
9y ago
Surprising given that Slack's performance is something people regularly complain about
605.
▲
by
phpnode
9y ago
At least there wouldn't be a crosswind
606.
▲
by
phpnode
9y ago
Not just the 80s, until at least 2000 and probably a lot longer
607.
▲
by
phpnode
9y ago
You did a great job with this, I started something really similar about 6 months ago because I wanted to port SabreDAV to js (I didn't quite get to the stage of self hosting PHP parser) but eventually came to the same conclusions, even
608.
▲
by
phpnode
9y ago
Guessing you got downvoted because it's not really relevant - live editable code is nice for docs but doesn't explain why a property is poorly named.
609.
▲
by
phpnode
9y ago
Yeah probably, but it's just an example
610.
▲
by
phpnode
9y ago
It would be nice to be able to use the annotations directly, we support this in flow-runtime[0] but I think it would be fairly straightforward to support in TypeScript too, It looks like this: import t from 'flow-runtime';
611.
▲
by
phpnode
9y ago
Is this the most Hacker News title of the year so far?
612.
▲
by
phpnode
9y ago
Sometimes legitimate accounts trip a spam filter and get shadow banned, if you go directly to the comment's page (click the time link) there's a `vouch` link you can click to vouch for that person and restore their account.
613.
▲
by
phpnode
9y ago
This is one of those occasions where evidence and material facts are irrelevant, what actually matters is how people feel about using Google products. Is the average developer going to feel confident about recommending a Google service to
614.
▲
by
phpnode
9y ago
Marketing is all about confidence, regardless of the facts the public perception is that google shuts down services with wild abandon, that is a perception google needs to work to fix and your response merely confirms it
615.
▲
by
phpnode
9y ago
Nope, it's supported in the Harmony branch, which is still under development
616.
▲
by
phpnode
9y ago
The left has an unfortunate willingness to expend more energy on fighting each other than the people that they truly oppose.
617.
▲
by
phpnode
9y ago
(can't edit my post any more) I made a plugin to do this here - https://github.com/codemix/flow-runtime/tree/master/packages...
618.
▲
by
phpnode
9y ago
Awesome work! Are there plans to incorporate Flow definitions as an alternative to the __assumeDataProperty helpers? Edit: Looks like this is targeting compiler output, so Flow types would typically be gone by that stage. Integration with F
619.
▲
by
phpnode
9y ago
Yes, as of about 25 mins ago - https://github.com/gajus/prepack-webpack-plugin
620.
▲
by
phpnode
9y ago
There's a fair bit of work in this area that leverages Flow type syntax, e.g: - https://github.com/gcanti/tcomb - https://github.com/gcanti/io-ts (for typescript) - https://github.
621.
▲
by
phpnode
9y ago
> No idea why my account would be shadowbanned. 3 years ago you committed the offence of punning on HN, https://news.ycombinator.com/item?id=5144413
622.
▲
by
phpnode
9y ago
I can't comment on the specific details, I've never used EFL, but in general, when encountering problems with open source software you can do one of two things: 1. Write a long and angry rant about how terrible the software is on
623.
▲
by
phpnode
9y ago
I can emphasise with his response, I don't know if I'd respond in that way myself.
624.
▲
by
phpnode
9y ago
Perhaps it depends where you are, Oxford English Dictionary only mentions the shop meaning.
625.
▲
by
phpnode
9y ago
Not in English as far as I'm aware.
626.
▲
by
phpnode
9y ago
delicacy - a delicatessen is somewhere you'd buy delicacies
627.
▲
by
phpnode
9y ago
EFL is open source software, BSD licenced. The original author of the comment is not a customer. It's some uninformed person trashing the good work someone has made available to them for free. This attitude makes me want to stop writin
628.
▲
by
phpnode
9y ago
The responses in that thread give me a headache, has the daily wtf forum always been such a wasteland? One of the replies is "someone posted your software to the daily wtf so there MUST be a problem with your software, you should just
629.
▲
by
phpnode
10y ago
Your comments have all the empathy of someone who has zero understanding of schizophrenia.
630.
▲
by
phpnode
10y ago
A sufferer of schizophrenia is not guilty of the way their condition manifests. They are the victim of an illness.
More ›