程序运行的整个过程,学习一下 源代码 (source code) → 预处理器 (preprocessor) → 编译器 (compiler) → 汇编程序 (assembler) → 目标代码 (object code) → 连接器 (Linker) → 可执行程序 (executables) 1. 词法分析 词法分析器根据词法规则识别出源程序中的各个记号(token),每个记号代表一类单词(lexeme).源程序中常见的记号可以归为几大类:关键字.标识符.字面量和特殊符号.词法分析器的输入是…
最近在做android项目的过程中遇到这样一个问题,新增一个activity的时候添加不成,eclipse提示The refactoring does not change any source code.百度了很久终于在Stack Overflow找到问题的解决方法. 言归正传,先把问题解决了. 原帖的内容就不粘贴在这里了.原帖是的回复是: Check if you have older version of ADT plug-in. You need to update ADT plug-i…
A code sequence made up multiple instructions and specifying an offset from a base address is identified in an object file. The offset from the base address corresponds to an offset location in a memory configured for storing an address of a variable…
The Robotics Library is an open source C++ library for robot kinematics, motion planning and control. The official website provides a Windows installer. But it's release only and has no debug information. To better debug into the library, we need to…
最近开始痛定思痛,研究cakephp的源码. 成长的路上从来没有捷径,没有小聪明. 只有傻傻的努力,你才能听到到成长的声音. 下面这篇文章虽然过时了,但是还是可以看到作者的精神,仿佛与作者隔着时空的交流,这就是阅读的意义所在吧 :) ============================================================= 原文: http://debuggable.com/posts/learning-from-the-cakephp-source-code-p…
After talking about Information theory, now let's come to one of its application - Decision Tree! Nowadays, in terms of prediction power, there are many ensemble methods based on tree that can beat Decision Tree generally. However I found it necessar…
This is the second post in Boosting algorithm. In the previous post, we go through the earliest Boosting algorithm - AdaBoost, which is actually an approximation of exponential loss via additive stage-forward modelling. What if we want to choose othe…
This post is first posted on my WeChat public account: GeekArtT Reading source code is always one big part for software engineers. Just like the writers to learn writing by reading a heck of classic books, like the painters to "read" a bunches o…
Download any version source code of Windows Azure Powershell from https://github.com/Azure/azure-sdk-tools/releases Downdload Wix ToolSet from http://wix.codeplex.com/releases/view/115492 and install it to let your VS supports Wix component. Build \W…
http://rubenlaguna.com/wp/2008/02/22/attach-source-code-to-a-netbeans-library-wrapper-module/ Attach Source Code to a Netbeans Library Wrapper Module Feb 22nd, 2008 I’m new in NetBeans and today I’ve been struggling a couple of hours with the simple…
特色 迅捷是一个功能强大的C/C++源代码分析软件.可以处理数百万行的源程序代码.支持标准及K&R风格的C/C++.对每一个打开的源代码工程,通过建立一个包含丰富交叉引用关系的数据库,显示其所含的各种信息:所有的源文件.所有的头文件.所有的代码文件.词汇索引.索引结果.文件包含关系.宏定义.数据结构和函数定义.可扩展的函数定义.函数调用关系.分文件夹的定义目录.构造层次.诊断性输出等.仅须按一键就可以非常方便地扩展各种类型的定义和调用关系.所有这些结合起来帮助用户快速地阅读.理解.研究和维护关键…
转载于:http://www.kawa.net/works/js/xml/objtree-try-e.html // ======================================================================== // XML.ObjTree -- XML source code from/to JavaScript object like E4X // ==============================================…
Artistic Style 1.15.3 A Free , Fast and Small Automatic Formatterfor C , C++ , C# , Java Source Codes by Tal Davidson, Israel (E-mail: davidsont@bigfoot.com) Main home Page http://sourceforge.net Project Page http://www.sourceforge.net/projects/astyl…
link from:http://www.crowdstrike.com/blog/native-java-bytecode-debugging-without-source-code/index.html Native Java Bytecode Debugging without Source Code Feb 12, 2014 | Jason Geffner, Sr. Security Researcher At CrowdStrike, we've seen a moderate inc…
最近一直在做electron应用的打包,集成mac版本的自动更新时出现了问题. Error: Could not get code signature for running application 无法获取当前应用的代码签名. (首先声明:由于mac的签名机制,npm run dev 是肯定没有签名的,以下所述都需要在npm run build 下打正式包) 百思不得其解,试过了各种办法,研究了N遍官方文档,发现现实和书上写的还是不一样.注意到一直是npm run build打包的时候都无法签…
1.berfore we talking abnout the Source Code review,here's what we want to know about the most popular programming langurages . Web application development :Java C#  NET and PHP Drivers and handware C C#   and assembly language Reverse engineering : A…
Artistic Style - Index http://astyle.sourceforge.net/ Artistic Style 3.1 A Free, Fast, and Small Automatic Formatterfor C, C++, C++/CLI, Objective‑C, C#, and Java Source Code Project Page: http://astyle.sourceforge.net/ SourceForge: http://sourceforg…
In the previous post we addressed some issue of decision tree, including instability, lack of smoothness, sensitivity to data, and etc. One solution is Boosting Method. In simple words Boosting combines multiple weak learners to get a powerful predic…
Not counting obtaining the source code, and once you have the prerequisites satisfied, [Windows] users can build from source code in 5 easy steps. Prerequisites – Install & ensure they are in the $PATH: CMake <-- Download C++ compiler <-- Visual…
LIRE教程之源码分析 |LIRE Tutorial of Analysis of the Source Code 最近在做地理图像识别和检索的研究,发现了一个很好用的框架LIRE,遂研究了一通.网上的教程不算很多,而且LIRE更新比较快,一些方法已经更新或废弃,故想写几篇文章重新总结一下框架内的多种方法,方便他人使用. LIRE(Lucene Image Retrieval)是一个开源的轻量级图像识别Java框架,提供了多种简单易用的图片检索方法.事实上,LIRE是基于Lucene这个全文检索…
一.JDK source code 命令行中: sudo apt-get install openjdk-7-source 下好的jdk源码在 Linux 在目录 usr/lib/jvm/openjdk-7/src.zip Windows在目录  C:\Program Files\Java\jdk1.6.0_20\src.zip In Eclipse, select Windows -> Preferences -> Java -> Installed JREs , expands rt…
How to compile and install Linux Kernel 5.1.2 from source code Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things an…
A Darkroom by doublespeakgames <!DOCTYPE html> <html itemscope itemtype="https://schema.org/CreativeWork"> <head> <meta charset="UTF-8"/> <!-- A Dark Room (v1.4) ================== A minimalist text adventure…
说实话,android source code从2.3到4.4变化是蛮多的,尤其是media部分,虽然总的框架是没有多大变化,但是找起代码来看还是挺麻烦的.在android里面最受伤的是使用了java,jni,jvm,Nativity c++等等,各种设计模式横行,当然在学习源码过程中也意识了编程语言基础,数据结构,设计模式的重要性. android source code 经典的地方: 1. 大量使用了各种设计模式如单例模式,装饰模式,工程工厂模式,适配器模式等等. 2. 使用了binder驱…
Source Code Pro - 最佳的免费编程字体之一!来自 Adobe 公司的开源等宽字体下载     每一位程序员都有一套自己喜爱的代码编辑器与编程字体,譬如我们之前就推荐过一款"神器"级别的代码编辑器 Sublime Text 2,而今天我们则推荐一款相当不错的编程字体 -- Source Code Pro! Source Code Pro 是由大名鼎鼎的 Adobe 公司发布的一款开源且完全免费的等宽编程字体,它非常适合用于阅读代码,支持 Linux.Mac OS X 和…
为了使一个项目支持集群,自己学习使用了 akka cluster 并在项目中实施了,从此,生活就变得有些痛苦.再配上 apache 做反向代理和负载均衡,debug 起来不要太酸爽.直到现在,我还对 akka cluster 输出的 log 不是很熟悉,目前网络上 akka cluster 的信息还比较少,想深入了解这东西的话,还是要自己读 source code.前几天,雪球那帮人说 akka 不推荐使用,有很多坑,这给我提了个醒,目前我对 akka 的理解是远远不够的,需要深入学习. akk…
The default class viewer doesn't decompile the class file so you cannot open and check the source code, you may down third part App to do that while it is not convenient for debugging. The JAD plugin unable you open it directly in Eclipse. you just f…
收藏一些经典的源码,持续更新!!! 1.深度学习框架(Deep Learning Framework). A:Caffe (Convolutional Architecture for Fast Feature Embedding)Convolutional 由伯克利大学Yangqing Jia Ph.D开发的开源深度学习的代码. Homepage:http://caffe.berkeleyvision.org/ Paper:Caffe: Convolutional Architecture f…
import os import sys def find_file(root_dir, type): dirs_pool = [root_dir] dest_pool = [] def scan_dir(directory): entries = os.walk(directory) for root, dirs, files in entries: dirs_pool.extend([os.path.join(root, dir_entry) for dir_entry in dirs])…
1. 安装ctags: sudo apt-get install exuberant-ctags 2. 打开https://github.com/Quixotix/gedit-source-code-browser选折右边的Download Zip按钮下载 3. 解压缩刚刚下载的zip文件. 4. 将文件 sourcecodebrowser.plugin 和文件夹 sourcecodebrowser 复制到 /usr/lib/gedit/plugins/ chenzc@chenzc-T530:~…