Java中的APT的工作过程 APT即Annotatino Processing Tool, 他的作用是处理代码中的注解, 用来生成代码, 换句话说, 这是用代码生成代码的工具, 减少boilerplate代码. 我们通过一个简单的例子来简单APT的工作过程, 因为本文demo不设计ide及grad ...
分类:
编程语言 时间:
2019-05-28 12:52:46
阅读次数:
328
问题:给定一个N x N的数组,将数组元素顺时针旋转90度,并且要求不使用另外的数组 示例: 输入: matrix变为: matrix变为: # 根据n的大小,确定需要旋转多少个轮次 # 每个轮次,将所有会旋转的点按照旋转的路径(菱形)划分为多个组,每个组中的元素个数为n # 先旋转端点,再旋转其他 ...
分类:
其他好文 时间:
2019-05-25 12:39:16
阅读次数:
118
[ERROR - org.apache.flume.source.SpoolDirectorySource$SpoolDirectoryRunnable.run(SpoolDirectorySource.java:256)] FATAL: Spool Directory source source1: { spoolDir: /flume/log/ }: Uncaught exception in SpoolDirectorySource thread. Restart or reconfigure Flume to continue processing.
java.nio.charset.MalformedInputException: Input length = 1
分类:
编程语言 时间:
2019-05-23 00:52:39
阅读次数:
156
HTTPステータス 500 Internal Server ErrorType Exception Reportメッセージ Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarExc ...
分类:
数据库 时间:
2019-05-22 11:29:26
阅读次数:
147
map/reduce Python内建了map()和reduce()函数。 如果你读过Google的那篇大名鼎鼎的论文“MapReduce: Simplified Data Processing on Large Clusters”,你就能大概明白map/reduce的概念。 我们先看map。map ...
分类:
编程语言 时间:
2019-05-16 14:00:44
阅读次数:
163
接下来的一段时间,要深入研究下自然语言处理这一个学科,以期能够带来工作上的提升。 学习如何实用python实现各种有关自然语言处理有关的事物,并了解一些有关自然语言处理的当下和新进的研究主题。 NLP,Natural Language Processing,自然语言处理是计算机科学领域与人工智能领域 ...
分类:
编程语言 时间:
2019-05-15 14:09:04
阅读次数:
114
向量AB,沿着n旋转10度 osg::Vec3 left = AB*osg::Matrix::rotate(osg::inDegrees(10), n); osg::Vec3 right = AB*osg::Matrix::rotate(osg::inDegrees(-10), n);//right ...
分类:
其他好文 时间:
2019-05-13 14:11:40
阅读次数:
385
500 Internal Privoxy Error Privoxy encountered an error while processing your request: Could not load template file no-server-data or one of its inclu ...
分类:
其他好文 时间:
2019-05-11 23:29:58
阅读次数:
522
You are given an n x n 2D matrix representing an image. You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockw ...
分类:
其他好文 时间:
2019-05-10 23:30:21
阅读次数:
163
针对回归训练卷积神经网络 此示例使用: Image Processing Toolbox Deep Learning Toolbox Statistics and Machine Learning Toolbox Try it in MATLAB 此示例使用: Image Processing To ...
分类:
其他好文 时间:
2019-05-10 14:58:37
阅读次数:
361