my
  • 2024-07-02Python学习笔记
    数据类型和变量字面量:在代码中,被写下来的固定的值。常见有6中,数字、字符串、列表、元组、集合、字典字符串:由任意数量的字符如中文、英文、各类符合、数字等组成。如“你好”,“hello”,在Python中被双引号引起来的就是字符串。注释:在程序代码中对程序代码进行解释说明的文字。
  • 2024-07-02Perl 学习笔记
    Perl是一种高效、功能强大且灵活的编程语言,广泛用于文本处理、系统管理、网络编程、Web开发等领域。它由LarryWall在1987年首次发布,名字来源于“PracticalExtractionandReportLanguage”。Perl的特点强大的文本处理能力:Perl有着强大的正则表达式和字符串处理功能,
  • 2024-07-02【MySQL】mysql访问
    mysql访问1.引入MySQL客户端库2.C/C++进行增删改3.查询的处理细节4.图形化界面访问数据库4.1下载MYSQLWorkbench4.2MYSQLWorkbench远程连接数据库点赞
  • 2024-07-01Elasticsearch:Painless scripting 语言(二)
    这是继上一篇文章“Elasticsearch:Painlessscripting语言(一)”的续篇。使用field API访问文档中的字段警告:FieldAPI仍在开发中,应视为测试版功能。API可能会发生变化,此迭代可能不是最终状态。有关功能状态,请参阅#78920。使用field API访问文档字段:field('my_
  • 2024-06-23吴恩达机器学习 第三课 week2 推荐算法(上)
    目录01学习目标02推荐算法2.1定义    2.2应用2.3算法03 协同过滤推荐算法04电影推荐系统4.1问题描述4.2算法实现05总结01学习目标   (1)了解推荐算法   (2)掌握协同过滤推荐算法(CollaborativeFilteringRecommenderAlgorithm)原理  
  • 2024-06-23掌握Perl并发:线程与进程编程全攻略
    掌握Perl并发:线程与进程编程全攻略引言Perl作为一种功能强大的编程语言,提供了丰富的并发编程手段。无论是通过threads模块实现的线程,还是通过fork系统调用产生的进程,Perl都能帮助开发者高效地处理多任务。本文将深入探讨如何在Perl中使用线程和进程,带领读者掌握并发编程的
  • 2024-06-23Python进阶学习笔记-基础篇
    打印原始字符串print(r"D:\three\two\one\now")D:\three\two\one\now复现随机数importrandomx=random.getstate()print(random.randint(1,10))print(random.randint(1,10))print(random.randint(1,10))random.setstate(x)print(random.randint(1,10))pr
  • 2024-06-23Zookeeper安装、配置与基本操作指南
    ApacheZookeeper安装、配置与基本操作指南ApacheZookeeper是一个分布式协调服务,用于维护配置信息、命名、提供分布式同步以及提供组服务。本文结合两篇详细的技术文档,介绍Zookeeper的安装、配置以及基本操作。一、Zookeeper的安装与配置1.环境准备在安装Zookeeper之
  • 2024-06-22猜拳游戏小程序源码 大转盘积分游戏小程序源码 积分游戏小程序源码
    内容目录一、详细介绍二、效果展示1.部分代码2.效果图展示三、学习资料下载一、详细介绍猜拳游戏小程序源码大转盘积分游戏小程序源码积分游戏小程序源码猜拳游戏大转盘积分游戏小程序前端模板源码,一共五个静态页面,首页、任务列表、大转盘和猜拳等五个页面二、
  • 2024-06-22Perl编程探索:深入理解数组变量
    Perl语言以其在文本处理和系统管理任务中的强大能力而受到广泛欢迎。在Perl中,数组是处理多个值集合的一种关键数据结构。本文将深入探讨Perl中的数组变量,包括它们的声明、初始化、访问和操作。Perl数组的基本概念在Perl中,数组可以用来存储一系列的值,这些值可以是数字、字
  • 2024-06-22Dragon Boat Festival Revised
    DragonBoatFestivalcandatebacktotheHandynasty,whichhasalonghistory.TheoriginsofDragonBoatFestivalhavebeenvariouslyexplainedsinceancienttimes.Thefestivalhasbeenendowedwithmanyculturalconnotationsinitsinheritancean
  • 2024-06-22Python网络爬虫的实现,要想学编程,首先的把爬虫学好!
    爬虫实现1.爬虫初步实现(1)我们爬取中国化工市场机械网,以下为相关代码演示importrequestsfrombs4importBeautifulSoupres=requests.get(addresses[i])res.encoding='GB18030'#通过修改编码方式为GB18030,兼容网站编码(gb2312)#这里的'html.parser
  • 2024-06-22使用MPI 实现奇偶排序
    使用MPI实现奇偶排序0号进程获得待排序序列并输出排序好的序列使用文件进行输入输出进行性能测试与对比代码奇偶排序头文件引入#include<iostream>#include<algorithm>#include<mpi.h>#include<fstream>#include<chrono>定义规模#defineN100000000
  • 2024-06-21python---学生通讯录
    代码:importcsvstudents=[]defmenu():    print("学生信息管理")    print("1.显示学生信息")    print("2.添加学生信息")    print("3.删除学生信息")    print("4.保存学生信息")    print("5.退出")defadd():    student={}    
  • 2024-06-21Reflective Journal Final
    1.Initially,Ithoughtthatdigitalmultimodalwritingsimplycombinestraditionaltextwritingwithmultimediaelementssuchasimages,audio,video,etc.However,asIexploredthisfieldmoredeeply,Icametorealizethatdigitalmultimodalwritingis
  • 2024-06-21Dragon Boat Festival Revised
    ShortTripIwenttoJiujianginJiangxiProvincewithmyroommate.Wedepart!Afteranhouronthemetro,weboardedthetrainasthebeginningofourpleasanttravel.Beautifulsceneryleapedtotheeyesthroughthetrainwindow,whichisoneoftherea
  • 2024-06-21Reflective Journal Final
    ReflectiveJournalFinal1.Atthebeginningofthecourse,Ijusthaveablurryunderstandingofdigitalmultimodalcomposing.Afterhavingcoursesformanytimes,Igraduallygraspedtheconceptofdigitalmultimodalcomposing.Thekeyresidesin“multim
  • 2024-06-21dragon boat festival
    Listen,isthefootstepsoftheDragonBoatFestivalapproaching?DoyouknowDragonBoatFestival?WhenIwasalittlechild,IlearntknowledgeaboutDragonBoatFestival.TheDragonBoatFestivalalsoknownasDuanwuFestival,isatraditionalChinese
  • 2024-06-21Reflective Journal Final
    Inthefirstclass,Itouchedthisentirelynewconcept.Actually,Ididn'tknowwhatisdigitalmultimodalcomposingexactlyatfirst.Butafterseveralclasses,Igraduallyunderstoodthedigitalmultimodalcomposingisanewstyleofwriting.Ith
  • 2024-06-21Dragon Boat Festival Revised
    Asweallknow,theDragonBoatFestivalholdsprofoundhistoricalandculturalsignificance.TheDragonBoatFestivalwasoriginallyasummerfestivaltogetridofplague,andlateritwasusedasafestivalinmemoryofQuYuan.Dragonboatracingsymb
  • 2024-06-21Python优雅遍历字典删除元素的方法
    在Python中,直接遍历字典并在遍历过程中删除元素可能会导致运行时错误,因为字典在迭代时并不支持修改其大小。但是,我们可以通过一些方法间接地达到这个目的。1.方法一:字典推导式创建新字典(推荐)常见的方法是创建一个新的字典,其中不包含我们想要删除的元素。这可以通过字典推导式(dic
  • 2024-06-21Dragon Boat Festival Revised
    Thefestival,acommemorationoftheesteemedancientChinesepoetQuYuan,traditionallymarksatimeforfamilialreunions,thethrillingdragonboatraces,andtheindulgenceintraditionaldelicaciessuchaszongzi.However,thisyear,duetomystudi
  • 2024-06-212_The Dragon boat festival
    TheDragonBoatFestivalThe Dragon Boat Festival, a time-honored traditional Chinese festival, merrily arrives on the fifth day of the fifth lunar month. It is said that this festival originated from the story of Qu Yuan. Qu 
  • 2024-06-20霍格沃茨
          11111 beconvinced   被动。  深信 ,当时;  overactive 过分积极。 过于天马行空,异想天开; 怪癖quirk  mortgage按揭贷款,不足以陌生scuttledoff down  小碎步跑  ; 比喻; 最后奔向了古典学;比喻最后的选择
  • 2024-06-20The second writing
    FeedbackonnarrativewritingAfterpreliminarywritinganddesign,aswellastryingtocreatethefirstversionofthevideo,Ihaveidentifiedspecificshortcomingsinboththeprocessandresults,asfollowingbelow:Timetoolong.Accordingtothe