当前位置: 首页 > news >正文

中国科学院大学研究生学术英语读写教程 Unit7 Materials Science TextA 原文和翻译

中国科学院大学研究生学术英语读写教程

Unit7 Materials Science TextA 原文和翻译

在这里插入图片描述
Why Is the Story of Materials Really the Story of Civilisation?
为什么材料的故事实际上就是文明的故事?
Mark Miodownik

1
Everything is made of something. Take away concrete, glass, textiles, metal, and the other materials from our lives and we are left naked, shivering in a muddy field. The sophistication of our lives is in a large part bestowed by material wealth, we would quickly revert to animal behaviour without the stuff of our civilisation: What makes us human is our clothes, our homes, our cities, our things, which we animate through our customs and language. This becomes very apparent if you ever visit a disaster zone. Thus the material world is not just a display of our technology and culture, it is part of us, we invented it, we made it and it makes us who we are.

一切都是由某种物质构成的。如果生活中没有了混凝土、玻璃、纺织品、金属和其他材料,我们就会赤身裸体,在泥泞的土地上瑟瑟发抖。我们生活的精致很大程度上是由物质财富赋予的,如果没有文明的物质,我们很快就会恢复到动物行为:让我们成为人类的是我们的衣着、我们的家园、我们的城市、我们的物品,我们通过我们的习俗和语言赋予它们生命。如果你去过灾区,这一点就会非常明显。因此,物质世界不仅仅是我们技术和文化的展示,它是我们的一部分,我们发明了它,我们制造了它,它成就了我们。

2
The fundamental importance of materials is made clear from the naming of ages of civilisations the stone, iron and bronze ages with each new era being brought about by a new material. Iron and steel were the defining materials of the Victorian era, allowing engineers to give full rein to their dreams of creating suspension bridges, railways, steam engines and passenger liners. Isambard Kingdom Brunel used them as a manifesto to transform the landscape and sow the seeds of modernism. The 20th century is often hailed as the age of silicon, after the breakthrough in materials science that ushered in the silicon chip and the information revolution. Yet a kaleidoscope of other new materials also revolutionised modern living. Architects took mass-produced sheet glass and combined it with structural steel to produce skyscrapers that invented a new type of city life. Plastics transformed our homes and dress. Polymers were used to produce celluloid and ushered in a new visual culture, the cinema. The development of aluminium alloys and nickel superalloys enabled us to fly cheaply and accelerated the collision of cultures. Medical and dental ceramics allowed us to rebuild ourselves and redefine disability and ageing - and as the term “plastic surgery” implies, materials are often the key to new treatments used to repair our faculties (hip replacements) or enhance our features (silicone implants for breast enlargement).

材料的重要性从文明时代的命名中可见一斑:石器时代、铁器时代和青铜时代,每个新时代都由一种新材料开创。钢铁是维多利亚时代的标志性材料,工程师们得以充分实现建造悬索桥、铁路、蒸汽机和客轮的梦想。伊桑巴德·金德姆·布鲁内尔以钢铁作为宣言,改变了景观,播下了现代主义的种子。20 世纪通常被誉为硅时代,因为材料科学的突破带来了硅芯片和信息革命。然而,其他新材料的万花筒也彻底改变了现代生活。建筑师将大批量生产的平板玻璃与结构钢结合起来,建造出摩天大楼,开创了一种新型的城市生活。塑料改变了我们的家居和服饰。聚合物被用来生产赛璐珞,开创了一种新的视觉文化——电影。铝合金和镍超合金的发展让我们能够廉价地飞行,并加速了文化的碰撞。医疗和牙科陶瓷使我们能够重建自我并重新定义残疾和衰老——正如“整形外科”一词所暗示的那样,材料通常是用于修复我们的能力(髋关节置换术)或增强我们的特征(用于隆胸的硅胶植入物)的新疗法的关键。

3
My obsession with materials started as a teenager. I was puzzled by their obscurity, despite being all around us. How many people can spot the difference between aluminium and steel? Woods are clearly different from one another, but how many people can say why? Plastics are confusing; who knows the difference between polythcnc and polypropylcnc? Eventually I cnrolled in a degree at Oxford University’s material science department, went on to do a PhD in jet engine alloys and am now professor of materials and society and director of the Institute of Making at University College London. On my journey I have found a hidden world of makers who create the stuff on which we all rely, from aircraft manufacturers to clothing makers. Materials are at the heart of every company I visit and it is hard not to conclude that although Google and Twitter may dominate technology headlines, and cosmologists may be most popular with the media, materials transformation is still what makes the world go around.

