博文

Scripting News: Thursday, December 21, 2023

图片
Thursday, December 21, 2023 This is the time of year every day feels like Saturday. # ChatGPT is my CSS advisor # People who don't program must not have any idea how much of a boon ChatGPT is to us programmers. # I am doing CSS coding far in advance of my previous capability. When I know something is possible, but I haven't the slightest idea how to specify it, I just ask, in my own words. # For example, a very common thing to want to do is to put a : after the text in the first column every row of a table. # So I asked ChatGPT how to do it, in English, as I did above. This is what it came up with: # tr td:first-child::after {content: ":";} # When you see it like that you can almost figure out what's going on if you squint and close one eye. # And it works. I literally shrieked when it did. # Now I am the boss of CSS.. # Nice. # If FeedLand were from Disney # A beautif...

《中国禁止出口限制出口技术目录》修订发布

图片
OneNews 《中国禁止出口限制出口技术目录》修订发布 Dec 21, 2023 · 1 min read 新华社北京12月21日电(记者谢希瑶、潘德鑫)12月21日,商务部会同科技部修订发布《中国禁止出口限制出口技术目录》。技术条目由164项压缩至134项,共删除34项技术条目,新增4项,修改37项。 商务部服贸司负责人介绍,根据《中华人民共和国对外贸易法》和《中华人民共和国技术进出口管理条例》,商务部会同科技部制定、调整并公布禁止和限制出口技术目录,以规范技术出口管理,维护技术出口秩序,促进对外经济技术合作,维护国家经济技术权益。目录于2008年、2020年两次调整,此次修订是适应技术发展形势变化、根据技术贸易管理工作需要,依法对目录进行的例行调整。本次目录修订充分征求了相关部门、行业协会、业界学界和社会公众意见。 一是删除绿色植物生产调节剂制造技术等6项禁止出口的技术条目,以及医用诊断器械及设备制造技术、目标特征提取及识别技术等28项限制出口的技术条目。 二是新增1项禁止类技术条目,即用于人的细胞克隆和基因编辑技术。新增农作物杂交优势利用技术、散料装卸输送技术、激光雷达系统等3项限制出口的技术条目,经营主体可依法按照许可程序进行出口申请。 三是对37项技术条目的控制要点和技术参数进行调整,涉及中药材资源及生产等6项禁止出口的技术条目,以及经济作物栽培繁育技术、有色金属冶金技术、大型高速风洞设计建设技术等31项限制出口的技术条目。 这位负责人表示,根据《中华人民共和国技术进出口管理条例》,技术出口是指从中国境内向境外,通过贸易、投资或者经济技术合作的方式转移技术的行为。属于目录禁止出口的技术,不得出口。属于限制出口的技术,实行许可证管理;未经许可,不得出口。属于自由出口的技术,实行合同登记管理。经营主体应对照目录,按照《中华人民共和国技术进出口管理条例》《禁止出口限制出口技术管理办法》《技术进出口合同登记管理办法》等规定,履行有关出口许可、合同登记等手续。 Read on web Add a comment © 2023 OneNews 8 The Green, Ste 300, Dover, Delaware, 19901 Unsubscribe Publis...

Scripting News: Wednesday, December 20, 2023

图片
Wednesday, December 20, 2023 If we had met in the late 80s and early 90s and we were talking about where technology should go next, I would have talked endlessly about creating apps out of apps. It means being able to write scripts that use an application as a scriptable toolbox, going behind the user interface. I was developing a product around that idea called Frontier. It all happened, and played a big role in making the Mac the ideal development platform for the web when it came along, in the early-late 90s. Unfortunately Apple's top people didn't get this, and wiped out the whole developer community in one press conference. The ideas were still useful and we're using them every day, but not really aware of it. End of speech. # I asked ChatGPT for a list of Motown songs with a strong fast beat good for dancing. Now I want to play the list in Amazon music. Is there a way to do this? # Technical note: I've observed that GMail is refusing to show t...

为加快建设农业强国而努力奋斗——从中央农村工作会议看2024年“三农”工作战略部署

图片
OneNews 为加快建设农业强国而努力奋斗——从中央农村工作会议看2024年"三农"工作战略部署 Dec 20, 2023 · 1 min read 中央农村工作会议19日至20日在北京召开。会前,中央政治局常委会会议就开好这次会议,做好"三农"工作提出明确要求。习近平总书记对"三农"工作作出重要指示。 习近平总书记强调,各级党委和政府要坚定不移贯彻落实党中央关于"三农"工作的决策部署,坚持农业农村优先发展,坚持城乡融合发展,把责任扛在肩上、抓在手上,结合实际创造性开展工作,有力有效推进乡村全面振兴,以加快农业农村现代化更好推进中国式现代化建设。 明年是中华人民共和国成立75周年,是实施"十四五"规划的关键一年,稳住农业基本盘、做好"三农"工作具有重要意义。这次重要会议研究部署了哪些农业农村重点工作?下一步如何发力?记者第一时间采访了有关专家,深入解读会议精神。 夯实粮食安全"压舱石" 保障粮食和重要农产品稳定安全供给始终是建设农业强国的头等大事。 习近平总书记强调:"要全面落实粮食安全党政同责,坚持稳面积、增单产两手发力。"此次会议提出,"抓好粮食和重要农产品生产,稳定粮食播种面积,推动大面积提高粮食单产""确保2024年粮食产量保持在1.3万亿斤以上""加强耕地保护和建设"。 这是2023年9月13日拍摄的黑龙江省宁安市渤海镇小朱家村附近的稻田(无人机照片)。新华社记者 王建威 摄 今年粮食生产克服黄淮罕见"烂场雨"、华北东北局地严重洪涝、西北局部干旱等不利因素影响,全年粮食产量连续9年稳定在1.3万亿斤以上,肉蛋奶和蔬菜水果、水产品等供应充足,为保持经济社会大局稳定、应对各种风险挑战奠定坚实基础。 中国科学院院士钱前表示,今年粮食丰收是在应对自然灾害频发的背景下取得的,实属不易,主要得益于各级政府落实粮食安全责任,农民群众努力耕耘,支农惠农政策得力,良田良种良法共同发力等。 "国内庞大的人口基数叠加消费不断升级,粮食需求仍在刚性增长,全球农产品贸易不确定性增强,必须全方位夯实粮...

🔥 (#144) I've got a Christmas gift for you

图片
Hey! Welcome to edition 12^2 of the newsletter. Christmas is in a few days, so what better way to celebrate than with a gift? I've been working on the second edition of Vue Tips Collection, and I want to give you the first two chapters for free, 30 tips in total: ​ Vue Tips Collection 2 (Preview).pdf ​ The full book has 118 tips, including 47 brand new ones. All tips in the book have been re-written for Vue 2, Vue 3, and the Composition API and Options API. Oh, and there's a limited number of hardcovers as well. But I'll tell you more about the book and everything else on January 9th. For now, enjoy the preview, and enjoy the holidays! And enjoy your tips, as always. — Michael 🔥 Don't Override Component CSS It can be really tempting to quickly modify a component's CSS from outside the component. If all you need is a slight modification, it seems harmless — bu...