<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ToBeTheOnlyOne的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; ToBeTheOnlyOne]]></copyright><item><title><![CDATA[capture]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/124495628</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/124495628</guid><author>ToBeTheOnlyOne</author><pubDate>Fri, 29 Apr 2022 14:36:43 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[机器学习决策树中，graph.create_png()出现warning, language png not recognized, use one of:  dot canon plain]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/115530156</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/115530156</guid><author>ToBeTheOnlyOne</author><pubDate>Thu, 08 Apr 2021 20:20:56 +0800</pubDate><description><![CDATA[机器学习决策树中，graph.create_png()出现warning, language png not recognized, use one of:  dot canon plain
出现问题的原因：电脑中安装有matlab ，因为matlab中也有dot.exe,所以程序中不能使用哪一个来进行计算，导致出现该问题。
解决办法：编辑环境变量，将Matlab的环境删除，添加graphviz的环境变量。graphviz的安装目录一般位于：
C:\ProgramData\Anaconda3\pkgs\gr]]></description><category></category></item><item><title><![CDATA[Qt中使用中文汉字为奇数时出现“error C2001: newline in constant”错误的解决办法]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/108407005</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/108407005</guid><author>ToBeTheOnlyOne</author><pubDate>Fri, 04 Sep 2020 16:33:26 +0800</pubDate><description><![CDATA[Qt中使用中文汉字为奇数时出现“error C2001: newline in constant”错误，解决办法：
使用win10自带的文本编辑器打开出错的文件，然后点击另存为，将编码设置为“带有BOM的UTF-8”,如下图所示：

如果运行时出现乱码，可以在文件开头加入以下代码：
#pragma execution_character_set("utf-8") 

问题即可解决。

...]]></description><category></category></item><item><title><![CDATA[Wordpress在撰写新文章界面的显示选项按钮点击无反应的解决办法]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/85767388</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/85767388</guid><author>ToBeTheOnlyOne</author><pubDate>Fri, 04 Jan 2019 12:18:33 +0800</pubDate><description><![CDATA[原文链接Wordpress在撰写新文章界面的显示选项按钮点击无反应的解决办法
最近升级wordpress之后，发现在文章编辑界面的添加新媒体和可视化按钮点击无反应，如下：

然后就在网上找解决办法，然后发现基本所有的解决办法都是，连接网站服务器，下载并编辑wp-config.php文件，在该文件最后加上如下一行代码：
define('CONCATENATE_SCRIPTS', false);

然...]]></description><category></category></item><item><title><![CDATA[wordpress中主题界面不显示解决办法]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/82764177</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/82764177</guid><author>ToBeTheOnlyOne</author><pubDate>Tue, 18 Sep 2018 21:06:14 +0800</pubDate><description><![CDATA[wordpress 中添加本地主题界面，点击添加按钮无反应，以及许多功能的的按钮点击无反应解决办法：
找到 wp-config.php 文件，在最后添加
define('CONCATENATE_SCRIPTS', false);

问题完美解决，希望可以帮到你。
推荐一个优惠券网站 淘宝天猫优惠券-券券猫 ，领券购物更省钱！！！

...]]></description><category></category></item><item><title><![CDATA[那些网赚项目中的骗局和陷阱]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/82762814</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/82762814</guid><author>ToBeTheOnlyOne</author><pubDate>Tue, 18 Sep 2018 19:32:40 +0800</pubDate><description><![CDATA[原文链接：http://www.qquanmao.cn/blog/40.html
随着互联网的高速发展，越来越多的人选择利用自己空闲时间通过互联网来赚钱，即我们所说的网赚。
当然，网赚的形式也多种多样，比如做任务赚钱，试玩游戏赚钱等多种途径，当然今天并不是和大家说这些网赚的方法，而是和大家分享一个网赚中的陷阱，以防大家没赚到钱反而交了一大把智商税。
好了，废话不多说，给大家介绍一下这个项目，这是一...]]></description><category></category></item><item><title><![CDATA[Android开发中属性动画（ObjectAnimator）中 插值器（Time Interpolator ）详解]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79617878</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79617878</guid><author>ToBeTheOnlyOne</author><pubDate>Mon, 19 Mar 2018 21:28:57 +0800</pubDate><description><![CDATA[在 Android开发中，为了保持良好的交互体验，我们经常会用到动画来提升用户体验，而动画中属性动画用的最多。 
虽然动画可以让界面看起来不是那么粗糙，但是很多时候仅仅只是匀速运动的动画可能不足以描述一些我们想呈现给用户的界面，比如模拟一个下落的小球，我们知道下落的小球并不是以匀速运动的，而是加速下落的，如果要实现这样一个效果，我们可能就需要用到 Time Interpolator 。 
其实 A...]]></description><category></category></item><item><title><![CDATA[Android开发中布局与组件（二）—— padding 与 margin 的区别]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79321698</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79321698</guid><author>ToBeTheOnlyOne</author><pubDate>Tue, 13 Feb 2018 15:17:31 +0800</pubDate><description><![CDATA[在 Android开发中我们会设置某个视图相对于别的视图的距离，这时我们就要用到 margin 和 padding ，但是有时候很容易把这两个属性弄混淆，那我们就看看他们的区别。


外边距（margin）： 属于布局参数，决定两个组件之间的距离。作用于多个组件之间。
内边距（padding）：不属于布局参数，这个参数是为了告诉组件在绘制自己的时候应该比自己的内容（content）大多少。作用于组...]]></description><category></category></item><item><title><![CDATA[Android开发中布局与组件（一）—— 屏幕尺寸单位dp，px，sp的探究]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79320728</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79320728</guid><author>ToBeTheOnlyOne</author><pubDate>Tue, 13 Feb 2018 11:23:04 +0800</pubDate><description><![CDATA[在Android开发中，常用的尺寸单位有 dp , px , sp 。当然还有其他的单位如 pt , mm 等，不过这些都是不常用，所以我们重点来探究一下  dp , px , sp  这三个常用的单位。


px 
英文 pixel 的缩写，即像素。无论屏幕密度为多少，一个像素单位对应屏幕上的一个像素，因此在 android开发中 并不推荐使用 px 为单位，因为它在不同分辨率的屏幕上显示的效果...]]></description><category></category></item><item><title><![CDATA[Android开发中自定义视图]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79305574</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79305574</guid><author>ToBeTheOnlyOne</author><pubDate>Sun, 11 Feb 2018 09:58:11 +0800</pubDate><description><![CDATA[很多时候，Android自身提供给我们的视图可能不能满足我们的需求，这个时候我们就需要 自定义视图 。 
虽然自定义视图很多，但总体归为两个类别：


简单视图 。简单视图内部当然也可以很复杂，之所以称之为简单视图是因为，简单视图中不包括子视图。简单视图几乎总是用来处理定制绘制。
聚合视图 。聚合视图一般包括很多个子视图，在聚合视图中一般不处理绘制事件，而是对子视图进行管理，绘制的任务一般都是有子...]]></description><category></category></item><item><title><![CDATA[Android开发中属性动画（ObjectAnimator）的应用]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79296788</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79296788</guid><author>ToBeTheOnlyOne</author><pubDate>Fri, 09 Feb 2018 12:39:38 +0800</pubDate><description><![CDATA[昨天看到一个有意思的动画，就想用Android 中的属性动画（ObjectAnimator）给实现出来，顺便复习一下属性动画的使用，完成效果如下： 


看完了效果，现在该开始动手干活了~

首先先分析一下这个动画用Android 中的属性动画该怎么实现： 
看上去这个动画很简单，可以用一个方形和两个圆形组成，两个在不同位置上的圆分别改变其X 和 Y 方向上位置就可以了。

先创建正方形和圆形的图...]]></description><category></category></item><item><title><![CDATA[Android开发中ConstraintLayout的使用从入门到精通（二）]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79293130</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79293130</guid><author>ToBeTheOnlyOne</author><pubDate>Fri, 09 Feb 2018 10:58:46 +0800</pubDate><description><![CDATA[上一片博客中介绍了ConstraintLayout 布局中的约束的原理以及如何使用，现在我们知道在ConstraintLayout 中如何控制一个视图的位置，接下来分享一下在ConstraintLayout 中如何控制视图的大小。

在ConstraintLayout 中控制视图大小有三种方式：


固定大小，如10dp，20px之类，推荐使用dp为单位 
match-constraint 即0d...]]></description><category></category></item><item><title><![CDATA[Android开发中ConstraintLayout的使用从入门到精通（一）]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79287407</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79287407</guid><author>ToBeTheOnlyOne</author><pubDate>Thu, 08 Feb 2018 11:04:26 +0800</pubDate><description><![CDATA[前段时间发现Android Studio在新建 Activity 的时候，默认生成的布局文件的根布局变成了 ConstraintLayout ，不过由于以前的几种布局文件都是用习惯了，所以往往都是直接修改根布局，最近觉得有必要学习一下这种布局的使用，毕竟 google 都推荐使用，所以就把我了解到的一些东西分享一下，希望可以帮助到对 ConstraintLayout 感兴趣的朋友~

Androi...]]></description><category></category></item><item><title><![CDATA[Android开发中十六进制和十进制的相互转化]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79264416</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79264416</guid><author>ToBeTheOnlyOne</author><pubDate>Mon, 05 Feb 2018 21:00:51 +0800</pubDate><description><![CDATA[最近的开发 Android 项目中要实现用户自定义颜色，于是就自己利用SeekBar  和 EditText  实现了一个拾色器。

原理也很简单，就是用四个SeekBar分别代表颜色的四个值：R，G，B，Alpha，每个颜色值都用0-255来表示，最终在转化为十六进制颜色值。

十进制转化为十六进制

但是怎么把十进制转化为十六进制呢？后来发现，其实Android内部已经给我们提供了转化函数，如]]></description><category></category></item><item><title><![CDATA[Android开发中 十进制，十六进制的相互转化]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79264384</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79264384</guid><author>ToBeTheOnlyOne</author><pubDate>Mon, 05 Feb 2018 20:57:00 +0800</pubDate><description><![CDATA[最近的开发 Android项目中要实现用户自定义颜色，于是就自己利用 SeekBar 和 EditText 实现了一个拾色器。

原理也很简单，就是用四个SeekBar 分别代表颜色的四个值：R，G，B，Alpha，每个颜色值都用0-255来表示，最终在转化为十六进制颜色值。

但是怎么把 十进制和十六进制之间实现转化呢？后来发现，其实Android内部已经给我们提供了转化函数，如下：

十进制转]]></description><category></category></item><item><title><![CDATA[Android开发中出现java.lang.IllegalStateException: Cannot perform this operation because the connection。。。]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79118889</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79118889</guid><author>ToBeTheOnlyOne</author><pubDate>Sun, 21 Jan 2018 11:33:20 +0800</pubDate><description><![CDATA[最近在开发一个 App 的时候用到了数据库，可是在使用数据库的时候就出现了一些问题，在我查询表中的一些信息时出现了一下问题：

Caused by: java.lang.IllegalStateException: Cannot perform this operation because the connection pool has been closed.]]></description><category></category></item><item><title><![CDATA[Android开发中使用startActivityForResult（）方法从Activity A跳转Activity B出现B退出时A也同时退出的解决办法]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79083661</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79083661</guid><author>ToBeTheOnlyOne</author><pubDate>Wed, 17 Jan 2018 11:50:44 +0800</pubDate><description><![CDATA[最近一个 App 中用到了 startActivityForResult（） 方法，使用的时候却出现了一些问题，比如我在 Activity A 中调用该方法向 Activity B 中跳转，如果 B 中完成一系列操作之后用

setResult(resultcode, intent);
finish();

跳转到 A ，A 在 onActivityResult（） 中进行处理没什么问题，但是如果]]></description><category></category></item><item><title><![CDATA[FloatingActionButton实现点击事件后点击无响应]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79041872</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79041872</guid><author>ToBeTheOnlyOne</author><pubDate>Fri, 12 Jan 2018 11:12:04 +0800</pubDate><description><![CDATA[最近做一个App用到了FloatingActionButton，可是在实现点击事件的时候却出了点问题。 
FloatingActionButton实现点击事件之后，在onClick（）函数中实现的代码逻辑却没有执行，然后就很茫然，这么简单的东西怎么会出错，然后就找了好久，最后才发现还真的是一个简单的问题，如下图：



如上图所示，我在程序中用了两个 FloatingActionButton：f1]]></description><category></category></item><item><title><![CDATA[Wamp搭建的服务器登录的时候出现Access denied for user 'hello'@'localhost' (using password: YES)]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79008028</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79008028</guid><author>ToBeTheOnlyOne</author><pubDate>Mon, 08 Jan 2018 22:35:36 +0800</pubDate><description><![CDATA[想用自己电脑做一个服务器，然后就选择了Wamp，本来一切顺利，可是到登录的时候却出现了问题，出现了

Access denied for user 'hello'@'localhost' (using password: YES)



然后就上网查是怎么回事，然后就发现因为并没有hello这个用户，然后就上网查默认的管理员账户，发现果然是因为不存在hello这个账户，默认的账户是

1.默认用户]]></description><category></category></item><item><title><![CDATA[利用Wamp在本地搭建一个wordpress站点]]></title><link>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79006205</link><guid>https://blog.youkuaiyun.com/ToBeTheOnlyOne/article/details/79006205</guid><author>ToBeTheOnlyOne</author><pubDate>Mon, 08 Jan 2018 19:08:01 +0800</pubDate><description><![CDATA[有时候我们会想搭建一个自己的站点，可是由于只是想自己访问，就不是很想为这个站点在买一个服务器和域名，那我们可能首先就想到把自己电脑当做服务器，那么，可能一个软件就可以解决我们的问题，那就Wamp，它集成了PHP，MySQL 和 Apache，可以傻瓜式的把我们的电脑设置成为一个本地的服务器。 
从Wamp官方网站直接下载这个软件，然后进行安装，一直Next就可以了。安装完成之后，打开Wamp软件，]]></description><category></category></item></channel></rss>