随笔分类 -  技术储备

摘要:Use instanceof for custom typesvar ClassFirst = function () {};var ClassSecond = function () {};var instance = new ClassFirst();typeof instance; // ob 阅读全文
posted @ 2017-01-06 22:44 SolidMango
摘要:https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt 阅读全文
posted @ 2016-03-24 21:21 SolidMango
摘要:REST vs SOAPThese information searched from internet most from stackoverflow.Simple explanation about SOAP and RESTSOAP - "Simple Object Access Protoc... 阅读全文
posted @ 2015-08-22 23:05 SolidMango
摘要:MAC Objective-C 开发经典书籍推荐 闻道有先后,术业有专攻,这句话放到计算机科学领域的理解可能每个人都会不同。有些人选择一个操作系统,一个体系的编程语言,作一个领域的开发。有些人选择多个操作系统,多个体系的编程语言,作多个领域的开发。其实这都没有错,笔者倾... 阅读全文
posted @ 2015-07-18 22:15 SolidMango 阅读(6870) 评论(11) 推荐(3)
摘要:NODE.JS之我见先说说为什么有这篇文章,关注NODE.JS 也有一段时间了,不敢说大彻大悟,但是对于NODE.JS能干什么,还是有一定的了解,笔者多年以前就研究过JavaScript引擎V8,可以说是国内最早编译并研究V8代码的人之一,这一点有博客为证。虽然NODE.JS的成功是有目共睹的,在社... 阅读全文
posted @ 2015-03-28 19:38 SolidMango 阅读(5264) 评论(78) 推荐(15)
摘要:谈谈数据挖掘和机器学习又是好长时间没有写博客了,最近周末事情太多,明天劳动节终于可以让我们劳动人民休息一天了。首先声明的是本人并非数据挖掘和机器学习的高手,只是作为业余兴趣刚刚开始研究,据我所知好多朋友也和我一样对这方面的东西感兴趣,个人认为机器人技术是未来发展的方向。虽然我的专业是软件开发,基于W... 阅读全文
posted @ 2014-04-30 22:34 SolidMango 阅读(14617) 评论(0) 推荐(6)
摘要:URL:http://weblogs.asp.net/kennykerr/archive/2008/07/24/visual-c-in-short-converting-between-unicode-and-utf-8.aspxVisual C++ in Short: Converting between Unicode and UTF-8 The Windows SDK provides the WideCharToMultiByte function to convert a Unicode, or UTF-16, string (WCHAR*) to a character strin 阅读全文
posted @ 2012-11-08 14:19 SolidMango 阅读(6189) 评论(0) 推荐(0)
摘要:给C++初学者的50个忠告 1.把C++当成一门新的语言学习(和C没啥关系!真的。); 2.看《Thinking In C++》,不要看《C++变成死相》; 3.看《The C++ Programming Language》和《Inside The C++ Object Model》,不要因为他们很难而我们自己是初学者所以就不看; 4.不要被VC、BCB、BC、MC、TC等词汇所迷惑——他们都是集成开发环境,而我们要学的是一门语言; 5.不要放过任何一个看上去很简单的小编程问题——他们往往并不那么简单,或者可以引伸出很多知识点; 6.会用Visual C++,并不说明你会C++;... 阅读全文
posted @ 2012-09-26 21:00 SolidMango
摘要:General-Purpose RegistersThe 32-bit general-purpose registers EAX, EBX, ECX, EDX, ESI, EDI, EBP, and ESPare provided for holding the following items:• Operands for logical and arithmetic operations• Operands for address calculations• Memory pointersAlthough all of these registers are available for g 阅读全文
posted @ 2012-09-24 08:59 SolidMango 阅读(1322) 评论(0) 推荐(1)
摘要:Book list:计算机科学概论高等数学线性代数概率论与数理统计离散数学及其应用离散数学教程什么是数学具体数学:计算机科学基础谭浩强C程序设计C primer plusThe C programming languageC和指针C专家教程C陷阱与缺陷C语言解惑C标准库你必须知道的495个C语言问题数据结构(清华版)数据结构与算法分析—C语言描述编程珠玑编程珠玑II算法导论计算机程序设计艺术卷1计算机程序设计艺术卷2计算机程序设计艺术卷3模拟电子技术数字逻辑与数字集成电路汇编语言80X86汇编语言程序设计教程Intel汇编语言程序设计IBM PC汇编语言程序设计高级汇编语言程序设计保护方式下的 阅读全文
posted @ 2012-06-19 13:47 SolidMango 阅读(593) 评论(2) 推荐(0)
摘要:1. 首先到Visual Studio的安装目录找到下面的一些文件,并将其拷贝到调试目标机器上。C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x862. 在目标机器上运行msvsmon.exe, 界面如下图,3. 在Tools->Options,进行上图所示的设置,选择ok.4. 在调试主机里打开source code, 填写调试目标机器的IP地址并attach到相应的进程,在调试主机上面设置对应的symbol server,设置断点,everything ok, 你可以远程调试啦,就是这 阅读全文
posted @ 2012-05-22 17:25 SolidMango 阅读(600) 评论(0) 推荐(1)
摘要:From http://blogs.msdn.com/b/slavao/archive/2005/02/01/364523.aspxSo far I touched on subjects that have been widely discussed in the industry. Today I would like to talk about a subject that you would hardly find information about:memory pressure..On a surface the subject appears simple but in real 阅读全文
posted @ 2012-05-10 12:51 SolidMango 阅读(282) 评论(0) 推荐(0)
摘要:The Top 100 List#Author(s) / TitleYearISBN13Joltsumavg1Steve McConnellCode Complete: A Practical Handbook of Software Construction (2nd Edition)2004978-0735619678**2434.722Elisabeth Freeman, etc.Head First Design Patterns2004978-0596007126**2374.633Steve McConnellRapid Development2003978-0072850604* 阅读全文
posted @ 2012-04-29 22:24 SolidMango 阅读(632) 评论(1) 推荐(0)
摘要:Terminate process cleanly[reprint]I often noticed in the C examples I found on the net, that those examples made use of SafeTerminateProcess so I wondered what this call stands for and why they used it.After some research I found an article which was from Dr Dobbs written somewhere around 1999 which 阅读全文
posted @ 2012-04-26 22:32 SolidMango 阅读(963) 评论(0) 推荐(0)
摘要:RAM, virtual memory, pagefile, and memory management in WindowsThis article contains basic information about the virtual memory implementation in 32-bit versions of Windows. This information concerns Windows 2000, Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008. (Because Wind 阅读全文
posted @ 2012-04-17 15:53 SolidMango
摘要:Books Programmers Don't Really ReadFrom:http://www.billthelizard.com/2008/12/books-programmers-dont-really-read.htmlMark Twain once said that a classic novel is one that many people want to have read, but few want to take the time to actually read. The same could be said of "classic" p 阅读全文
posted @ 2012-04-09 21:14 SolidMango 阅读(282) 评论(0) 推荐(0)
摘要:How to use safearray and fetch the safearray as a out parameter如何使用safearray并将运算过的safearray作为出参传回来HRESULT OperationOnSafeArray( SAFEARRAY** psa, double *data, int size ) { SAFEARRAYBOUND rgsabound[1]; rgsabound[0].lLbound = 0; rgsabound[0].cElements = 3; *psa = SafeArrayCreate(VT_R8, 1, rgsabound);. 阅读全文
posted @ 2012-03-27 11:07 SolidMango 阅读(326) 评论(0) 推荐(0)
摘要:1.0--3.5sp1http://msdn.microsoft.com/zh-cn/library/ms171868(v=VS.90).aspx4.0http://msdn.microsoft.com/zh-cn/library/ms171868(v=VS.100).aspx 阅读全文
posted @ 2011-10-11 19:20 SolidMango 阅读(450) 评论(0) 推荐(0)
摘要:C# 语言规范没有定义编码标准。 但是,Microsoft 使用本主题中的这些指南开发示例和文档。 编码约定可实现以下目的:它们创建一致的代码外观,从而使读者可以关注内容而非布局。它们使读者能够根据以前的经验作出假设,从而更加快速地理解代码。有利于复制、更改和维护代码。演示 C# 最佳做法。命名约定 命名指南在 名称准则 中介绍。 您无需更改由 Visual Studio 设计器工具创建的对象的名称,就可以让它们符合指南。 在不包括 using 语句 的简短示例中,使用命名空间限定。 如果您知道默认情况下会将某命名空间导入项目中,则无需完全限定来自该命名空间的名称。 如果限定名称太长无法放入一 阅读全文
posted @ 2011-10-10 21:15 SolidMango 阅读(499) 评论(0) 推荐(0)
摘要:1. Handle Leak:A handle leak is a type of software bug that occurs when a computer program asks for a handle to a resource but does not free the handle when it is no longer used. If this occurs frequently or repeatedly over an extended period of time, a large number of handles may be marked in-use . 阅读全文
posted @ 2011-10-10 20:35 SolidMango 阅读(3303) 评论(0) 推荐(0)