我对材料的痴迷始于青少年时期。尽管材料无处不在,但我却对它们的晦涩难懂感到困惑。有多少人能发现铝和钢之间的区别?木材之间显然存在差异,但有多少人能说出其中的原因?塑料令人困惑;谁知道聚乙烯和聚丙烯之间的区别?最后,我考上了牛津大学材料科学系,继续攻读喷气发动机合金博士学位,现在是伦敦大学学院材料与社会教授和制造研究所所长。在我的旅程中,我发现了一个隐藏的制造者世界,他们创造了我们所有人依赖的东西,从飞机制造商到服装制造商。材料是我访问的每家公司的核心,很难不得出这样的结论:尽管谷歌和推特可能占据科技头条,宇宙学家可能最受媒体欢迎,但材料转化仍然是推动世界运转的因素。

4
Starting next week in a new series of columns for Observer Tech Monthly I am going to tell the story of stuff. Each month I will pick a different material and uncover the human needs and desires that brought it into being, and decode the materials science and engineering behind it. Along the way, we will find that the real differences between materials are deep below the surface, a world that is shut off from most unless they have access to sophisticated scientific equipment. So to understand materiality is necessarily a journey into the inner space of materials. Pretty much the whole of materials science is concerned with the microscopic worlds. Doing so explains why some materials smell and others are odourless; why some can last for 1,000 years and others crumble in the sun; how some glass can be bulletproof, while a wine glass shatters at the slightest impact. The journey into this microscopic world reveals the science behind our food, our clothes, our gadgets, our jewellery, and of course our bodies.

从下周开始,我将在《观察家科技月刊》的新系列专栏中讲述物质的故事。每个月,我都会选择一种不同的材料,揭示人类产生这种材料的需求和欲望,并解读其背后的材料科学和工程。在此过程中,我们会发现材料之间的真正差异深藏在表面之下,除非人们能够使用先进的科学设备,否则大多数人都无法接触到这个世界。因此,要了解物质性,就必须深入材料的内部空间。几乎所有的材料科学都与微观世界有关。这样做可以解释为什么有些材料有气味,而另一些材料则无味;为什么有些材料可以保存 1000 年,而另一些材料在阳光下会碎裂;为什么有些玻璃可以防弹,而酒杯在轻微的撞击下就会破碎。进入这个微观世界的旅程揭示了我们的食物、衣服、小玩意、珠宝,当然还有我们的身体背后的科学。

5
Take for example, a piece of thread, which exists at the same scale as hair. It is a synthetic structure at the limit of our eyesight that has allowed us to make ropes, blankets, carpets, but most importantly, clothes. Textiles are one of the earliest synthetic materials; when we wear a pair of jeans we are wearing a miniature woven structure, the design of which is older than Stonehenge. Clothes have kept us warm and protected for all of recorded history, as well as keeping us fashionable. But they are hi-tech too. In the 20th century we learnt how to make space suits from textiles strong enough to protect astronauts on the moon as well as solid textiles for artificial limbs called carbon fibre composites.

以一根线为例,它与头发一样大小。它是我们视力所能及的极限范围内的合成结构,我们用它来制作绳索、毛毯、地毯,但最重要的是衣服。纺织品是最早的合成材料之一;当我们穿牛仔裤时,我们穿的是一种微型编织结构,其设计比巨石阵还要古老。自有记载以来,衣服一直为我们保暖、提供保护,也让我们保持时尚。但它们也属于高科技。在 20 世纪,我们学会了如何用强度足以保护月球上宇航员的纺织品制作太空服,以及用名为碳纤维复合材料的坚固纺织品制作假肢。

