Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware, thus making it behave as expected. Debugging tends to be harder when various subsystems are tightly coupled, as changes in one may cause bugs to emerge in another.
TL;DR: Configuring vsftp is a difficult work and we always meet various of errors. In this post, I am going to introduce one possible solution of error "GnuTLS error -15: An unexpected TLS packet was received." when you are using vsftpd.
scala在编译&优化的时候,有时候会返回个inline warning.但是,实际上我们写代码已经不能再优化了.
比如如下这个例子:
[scala]
yu:~ yu$ scala -version
Scala code runner version 2.11.7 -- Copyright 2002-2013, LAMP/EPFL
yu:~ yu$ scala -optimize -Yinline-warnings
Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_05).
Type in expressions to have them evaluated.
Type :help for more information.
scala> object O { Map(
| "a" -> 0, "b" -> 1, "c" -> 2, "d" -> 3, "e" -> 4,
| "a" -> 0, "b" -> 1, "c" -> 2, "d" -> 3, "e" -> 4,
| "a" -> 0, "b" -> 1, "c" -> 2, "d" -> 3, "e" -> 4,
| "f" -> 5, "g" -> 6, "h" -> 7, "i" -> 8) }
warning: At the end of the day, could not inline @inline-marked method ->extension
warning: At the end of the day, could not inline @inline-marked method ->extension
warning: At the end of the day, could not inline @inline-marked method ->extension
warning: At the end of the day, could not inline @inline-marked method ->extension
defined object O
src/xxxx.c: In function ‘foo’:
src/xxxx.c:27:1: error: parameter ‘some_pp’ is initialized
src/xxxx.c:27:1: warning: initialization from incompatible pointer type [enabled by default]
intsqlite3_exec(
sqlite3*, /* An open database */constchar *sql, /* SQL to be evaluated */int (*callback)(void*,int,char**,char**), /* Callback function */void *, /* 1st argument to callback */char **errmsg /* Error msg written here */
);