鱼喃

听!布鲁布鲁,大鱼又在那叨叨了

什么是Flex

“Flex is a tool for generating scanners: programs which recognized lexical patterns in text. flex reads the given input files, or its standard input if no file names are given, for a description of a scanner to generate. The description is in the form of pairs of regular expressions and C code, called rules. flex generates as output a C source file, lex.yy.c’, which defines a routine yylex()’. This file is compiled and linked with the -lfl’ library to produce an executable. When the executable is run, it analyzes its input for occurrences of the regular expressions. Whenever it finds one, it executes the corresponding C code.” — Vern Paxson

Read more »

上次阿里面试问到了事务,答的一塌糊涂~

虽然看过很多遍,仍然记不住,还是写篇博客,没事经常翻翻吧。

Read more »

序列化是干什么的

简单说就是为了保存在内存中的各种对象的状态(也就是实例变量,不是方法),并且可以把保存的对象状态再读出来。虽然你可以用你自己的各种各样的方法来保 存object states,但是Java给你提供一种应该比你自己好的保存对象状态的机制,那就是序列化。

Read more »

今天写网页碰到一个问题。

给按钮添加点击事件,然后跳转到其他网页,写完代码在firefox上测试通过后部署,却在手机上测试发现了问题,按钮点了之后根本没反应。想起浏览器是chrome,于是打开电脑上的chrome调试,发现同样没有反应。

Read more »