<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[硬曲奇小屋]]></title><description><![CDATA[本博客暂停更新，新博客地址：jamesfan.cc]]></description><link>https://blog.youkuaiyun.com/james_616</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; james_616]]></copyright><item><title><![CDATA[写过的最长的Excel公式]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/106481263</link><guid>https://blog.youkuaiyun.com/james_616/article/details/106481263</guid><author>james_616</author><pubDate>Mon, 01 Jun 2020 20:39:19 +0800</pubDate><description><![CDATA[IFERROR(INDEX(INDIRECT(“sheet1!E:E”),MATCH(C2,INDIRECT(“sheet1!C:C”),0)),0)

功能：在当前工作表中根据已有工作表显示某项目的数量

]]></description><category></category></item><item><title><![CDATA[macOS上安装TensorFlow并在Jupyter Notebook中使用]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/79480476</link><guid>https://blog.youkuaiyun.com/james_616/article/details/79480476</guid><author>james_616</author><pubDate>Thu, 08 Mar 2018 10:09:28 +0800</pubDate><description><![CDATA[1 TensorFlow概要

TensorFlow是用于表达机器学习算法的接口，以及用于执行这些算法的实现。使用TensorFlow表达的计算可以在各种各样的异构系统上执行，从移动设备（如手机和平板电脑）到数百台大型分布式系统以及数千个GPU卡等计算设备。该系统灵活多变，可用于表达各种算法，包括深度神经网络模型的训练和推理算法，并已用于开展研究并将机器学习系统部署到十几个领域计算机科学和其他领域...]]></description><category></category></item><item><title><![CDATA[如何正确的通过 C++ Primer 学习 C++？（转自知乎）]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/79420620</link><guid>https://blog.youkuaiyun.com/james_616/article/details/79420620</guid><author>james_616</author><pubDate>Fri, 02 Mar 2018 10:43:18 +0800</pubDate><description><![CDATA[如何正确的通过 C++ Primer 学习 C++？（转自知乎）

作者：dawnmist 
链接：https://www.zhihu.com/question/32087709/answer/54936403 
来源：知乎 
著作权归作者所有，转载请联系作者获得授权。

个人经验，C++ primer 第一次可以跳着看。关键是要尽快用起来，在使用中熟练，而不是在细节中迷失。 
以C++ Prim...]]></description><category></category></item><item><title><![CDATA[《算法（第4版）》代码程序的运行（MacOS版）]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/79145785</link><guid>https://blog.youkuaiyun.com/james_616/article/details/79145785</guid><author>james_616</author><pubDate>Tue, 23 Jan 2018 22:52:44 +0800</pubDate><description><![CDATA[《算法》上的Java运行环境的搭建按照本书网站上的教程就应该能完成，下面讲一下如何编译运行书中的代码。有两种方式，以书中第37页代码为例，我们分别介绍这两种方式。

public class RandomSeq { 
    public static void main(String[] args) {
        int n = Integer.parseInt(args[0]);]]></description><category></category></item><item><title><![CDATA[Qt发布可执行程序]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/79021284</link><guid>https://blog.youkuaiyun.com/james_616/article/details/79021284</guid><author>james_616</author><pubDate>Wed, 10 Jan 2018 10:56:51 +0800</pubDate><description><![CDATA[Qt发布可执行程序之前的高光谱的项目需要做成一个带有可视化的版本，原本就打算用MFC，可是MFC和OpenCV的结合有些麻烦。所以我还是选择打算用Qt，因为本科毕设的时候也用过，并且能够跨平台。 
下面来简单介绍对于QWigets程序如何发布一个可执行程序，即拷贝到他人的计算机上也可以使用。假设采用的项目名称为Notepad。 
1. 将程序改为Release版本并编译运行。 
 
2. 将rele]]></description><category></category></item><item><title><![CDATA[Python的format格式化输出]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/79004482</link><guid>https://blog.youkuaiyun.com/james_616/article/details/79004482</guid><author>james_616</author><pubDate>Mon, 08 Jan 2018 16:34:57 +0800</pubDate><description><![CDATA[Python的格式化输出

方法一：传统方法

与C语言类似，可以采用“%”作为格式化输出的标记。如： 
print("The first number: %5d, the second number: %8.2f" % (123, 456.789)) 
输出的结果为： 
The first number:   123, the second number:   456.79 
不用做更多解释，分]]></description><category></category></item><item><title><![CDATA[macOS上无法加载Coursera视频]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78928381</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78928381</guid><author>james_616</author><pubDate>Fri, 29 Dec 2017 09:49:36 +0800</pubDate><description><![CDATA[由于某种限制，我们在Coursera上无法正常显示课程视频。 
下面给出在macOS上的解决方案：
在Finder中前往，输入/private/etc/，在打开的文件夹中找到hosts文件；
将其拖到桌面，因为在文件夹内不允许修改；
用文本编辑器打开，在最后一行加入52.84.246.72 d3c33hcgiwev3.cloudfront.net，保存；
拖回至原文件夹内，可正常显示。]]></description><category></category></item><item><title><![CDATA[VS2013 无法找到资源编译器DLL]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78757539</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78757539</guid><author>james_616</author><pubDate>Sat, 09 Dec 2017 10:29:23 +0800</pubDate><description><![CDATA[VS2013 无法找到资源编译器DLL经过一个多月的实践，一个简单的高光谱数据处理程序编写完成。其基本功能就是实现一个图像融合和分类，现在需要编写一个简单的MFC界面，以供展示。 
直接在VS2013创建MFC程序的时候，点击完成会弹出错误无法找到资源编译器DLL。
请确保路径正确。创建后，无法打开资源视图。解决方法： 
下载安装 Windows SDK for 8.1离线包，重新启动即可。]]></description><category></category></item><item><title><![CDATA[Mac上使用C++ 11标准编译程序]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78342920</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78342920</guid><author>james_616</author><pubDate>Wed, 25 Oct 2017 16:22:12 +0800</pubDate><description><![CDATA[《C++ Primer 5e》是基于C++ 11的标准写的，相比于之前的标准添加了许多新的特性，比如范围for循环。Mac上默认的C++编译器是Clang，我们可以在终端查看。$ g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/]]></description><category></category></item><item><title><![CDATA[Introduction to SIFT (Scale-Invariant Feature Transform)]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78331063</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78331063</guid><author>james_616</author><pubDate>Tue, 24 Oct 2017 16:24:49 +0800</pubDate><description><![CDATA[NotesThis main page comes from the OpenCV-Python Tutorials. 
I converted the code from Python to C++ and comment the uesage relating function.Theory In last couple of chapters, we saw some corner detec]]></description><category></category></item><item><title><![CDATA[更改Windows鼠标滑轮滚动方向]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78311510</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78311510</guid><author>james_616</author><pubDate>Sun, 22 Oct 2017 17:42:35 +0800</pubDate><description><![CDATA[经常在Mac和Windows PC切换的人往往会遇到这样一个问题，那就是鼠标滑轮的方向恰好相反。改变Mac的鼠标滑轮滚动方向很简单，系统偏好设置—鼠标—滚动方向，把“自然”的对勾勾掉就好了。 
 
那么，这里的意思就是Mac本身的滚动方式是自然的咯！不过习惯了之后确实觉得Mac上的滚动方式自然，为了保持同样的滚动方式，下面我们更改Windows下的滚动方式。 
我们首先需要知道鼠标设备的实例路径，计]]></description><category></category></item><item><title><![CDATA[在MacOS Sierra上安装OpenCV]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78265122</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78265122</guid><author>james_616</author><pubDate>Tue, 17 Oct 2017 19:32:20 +0800</pubDate><description><![CDATA[上次在Mac上配置OpenCV还是本科做毕设的时候，但是这次安装遇到问题。首先下载opencv的源码，然后用安装包安装Cmake。 
按照opencv官网的安装教程执行cmke指令: 
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. 
报错说没有cmake，参考Cmake - Tools - How to]]></description><category></category></item><item><title><![CDATA[解决error C4996: 'fopen'问题]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78261463</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78261463</guid><author>james_616</author><pubDate>Tue, 17 Oct 2017 15:56:17 +0800</pubDate><description><![CDATA[今天将读高光谱的程序从Mac迁移到Win的VS上，编译、运行结果报错。error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.同时它给出了解决方法，那就是在预处理器]]></description><category></category></item><item><title><![CDATA[读取BIL格式高光谱数据——C/C++]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78242340</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78242340</guid><author>james_616</author><pubDate>Sun, 15 Oct 2017 18:03:24 +0800</pubDate><description><![CDATA[在上一篇博客中，我们提到如何读取头文件。这篇博客将要谈到如何进一步读取高光谱数据本身，这里以BIL格式为例。 
什么是BIL呢？BIL的全称为Band Interleave by Line，连续保存的是一个波段的一整行数据。如图1所示的三个波段的数据 
 
 
图1 
波段1的第一行为AAAAA，波段2的第一行为BBBBB，波段3的第一行为CCCCCC，那么整个第一行的数据就是AAAAABBBBBC]]></description><category></category></item><item><title><![CDATA[读取高光谱数据头文件—C语言]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78190368</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78190368</guid><author>james_616</author><pubDate>Tue, 10 Oct 2017 11:03:01 +0800</pubDate><description><![CDATA[做高光谱数据处理，第一步当然是读取头文件。有过相关经验的人都知道，头文件是以.hdr结尾的文本文件，主要是每行表示相关的数据。以下是ENVI自带的cup95eff数据的头文件。ENVI
description = {
  1995 AVIRIS "Effort" Corrected ATREM [Thu Apr 25 00:52:03 1996]}
samples = 400
lines   = 3]]></description><category></category></item><item><title><![CDATA[OpenCV 3.1.0在VS 2013下配置]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78186928</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78186928</guid><author>james_616</author><pubDate>Mon, 09 Oct 2017 21:21:52 +0800</pubDate><description><![CDATA[要开始在Visual Stdio 2013上用OpenCV开发，为了能够直接支持VS 2013我们这里使用OpenCV 3.1.0。建议将VS 2013安装在C盘默认路径，否则会出现错误。 
 1. 新建项目 
在Visual C++下，选择Win32 控制台程序，项目名称为opencv_vc12（Visual Stdio 2013对应版本为vc12）。 
 
 2. 拷贝相关文件 
在项目文件夹内]]></description><category></category></item><item><title><![CDATA[VSCode插件离线安装]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78132247</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78132247</guid><author>james_616</author><pubDate>Fri, 29 Sep 2017 11:32:16 +0800</pubDate><description><![CDATA[现在有了新的任务要在VS 2013上写C++的程序，在Windows平台编辑器的话当然首先考虑亲VS的亲儿子VS Code。由于习惯了在Sublime Text上的快捷操作，我们可以在VS安装插件来实现。 
本来安装的话很简单，直接在插件中搜索就行，但是实验室的电脑没网啊！（-_-）所以就只能离线安装了。1.首先在Marketplace中找到并打开所要的插件Sublime Text Keymap]]></description><category></category></item><item><title><![CDATA[argc & argv in C]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78129035</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78129035</guid><author>james_616</author><pubDate>Thu, 28 Sep 2017 22:53:59 +0800</pubDate><description><![CDATA[虽说输入／输出不是C语言本身的组成部分，但是它是程序与数据间交互中不可缺少的一部分。下边我们编写一个访问文件的程序cat，它把一批命名文件串联后输出到标准输出（stdout）上。例如，下列命令行： 
cat x.c y.c 
将在标准输出上打印文件x.c和y.c的内容。 
读写一个文件前，需要通过库函数fopen打开该文件，并返回用于文件读写操作的文件指针。因为<stdio.h>中已经定义了结构FI]]></description><category></category></item><item><title><![CDATA[字符数组的处理—C语言]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78111410</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78111410</guid><author>james_616</author><pubDate>Wed, 27 Sep 2017 12:03:58 +0800</pubDate><description><![CDATA[继续学习Kernighan和Ritchie的The C programming Language。在1.9 字符数组中，通过下面的一个程序，来说明字符数组以及操作字符数组的函数的用法。该程序读入一组文本行，并把最长的文本行打印出来。 
首先，编写一个独立的函数getline，它读取输入的下一行，能够返回该行的长度，而在遇见文件结束符时返回0。当发现某个读入的行比以前读入的最长行还要长时，就把该行保存]]></description><category></category></item><item><title><![CDATA[Word公式编排技巧]]></title><link>https://blog.youkuaiyun.com/james_616/article/details/78053096</link><guid>https://blog.youkuaiyun.com/james_616/article/details/78053096</guid><author>james_616</author><pubDate>Thu, 21 Sep 2017 16:01:22 +0800</pubDate><description><![CDATA[虽说会LaTeX能给我们写文章编排公式带来很大方便，但是在平时的工作中还是要用Word，毕竟不是所有人都能直接上来就用LaTeX的。我就简单介绍一下在Word中编排公式的小技巧，我这里用的是Word for Mac 2016，其他版本的也同样适用。 
一般用Word的插入公式工具可用直接插入，插入后公式会自动居中。但是我们常常需要对公式进行编号，编号靠右对齐，而公式居中。 
 1. 首先打开word]]></description><category></category></item></channel></rss>