-
Recent Posts
Archives
- October 2023
- March 2017
- February 2017
- January 2017
- December 2016
- October 2016
- August 2016
- June 2016
- May 2016
- April 2016
- March 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- March 2015
- January 2015
- November 2014
- October 2014
- September 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- April 2012
- March 2012
- February 2012
Categories
- Algorithm
- Artificial Intelligence
- Assembly
- C#
- C/C++
- Compiler
- Concepts
- Data Structures
- Default
- Design Pattern
- Distributed System & Cloud Computing
- Docker
- Electrical Engineering
- Git
- Investing
- Java
- JavaScript
- Latex
- Linux
- matlab
- Miscellaneous
- Networks
- Operating Systems
- Paper Summary
- PHP
- Probability
- Python
- Server
- Software Engineering
- Troubleshooting
- Unit Test
- Web
- Windows
Meta
Monthly Archives: March 2016
Lex and Yacc example in Python
PLY is a parser implemented using Lex and Yacc. It can be downloaded from here: http://www.dabeaz.com/ply/ Note: – Lex (a lexer) does lexical analysis, which separating a stream of characters into different words (tokens). Lexer works at the word level. … Continue reading
Posted in Compiler, Python
Leave a comment
Dedupe a list without changing item order in Python
In Python, if one wants to remove duplicates items in a given list. The simplest approach would be feed the list in to a set function, and only the unique elements will remain in the output result. However, the side … Continue reading
Posted in Python
Leave a comment
My Bookshelf
2024 6. (4/13) 价值 5. (3/10) Peak 4. (3/1) Engineers Survival Guide 3. (2/24) Blue Ocean Strategy 2. (2/4) An Elegant Puzzle (1/15) 激荡三十年 (上) 2023 1. (1/31) Do the Hard Things First 2. (3/28) Working Backwards 3. (4/5) The … Continue reading
Posted in Miscellaneous
Leave a comment