<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[GentleCP的博客]]></title><description><![CDATA[一只辣鸡]]></description><link>https://blog.csdn.net/GentleCP</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; GentleCP]]></copyright><item><title><![CDATA[【corpwechat-bot】一个好用的企业微信消息推送python接口库]]></title><link>https://blog.csdn.net/GentleCP/article/details/115567983</link><guid>https://blog.csdn.net/GentleCP/article/details/115567983</guid><author>GentleCP</author><pubDate>Sat, 10 Apr 2021 11:16:59 +0800</pubDate><description><![CDATA[文章目录前言RequirementsResultFeaturesUsage
前言

本文同步发表在blog.gentlecp.com

corpwechat-bot是一个python封装的企业机器人&amp;应用消息推送库，通过企业微信提供的api实现。
利用本库，你可以轻松地实现从服务器端发送一条文本、图片、视频、markdown等等消息到你的微信手机端，而不依赖于其他的第三方应用，如ServerChan。
Requirements

注意，本项目依赖于企业微信创建群聊机器人或应用，要想实现需要先注册一个]]></description><category></category></item><item><title><![CDATA[【算法设计与分析】动态规划 - 背包问题详解（基础背包）]]></title><link>https://blog.csdn.net/GentleCP/article/details/109443407</link><guid>https://blog.csdn.net/GentleCP/article/details/109443407</guid><author>GentleCP</author><pubDate>Sat, 07 Nov 2020 10:19:44 +0800</pubDate><description><![CDATA[文章目录前言0-1背包问题描述问题解析
前言
最近又把背包系列问题温习了一遍，打算写篇文章将常见的几类背包问题进行总结，提取背包问题核心套路，在自己理解的同时，用通俗的语言解释，让看完本文的人能够快速上手解决一系列的背包问题。

内容包含如下：

从基础开始：0-1背包问题
再进一步：完全背包
顺手拈来：多重背包
变形金刚：其他背包问题


限于篇幅问题，拟将该系列拆成两篇，第一篇包含上面三个部分，实际上是对三种基础类型有一定掌握，第二篇，主要讲解基于三种类型衍生而来的背包问题和实际（面试）经常遇到的。

]]></description><category></category></item><item><title><![CDATA[【机器学习】数据归一化——MinMaxScaler理解]]></title><link>https://blog.csdn.net/GentleCP/article/details/109333753</link><guid>https://blog.csdn.net/GentleCP/article/details/109333753</guid><author>GentleCP</author><pubDate>Wed, 28 Oct 2020 15:51:04 +0800</pubDate><description><![CDATA[文章目录前言公式实例
前言
前阵在查sklearn的归一化方法MinMaxScaler的时候，发现找到的文章解释的一塌糊涂，一般都是扔个公式加一堆代码就敷衍了事了，所以这次写一篇讲述MinMaxScaler核心功能的文章。
公式
会查MinMaxScaler的基本上都应该理解数据归一化，本质上是将数据点映射到了[0,1]区间（默认），但实际使用的的时候也不一定是到[0,1]，你也可以指定参数feature_range，映射到其他区间，这个后面再讲。

首先了解该计算公式：
Xstd=X−X.min(axis]]></description><category></category></item><item><title><![CDATA[有用的文章集锦（干货和有效知识）]]></title><link>https://blog.csdn.net/GentleCP/article/details/109032495</link><guid>https://blog.csdn.net/GentleCP/article/details/109032495</guid><author>GentleCP</author><pubDate>Mon, 12 Oct 2020 17:34:25 +0800</pubDate><description><![CDATA[超有用的干货集锦]]></description><category></category></item><item><title><![CDATA[【ditto】win10局域网多设备共享剪贴板]]></title><link>https://blog.csdn.net/GentleCP/article/details/109022869</link><guid>https://blog.csdn.net/GentleCP/article/details/109022869</guid><author>GentleCP</author><pubDate>Mon, 12 Oct 2020 10:46:31 +0800</pubDate><description><![CDATA[如何在win10下进行多设备的剪贴板共享]]></description><category></category></item><item><title><![CDATA[【C/C++】10分钟搞懂内联函数]]></title><link>https://blog.csdn.net/GentleCP/article/details/108978972</link><guid>https://blog.csdn.net/GentleCP/article/details/108978972</guid><author>GentleCP</author><pubDate>Fri, 09 Oct 2020 16:04:51 +0800</pubDate><description><![CDATA[文章目录前言内联函数是啥内联函数有啥用啥情况下使用内联函数
前言
内联函数是C++特有的一种函数，通过添加关键字inline到函数定义前，实现将普通函数转换为内联函数。本文旨在从以下几个方面通俗地讲解内联函数，帮助小白轻松理解和使用内联函数。

