博文

目前显示的是 十二月 27, 2023的博文

Scripting News: Wednesday, December 27, 2023

图片
Wednesday, December 27, 2023 The NYT is suing ChatGPT for ingesting their archive. I understand why they would sue now, for legal reasons, but before they had their own service up, assuming they are developing one, it's kind of selfish of them to keep the Times content out of the mix. We're failing at a number of big challenges (climate, guns, abortion, democracy, racial hate, wars), with everyone's future at stake. They could grant ChatGPT a license until at least they had their own product up. That would send the right message, our journalism is an aid to our survival, and we wanted to be sure you had access to the paper of record, now and in the future. Instead they want to take their data out of the mix, and who knows if they ever plan to get it back in. This is a far cry from the NYT that helped get our news systems on the web established in the 90s and 00s. # I'm going to write rebuttals to important Wikipedia pages that get the story wrong. In t

开局之年,习近平的外交故事

图片
OneNews 开局之年,习近平的外交故事 Dec 27, 2023 · 1 min read 今年是全面贯彻党的二十大精神开局之年。中华民族伟大复兴战略全局和世界百年未有之大变局相互交织、相互激荡,世界之变、时代之变、历史之变正以前所未有的方式展开。 "历史一再证明,一个国家、一个地区要振兴,就必须在历史前进的逻辑中前进,在时代发展的潮流中发展。"习近平主席深刻把握历史和时代大势,深刻揭示中国同世界密切互动的内在逻辑。 2023年,中国特色大国外交踏上新的征程。习近平主席4次出访,在国内数十次会晤到访的各国各界人士,主持或出席首届中国-中亚峰会、第三届"一带一路"国际合作高峰论坛、杭州第19届亚运会开幕式、成都第31届世界大学生夏季运动会开幕式等重大主场活动。 一次次以心相交的互动,一幕幕温暖人心的画面,一则则令人难忘的元首外交故事…… (一)"解决人类社会面临的麻烦离不开大国合作" 3月的莫斯科,清冽的空气里涌动着早春的暖意。 再次当选国家主席后首次出访,习近平又一次踏上俄罗斯的土地,开启举世瞩目的友谊之旅、合作之旅、和平之旅。 克里姆林宫宽敞明亮的会客厅里,白色小方桌上鲜花盛开。20日下午,普京总统以这样温馨的布置,迎接老朋友习近平主席。 两位领导人促膝而谈,直到夜色渐深。普京总统到门口送别,相约次日再见。 21日,亚历山大厅灯光璀璨,金色大门缓缓敞开。两名礼兵行礼致敬,习近平主席同普京总统并肩走来。 小范围会谈、大范围会谈、签字仪式、共见记者、欢迎宴会,两国元首交流长达6个小时。 当地时间3月21日下午,国家主席习近平在莫斯科克里姆林宫同俄罗斯总统普京举行会谈。这是会谈后,两国元首共同签署《中华人民共和国和俄罗斯联邦关于深化新时代全面战略协作伙伴关系的联合声明》和《中华人民共和国主席和俄罗斯联邦总统关于2030年前中俄经济合作重点方向发展规划的联合声明》。新华社记者 谢环驰 摄 习近平主席深刻指出:"中俄互为彼此最大邻国,同俄罗斯巩固和发展长期睦邻友好关系,符合历史逻辑,是中方的战略抉择,不会因一时一事而改变。" 在两国元首引领下,2023年,中俄各层级交往不断推进,双边贸易额提前实现2000亿美元目标,展现出两国互利合作的强大韧性和广阔前景。 放眼全球,大

🔥 (#145) Reassigning and Reactivity

图片
Hey! I hope you're enjoying your holidays 🎄 This is a pre-scheduled newsletter, since I'm spending this week with family. Last week I shared a preview of the upcoming second edition of Vue Tips Collection. You can download it here if you missed it: ​ Vue Tips Collection 2 (Preview).pdf ​ ​ It's going to be released January 9th. Anyway, enjoy these tips and I'll see you in the new year! — Michael 🔥 Reassigning and Reactivity Reactive values cannot be reassigned how you might expect: const  myReactiveArray  =   reactive ( [ 1 ,   2 ,   3 ] ) ; watchEffect ( ( )   =>   console . log ( myReactiveArray ) ) ; // "[1, 2, 3]" myReactiveArray  =   [ 4 ,   5 ,   6 ] ; // The watcher never fires // We've replaced it with an entirely new, non-reactive object This is because the reference to the previous object is overwritten by the reference to