6
But there is more to materials than the science. Those who make things all have a different understanding of the practical, emotional and sensual aspect of their materials. For instance, we know the sounds of the doors in our houses, and can distinguish between someone leaving or entering from the subtle differences in keys rattling and hinges creaking. As a child I could always tell whether it was my mother or my father coming up the stairs, from the subtle differences in the sound of the creaky stairs. These acoustic personalities of buildings are often overlooked during the design process. Carpet makes a room feel warmer but also changes the acoustic signature of the room. The clickity-clack of high heels and the party they announce are muted; the squeak of rubber tennis soles and the sport they anticipate is banished; the comforting solid thump of sensible shoes on their way to work is no longer proclaimed. Installing carpet is a kind of auditory gag, which may of course be used intentionally for that purpose such as when designers want to create a sense of intimacy and calm. It is this diversity of material knowledge that I intend to capture in these columns.

但材料不仅仅是一门科学。制造物品的人对材料的实际、情感和感官方面都有不同的理解。例如,我们知道家里门的声音,可以通过钥匙的咔嗒声和铰链的吱吱声的细微差别来区分有人离开或进入。小时候,我总是能从吱吱作响的楼梯声音的细微差别中分辨出上楼梯的人是我妈妈还是我爸爸。这些建筑的声学特性在设计过程中经常被忽视。地毯让房间感觉更温暖,但也会改变房间的声学特征。高跟鞋的咔嗒声和它们预示的派对被减弱了;橡胶网球鞋的吱吱声和它们预示的运动被消除了;上班时舒适的鞋子发出的沉稳的砰砰声也不再被宣扬。铺地毯是一种听觉上的噱头,当然,设计师可能会故意用它来达到这个目的,比如当设计师想要创造一种亲密和平静的感觉时。我打算在这些专栏中捕捉这种材料知识的多样性。

7
Because materials are built from atoms, we cannot avoid talking about the rules that govern them, which are described by quantum mechanics. This means that as we enter the atomic world, we must abandon common sense, and talk instead of wave functions and electron states. More materials are being designed from scratch at this scale, and can perform seemingly impossible tasks. Silicon chips designed using quantum mechanics have already brought about the information age. Silicon is now changing the way we light our homes (light emitting diodes) and harvest energy from the sun (solar cells).

由于材料是由原子构成的,我们无法避免谈论控制原子的规则,这些规则由量子力学描述。这意味着,当我们进入原子世界时,我们必须抛弃常识,转而谈论波函数和电子状态。越来越多的材料正在以这种规模从头开始设计,并且可以完成看似不可能的任务。使用量子力学设计的硅芯片已经带来了信息时代。硅现在正在改变我们照亮家庭的方式(发光二极管)和从太阳中获取能量的方式(太阳能电池)。

8
The central idea behind materials science is that changes at invisibly small scales manifest themselves as changes in a material’s behaviour at the human scale. It is this process that our ancestors stumbled upon to make bronze and steel, even though they did not have the microscopes to see what they were doing - an amazing achievement. When you hit a piece of metal you are not just changing its shape, you are changing the inner structure of the metal, which is why metals get harder when you hit them. Our ancestors knew this from experience but didn’t know why. Nevertheless this gradual accumulation of knowledge got us to the 20th century before any real appreciation of the structure of materials was understood. In these columns I will be championing this skill of making. This is not just because it is the hallmark of human civilisation but because the deindustrialisation of the developed world has devalued making.

材料科学的核心思想是,在肉眼看不见的微小尺度上的变化会以人类尺度上材料行为的变化的形式表现出来。我们的祖先偶然发现了这一过程,并用它来制造青铜和钢铁,尽管他们当时没有显微镜来观察他们在做什么——这是一项了不起的成就。当你敲击一块金属时,你不仅会改变它的形状,还会改变金属的内部结构,这就是为什么敲击金属会使其变硬的原因。我们的祖先从经验中知道这一点,但不知道为什么。然而,这种知识的逐渐积累使我们在 20 世纪才真正理解了材料的结构。在这些专栏中,我将倡导这种制造技能。这不仅是因为它是人类文明的标志,还因为发达国家的去工业化贬值了制造的价值。

9
Making is not just an economic activity, it is the equal of literature, performance or mathematics as a form of human expression. By eschewing material knowledge we cease to understand the world around us. We wring our hands about climate change or urban sprawl without any recognition that our ignorance of materiality might be the cause. We feel proud of the technological marvel that is a smartphone, and yet we upgrade ditch one for a newer model - at the first opportunity. We may assuage our conscience by hoping that they are recycled with some technology equal in sophistication to their fabrication techniques but they are not; most are disposed of in industrial blenders.

