705 karma · joined Sep 9, 2014 (12y ago) · 113 submissions
comment 5y ago · link · parent
This means that you have the language designers themselves maintaining some of the most important crates in the ecosystem, and baking it into their process to iterate on the language itself. The result is really high quality crates and the community is better for it.
I'm not trying to dunk on JavaScript/npm packages though, or anyone involved in developing the language. Clearly the JS community has found success and is meeting a lot of people's needs. We can accept that Rome's requirements are different than most people using JavaScript.
2.
Cloudflare security incident and impact on Yarn users(yarnpkg.com ↗)
16 points · by thejameskyle · 9y ago · discuss
comment 9y ago · link · parent
Also, discrediting WikiLeaks doesn't serve me personally – I've never said anything against them publicly until today, and I used to be an avid supporter.
However, if you read their support Twitter account they are doing a good enough job of discrediting themselves. Go read through their twitter account, it reads like Donald Trump's:
- https://twitter.com/WLTaskForce/status/817446026944643076 - https://twitter.com/WLTaskForce/status/817435562109968384 - https://twitter.com/WLTaskForce/status/817470461529427968
comment 9y ago · link · parent
There's a number of public ways (which could be automated) to find out information like people's home addresses, but generally it's pretty difficult to figure out how (provided someone isn't just publicly posting their address).
Online harassers are often deterred simply because it takes too much effort to find out the information to do more harm.
Doxxing takes some amount of know how, and that's the only thing preventing it from happening more often.
5.
WikiLeaks is “thinking of” putting me in danger(medium.com ↗)
9 points · by thejameskyle · 9y ago · 5 comments
comment 9y ago · link · parent
With Flow you don't even have to opt-in to a new syntax. You can just use comments:
function foo(val /* : boolean */) /* : string */ {}
Using really powerful inference you can also write much fewer types. If you have well types libraries [you sometimes don't need types in your code at all](https://medium.com/@thejameskyle/flow-mapping-an-object-373d...).comment 9y ago · link · parent
1. Setting up with Babel: (note that if you are already using the "react" preset you don't have to do anything)
$ npm install --save-dev babel-plugin-transform-flow-strip-types
Then update your `.babelrc`: { plugins: ["transform-flow-strip-types"] }
2. Setting up with ESLint $ npm install --save-dev eslint-plugin-flowtype-errors
Then update your `.eslintrc`: { plugins: ["flowtype-errors"] }
Then just install `flow-bin` and create an empty `.flowconfig` file in the root of your repo and you're done. Now you have Babel compiling your code the same as always and you can use the Flow type syntax, and with ESLint you probably already have your editor all setup to show you warnings.We're trying to integrate more with tools like this so you don't have to go changing your entire workflow. It shouldn't be so hard to add types to your existing JavaScript code.
comment 9y ago · link · parent
I'm sorry I was often short-breathed when responding. I'm sorry I shut people down more than a few times. From my perspective Lerna was feature complete until Yarn was launched, and people were only ever making feature requests so I didn't see a big deal.
At one point I was frustrated and Bo made it seem like he was going to abuse his power as a contributor and I got freaked out and removed him. He only got more and more vocal from there and I just pushed him out entirely.
Since then I've started a new job, a new relationship, I've been exhausting myself writing new talks. I've had family problems, work problems, fucking country problems... a family member who has been having suicidal thoughts, family who have practically disowned me for being gay and refusing to take their shit.
To be honest, I've barely been getting by in life before we even start talking about open source. I have to take care of that first.
I'm sorry.
comment 9y ago · link · parent
comment 9y ago · link · parent
I'm saying that when someone does it in a way that is in pure unadulterated anger that the community should not reward them for it. It's unhealthy for everyone.
comment 9y ago · link · parent
$ npm install babel-cli
$ babel src -d lib
To this: $ npm install babel-cli babel-preset-es2015
$ echo '{ presets: ["es2015"] }' >> .babelrc
$ babel src -d lib
It really wasn't that big of a change.Also, we did give it a new name. It used to be 6to5, and we changed the name around the intention to make it more generic. Which Babel 6 was the culmination of.
As for communicating with the community. Yeah, we can't address everyone at once or even reach them all. We could shove it in their face (and we do) and still a significant portion would still ignore us (and they do). There's not much we can do about that. But they shouldn't come to us and say that we never said anything about this, because yes we did.
Also, the article I referenced about Angular 2 was not talking about the transition from Angular 1 to 2. It was talking about ng2 as its own thing, criticizing it's design more than anything (just in a really shitty way).
comment 9y ago · link · parent
The only argument I'm really trying to make in this article is that when someone has stepped over a line into outraged attacks on tools and authors that the community shouldn't reward them for that.
Apparently this is too much to ask because so far today I've been called:
- a special snowflake
- autistic
- whiney
- thin-skinned
- pathetic
- weak
And I only published this like 2 hours ago and I have hundreds of notifications to go through still. The next few days I'm probably going to get a hell of a lot worse. Still waiting for my first "faggot" which always inevitably happens.
I have some pretty thick skin. I was raised in an abusive environment and I made my own way in the world at 16.
I'm not bothered by one person saying I'm an idiot.
What gets to you is a few thousands people agreeing.
comment 9y ago · link · parent
Heh, I build the same thing every time because I am not creative. Here's the Marionette version: http://marionettewires.com/
I could put it out there. The problem is that people assume when I share something that I am trying to tell them how things should be, like I'm some software design #thoughtleader genius. When really I'm just blindly trying to figure out what the hell I'm doing.
comment 9y ago · link · parent
I worked on the UI team for Cloudflare, where we didn't even use Babel until earlier this year shortly before I left. I worked on open source on the weekend.
The vast majority of open source maintainers are not paid in anyway whatsoever. Conferences pay me to fly places and stay in hotels because they make a profit off of me.
Even now as I am paid to do open source. I don't think a single person on my team would expect me to tolerate people yelling at me. I'm not a politician, I can and do ignore plenty of people. Most of the time negative people arent saying anything useful anyways.
20.
Yarn: Lockfiles should be committed on all projects(yarnpkg.com ↗)
6 points · by thejameskyle · 9y ago · 2 comments
comment 10y ago · link · parent
From their perspective it's very difficult to make breaking changes to the client because of the sheer number of people depending on them. (We've faced similar problems on Babel)
Yarn still makes use of the npm registry and all the high quality infrastructure they've built and support they provide for the ecosystem. They are a critical piece of this.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent