Jack Gao's Blog

Road & Book


  • Home

  • Categories

  • About

  • Archives

  • Tags

[PlantUML实践]时序图(Sequence Diagram)

Posted on 2017-11-25 | Post modified 2017-11-25 | In PlantUML , UML

本文是博主学习PlantUML时序图(Sequence Diagram)的实践与总结。希望对你有帮助。

Read more »

Spacemacs使用笔记

Posted on 2017-11-06 | Post modified 2017-11-12 | In Spacemacs

本文内容大部分摘抄自Spacemacs使用总结,做了些修正。感觉比较实用,尤其对于初学者。

1 安装&使用

git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d/
emacs
Read more »

Write maintainable software

Posted on 2017-10-03 | Post modified 2017-10-25 | In Software Enineering

1 Preface

1.1 What kinds of problem have you met during software development?

  • Code is not easy to read and understand
    • Bad System Metaphor

      Sometime, we don't have the good System Metaphor, in other words, we don't understand the domain well

    • Code is not just for you

      We always collabrate together, but we are different. So it may cause misundertanding, make things more complicated.

    • Code smell

      Some are caused by ourselves, some are caused by others. But we need clean code.

  • Bug is not easy to fix
    • data preparation is not easy
    • highly coupling
    • overuse DI(Dependency Injection)
    • debuging, debuging, debuging…
  • Code is brittle, bugs create bugs
    • regression issues
  • Code is not easy to test
Read more »

使用Emacs作为Python IDE

Posted on 2017-10-02 | Post modified 2017-10-02 | In Python , Emacs

最近正打算开始学习下Python,动手实践很重要,所以IDE的选择也是很重要的。正好,Emacs也算是刚刚入门,所以希望用Emacs作为主力IDE。学习Python的同时,可以练习下Emacs,一举两得。

Read more »

查看Linux系统标准文件目录

Posted on 2017-09-24 | Post modified 2017-09-24 | In Linux

以前经常记不住标准的文件系统目录结构,都是看维基百科,现在才知道原来可以通过man来查看。。。

Read more »

单词本

Posted on 2017-08-20 | Post modified 2017-08-20 | In English

[UML笔记] 理解UML类关系

Posted on 2017-08-01 | Post modified 2017-12-30 | In OOA&D

本文 翻译 自 :Understanding UML Class Relationships

前段时间为一个项目面试了数十名未来的开发人员时,我发现90%以上的候选人都宣称非常了解UML,但是却无法区分类图中使用的一些常见的UML关系元素:

Read more »

C#编程基础2

Posted on 2017-07-29 | Post modified 2017-07-30 | In .NET

前不久公司组织了C#学习小组,期间我做了两次分享。现把内容整理下分享给大家。 这次分享的内容主要是一些基础性知识,如方法,枚举,结构体,数组,值类型和引用类型的区别与联系,可空类型等。 虽然基础但是再次系统地学习下也是蛮好的,温故而知新嘛。

Read more »

将org导出PDF

Posted on 2017-07-26 | Post modified 2017-07-29 | In Org-mode

最近在研究如何将org文件导出PDF。org-mode的强大之处就不用我说了,可以做笔记、GTD等。 org-mode虽好,但是懂的人相对较少。直接分享org文件会有些不人性化。随着Github开始支持org-mode,相信这么优秀的文件格式将来越来越被接受,学习的人也会越来越多。 PDF文件出众的文字渲染效果让人有着更好的阅读体验。如果可以将org文件导出PDF与人分享那当然是最好的了。其实org-mode是默认是支持转成PDF文件的,但是其默认对中文支持不好。 另外,作为一个程序员,整天要跟代码打交道。org文件中也会嵌入些代码,导出PDF如果可以支持代码高亮,那自是最好不过了。 我花了两个周末时间去研究去尝试,现在终于可以完美的支持中文和代码语法高亮了。现在写出来与大家分享。

Read more »

Background和Foreground线程

Posted on 2017-07-25 | Post modified 2017-07-26 | In CSharp

记得C\C++中只要主线程结束后整个进程会结束,不论次线程是否已经运行完。在.NET的世界中,进程的结束与否与全部标记为Foreground线程是否运行完毕有关。 使用Thread类创建的线程,默认是Foreground线程。当然可以通过 Thread.IsForeground 属性设置。

Read more »
123
Jack Gao

Jack Gao

Jack Gao's Blog

24 posts
20 categories
37 tags
© 2017 - 2018 Jack Gao
Powered by Hexo
Theme - NexT.Mist