制造不仅仅是一种经济活动,它与文学、表演或数学一样,都是人类表达的一种形式。通过回避物质知识,我们不再理解我们周围的世界。我们对气候变化或城市扩张感到忧心忡忡,却没有意识到我们对物质的无知可能是原因。我们为智能手机这一技术奇迹感到自豪,但一有机会,我们就会把一部智能手机换成新款。我们可能会希望这些智能手机能用某种与其制造技术相当的先进技术进行回收,以减轻我们的良心不安,但事实并非如此;大多数智能手机都被扔进了工业搅拌机。

10
The ages of civilisation are named after materials precisely because they transformed and shaped society. By distancing ourselves from the act of making, by buying and consuming stuff but never having any experience of their manufacture, the developed world finds itself not to be the illiterate society that education ministers fear, but an unmakerly society. In my view this practical ignorance is every bit as dangerous to a modern democracy as a lack of literacy. By swopping a material and industrial understanding of the world for one based on facts and information, we find ourselves uncivilised in a different way.

文明时代以材料命名,正是因为它们改变并塑造了社会。通过远离制造行为,通过购买和消费物品,但从未体验过它们的制造,发达国家发现自己不是教育部长们担心的文盲社会,而是一个没有制造的社会。在我看来,这种实践上的无知对现代民主的危害丝毫不亚于缺乏识字。通过用事实和信息取代对世界的物质和工业理解,我们发现自己以另一种方式变得不文明。

11
This series of columns won’t be an exhaustive survey of materials, nor a catalogue of the most important ones. But I will aim to capture the fabric of our lives through materiality. After all, everything is made of something.

本系列专栏不会对材料进行详尽的调查,也不会列出最重要的材料。但我的目标是通过物质性来捕捉我们生活的构造。毕竟,一切都是由某种东西构成的。

相关文章:

中国科学院大学研究生学术英语读写教程 Unit7 Materials Science TextA 原文和翻译

中国科学院大学研究生学术英语读写教程 Unit7 Materials Science TextA 原文和翻译 Why Is the Story of Materials Really the Story of Civilisation? 为什么材料的故事实际上就是文明的故事? Mark Miodownik 1 Everything is made of something. Take away co…...

win10中使用ffmpeg和MediaMTX 推流rtsp视频

在win10上测试下ffmpeg推流rtsp视频,需要同时用到流媒体服务器MediaMTX 。ffmpeg推流到流媒体服务器MediaMTX ,其他客户端从流媒体服务器拉流。 步骤如下: 1 下载MediaMTX github: Release v1.9.3 bluenviron/mediamtx GitHub​​​​​…...

代码美学2:MATLAB制作渐变色

效果: %代码美学:MATLAB制作渐变色 % 创建一个10x10的矩阵来表示热力图的数据 data reshape(1:100, [10, 10]);% 创建热力图 figure; imagesc(data);% 设置颜色映射为“cool” colormap(cool);% 在热力图上添加边框 axis on; grid on;% 设置热力图的颜色…...

gitlab:使用脚本批量下载项目,实现全项目检索

目的 当需要知道gitlab中所有项目是否存在某段代码时,gitlab免费版只提供了当个项目内的检索,当项目过多时一个个查太过繁琐。下面通过 GitLab API 将指定 Group 下的所有项目克隆到本地。此脚本会自动获取项目列表并逐一克隆它们,再在本地进…...

大型语言模型LLM - Finetuning vs Prompting

资料来自台湾大学李宏毅教授机器学课程ML 2023 Spring,如有侵权请通知下架 台大机器学课程ML 2023 Springhttps://speech.ee.ntu.edu.tw/~hylee/ml/2023-spring.php2023/3/10 课程 機器如何生成文句 内容概要 主要探讨了大型语言模型的两种不同期待及其导致的两类…...

【Python中while循环】

一、深拷贝、浅拷贝 1、需求 1)拷贝原列表产生一个新列表 2)想让两个列表完全独立开(针对改操作,读的操作不改变) 要满足上述的条件,只能使用深拷贝 2、如何拷贝列表 1)直接赋值 # 定义一个…...

Selenium 包介绍