内联函数是啥
内联函数有啥用
啥情况下使用内联函数

内联函数是啥
直接先上定义：

定义：以inline关键字修饰定义的一类函数，让编译器用函数代码替换函数调用

听着有点玄乎，看下面一个实例：

实例：inline int max(int a, int b){
]]></description><category></category></item><item><title><![CDATA[【软件安全】缓冲区溢出攻击(stack overflow)实践]]></title><link>https://blog.csdn.net/GentleCP/article/details/108870833</link><guid>https://blog.csdn.net/GentleCP/article/details/108870833</guid><author>GentleCP</author><pubDate>Wed, 30 Sep 2020 12:48:40 +0800</pubDate><description><![CDATA[文章目录前言攻击准备攻击目标与原理漏洞程序攻击程序攻击步骤关闭现有安全机制以root身份编译漏洞程序确定`shellcode`在内存中位置执行攻击程序
前言
最近在研究stack overflow的复现，发现网上许多教程都偏老了，且许多关键步骤没有说明清楚，导致小白在一步步操作的时候经常出现无法正确获取shellcode的情况，本人也是历经诸多大坑，总算是成功复现了这一过程。下面是溢出成功后的效果图。


个中会涉及到参数在函数栈中的存储，栈的返回地址，帧指针，函数如何执行的过程，这部分不再赘述，自行查阅相]]></description><category></category></item><item><title><![CDATA[ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly]]></title><link>https://blog.csdn.net/GentleCP/article/details/108861440</link><guid>https://blog.csdn.net/GentleCP/article/details/108861440</guid><author>GentleCP</author><pubDate>Tue, 29 Sep 2020 08:50:58 +0800</pubDate><description><![CDATA[ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly]]></description><category></category></item><item><title><![CDATA[Linux 常用命令大全]]></title><link>https://blog.csdn.net/GentleCP/article/details/104609934</link><guid>https://blog.csdn.net/GentleCP/article/details/104609934</guid><author>GentleCP</author><pubDate>Fri, 25 Sep 2020 19:46:19 +0800</pubDate><description><![CDATA[讲解Linux常用命令以及简单shell脚本，作为一个程序员对于这些命令需要略知一二。]]></description><category></category></item><item><title><![CDATA[【python】字符串日期格式数据处理]]></title><link>https://blog.csdn.net/GentleCP/article/details/108704422</link><guid>https://blog.csdn.net/GentleCP/article/details/108704422</guid><author>GentleCP</author><pubDate>Mon, 21 Sep 2020 12:10:53 +0800</pubDate><description><![CDATA[数据挖掘任务中对字符串日期格式数据的处理]]></description><category></category></item><item><title><![CDATA[【python进阶】常用效率函数和容器妙用(Map，Filter，defaultdict...)]]></title><link>https://blog.csdn.net/GentleCP/article/details/107180443</link><guid>https://blog.csdn.net/GentleCP/article/details/107180443</guid><author>GentleCP</author><pubDate>Sun, 30 Aug 2020 21:36:20 +0800</pubDate><description><![CDATA[记录一些python中的编程小技巧]]></description><category></category></item><item><title><![CDATA[【机器学习】支持向量机(SVM)原理与实战]]></title><link>https://blog.csdn.net/GentleCP/article/details/108108808</link><guid>https://blog.csdn.net/GentleCP/article/details/108108808</guid><author>GentleCP</author><pubDate>Fri, 21 Aug 2020 11:31:49 +0800</pubDate><description><![CDATA[SVM原理和实战]]></description><category></category></item><item><title><![CDATA[【机器学习】决策树实战与分析]]></title><link>https://blog.csdn.net/GentleCP/article/details/108081657</link><guid>https://blog.csdn.net/GentleCP/article/details/108081657</guid><author>GentleCP</author><pubDate>Wed, 19 Aug 2020 13:03:26 +0800</pubDate><description><![CDATA[决策树的实战项目]]></description><category></category></item><item><title><![CDATA[【机器学习】逻辑回归(LogisticRegression)原理与实战]]></title><link>https://blog.csdn.net/GentleCP/article/details/108035696</link><guid>https://blog.csdn.net/GentleCP/article/details/108035696</guid><author>GentleCP</author><pubDate>Sun, 16 Aug 2020 19:42:38 +0800</pubDate><description><![CDATA[逻辑回归的原理和实战应用]]></description><category></category></item><item><title><![CDATA[python如何优雅地在命令行传入参数？sys,argparse,click使用]]></title><link>https://blog.csdn.net/GentleCP/article/details/107698259</link><guid>https://blog.csdn.net/GentleCP/article/details/107698259</guid><author>GentleCP</author><pubDate>Thu, 30 Jul 2020 20:48:11 +0800</pubDate><description><![CDATA[sys,argparse,click在python命令行参数传递的应用]]></description><category></category></item><item><title><![CDATA[【redis】python操作与频道发布与订阅]]></title><link>https://blog.csdn.net/GentleCP/article/details/107201989</link><guid>https://blog.csdn.net/GentleCP/article/details/107201989</guid><author>GentleCP</author><pubDate>Wed, 08 Jul 2020 13:05:01 +0800</pubDate><description><![CDATA[讲述如何用python操作redis数据库，以及利用redis进行频道的发布和订阅]]></description><category></category></item><item><title><![CDATA[一次gensim的Word2Vec体验之旅]]></title><link>https://blog.csdn.net/GentleCP/article/details/106789214</link><guid>https://blog.csdn.net/GentleCP/article/details/106789214</guid><author>GentleCP</author><pubDate>Tue, 16 Jun 2020 23:32:42 +0800</pubDate><description><![CDATA[gensim Word2Vec使用体验]]></description><category></category></item><item><title><![CDATA[【pytorch笔记】数据集的读取与使用]]></title><link>https://blog.csdn.net/GentleCP/article/details/106772240</link><guid>https://blog.csdn.net/GentleCP/article/details/106772240</guid><author>GentleCP</author><pubDate>Mon, 15 Jun 2020 23:10:35 +0800</pubDate><description><![CDATA[pytorch对数据集的读取方法，包含CV和NLP两类]]></description><category></category></item><item><title><![CDATA[【pytorch笔记】损失函数nll_loss]]></title><link>https://blog.csdn.net/GentleCP/article/details/106602179</link><guid>https://blog.csdn.net/GentleCP/article/details/106602179</guid><author>GentleCP</author><pubDate>Sun, 07 Jun 2020 16:12:26 +0800</pubDate><description><![CDATA[本文主要讲解在使用pytorch中对损失函数`nll_loss`的一些理解与思考。]]></description><category></category></item><item><title><![CDATA[ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/]]></title><link>https://blog.csdn.net/GentleCP/article/details/106456422</link><guid>https://blog.csdn.net/GentleCP/article/details/106456422</guid><author>GentleCP</author><pubDate>Sun, 31 May 2020 16:00:08 +0800</pubDate><description><![CDATA[前言
最近用mac新装了pytorch遇到标题的问题，查了一下相关解决方案，成功解决，但有一些需要注意的点，这里做一下记录。
问题产生
此问题大多是在pytorch安装之后，尝试import torch报出的，如下图：


ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/torch/_C.cpython-38-darwin.so, 2): Library not]]></description><category></category></item></channel></rss>