博文

Scripting News: Monday, January 29, 2024

图片
Monday, January 29, 2024 I have bad news. This is what the bots think we look like. # A note to people who make feeds, software that generates feeds, readers of feeds and everyone else. FeedLand is here as a way for me to get new ideas into the feediverse . I'd like people to hear me. It would have been nice if it were possible to help without spending all this time making FeedLand, but that's the way it goes. I'm not patenting any of it, and it's all open source. At some point, the service, which I'm partnering with Automattic with on, will be a for-profit venture, but not yet. And my main purpose is not the money, it's the ideas, the progress. # Some standards come from users and developers. Imho those are the best. Like Markdown and RSS. # Screen shot of 1984 Mac desktop. Was looking for this everywhere. Now hopefully next time I'll find it. # Wouldn't it be great if sites were rated on how good their archive is, so you'd...

以人民为中心推动文化建设

图片
OneNews 以人民为中心推动文化建设 Jan 29, 2024 · 1 min read 以人民为中心的工作导向体现了我们党领导和推动文化建设的鲜明立场。 深入学习贯彻习近平文化思想,必须牢牢站稳人民立场,尊重人民主体地位,保障人民文化权益,促进满足人民文化需求和增强人民精神力量相统一,增强人民群众文化获得感、幸福感。 "不断解决好'为了谁、依靠谁、我是谁'这个根本问题" 新年伊始,中国戏曲学院等单位主办的"京韵悠长·国粹华章"京剧音乐二百年巡礼在国家大剧院上演,近百位艺术家的精彩演出,赢得观众阵阵掌声、喝彩。 以人民为中心的作品,才能更好深入人心。 2020年10月23日,习近平总书记给中国戏曲学院师生回信,勉励他们"在教学相长中探寻艺术真谛,在服务人民中砥砺从艺初心"。3年多来,桃李芬芳,德艺双馨。 党的十八大以来,以习近平同志为核心的党中央,坚持文化发展为了人民、文化发展依靠人民、文化发展成果由人民共享,推动社会主义文化繁荣发展,人民精神文化生活愈发丰富。 这是始终如一的初心使命—— 1942年5月,延安文艺座谈会召开。毛泽东同志指出:"为什么人的问题,是一个根本的问题,原则的问题。" 2014年10月,文艺工作座谈会在北京召开。习近平总书记强调:"社会主义文艺,从本质上讲,就是人民的文艺。" 时隔72年的两次座谈会,为人民服务的主题一脉相承。 "在围绕中心、服务大局中找准坐标定位,牢记社会责任,不断解决好'为了谁、依靠谁、我是谁'这个根本问题。"2016年2月,习近平总书记在党的新闻舆论工作座谈会上的重要讲话正本清源。 这是人民至上的价值追求—— 全国已建成公共图书馆超3300个,文化馆和博物馆超1万家;所有公共图书馆、文化馆、美术馆、综合文化站和90%以上博物馆免费开放……一系列"硬核"数据,彰显我国文化"软实力"的提升,也彰显文化建设以人民为中心的价值旨归。 人民性是马克思主义的本质属性,人民立场是中国共产党的根本政治立场。 "要把实现好、维护好、发展好最广大人民根本利益作为出发点和落...

Weekly Vue News #130 - Nuxt Runtime (App) Properties

图片
Weekly Vue News #130 Nuxt Runtime (App) Properties View online Hi 👋 You might have noticed that the newsletter's design changed a bit. I did a large refactoring of the code, and now I use Vue Mail instead of my custom rendering solution that was based on Nuxt Content and mjml. As a result, I have a much more maintainable code base and a well-tested rendering library for my emails. Let me know if you encounter any issues with the new issues. Have a nice week ☀️ Sponsored Win a free ticket for Vue.js Amsterdam 2024 🏆 Win a FREE ticket to attend the Vue.js Amsterdam Conference 2024 ✨ I teamed up with the Vue.js Amsterdam Conference to raffle one ticket to the conference. 👉 Participate here Vue 📕 The Building Blocks of a Greenfield Vue Application in 2024 👉🏻 A list of all the industry-standard tools in the Vue ecosystem. 📕 Globalize Your Vue App: A Practical Guide to Vue 3 Internationalization 👉🏻 A step-by-step guide to creating an international website with Vue 3 and Vite....