诸神缄默不语-个人CSDN博文目录 Selenium 是一个强大的工具,主要用于自动化 Web 浏览器的操作。它支持多种编程语言(如 Python、Java、C# 等)和主流浏览器(如 Chrome、Firefox、Safari、Edge 等),广泛应用…...

量化交易系统开发-实时行情自动化交易-4.4.做市策略

19年创业做过一年的量化交易但没有成功,作为交易系统的开发人员积累了一些经验,最近想重新研究交易系统,一边整理一边写出来一些思考供大家参考,也希望跟做量化的朋友有更多的交流和合作。 接下来继续说说做市策略原理。 做市策…...

C++设计模式(单例模式)

一、介绍 1.动机 在软件系统中,经常有这样一些特殊的类,必须保证它们在系统中只存在一个实例,才能确保它们的逻辑正确性、以及良好的效率。 如何绕过常规的构造器,提供一种机制来保证一个类只有一个实例? 这应该是类设计者的…...

图的深度优先搜索算法DFS

深度优先搜索(DFS)就是一种寻找图中各个顶点的方法。想象一下,如果你在一个迷宫里探险,你会怎么做呢?你可能会选择一直走到尽头,直到找不到路为止,然后再回过头来试试其他的路,这就是…...

自动泊车“哐哐撞大墙”,小米SU7智驾功能bug缠身?

文/王俣祺 导语:小米SU7,自带热度与科技光环的“流量神车”,近日却以一种极为“狼狈”的方式闯入大众视野。多达70余辆小米SU7陷入“泊车魔咒”,瞬间在网络上炸开了锅。从“科技控”到“惹祸精”的背后,究竟藏着怎样的…...

Linux宝塔部署wordpress网站更换服务器IP后无法访问管理后台和打开网站页面显示错乱

一、背景: wordpress网站搬家,更换服务器IP后,如果没有域名时,使用服务器IP地址无法访问管理后台和打开网站页面显示错乱。 二、解决方法如下: 1.wordpress搬家后,在新服务器上,新建站点时&am…...

Http文件上传

方式一&#xff1a;HttpClient public static String uploadFile(String url, Map<String, FileWrapper> fileParam, Map<String,String> otherParam){long start System.currentTimeMillis();log.info("uploadFile url: {}.",url);HttpClient client …...

哈希C++

文章目录 一.哈希的概念1.直接定址法2.负载因子 二.哈希函数1.除法散列法 / 除留余数法2.乘法散列法3.全域散列法&#xff08;了解&#xff09; 三.处理哈希冲突哈希冲突&#xff1a;1.开放定址法&#xff08;1&#xff09;线性探测&#xff1a;&#xff08;2&#xff09;二次探…...

C++11(中)

C11&#xff08;中&#xff09; 1.可变参数模板1.1.使用场景 2.lambda表达式&#xff08;重要&#xff09;2.1.使用说明2.2.函数对象与lambda表达式 3.线程库3.1.thread3.2.atomic原子库操作3.3.mutex3.3.1.mutex的种类3.3.2.lock_guard3.3.3.unique_lock &#x1f31f;&#x…...

vim 如何高亮/取消高亮

高亮 &#xff1a;在ESC模式下使用 shift # 取消高亮&#xff1a;在ESC模式下输入英文输入 :nohl (no highlight)...

C#中面试的常见问题008

1.内存泄露 内存泄露的原因&#xff1a; 未释放动态分配的内存&#xff1a;在使用malloc、new等动态内存分配函数后&#xff0c;未能正确释放内存。引用计数错误&#xff1a;在引用计数管理内存的语言中&#xff0c;增加引用计数但未相应减少&#xff0c;导致内存无法释放。循…...

【系统架构设计师】真题论文: 论数据访问层设计技术及其应用(包括解题思路和素材)

更多内容请见: 备考系统架构设计师-专栏介绍和目录 文章目录 真题题目(2016年 试题3)解题思路论文素材参考(1)数据访问层设计 JDBC 技术(2)ORM 框架技术 - Hibernate(3)ORM 框架技术 - MyBatis(4)数据访问层设计模式 - DAO 模式(5)数据访问层设计模式 - Repositor…...

力扣整理版九:贪心算法(待整理)

局部最优 全局最优 局部最优可以推出全局最优 并且想不出反例 ----------------------------- (1) 455 分发饼干 (2) 1005 k次取反后最大化的数组和 (3) 860 柠檬水找零 (2) 376 摆动序列 (3) 122 买卖股票的最佳时机2 (4) 135 分发糖果 (4) 55 跳跃游戏 (5) 45 跳…...

香橙派--安装RKMPP、x264、libdrm、FFmpeg(支持rkmpp)以及opencv(支持带rkmpp的ffmpeg)(适用于RK3588平台)

1. 安装RKMPP git clone https://github.com/rockchip-linux/mppcd mpp/build/linux/aarch64./make-Makefiles.bashmake -j8sudo make installRKMPP&#xff1a;用于编解码测试&#xff0c;支持RK3588平台。 2. 安装x264 git clone https://code.videolan.org/videolan/x264…...

计算机毕业设计Python+大模型美食推荐系统 美食可视化 美食数据分析大屏 美食爬虫 美团爬虫 机器学习 大数据毕业设计 Django Vue.js

温馨提示&#xff1a;文末有 CSDN 平台官方提供的学长联系方式的名片&#xff01; 温馨提示&#xff1a;文末有 CSDN 平台官方提供的学长联系方式的名片&#xff01; 温馨提示&#xff1a;文末有 CSDN 平台官方提供的学长联系方式的名片&#xff01; 作者简介&#xff1a;Java领…...

1138:将字符串中的小写字母转换成大写字母

【题目描述】 给定一个字符串&#xff0c;将其中所有的小写字母转换成大写字母。 【输入】 输入一行&#xff0c;包含一个字符串&#xff08;长度不超过100&#xff0c;可能包含空格&#xff09;。 【输出】 输出转换后的字符串。 【输入样例】 helloworld123Ha 【输出样例】…...

Wireshark抓取HTTPS流量技巧

一、工具准备 首先安装wireshark工具&#xff0c;官方链接&#xff1a;Wireshark Go Deep 二、环境变量配置 TLS 加密的核心是会话密钥。这些密钥由客户端和服务器协商生成&#xff0c;用于对通信流量进行对称加密。如果能通过 SSL/TLS 日志文件&#xff08;例如包含密钥的…...

Unity UGUI原理剖析

UI最重要的两部分 UI是如何渲染出来的点击事件如何触发何时发生UI重绘 1&#xff1a;UI如何渲染出来的 UI渲染一定是有顶点的&#xff0c;没有顶点就没法确定贴图的采样&#xff0c;UGUI的顶点在一张Mesh上创建&#xff0c;经过渲染管线UI就渲染到屏幕上了&#xff0c;UI的渲染…...

实现Excel文件和其他文件导出为压缩包,并导入

导出 后端&#xff1a; PostMapping("/exportExcelData")public void exportExcelData(HttpServletRequest request, HttpServletResponse response, RequestBody ResData resData) throws IOException {List<Long> menuIds resData.getMenuIds();List<Co…...

Linux:基础开发工具

目录 软件包管理器yum 什么是软件包&#xff1f; 查看软件包 安装软件 卸载软件 vim vim的基本操作 gcc/g使用 预处理 编译 汇编 连接 make/Makefile .PHONY伪目标 定义使用变量 版本控制器Git 安装git git的使用 git add git commit git push git pull …...

【mac】终端左边太长处理,自定义显示名称(terminal路径显示特别长)

1、打开终端 2、步骤 &#xff08;1&#xff09;修改~/.zshrc文件 nano ~/.zshrc&#xff08;2&#xff09;添加或修改PS1&#xff0c;我是自定义了名字为“macminiPro” export PS1"macminiPro$ "&#xff08;3&#xff09;使用 nano: Ctrl o &#xff08;字母…...

嵌入式硬件设计:从概念到实现的全流程

嵌入式硬件设计是现代电子技术中一个至关重要的领域&#xff0c;涉及从硬件架构设计到硬件调试的各个方面。它为我们日常生活中的各类智能设备、家电、工业控制系统等提供了强大的支持。本文将介绍嵌入式硬件设计的基本流程、关键技术、常用工具以及常见的挑战和解决方案&#…...

【Nginx】核心概念与安装配置解释

文章目录 1. 概述2. 核心概念2.1.Http服务器2.2.反向代理2.3. 负载均衡 3. 安装与配置3.1.安装3.2.配置文件解释3.2.1.全局配置块3.2.2.HTTP 配置块3.2.3.Server 块3.2.4.Location 块3.2.5.upstream3.2.6. mine.type文件 3.3.多虚拟主机配置 4. 总结 1. 概述 Nginx是我们常用的…...

数据库-MySQL-MybatisPlus实战

文章目录 前言一、整合mybatis-plus二、CRUD操作1、insert操作2、update操作3、delete操作 三、条件构造器(Wrapper)QueryWrapperUpdateWrapperLambdaQueryWrapperLambdaUpdateWrapper 四、分页查询五、自定义主键生成器六、总结 前言 mybatis相信都不陌生&#xff0c;目前互联…...

Vue2学习记录

前言 这篇笔记&#xff0c;是根据B站尚硅谷的Vue2网课学习整理的&#xff0c;用来学习的 如果有错误&#xff0c;还请大佬指正 Vue核心 Vue简介 Vue (发音为 /vjuː/&#xff0c;类似 view) 是一款用于构建用户界面的 JavaScript 框架。 它基于标准 HTML、CSS 和 JavaScr…...

thinkphp中对请求封装

请求的封装 //调用 $res Http::post($this->baseUrl . $url,$params,[CURLOPT_HTTPHEADER > [Content-Type: application/json,Content-Length: . strlen($params),],]);<?php namespace fast; /*** 字符串类*/ class Http {/*** 发送一个POST请求*/public static …...

网络安全中的数据科学如何重新定义安全实践?

组织每天处理大量数据&#xff0c;这些数据由各个团队和部门管理。这使得全面了解潜在威胁变得非常困难&#xff0c;常常导致疏忽。以前&#xff0c;公司依靠 FUD 方法&#xff08;恐惧、不确定性和怀疑&#xff09;来识别潜在攻击。然而&#xff0c;将数据科学集成到网络安全中…...

通过指令导入/导出vscode扩展插件

导出扩展&#xff1a; 打开VSCode终端&#xff1a; 在VSCode中&#xff0c;你可以通过菜单栏的“终端”选项打开终端&#xff0c;或者使用快捷键Ctrl &#xff08;反引号&#xff0c;通常在键盘左上角&#xff09;。运行导出命令&#xff1a; 在终端中&#xff0c;输入以下命…...

vscode添加环境变量(mujoco)

文章目录 前言一、创建.env文件二、编写setting.jason 前言 之前一直用pycharm&#xff0c;最近改用cursor了&#xff0c;在pycharm中设置环境变量修改运行配置就行了&#xff0c;vscode要麻烦一些&#xff0c;记录一下。 一、创建.env文件 以mujoco环境变量为例&#xff0c;…...

0-1背包问题(1):贪心算法

问题&#xff1a; 有 n 个物品和背包的容量&#xff0c;每个物品的重量为 w[i]&#xff0c;价值为 v[i]&#xff0c;背包的容量为 W。选若干个物品放入购物车&#xff0c;物品不可分割&#xff0c;使价值最大。 问题分析&#xff1a; 首先考虑贪心策略&#xff1a; 每次挑选…...

Qt界面篇:QMessageBox高级用法

1、演示效果 2、用法注意 2.1 设置图标 用于显示实际图标的pixmap取决于当前的GUI样式。也可以通过设置icon pixmap属性为图标设置自定义pixmap。 QMessageBox::Icon icon(...

计算机操作系统——进程控制(Linux)

进程控制 进程创建fork&#xff08;&#xff09;函数fork() 的基本功能fork() 的基本语法fork() 的工作原理fork() 的典型使用示例fork() 的常见问题fork() 和 exec() 结合使用总结 进程终止与$进程终止的本质进程终止的情况正常退出&#xff08;Exit&#xff09;由于信号终止非…...

游戏引擎学习第23天

实时代码编辑功能的回顾 当前实现的实时代码编辑功能已经取得了显著的成功&#xff0c;表现出强大的性能和即时反馈能力。该功能允许开发者在修改代码后几乎立即看到变化在运行中的程序中体现出来&#xff0c;极大提升了开发效率。尽管目前的演示内容较为简单&#xff0c;呈现…...

0基础学java之Day25

Vector /** 知识点&#xff1a;Vector独有的方法 理解&#xff1a; * Vector在JDK1.0开始就已经存在 -- 元老级别的集合类&#xff0c; * 集合框架的概念是JDK1.2开始才有的&#xff0c; * 开发人员为了将Vector保留下来&#xf…...

android集成FFmpeg步骤以及常用命令,踩坑经历

1、入坑第一步:首先集成的库必须正确。最好是有ndk的,FFmpeg有许多个版本,我才开始接触的时候随便选了一个,一般的 方法没有问题。但是涉及到需要使用libx264等条件进行编码时,老是报错,网上搜索资料也没有人说需要ndk的支持才行。这个问题困扰了好几天,怎么试不行,最后…...

Mac——鼠标增强插件Mos

功能说明&#xff1a; 能够解决鼠标断续、不灵敏等鼠标问题。 下载地址&#xff1a; Mac——鼠标增强插件Mos...

【c++篇】:解读Set和Map的封装原理--编程中的数据结构优化秘籍

✨感谢您阅读本篇文章&#xff0c;文章内容是个人学习笔记的整理&#xff0c;如果哪里有误的话还请您指正噢✨ ✨ 个人主页&#xff1a;余辉zmh–CSDN博客 ✨ 文章所属专栏&#xff1a;c篇–CSDN博客 文章目录 前言一.set和map的初步封装1.树的节点封装修改2.Find()查找函数3.红…...

华为鸿蒙内核成为HarmonyOS NEXT流畅安全新基座

HDC2024华为重磅发布全自研操作系统内核—鸿蒙内核&#xff0c;鸿蒙内核替换Linux内核成为HarmonyOS NEXT稳定流畅新基座。鸿蒙内核具备更弹性、更流畅、更安全三大特征&#xff0c;性能超越Linux内核10.7%。 鸿蒙内核更弹性&#xff1a;元OS架构&#xff0c;性能安全双收益 万…...

ArcGIS API for Javascript学习

一、ArcGIS API for Javascript 介绍 ArcGIS API for Javascript 是由美国 Esri 公司推出&#xff0c;跟随ArcGIS 9.3 同时发布的&#xff0c;是Esri 基于dojo 框架和 REST 风格实现的一套编程接口。通过 ArcGIS API for Javascript可以对ArcGIS for Server 进行访问&#xff…...

LeetCode 3206.交替组 I:遍历

【LetMeFly】3206.交替组 I&#xff1a;遍历 力扣题目链接&#xff1a;https://leetcode.cn/problems/alternating-groups-i/ 给你一个整数数组 colors &#xff0c;它表示一个由红色和蓝色瓷砖组成的环&#xff0c;第 i 块瓷砖的颜色为 colors[i] &#xff1a; colors[i] …...

环形缓冲区

什么是环形缓冲区 环形缓冲区,也称为循环缓冲区或环形队列,是一种特殊的FIFO(先进先出)数据结构。它使用一块固定大小的内存空间来缓存数据,并通过两个指针(读指针和写指针)来管理数据的读写。当任意一个指针到达缓冲区末尾时,会自动回绕到缓冲区开头,形成一个"环"。…...

Maven 仓库

Maven 仓库对于管理构建 Java 项目所需的依赖和插件至关重要。 Maven 仓库主要有三种类型&#xff1a;本地仓库、中央仓库和远程仓库。 本文将探讨每种仓库的用途以及如何有效使用它们。 Maven 仓库类型 本地仓库 本地仓库是位于您本地机器上的一个目录&#xff0c;Maven 在…...

29.UE5蓝图的网络通讯,多人自定义事件,变量同步

3-9 蓝图的网络通讯、多人自定义事件、变量同步_哔哩哔哩_bilibili 目录 1.网络通讯 1.1玩家Pawn之间的同步 1.2事件同步 1.3UI同步 1.4组播 1.5变量同步 1.网络通讯 1.1玩家Pawn之间的同步 创建一个第三人称项目 将网络模式更改为监听服务器&#xff0c;即将房主作为…...

计算机网络习题解答--个人笔记(未完)

本篇文章为关于《计算机网络-自顶向下方法第七版》的阅读总结和课后习题解答(未完待续) 第二章&#xff1a; cookie&#xff1a;&#xff08;这里是比较老版本的HTTP&#xff0c;具体HTTPs是怎么实现的不是很清楚&#xff09;cookie的原理其实很简单。就是在HTTP消息头上又多…...