#corejs — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #corejs, aggregated by home.social.
-
JavaScript’s Nullish Coalescing Operator
The nullish coalescing operator (
??) is a relatively new addition to the JavaScript language (introduced in ES2020). It is a logical operator that returns the right side operand when the left side operand isnullorundefined, and otherwise returns the left side operand. It is similar to the logical OR operator (||), however it checks for “nullish” values, as opposed to the broader truthy/falsy values.There are only two “nullish” valued in Javascript –
nullandundefined. So the nullish coalescing operator offers a much cleaner solution for when you need to treat other falsy values as valid.Here’s a quick example:
const foo = null ?? 'default value'; // 'default value'const bar = 0 ?? 42; // 0 (unlike ||, which would return 42)Further reading
You can read more about this operator on MDN.
-
Più o meno lo sapete quanto si soffre a programmare normalmente in #JavaScript, no? Ecco, immaginate poi di dover targettare uno standard più vecchio di ES6… #mannaggia! Mancano sempre tutte le funzioni utili. Ogni tanto ciclicamente nella mia vita torna sempre questo problema, e ogni volta tocca usare #coreJS (o, realisticamente, quando le funzioni che mancano sono 2, si fa prima a sistemare il codice per funzionare con vie alternative). Solo che a sto giro ci ho messo un attimo a realizzare che il #WebView di sistema di #Android4.4 è fermo ad #ES5, credevo fosse messo meglio. 🤕
TypeError: Object [String] has no method 'startsWith', feat. dinosaurofono #Android 😵https://octospacc.altervista.org/2023/12/18/627/
#Android #Android4 #coreJS #ES5 #JavaScript #Mannaggia #WebView
-
Più o meno lo sapete quanto si soffre a programmare normalmente in #JavaScript, no? Ecco, immaginate poi di dover targettare uno standard più vecchio di ES6… #mannaggia! Mancano sempre tutte le funzioni utili. Ogni tanto ciclicamente nella mia vita torna sempre questo problema, e ogni volta tocca usare #coreJS (o, realisticamente, quando le funzioni che mancano sono 2, si fa prima a sistemare il codice per funzionare con vie alternative). Solo che a sto giro ci ho messo un attimo a realizzare che il #WebView di sistema di #Android4.4 è fermo ad #ES5, credevo fosse messo meglio. 🤕
TypeError: Object [String] has no method 'startsWith', feat. dinosaurofono #Android 😵https://octospacc.altervista.org/2023/12/18/627/
#Android #Android4 #coreJS #ES5 #JavaScript #Mannaggia #WebView
-
Più o meno lo sapete quanto si soffre a programmare normalmente in #JavaScript, no? Ecco, immaginate poi di dover targettare uno standard più vecchio di ES6… #mannaggia! Mancano sempre tutte le funzioni utili. Ogni tanto ciclicamente nella mia vita torna sempre questo problema, e ogni volta tocca usare #coreJS (o, realisticamente, quando le funzioni che mancano sono 2, si fa prima a sistemare il codice per funzionare con vie alternative). Solo che a sto giro ci ho messo un attimo a realizzare che il #WebView di sistema di #Android4.4 è fermo ad #ES5, credevo fosse messo meglio. 🤕
TypeError: Object [String] has no method 'startsWith', feat. dinosaurofono #Android 😵https://octospacc.altervista.org/2023/12/18/627/
#Android #Android4 #coreJS #ES5 #JavaScript #Mannaggia #WebView
-
Più o meno lo sapete quanto si soffre a programmare normalmente in #JavaScript, no? Ecco, immaginate poi di dover targettare uno standard più vecchio di ES6… #mannaggia! Mancano sempre tutte le funzioni utili. Ogni tanto ciclicamente nella mia vita torna sempre questo problema, e ogni volta tocca usare #coreJS (o, realisticamente, quando le funzioni che mancano sono 2, si fa prima a sistemare il codice per funzionare con vie alternative). Solo che a sto giro ci ho messo un attimo a realizzare che il #WebView di sistema di #Android4.4 è fermo ad #ES5, credevo fosse messo meglio. 🤕
TypeError: Object [String] has no method 'startsWith', feat. dinosaurofono #Android 😵https://octospacc.altervista.org/2023/12/18/627/
#Android #Android4 #coreJS #ES5 #JavaScript #Mannaggia #WebView
-
*reads trough the current readme on core-js and can only shake her head*
Most devs and enterprises seem to be ignorant assholes. Plain and simple. That man single-handedly made it possible to use new JS on old browsers and for that he gets fucked over and over. Not even a single nice word but constant flames, treats and hate.
What the actual fuck... are you folks not right in the head or what? I thought we FOSS people are better. 😾 -
*reads trough the current readme on core-js and can only shake her head*
Most devs and enterprises seem to be ignorant assholes. Plain and simple. That man single-handedly made it possible to use new JS on old browsers and for that he gets fucked over and over. Not even a single nice word but constant flames, treats and hate.
What the actual fuck... are you folks not right in the head or what? I thought we FOSS people are better. 😾 -
*reads trough the current readme on core-js and can only shake her head*
Most devs and enterprises seem to be ignorant assholes. Plain and simple. That man single-handedly made it possible to use new JS on old browsers and for that he gets fucked over and over. Not even a single nice word but constant flames, treats and hate.
What the actual fuck... are you folks not right in the head or what? I thought we FOSS people are better. 😾 -
In der neuen Folge sprechen wir u. a. über #corejs und Open Source Finanzierung, die Probleme im #React Ökosystem und widmen uns am Ende "nur einem Film" im Konsum. Immerhin waren wir uns einig, dass Bilbo einer der Guten ist. https://ready-for-review.dev/2023/03/01/rfr042-alle-bose-ausser-bilbo/
-
In der neuen Folge sprechen wir u. a. über #corejs und Open Source Finanzierung, die Probleme im #React Ökosystem und widmen uns am Ende "nur einem Film" im Konsum. Immerhin waren wir uns einig, dass Bilbo einer der Guten ist. https://ready-for-review.dev/2023/03/01/rfr042-alle-bose-ausser-bilbo/
-
In der neuen Folge sprechen wir u. a. über #corejs und Open Source Finanzierung, die Probleme im #React Ökosystem und widmen uns am Ende "nur einem Film" im Konsum. Immerhin waren wir uns einig, dass Bilbo einer der Guten ist. https://ready-for-review.dev/2023/03/01/rfr042-alle-bose-ausser-bilbo/
-
In der neuen Folge sprechen wir u. a. über #corejs und Open Source Finanzierung, die Probleme im #React Ökosystem und widmen uns am Ende "nur einem Film" im Konsum. Immerhin waren wir uns einig, dass Bilbo einer der Guten ist. https://ready-for-review.dev/2023/03/01/rfr042-alle-bose-ausser-bilbo/
-
In der neuen Folge sprechen wir u. a. über #corejs und Open Source Finanzierung, die Probleme im #React Ökosystem und widmen uns am Ende "nur einem Film" im Konsum. Immerhin waren wir uns einig, dass Bilbo einer der Guten ist. https://ready-for-review.dev/2023/03/01/rfr042-alle-bose-ausser-bilbo/
-
오픈소스 라이브러리 개발자의 호소
"core-js 유지보수는 데니스 푸시카레프(Denis Pushkarev)라는 개발자 단 1명이 하고 있지만 그가 지원을 요청하는 글을 깃허브에 요청했다."
https://techrecipe.co.kr/posts/50799 -
오픈소스 라이브러리 개발자의 호소
"core-js 유지보수는 데니스 푸시카레프(Denis Pushkarev)라는 개발자 단 1명이 하고 있지만 그가 지원을 요청하는 글을 깃허브에 요청했다."
https://techrecipe.co.kr/posts/50799 -
오픈소스 라이브러리 개발자의 호소
"core-js 유지보수는 데니스 푸시카레프(Denis Pushkarev)라는 개발자 단 1명이 하고 있지만 그가 지원을 요청하는 글을 깃허브에 요청했다."
https://techrecipe.co.kr/posts/50799 -
L'affaire de #corejs... J'ai du mal à croire que parmi tout le backslash que se prend l'auteur de cette lib énormément utilisée depuis des années, tout ça parce qu'il demande un soutien financier, certains avancent l'argument "c'est un russe. Si vous lui donnez de l'argent, vous financez la guerre !"
Par contre profiter de son travail tout ce temps, ça on s'en foutait tant qu'il ne demandait rien.
Et le bonhomme d'insister : "si vous voulez forker, et maintenir le projet, allez-y, vraiment."
-
L'affaire de #corejs... J'ai du mal à croire que parmi tout le backslash que se prend l'auteur de cette lib énormément utilisée depuis des années, tout ça parce qu'il demande un soutien financier, certains avancent l'argument "c'est un russe. Si vous lui donnez de l'argent, vous financez la guerre !"
Par contre profiter de son travail tout ce temps, ça on s'en foutait tant qu'il ne demandait rien.
Et le bonhomme d'insister : "si vous voulez forker, et maintenir le projet, allez-y, vraiment."
-
Please, be mindful of the fact, that if you buy into this drama financially, or otherwise donate to the project's author on a regular basis, you are essentially funding #russian war in #Ukraine (hopefully you understand the mechanics of taxes and residency). This is about the principle, not the actual amount.
#corejs #opensource #CancelRussia #StandWithUkraine
https://onengineering.substack.com/p/core-js-is-holding-the-internet-hostage
-
Please, be mindful of the fact, that if you buy into this drama financially, or otherwise donate to the project's author on a regular basis, you are essentially funding #russian war in #Ukraine (hopefully you understand the mechanics of taxes and residency). This is about the principle, not the actual amount.
#corejs #opensource #CancelRussia #StandWithUkraine
https://onengineering.substack.com/p/core-js-is-holding-the-internet-hostage
-
Please, be mindful of the fact, that if you buy into this drama financially, or otherwise donate to the project's author on a regular basis, you are essentially funding #russian war in #Ukraine (hopefully you understand the mechanics of taxes and residency). This is about the principle, not the actual amount.
#corejs #opensource #CancelRussia #StandWithUkraine
https://onengineering.substack.com/p/core-js-is-holding-the-internet-hostage
-
Please, be mindful of the fact, that if you buy into this drama financially, or otherwise donate to the project's author on a regular basis, you are essentially funding #russian war in #Ukraine (hopefully you understand the mechanics of taxes and residency). This is about the principle, not the actual amount.
#corejs #opensource #CancelRussia #StandWithUkraine
https://onengineering.substack.com/p/core-js-is-holding-the-internet-hostage
-
Please, be mindful of the fact, that if you buy into this drama financially, or otherwise donate to the project's author on a regular basis, you are essentially funding #russian war in #Ukraine (hopefully you understand the mechanics of taxes and residency). This is about the principle, not the actual amount.
#corejs #opensource #CancelRussia #StandWithUkraine
https://onengineering.substack.com/p/core-js-is-holding-the-internet-hostage
-
If you care about #OpenSource or Internet infrastructure, zloirock (Denis Pushkarev)'s post about #corejs is a must-read:
[So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)
[So, what's next discussion](https://github.com/zloirock/core-js/issues/1179)
Background on polyfills, https://en.wikipedia.org/wiki/Polyfill_(programming)
Disclaimer: zloirock's story seems reasonable and plausible (and sad and crazy-making), but I don't have direct personal knowledge or experience in the matter. Caveat lector.
-
If you care about #OpenSource or Internet infrastructure, zloirock (Denis Pushkarev)'s post about #corejs is a must-read:
[So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)
[So, what's next discussion](https://github.com/zloirock/core-js/issues/1179)
Background on polyfills, https://en.wikipedia.org/wiki/Polyfill_(programming)
Disclaimer: zloirock's story seems reasonable and plausible (and sad and crazy-making), but I don't have direct personal knowledge or experience in the matter. Caveat lector.
-
If you care about #OpenSource or Internet infrastructure, zloirock (Denis Pushkarev)'s post about #corejs is a must-read:
[So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)
[So, what's next discussion](https://github.com/zloirock/core-js/issues/1179)
Background on polyfills, https://en.wikipedia.org/wiki/Polyfill_(programming)
Disclaimer: zloirock's story seems reasonable and plausible (and sad and crazy-making), but I don't have direct personal knowledge or experience in the matter. Caveat lector.
-
If you care about #OpenSource or Internet infrastructure, zloirock (Denis Pushkarev)'s post about #corejs is a must-read:
[So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)
[So, what's next discussion](https://github.com/zloirock/core-js/issues/1179)
Background on polyfills, https://en.wikipedia.org/wiki/Polyfill_(programming)
Disclaimer: zloirock's story seems reasonable and plausible (and sad and crazy-making), but I don't have direct personal knowledge or experience in the matter. Caveat lector.
-
If you care about #OpenSource or Internet infrastructure, zloirock (Denis Pushkarev)'s post about #corejs is a must-read:
[So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)
[So, what's next discussion](https://github.com/zloirock/core-js/issues/1179)
Background on polyfills, https://en.wikipedia.org/wiki/Polyfill_(programming)
Disclaimer: zloirock's story seems reasonable and plausible (and sad and crazy-making), but I don't have direct personal knowledge or experience in the matter. Caveat lector.
-
Hoje li todo o post do desenvolvedor do #corejs e me ocorreu que: as fundações relacionadas com software livre poderiam criar uma força de trabalho para identificar projetos #FOSS que estejam em situações similares e buscar formas de ajudá-los a se tornarem sustentáveis.
Convido todos a ler na íntegra:
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md -
Oggi video più lungo e con più considerazioni personali, parliamo della vicenda #corejs
-
-
-
-
-
core-js 是一个每周下载量超过 4000 万次的 npm 包。根据作者的统计,Alexa 排名前 1000 的网站中,52% 的站点都有使用 core-js。
core-js 作者 zloirock 在文章提到,为了开发 core-js,他从全职工作中离职,回到生活成本较低的俄罗斯,拿着起初每月 $2500,现在由于各种制裁与捐助者的变动,只有每月 $400 的赞助。一场交通事故的调解,使 zloirock 需要负担被大量的律师费后,无法负担 $80k 的赔偿,最终入狱。除了全职开源带来的经济问题之外,Javascript 标准委员会 TC39 的拒绝合作,npm fund 的几无效果,人们的漠视、谩骂、幸灾乐祸,西方记者对俄罗斯开发者的恶意推定等也都深深伤害了 zloirock。正如文章开头的总结一样,zloirock 称,开源 core-js 可能是他一生中的最大错误。
文末,zloirock 讲述了 core-js 可能的后续发展:或是在获得合理赞助支持下继续保持开源开发、或是被受雇的开发者继续开源开发、或是将大量功能置入收费商业版,抑或是在无人问津后逐渐消亡。zloirock 也提及了一些 core-js 的未来发展及新功能,包括统一 polyfill 版本、针对用户浏览器定制 polyfill 等。
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
seealso: HackerNews:34780859
#corejs #Opensource
Telegram 原文 -
Well written blog from Denis Pushkarev about the state of core-js (yes, the "looking for a good job" guy), and his situation as a FOSS maintainer. It's easy to make fun of the core-js output, but it's important to understand where he's coming from and how little core-js gets for being used on 500+ of the Top 1000 websites. Longer blog, but definitely worth a read.
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
#foss #corejs #oss #opensource -
Well written blog from Denis Pushkarev about the state of core-js (yes, the "looking for a good job" guy), and his situation as a FOSS maintainer. It's easy to make fun of the core-js output, but it's important to understand where he's coming from and how little core-js gets for being used on 500+ of the Top 1000 websites. Longer blog, but definitely worth a read.
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
#foss #corejs #oss #opensource -
Well written blog from Denis Pushkarev about the state of core-js (yes, the "looking for a good job" guy), and his situation as a FOSS maintainer. It's easy to make fun of the core-js output, but it's important to understand where he's coming from and how little core-js gets for being used on 500+ of the Top 1000 websites. Longer blog, but definitely worth a read.
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
#foss #corejs #oss #opensource -
Well written blog from Denis Pushkarev about the state of core-js (yes, the "looking for a good job" guy), and his situation as a FOSS maintainer. It's easy to make fun of the core-js output, but it's important to understand where he's coming from and how little core-js gets for being used on 500+ of the Top 1000 websites. Longer blog, but definitely worth a read.
https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
#foss #corejs #oss #opensource