Scripting News: Sunday, January 28, 2024

图片
Sunday, January 28, 2024 Morning ChatGPT Notes # I spent a couple of days putting together a JSON text editor in a modal dialog for a project I'm working on. I'm combining the Ace editor with the Bootstrap toolkit . I've used both components before, but never together. And they're always a bit tricky to get working because I'm impatient and the docs are spread out, and there are different versions. It's all kind of a mess, so you just get it working and move on, never quite sure why it works, and I rarely end up with reusable code. But it's certainly a lot better than starting from scratch, which basically is impossible, given the depth of the two components. After spinning my wheels a bit, I did what I always do in 2024, I turned to ChatGPT, outlined the problem, and asked if it knew of any sample code, which it proceeded to write for me, in about two seconds (not kidding about that). I copied their code and pasted it into my edi...

掌握信息化条件下舆论主导权、广泛凝聚社会共识

图片
OneNews 掌握信息化条件下舆论主导权、广泛凝聚社会共识 Jan 28, 2024 · 1 min read 习近平总书记深刻指出,舆论导向正确,就能凝聚人心、汇聚力量,推动事业发展;舆论导向错误,就会动摇人心、瓦解斗志,危害党和人民事业。 当今世界信息技术日新月异,数字化、网络化、智能化深入发展。掌握信息化条件下舆论主导权、广泛凝聚社会共识,是巩固壮大主流思想文化的必然要求。 新形势下,我们要深入学习贯彻习近平文化思想,肩负起做好舆论工作、营造良好舆论环境的职责使命,为推动改革发展各项工作、增进全国各族人民团结、维护社会和谐稳定作出新的更大贡献。 "必须坚持巩固壮大主流思想舆论,弘扬主旋律,传播正能量,激发全社会团结奋进的强大力量" 做好党的新闻舆论工作,事关全党全国各族人民凝聚力和向心力,事关党和国家前途命运。 在"两个大局"加速演进并深度互动的时代背景下,面对网络舆论乱象丛生、思想文化相互激荡、价值观念多元多样带来的挑战,如何有效引导舆论,在多元中立主导、在多样中谋共识、在多变中把方向? 习近平总书记深刻指出:"我们正在进行具有许多新的历史特点的伟大斗争,面临的挑战和困难前所未有,必须坚持巩固壮大主流思想舆论,弘扬主旋律,传播正能量,激发全社会团结奋进的强大力量。" 党的十八大以来,习近平总书记准确把握信息化时代的"时"与"势",对做好新闻舆论工作作出重要指示,为在新形势下巩固全党全国人民团结奋斗的共同思想基础,提供了根本遵循—— 前进方向更明确。"坚持正确政治方向""坚持正确舆论导向""坚持正确新闻志向""坚持正确工作取向",新闻舆论战线以党的旗帜为旗帜、以党的方向为方向、以党的意志为意志,坚持党性和人民性相统一,树立以人民为中心的工作导向,把体现党的主张和反映人民心声统一起来。 使命任务更清晰。牢记"高举旗帜、引领导向,围绕中心、服务大局,团结人民、鼓舞士气,成风化人、凝心聚力,澄清谬误、明辨是非,联接中外、沟通世界"职责使命,新闻舆论战线践行"四力"、开拓奋进,在新征程上书写新荣...

Guide: Dummy Payment App using MERN

图片
Manik's Blog Guide: Dummy Payment App using MERN A guide to creating a basic dummy payment app using MERN: MongoDb, express, React and Node, And Tailwind CSS for styling. Jan 28, 2024 · 5 min read Frameworks used: MongoDB Express JS Node JS React JS Library used: Zod Jsonwebtoken Mongoose Features: User can create account. User can log back into their account. User can view account balance. User can search for other users. User can make payment to other users. User can logout of their accounts. Payments App: Try: https://gorgeous-rolypoly-efa90b.netlify.app/ Github Link: https://github.com/maniksharma17/payment-app-basic Database I used MongoDB for database service. I imported mongoose library for an easy MongoDB connection. With mongoose, I defined two schemas and created models with them: userSchema for Users Collection accountSchema for Accounts collection const userSchema = new mongoose.Schema({ username : { type : String , required ...