HarrySun

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年8月23日

摘要: 好久不写blog了。最近新换了一家公司,暂时从事java开发了。我的目标是做一个架构师,目标就是如果工作3年后要要创业,我能迅速拿出一套较为合适的方案,包括合适的技术选型;能够快速搭起一个可运行的基本框架。之前我从事传统软件行业的服务器端C++开发,现在要从事互联网行业的后端工程师了。从前在一个机器... 阅读全文
posted @ 2015-08-23 03:01 HarrySun 阅读(231) 评论(0) 推荐(0) 编辑

2015年6月1日

摘要: 今天在https://codility.com/上面测试了几道题,我发现用C++比用C 方便多了。因为如果用C++,我们可以使用STL 的结构及算法,但是使用C的话就要自己实现了。毕业之后 就没有专门做过算法题了,今天使用起来有些生硬,费事不少。现在将一些常用结构整理一下,作为自己的知识库储存在大脑... 阅读全文
posted @ 2015-06-01 01:29 HarrySun 阅读(321) 评论(0) 推荐(0) 编辑

2015年4月28日

摘要: Golang 精简直观的设计,让Web 开发和写 print ”Hello World”毫无二致。同时也让我有机会一窥 HTTP Server 的设计与实现。至此,以前Tomcat, Apache 等web 容器给我的神秘感一扫而光。1. 基础知识HTTP Server的目的即是实现HTTP Pro... 阅读全文
posted @ 2015-04-28 22:32 HarrySun 阅读(359) 评论(0) 推荐(0) 编辑

2015年4月11日

摘要: 断断续续学习golang 已经有大半年了。几次涉猎过golang net package, 去年也用过Beego,但是总觉得自己只知皮毛,不能精通。所以,这次誓将其一举拿下。达到知道其宏观组织结构,又了解实现细节,甚至设计时各种考虑以及折中。目标树立好了,后面的就靠实践了。学习也要有计划,有条理。规... 阅读全文
posted @ 2015-04-11 18:10 HarrySun 阅读(422) 评论(0) 推荐(0) 编辑

2015年4月8日

摘要: 学习java的时候,“设计模式”这个概念到处可见。比如java.io里面的 decorated pattern,Object.Clone(Object)原生态支持Prototype pattern,Swing事件响应的Observer pattern, io.util和Event中的Adapte... 阅读全文
posted @ 2015-04-08 01:30 HarrySun 阅读(636) 评论(0) 推荐(0) 编辑

2015年3月21日

摘要: Let's make some fun to simulation Server - Client.1. socketI implement a echo server and use telnet to simulate the socket client.in this way, we don'... 阅读全文
posted @ 2015-03-21 14:00 HarrySun 阅读(364) 评论(0) 推荐(0) 编辑

2015年2月27日

摘要: 1. install and config 1). install ubuntu use samba to enable win7 users accessing ubuntu share folder. refer tohttp://www.7tutorials.com/how-cha... 阅读全文
posted @ 2015-02-27 22:51 HarrySun 阅读(324) 评论(0) 推荐(0) 编辑

2015年1月7日

摘要: 工作两年半了,写了一些代码,修了很多issue,也有一些新得体会。下面根据我自己经验及思考,聊聊如何写出易于调试,能够快速和fix issue的代码。先挖好坑,后期慢慢填坑。 阅读全文
posted @ 2015-01-07 23:12 HarrySun 阅读(152) 评论(0) 推荐(0) 编辑

2014年12月29日

摘要: 0. create a string two ways to create a string 1) string([]byte) 2) str := "abc"1. Kinds of operation1) string converting to other and other conver... 阅读全文
posted @ 2014-12-29 23:22 HarrySun 阅读(366) 评论(0) 推荐(0) 编辑

摘要: 1. kinds of operationIn general, there are several kinds of file operations as bellow.(1) Create file/folder, Open file, Close file, Remove file/folde... 阅读全文
posted @ 2014-12-29 23:21 HarrySun 阅读(522) 评论(0) 推荐(0) 编辑