日期: 2014年5月23日
博客: 铁锚
最近在查看MariaDB主从复制服务器 Master 的错误日志时看到很多条警告信息,都是提示 UUID()函数不安全,可能 Slave 产生的值和 Master不一致, 警告信息大致如下:
140522 15:11:10 [Warning]
Unsafe statement written to the binary log
using sta...
分类:
数据库 时间:
2014-05-24 21:54:38
阅读次数:
600
The string "PAYPALISHIRING" is written in a
zigzag pattern on a given number of rows like this: (you may want to display
this pattern in a fixed font ...
分类:
其他好文 时间:
2014-05-24 04:13:54
阅读次数:
284
题目链接 The string "PAYPALISHIRING" is written in a
zigzag pattern on a given number of rows like this: (you may want to display
this pattern in a fixed ...
分类:
其他好文 时间:
2014-05-22 01:55:19
阅读次数:
320
1、
??
ZigZag Conversion
The string "PAYPALISHIRING" is
written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibili...
分类:
其他好文 时间:
2014-05-18 07:56:49
阅读次数:
407
【题目】
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)
P A H N
A P L S I I G
Y I R
And then read line by line: "PAHNAPLSI...
分类:
其他好文 时间:
2014-05-15 04:30:57
阅读次数:
313
Maintainable code means code that: is readable,
consistent, predictable, Looks as if it was written by the same person and
documented.
分类:
编程语言 时间:
2014-05-14 23:27:59
阅读次数:
381
使用TCP流式套接字,TCP粘包是指发送方发送的若干包数据到接收方接
收时粘成一包,从接收缓冲区看,后一包数据的头紧接着前一包数据的尾。
出现粘包现象的原因是多方面的,它既可能由发送方造成,也可能由接
收方造成。发送方引起的粘包是由TCP协议本身造成的,TCP为提高传输效率,
发送方往往要收集到足够多的数据后才发送一包数据。若连续几次发送的数
据都很少,通常TCP会根据优化算...
分类:
其他好文 时间:
2014-05-11 22:04:21
阅读次数:
339
【Logos】 Logos is a component of theTheosdevelopment
suite that allows method hooking code to be written easily and clearly, using a
set of special pr....
分类:
其他好文 时间:
2014-05-11 15:50:10
阅读次数:
305
关于 TopShelfTopshelf is a framework for hosting
services written using the .NET framework. The creation of services is
simplified, allowing developers ...
那么Cowboy是什么呢?Cowboy is a small, fast and
modular HTTP server written in Erlang.其定位非常明确:Cowboy aims to provide a complete
HTTP stack in a small code ba...
分类:
Web程序 时间:
2014-05-09 23:06:24
阅读次数:
411