carfield.com.hk go.txt 2017-11-11T16:53:31Z 2017-11-11T16:53:31Z <br/>How go utilizing-multi-core<br/><pre><br/>package main<br/><br/>import "runtime"<br/><br/>func calc()<br/>{<br/> sum := 0;<br/> for i := 0; ; i++ {<br/> sum += i;<br/> }<br/>}<br/><br/>func main()<br/>{<br/> runtime.GOMAXPROCS(4);<br/> go calc();<br/> go calc();<br/> go calc();<br/> go calc();<br/> go calc();<br/> go calc();<br/> go calc();<br/> calc();<br/>}<br/></pre><br/><br/><a href="http://kzk9.net/b/2009/11/utilizing-multi-core-in-go-programming-language/">http://kzk9.net[..]g-multi-core-in-go-programming-language/</a> <br/><br/>A presentation - <a href="http://wh3rd.net/practical-go/">http://wh3rd.net/practical-go/</a> <a href="http://talks.golang.org/2012/splash.slide#1">http://talks.golang.org/2012/splash.slide#1</a> <br/><br/>Some good thing about go - <a href="http://abdullin.com/journal/2013/12/16/studying-go-language-golang.html">http://abdullin.com[..]3/12/16/studying-go-language-golang.html</a> <br/><br/>About memory management and thread - <a href="http://www.infoq.com/interviews/hudson-go-gc">http://www.infoq.com/interviews/hudson-go-gc</a> <br/><br/>Several good tools - <a href="https://medium.com/pantomath/go-tools-gitlab-how-to-do-continuous-integration-like-a-boss-941a3a9ad0b6">https://medium.com[..]ous-integration-like-a-boss-941a3a9ad0b6</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-11-11T16:53:31Z other languages.txt 2017-09-15T03:01:22Z 2017-09-15T03:01:22Z <br/>Nice thing of Lua - <a href="http://tjholowaychuk.com/post/19321054250/redis-lua-scripting-is-badass?5ec266c0?8b310bf0`">http://tjholowaychuk.com[..]a-scripting-is-badass?5ec266c0?8b310bf0`</a> <br/><br/>a lot of quick start cookbooks of various languages - <a href="http://pleac.sourceforge.net/">http://pleac.sourceforge.net/</a> and here is video tutorials - <a href="http://freescienceonline.blogspot.com/2007/05/programming-video-education-lectures.html?search=programming">http://freescienceonline.blogspot.com[..]ucation-lectures.html?search=programming</a> <br/><br/>Yet other JVM base language, it is very erlang like - <a href="http://clojure.sourceforge.net/">http://clojure.sourceforge.net/</a> <a href="http://groups.google.com/group/clojure/browse_thread/thread/2a2b24ffef5d1631?utoken=poe0yioAAACaS-UZiPy5V3KEnVRY4SKhVSqvuI1Vhhmpjq_tXqhHSmIzvYz_Xjy5kXSYlvYYdgY">http://groups.google.com[..]vuI1Vhhmpjq_tXqhHSmIzvYz_Xjy5kXSYlvYYdgY</a> <br/><br/><a href="http://tutorialzine.com/2013/12/the-10-weirdest-programming-languages/">http://tutorialzine.com[..]2/the-10-weirdest-programming-languages/</a> <br/><br/>Rust - <a href="http://www.infoq.com/cn/articles/rust-core-components">http://www.infoq.com/cn/articles/rust-core-components</a> <a href="http://kamalmarhubi.com/blog/2016/04/13/rust-nix-easier-unix-systems-programming-3/">http://kamalmarhubi.com[..]t-nix-easier-unix-systems-programming-3/</a> <br/><br/>Javascript quick note - <a href="https://jaxenter.com/javascript-crib-notes-136893.html">https://jaxenter.com/javascript-crib-notes-136893.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-09-15T03:01:22Z scala.txt 2017-08-28T12:32:33Z 2017-08-28T12:32:33Z <br/>Prevent NPE from scala - <a href="http://gabrielsw.blogspot.com/2011/10/yes-virginia-scala-can-save-you-from.html">http://gabrielsw.blogspot.com[..]es-virginia-scala-can-save-you-from.html</a> <br/><br/>Map scala function to java - <a href="http://blogs.sun.com/sundararajan/entry/scala_for_java_programmers">http://blogs.sun.com[..]rarajan/entry/scala_for_java_programmers</a> <br/>Examples to show good points of Scala - <a href="http://edouard.decastro.name/notes/view/1608">http://edouard.decastro.name/notes/view/1608</a> <br/><br/>Var and Val - <a href="http://fruzenshtein.com/scala-variables-values/">http://fruzenshtein.com/scala-variables-values/</a> <br/><br/>Pattern in scala - <a href="http://www.scala-lang.org/old/sites/default/files/FrederikThesis.pdf">http://www.scala-lang.org[..]d/sites/default/files/FrederikThesis.pdf</a> <br/><br/>Effective Programming In Scala – <br/><a href="https://blog.knoldus.com/2016/06/28/effective-programming-in-scala/">https://blog.knoldus.com[..]16/06/28/effective-programming-in-scala/</a> <br/><a href="https://blog.knoldus.com/2016/07/13/effective-programming-in-scala-part-2-monads-as-a-way-for-abstract-computations-in-scala//">https://blog.knoldus.com[..]way-for-abstract-computations-in-scala//</a> <br/><a href="https://blog.knoldus.com/2016/07/24/effective-programming-in-scala-part-3-powering-up-your-code-implicitly-in-scala/">https://blog.knoldus.com[..]wering-up-your-code-implicitly-in-scala/</a> <br/><br/>Reactive, actor, and DB - <a href="https://www.javacodegeeks.com/2016/11/scala-tutorial-developing-modern-applications.html">https://www.javacodegeeks.com[..]rial-developing-modern-applications.html</a> <br/><br/>Cheat sheet: The complete guide to Scala - <a href="https://jaxenter.com/cheat-sheet-complete-guide-scala-136558.html">https://jaxenter.com/cheat-sheet-complete-guide-scala-136558.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-08-28T12:32:33Z optimization.txt 2017-06-01T15:13:08Z 2017-06-01T15:13:08Z <br/>Optimizing Pixomatic for x86 Processors part II<br/><br/><a href="http://www.ddj.com/architect/184405765">http://www.ddj.com/architect/184405765</a> <br/><a href="http://www.ddj.com/184405807">http://www.ddj.com/184405807</a> <br/><a href="http://www.ddj.com/184405848">http://www.ddj.com/184405848</a> <br/><a href="http://www.home.comcast.net/~tom_forsyth/papers/pixomatic_gdc2004.ppt">http://www.home.comcast.net[..]tom_forsyth/papers/pixomatic_gdc2004.ppt</a> <br/><br/>Fast way to add null after each char from a string - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/51d0f84dd22ad734?hl=en">http://groups.google.com[..]wse_thread/thread/51d0f84dd22ad734?hl=en</a> <br/><br/>Move 80 bytes asap - <a href="http://codereview.stackexchange.com/questions/5520/copying-80-bytes-as-fast-as-possible">http://codereview.stackexchange.com[..]520/copying-80-bytes-as-fast-as-possible</a> <br/><br/>Pass by value maybe faster than pass by reference - <a href="http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/">http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/</a> <br/><br/>Why is java consumer/producer so much faster than C++, a lot of analysis and optimization tips for C++ coding - <a href="https://groups.google.com/forum/?hl=en&fromgroups#!topic/comp.lang.c++/7aNw3PzPvMI">https://groups.google.com[..]mgroups#!topic/comp.lang.c++/7aNw3PzPvMI</a> <br/><br/>case study of optimization with asm output - <a href="http://roartindon.blogspot.hk/2016/04/boosting-zopfli-performance.html">http://roartindon.blogspot.hk[..]2016/04/boosting-zopfli-performance.html</a> <br/><br/>Thread-Local Storage - <a href="http://david-grs.github.io/tls_performance_overhead_cost_linux/">http://david-grs.github.io/tls_performance_overhead_cost_linux/</a> <br/><br/>There are chance that remove branching make code run faster -<br/><a href="http://www.infoq.com/cn/articles/x86-high-performance-programming">http://www.infoq.com/cn/articles/x86-high-performance-programming</a> Other articles in same series - <a href="http://www.infoq.com/cn/articles/x86-high-performance-programming-pipeline">http://www.infoq.com[..]86-high-performance-programming-pipeline</a> <br/><a href="http://www.infoq.com/cn/articles/x86-high-performance-programming-optimization">http://www.infoq.com[..]igh-performance-programming-optimization</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-06-01T15:13:08Z book.txt 2017-02-16T14:45:06Z 2017-02-16T14:45:06Z <br/><a href="https://www.ossblog.org/learn-c-programming-with-9-excellent-open-source-books/">https://www.ossblog.org[..]ming-with-9-excellent-open-source-books/</a> <br/><br/><a href="https://www.ossblog.org/master-c-programming-with-open-source-books/">https://www.ossblog.org[..]er-c-programming-with-open-source-books/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2017-02-16T14:45:06Z r.txt 2016-10-05T02:17:18Z 2016-10-05T02:17:18Z <br/><a href="http://rdatamining.wordpress.com/2012/05/06/online-resources-for-handling-big-data-and-parallel-computing-in-r/">http://rdatamining.wordpress.com[..]ng-big-data-and-parallel-computing-in-r/</a> <br/><br/><a href="http://machinelearningmastery.com/books-for-machine-learning-with-r/">http://machinelearningmastery.com[..]y.com/books-for-machine-learning-with-r/</a> <br/><br/>Performance of tables - <a href="http://www.markhneedham.com/blog/2015/09/25/r-querying-a-20-million-line-csv-file-data-table-vs-data-frame/">http://www.markhneedham.com[..]-line-csv-file-data-table-vs-data-frame/</a> <br/><br/>Some say it is faster R replacement - <a href="http://julialang.org/">http://julialang.org/</a> <a href="http://juliacomputing.com/blog/2016/09/28/knn-char-recognition.html">http://juliacomputing.com[..]log/2016/09/28/knn-char-recognition.html</a> <br/><br/>A lot of free books - <a href="http://ucanalytics.com/blogs/r-vs-python-comparison-and-awsome-books-free-pdfs-to-learn-them/">http://ucanalytics.com[..]nd-awsome-books-free-pdfs-to-learn-them/</a> <a href="http://www.r-bloggers.com/how-to-learn-r-2/">http://www.r-bloggers.com/how-to-learn-r-2/</a> <br/><br/>DPLYR - <a href="https://blog.exploratory.io/why-sql-is-not-for-analysis-but-dplyr-is-5e180fef6aa7#.gqumyay5e">https://blog.exploratory.io[..]sis-but-dplyr-is-5e180fef6aa7#.gqumyay5e</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-10-05T02:17:18Z misc.txt 2016-05-11T02:20:21Z 2016-05-11T02:20:21Z <br/>The long past of C, how standard growth in C - <a href="http://esr.ibiblio.org/?p=4304">http://esr.ibiblio.org/?p=4304</a> <br/><br/>The state of C - <a href="http://drdobbs.com/article/print?articleId=223000089&siteSectionName=">http://drdobbs.com[..]int?articleId=223000089&siteSectionName=</a> <br/><br/>Reference of C libraries - <a href="http://programmers.stackexchange.com/questions/102924/are-there-any-c-api-explorers-browsers-out-there-that-include-the-gnu-c-library">http://programmers.stackexchange.com[..]out-there-that-include-the-gnu-c-library</a> <br/><br/>Reflection for C - <a href="http://altdevblogaday.com/2011/09/25/reflection-in-c-part-1-introduction/">http://altdevblogaday.com[..]/25/reflection-in-c-part-1-introduction/</a> <br/><br/>Interesting idea, integrate C and lisp - <a href="http://voodoo-slide.blogspot.com/2010/01/amplifying-c.html">http://voodoo-slide.blogspot.com/2010/01/amplifying-c.html</a> <br/><br/>How to prevent code duplication in C - <a href="http://groups.google.com/group/comp.lang.c.moderated/browse_thread/thread/b4d029524579944e?hl=en&pli=1">http://groups.google.com[..]read/thread/b4d029524579944e?hl=en&pli=1</a> <br/><br/>Why need header - <a href="http://stackoverflow.com/questions/1305947/why-does-c-need-a-separate-header-file">http://stackoverflow.com[..]7/why-does-c-need-a-separate-header-file</a> <br/><br/>How to monitor file usage - <a href="http://www.thegeekstuff.com/2010/04/inotify-c-program-example">http://www.thegeekstuff.com/2010/04/inotify-c-program-example</a> <br/><br/>C programming questions - <a href="http://stevenkobes.com/ctest.html">http://stevenkobes.com/ctest.html</a> <br/><br/>Taking input for compilation - <a href="http://susam.in/blog/compiler-taking-input-while-compiling/">http://susam.in/blog/compiler-taking-input-while-compiling/</a> <br/><br/>Understand lvalues and rvalues - <a href="http://eli.thegreenplace.net/2011/12/15/understanding-lvalues-and-rvalues-in-c-and-c/">http://eli.thegreenplace.net[..]standing-lvalues-and-rvalues-in-c-and-c/</a> <br/><br/><a href="http://www.thegeekstuff.com/2012/05/classic-unix-books">http://www.thegeekstuff.com/2012/05/classic-unix-books</a> <br/><br/>You may have something like <br/> switch (x) {<br/> case 1 ... 100:<br/> printf("1 <= %d <= 100\n", x);<br/> break;<br/><a href="http://www.lainoox.com/ranges-in-c-switch-statements/">http://www.lainoox.com/ranges-in-c-switch-statements/</a> <br/><br/>Tutorial - <a href="http://cslibrary.stanford.edu/101/EssentialC.pdf">http://cslibrary.stanford.edu/101/EssentialC.pdf</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-05-11T02:20:21Z cpp.txt 2016-01-05T15:00:16Z 2016-01-05T15:00:16Z <br/>Element of Modern C++ Style, new language feature of C++11 - <a href="http://www.herbsutter.com/elements-of-modern-c-style/">http://www.herbsutter.com/elements-of-modern-c-style/</a> , complete tutorial of C++11 - <a href="http://www2.research.att.com/~bs/C++0xFAQ.html">http://www2.research.att.com/~bs/C++0xFAQ.html</a> . And also list of document - <a href="http://punchcard.wordpress.com/2011/11/01/c11-c0x-documentation/">http://punchcard.wordpress.com/2011/11/01/c11-c0x-documentation/</a> <br/><br/>How to embed script in C++ - <a href="http://dobbscodetalk.com/index.php?option=com_myblog&show=Embedding-a-Scripting-Language-in-CPlusPlus.html&Itemid=29">http://dobbscodetalk.com[..]ing-Language-in-CPlusPlus.html&Itemid=29</a> <br/><br/>Is CPP that crap? <a href="http://lwn.net/Articles/249460/">http://lwn.net/Articles/249460/</a> <br/><br/>lint for c++ - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/b895a69d84ff909d?pli=1">http://groups.google.com[..]wse_thread/thread/b895a69d84ff909d?pli=1</a> <br/><br/><a href="http://www.ddj.com/cpp/archives.jhtml">http://www.ddj.com/cpp/archives.jhtml</a> <br/><br/>Namespace tutorial - <a href="http://www.dreamincode.net/forums/showtopic59841.htm">http://www.dreamincode.net/forums/showtopic59841.htm</a> <br/><br/><a href="http://loadcode.blogspot.com/2009/11/advantages-of-c-over-c.html">http://loadcode.blogspot.com/2009/11/advantages-of-c-over-c.html</a> <br/><br/>Delete a pointer in iterator - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/cfff42bf0c8a569c?hl=en">http://groups.google.com[..]wse_thread/thread/cfff42bf0c8a569c?hl=en</a> <br/><br/>Discussing about using standard container without copy constructor - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/50e174f87d0261cd?hl=en">http://groups.google.com[..]wse_thread/thread/50e174f87d0261cd?hl=en</a> <br/><br/>Free books - <a href="https://tfetimes.com/free-c-books/">https://tfetimes.com/free-c-books/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2016-01-05T15:00:16Z Erlang.txt 2014-06-22T09:35:32Z 2014-06-22T09:35:32Z <br/><a href="http://www.infoq.com/presentations/Building-Highly-Available-Systems-in-Erlang">http://www.infoq.com[..]lding-Highly-Available-Systems-in-Erlang</a> <br/><br/>Overview of Erlang memory model, per thread heap and low thread footprint - <a href="http://www.javacodegeeks.com/2011/04/erlang-vs-java-memory-architecture.html">http://www.javacodegeeks.com[..]/erlang-vs-java-memory-architecture.html</a> <br/><br/>Concurrency is an area where Erlang shines - <a href="http://www.sics.se/~joe/apachevsyaws.html">http://www.sics.se/~joe/apachevsyaws.html</a> <a href="http://www.cincomsmalltalk.com/userblogs/ralph/blogView?showComments=true&entry=3364027251">http://www.cincomsmalltalk.com[..]gView?showComments=true&entry=3364027251</a> <br/><br/>And then, note the flatness of Erlang CPU-time curves and decent C (coroutine) performance compared to abysmal Java 6 and C++ (Pthreads) data in this benchmark - <a href="http://shootout.alioth.debian.org/gp4/fulldata.php?test=message&p1=hipe-2&p2=gpp-2&p3=gcc-2&p4=java-0">http://shootout.alioth.debian.org[..]ge&p1=hipe-2&p2=gpp-2&p3=gcc-2&p4=java-0</a> <br/><br/>Another article about Erlang, contains pointers to useful site and reference large scale project - <a href="http://www.ddj.com/architect/201001928?cid=RSSfeed_DDJ_ArchitectDebug">http://www.ddj.com[..]201001928?cid=RSSfeed_DDJ_ArchitectDebug</a> <a href="http://www.infoq.com/news/2007/08/erlang-java-for-concurrent-futur">http://www.infoq.com[..]2007/08/erlang-java-for-concurrent-futur</a> <a href="http://www.ddj.com/blog/architectblog/archives/2007/10/functional_prog.html">http://www.ddj.com[..]og/archives/2007/10/functional_prog.html</a> <br/><br/>Mnesia , DBMS powered by Erlang - <a href="http://www.infoq.com/news/2007/08/mnesia">http://www.infoq.com/news/2007/08/mnesia</a> <br/><br/>Comment of OO from Joe Armstrong, <a href="http://www.sics.se/~joe/bluetail/vol1/v1_oo.html">http://www.sics.se/~joe/bluetail/vol1/v1_oo.html</a> , that tell why Erlang look like this, and why me and my college feel uncomfortable with it.... <br/><br/>Some issues of Erlang - <a href="http://www.artima.com/forums/flat.jsp?forum=276&thread=226786">http://www.artima.com/forums/flat.jsp?forum=276&thread=226786</a> <br/><br/>Map reduce at Erlang - <a href="http://horicky.blogspot.com/2008/06/exploring-erlang-with-mapreduce.html">http://horicky.blogspot.com[..]/06/exploring-erlang-with-mapreduce.html</a> <br/><br/><a href="http://highscalability.com/blog/2014/3/31/how-whatsapp-grew-to-nearly-500-million-users-11000-cores-an.html">http://highscalability.com[..]ly-500-million-users-11000-cores-an.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2014-06-22T09:35:32Z lisp.txt 2013-10-29T10:40:18Z 2013-10-29T10:40:18Z <br/>Implementing a blog in common lisp - <a href="http://dirtyhack.org/vetler/docs/cl-webapp-intro/part-1/">http://dirtyhack.org/vetler/docs/cl-webapp-intro/part-1/</a> <br/><br/>Arc, new dialect of Lisp - <a href="http://jamesshore.com/Blog/No-Take-the-Fit-Challenge-Instead.html">http://jamesshore.com/Blog/No-Take-the-Fit-Challenge-Instead.html</a> <br/><br/>Detail discuss the good and bad of lisp for C programmers - <a href="http://prog-elisp.blogspot.ru/2013/10/lisp-for-c-programmers.html">http://prog-elisp.blogspot.ru/2013/10/lisp-for-c-programmers.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2013-10-29T10:40:18Z style.txt 2013-08-12T09:31:03Z 2013-08-12T09:31:03Z <br/>How to have good C code - <br/><br/>- Be Disciplined About Namespace Management<br/>- Clearly Document Published APIs<br/>- Keep Data Types Abstract<br/>- Use Polymorphism Judiciously<br/>- Prefer Modularisation Over Conditional Compilation<br/>- The Best Way to Modularise a Large C Codebase is Don't Have a Large C Codebase!<br/><br/><a href="http://www.natpryce.com/articles/000799.html">http://www.natpryce.com/articles/000799.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2013-08-12T09:31:03Z ide.txt 2013-07-13T10:02:24Z 2013-07-13T10:02:24Z <br/><a href="http://programmers.stackexchange.com/questions/47082/is-there-a-good-but-lightweight-c-editor-or-ide-for-windows">http://programmers.stackexchange.com[..]-lightweight-c-editor-or-ide-for-windows</a> <br/><br/>13 Linux Debuggers for C++ Reviewed - <a href="http://www.drdobbs.com/article/print?articleId=240156817&siteSectionName=testing">http://www.drdobbs.com[..]icleId=240156817&siteSectionName=testing</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2013-07-13T10:02:24Z compiler.txt 2012-11-04T02:01:04Z 2012-11-04T02:01:04Z <br/>Template variable name lookup explain - <a href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/e8755b9cb8f0fd61#">http://groups.google.com[..]+/browse_thread/thread/e8755b9cb8f0fd61#</a> <br/><br/>How link work, and how to debug if thing doesn't work - <a href="http://www.thegeekstuff.com/2011/10/gcc-linking">http://www.thegeekstuff.com/2011/10/gcc-linking</a> <br/><br/>How to create static / dynamic library - <a href="http://www.lainoox.com/c-shared-libraries-static-dynamic/">http://www.lainoox.com/c-shared-libraries-static-dynamic/</a> <br/><br/>GCC - <a href="http://www.thegeekstuff.com/2012/10/gcc-compiler-options/">http://www.thegeekstuff.com/2012/10/gcc-compiler-options/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-11-04T02:01:04Z network.txt 2012-10-28T01:42:16Z 2012-10-28T01:42:16Z <br/>Sample code of flooding network with raw socket - <a href="http://www.lainoox.com/c-syn-flood-raw-socket/">http://www.lainoox.com/c-syn-flood-raw-socket/</a> <br/><br/>C99 socket programming - <a href="http://gustedt.wordpress.com/2011/10/24/socket-programming-and-c99/">http://gustedt.wordpress.com[..]m/2011/10/24/socket-programming-and-c99/</a> <br/><br/>How to Perform Packet Sniffing Using Libpcap with C Example Code - <a href="http://www.thegeekstuff.com/2012/10/packet-sniffing-using-libpcap/">http://www.thegeekstuff.com[..]m/2012/10/packet-sniffing-using-libpcap/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-10-28T01:42:16Z concurrency.txt 2012-08-29T23:41:07Z 2012-08-29T23:41:07Z <br/>Lightweight thread, actually a simple greem thread - <a href="http://www.sics.se/~adam/pt/index.html">http://www.sics.se/~adam/pt/index.html</a> <a href="http://www.sics.se/~adam/pt/pt-1.4-refman/">http://www.sics.se/~adam/pt/pt-1.4-refman/</a> <a href="http://drdobbs.com/article/print?articleId=229601338&siteSectionName=">http://drdobbs.com[..]int?articleId=229601338&siteSectionName=</a> <br/><br/>How Fork work - <a href="http://stackoverflow.com/questions/7609531/how-is-fork-working-when-children-fork">http://stackoverflow.com[..]1/how-is-fork-working-when-children-fork</a> <br/><br/>Comparing OpenMP and Intel TBB - <a href="http://www.ddj.com/go-parallel/article/printableArticle.jhtml;jsessionid=JE3I1H3FF3UUUQSNDLPCKHSCJUNN2JVN?articleID=214303519">http://www.ddj.com[..]UQSNDLPCKHSCJUNN2JVN?articleID=214303519</a> <br/><br/>Tutorial about TBB - <a href="http://software.intel.com/en-us/articles/optimizing-game-architectures-with-intel-threading-building-blocks/">http://software.intel.com[..]es-with-intel-threading-building-blocks/</a> <br/><br/>Multi-thread optimzated malloc - <a href="http://groups.google.com/group/comp.programming.threads/browse_thread/thread/c1ec1fa08c744a8c?hl=en">http://groups.google.com[..]wse_thread/thread/c1ec1fa08c744a8c?hl=en</a> <br/><br/>Introduction to 2 static analysis tool to check OpenMP potential issue, like racing condition - <a href="http://software.intel.com/en-us/articles/an-unsuccessful-attempt-to-compare-pvs-studio-vivamp-and-intel-cc-parallel-lint/">http://software.intel.com[..]tudio-vivamp-and-intel-cc-parallel-lint/</a> <br/><br/>Light weigth lock provide by Linux kernal - <a href="http://lwn.net/Articles/360699/">http://lwn.net/Articles/360699/</a> <br/><br/><a href="http://software.intel.com/en-us/articles/intel-threading-building-blocks-openmp-or-native-threads/">http://software.intel.com[..]uilding-blocks-openmp-or-native-threads/</a> <br/><br/>OpenMP vs. POSIX - <a href="http://www.dalkescientific.com/writings/diary/archive/2012/01/13/openmp_vs_posix_threads.html">http://www.dalkescientific.com[..]/2012/01/13/openmp_vs_posix_threads.html</a> <br/><br/>OpenACC - <a href="http://www.drdobbs.com/article/print?articleId=240006334&siteSectionName=parallel">http://www.drdobbs.com[..]cleId=240006334&siteSectionName=parallel</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-08-29T23:41:07Z profiler.txt 2012-08-21T14:56:25Z 2012-08-21T14:56:25Z <br/>gprof - <a href="http://www.ibm.com/developerworks/library/l-gnuprof.html">http://www.ibm.com/developerworks/library/l-gnuprof.html</a> <a href="http://www.thegeekstuff.com/2012/08/gprof-tutorial/">http://www.thegeekstuff.com/2012/08/gprof-tutorial/</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-08-21T14:56:25Z make.txt 2012-07-28T04:01:37Z 2012-07-28T04:01:37Z <br/>Make alternatives - <a href="http://freecode.com/articles/make-alternatives">http://freecode.com/articles/make-alternatives</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-07-28T04:01:37Z cuda.txt 2012-06-07T16:54:50Z 2012-06-07T16:54:50Z <br/>Using CUDA with Java - <a href="http://www.javacodegeeks.com/2011/09/gpgpu-java-programming.html">http://www.javacodegeeks.com/2011/09/gpgpu-java-programming.html</a> <br/><br/>C library that allow programmer use the power of NVIDIA GPUs<br/><br/><a href="http://www.nvidia.com/object/cuda_home.html">http://www.nvidia.com/object/cuda_home.html</a> <br/><a href="http://www.ddj.com/article/printableArticle.jhtml;jsessionid=UFEJH1Z4AGIIIQSNDLOSKH0CJUNN2JVN?articleID=207200659&dept_url=/architect/">http://www.ddj.com[..]articleID=207200659&dept_url=/architect/</a> <br/><a href="http://www.ddj.com/article/printableArticle.jhtml;jsessionid=BL2GUDLIYK1O4QSNDLPCKH0CJUNN2JVN?articleID=207402986&dept_url=/hpc-high-performance-computing/">http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/</a> <br/><a href="http://www.ddj.com/article/printableArticle.jhtml?articleID=207603131&dept_url=/hpc-high-performance-computing/">http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/</a> <br/><br/>CUDA Data Parallel Primitives Library - <a href="http://www.ddj.com/article/printableArticle.jhtml?articleID=212903437&dept_url=/hpc-high-performance-computing/">http://www.ddj.com[..]ept_url=/hpc-high-performance-computing/</a> <br/><br/>CUDA tutorial - <a href="http://www.ddj.com/architect/207200659">http://www.ddj.com/architect/207200659</a> <br/><br/><a href="http://www.infoq.com/presentations/Introduction-to-CUDA-C">http://www.infoq.com/presentations/Introduction-to-CUDA-C</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-06-07T16:54:50Z security.txt 2012-05-09T16:29:56Z 2012-05-09T16:29:56Z <br/>Security coding standard for C - <a href="http://www.drdobbs.com/cpp/232901670?cid=DDJ_nl_upd_2012-05-08_h&elq=71bc323bdc004bfc8091ce3238c093a2">http://www.drdobbs.com[..]8_h&elq=71bc323bdc004bfc8091ce3238c093a2</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-05-09T16:29:56Z system.txt 2012-04-25T16:02:07Z 2012-04-25T16:02:07Z <br/>How to add file in /proc - <a href="http://www.thegeekstuff.com/2012/04/create-proc-files">http://www.thegeekstuff.com/2012/04/create-proc-files</a> <br/><br/>Basic about unix signal - <a href="http://www.thegeekstuff.com/2012/03/linux-signals-fundamentals/">http://www.thegeekstuff.com/2012/03/linux-signals-fundamentals/</a> <br/><br/>limitation of select call - <a href="http://www.moythreads.com/wordpress/2009/12/22/select-system-call-limitation/">http://www.moythreads.com[..]009/12/22/select-system-call-limitation/</a> <br/><br/>Give hint to kernal about how use swap memory - <a href="http://linux.die.net/man/2/madvise">http://linux.die.net/man/2/madvise</a> <br/><br/>Recursive ls - <a href="http://synesis.com.au/software/recls/">http://synesis.com.au/software/recls/</a> <br/><br/>Socket programming tutorial - <a href="http://www.codedanger.com/caglar/?p=210">http://www.codedanger.com/caglar/?p=210</a> <a href="http://simplestcodings.com/2011/01/18/ping/">http://simplestcodings.com/2011/01/18/ping/</a> <br/><br/>Discussion about making flush() reliable - <a href="http://groups.google.com/group/comp.programming.threads/browse_thread/thread/71da1187ec3b0445?hl=en">http://groups.google.com[..]wse_thread/thread/71da1187ec3b0445?hl=en</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-04-25T16:02:07Z cobol.txt 2012-04-01T13:02:15Z 2012-04-01T13:02:15Z <br/>Where will cobol go? - <a href="http://www.javaworld.com/cgi-bin/mailto/x_java.cgi?pagetosend=/export/home/httpd/javaworld/javaworld/jw-03-2012/120314-cobol-s-legacy-could-be-lost.html&pagename=/javaworld/jw-03-2012/120314-cobol-s-legacy-could-be-lost.html&pageurl=http://www.javaworld.com/javaworld/jw-03-2012/120314-cobol-s-legacy-could-be-lost.html&site=jw_core">http://www.javaworld.com[..]s-legacy-could-be-lost.html&site=jw_core</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-04-01T13:02:15Z memory issue.txt 2012-03-01T14:25:13Z 2012-03-01T14:25:13Z <br/>Problem of malloc, and introduction to some improved version - <a href="http://betathoughts.blogspot.com/2010/02/history-of-malloc.html">http://betathoughts.blogspot.com/2010/02/history-of-malloc.html</a> <br/><br/>Personal memo about C++ memory management, from a Java developer, contain some rule of thumb tips - <a href="http://karussell.wordpress.com/2012/01/19/java-guy-reboots-with-c-trying-to-understand-memory-mangement/">http://karussell.wordpress.com[..]c-trying-to-understand-memory-mangement/</a> <br/><br/>Tutorial of valgrind - <a href="http://www.thegeekstuff.com/2011/11/valgrind-memcheck/">http://www.thegeekstuff.com/2011/11/valgrind-memcheck/</a> <br/><br/>Disucssion of GC in C++ - <a href="http://herbsutter.com/2011/10/25/garbage-collection-synopsis-and-c/">http://herbsutter.com[..]10/25/garbage-collection-synopsis-and-c/</a> <br/><br/>Core dump with few variable declaration removed - <a href="http://techblog.rosedu.org/c-extern-internals.html">http://techblog.rosedu.org/c-extern-internals.html</a> <br/><br/>Tracking memory allocation - <a href="http://jfdube.wordpress.com/2011/10/06/memory-management-part-2-allocations-tracking/">http://jfdube.wordpress.com[..]-management-part-2-allocations-tracking/</a> <br/><br/>We have a process running fine for several years and recently have core dump everytime starting it up. here is the stacktrace:<br/><br/>(gdb) backtrace<br/>#0 0xfe34251c in realfree () from /lib/libc.so.1<br/>#1 0xfe342e28 in cleanfree () from /lib/libc.so.1<br/>#2 0xfe341f5c in _malloc_unlocked () from /lib/libc.so.1<br/>#3 0xfe341e50 in malloc () from /lib/libc.so.1<br/>#4 0xfe38f534 in _findbuf () from /lib/libc.so.1<br/>#5 0xfe384f38 in _doprnt () from /lib/libc.so.1<br/>#6 0xfe3886fc in fprintf () from /lib/libc.so.1<br/>#7 0x164f64 in _ZN7LogBook8WriteLogEPcS0_i (this=<incomplete type>, pType=0x5c00e8 "INFO",<br/> pMsg=0x6b0b14 "main. Database=XXXXXX. Performing Login to XXXX. user=SYSTEM.", nFile=0) at Util.cpp:164<br/>#8 0x164e28 in _ZN7LogBook9PromptLogEPciS0_i (this=<incomplete type>, pType=0x5c00e8 "INFO",<br/> nType=3, pMsg=0x0, nFile=0) at Util.cpp:136<br/>#9 0x14a364 in main (argc=3, argv=0xffbef5bc) at XXXX.cpp:385<br/>(gdb)<br/><br/>Eventaully we found out the reason is the class LogBook is singleton, and it reuse few char* buffer internally, without delete and new in between, after adding delete and new for transaction, the process run correctly, as a rule of thumb, singleton is evil for most of the cases.<br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2012-03-01T14:25:13Z bug.txt 2011-10-15T03:37:46Z 2011-10-15T03:37:46Z <br/>incorrect comparison of 64bit pointers - <a href="http://www.azulsystems.com/blog/cliff/2011-08-28-just-fixed-a-20-year-old-bug">http://www.azulsystems.com[..]/2011-08-28-just-fixed-a-20-year-old-bug</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-10-15T03:37:46Z function.txt 2011-10-05T04:47:41Z 2011-10-05T04:47:41Z <br/>Pointer of using function languages like OPML in finance industry - <a href="http://beautifulcode.oreillynet.com/2008/03/edge_extension_1.php">http://beautifulcode.oreillynet.com/2008/03/edge_extension_1.php</a> <a href="http://queue.acm.org/detail.cfm?id=2038036">http://queue.acm.org/detail.cfm?id=2038036</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-10-05T04:47:41Z gui.txt 2011-09-26T15:59:58Z 2011-09-26T15:59:58Z <br/>Example of using DBus - <a href="http://brunogirin.blogspot.com/2011/01/d-bus-experiments-in-vala.html">http://brunogirin.blogspot.com[..]m/2011/01/d-bus-experiments-in-vala.html</a> <br/><br/><script type="text/javascript"><!--google_ad_client = "pub-9426659565807829";google_ad_slot = "9359905831";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> 2011-09-26T15:59:58Z