A minor update to one small npm package threw the entire npm ecosystem into chaos, affecting millions of JS projects. The library is called is-promise — two lines of code that other projects can call in a single line, letting developers test whether a JS object is a Promise. Despite being just two lines, it’s one of the most popular npm packages, used by over 3.4 million projects. Because it didn’t conform to the correct ES module standard, other projects depending on it started failing at build time. Many well-known JS projects were affected.
Light, casual, posted anytime. 26 entries, page 3 of 3.
On GitHub, once a package has been published to a public project, it can’t be deleted. I uploaded the wrong package and wanted to remove it, only to find there’s no delete button on the page. The API said packages in public projects can’t be deleted, and GitHub support just replied that the delete feature is still in development…
My site recently got a code update that technically pushes back against visitors using ad-blocker extensions. Here’s the thing: ads are the only source of income this site has. My ads don’t cover the content and don’t force anyone to watch — I hope you can cut me some slack. The server and bandwidth bills come out of my own pocket, and what the ads bring in barely covers a fraction of it, so I hope you’ll go easy. You get the content for free while the site runs ads — should sites fight back against ad blocking? What do you think?
A: Hi, I’d like to hear a TCP joke.
B: Hello, would you like to hear a TCP joke?
A: Yes, I’d like to hear a TCP joke.
B: OK, I’m going to tell you a TCP joke.
A: OK, I’m ready to hear a TCP joke.
B: Are you ready to hear a TCP joke?
A: Yes, I’m ready to hear a TCP joke.
B: OK, I’m about to send the TCP joke. It will last about 10 seconds and contain 20 words.
A: OK, I’m ready to receive your TCP joke, which will last about 10 seconds and contain 20 words.
B: Sorry, your connection has timed out. Hello, would you like to hear a TCP joke?Today I added the weibo module to my blog — micro-posts, short entries that tell one thing at a time. I also added like and dislike buttons, plus a short-URL service: https://rnf.pw/vzZT
