自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

boyhailong的专栏

努力前进的孩子

  • 博客(23)
  • 资源 (13)
  • 收藏
  • 关注

转载 忘记MySQL root密码解决方法(基于Ubuntu 12.04 LTS)

忘了mysql密码,从网上找到的解决方案记录在这里。编辑mysql的配置文件/etc/mysql/my.cnf,在[mysqld]段下加入一行“skip-grant-tables”。重启mysql服务123abbuggy@abbuggy-ubuntu:~$ sudo service mysql

2014-07-31 11:07:29 823

原创 游戏中的刷兵逻辑

Moba游戏 或者植物大战僵尸 其实会定时产生一定的NPC,b

2014-07-29 23:46:58 1061

翻译 How to use epoll? A complete example in C

Network servers are traditionally implemented using a separate process or thread per connection. For high performance applications that need to handle a very large number of clients simultaneously,

2014-07-29 08:49:18 1051

翻译 检测一个二叉树是否是另一个二叉树的子树

Given two binary trees, check if the first tree is subtree of the second one. A subtree of a tree T is a tree S consisting of a node in T and all of its descendants in T.The subtree corresponding

2014-07-27 23:41:58 1828

原创 天下性能 唯池不破

文章名字是我杜撰的,之前一直在做服务器开发,上周有机会接触了客户端,发现很多资源没有

2014-07-27 21:24:21 1492

翻译 无锁编程介绍

翻译自 http://preshing.com/20120612/an-introduction-to-lock-free-programming/

2014-07-26 05:31:09 1122

翻译 unity3D中协程和线程混合

这是我google unity3D一个问题偶然发现的在stackflow上很有趣的帖子:大意是 要在unity3D上从服务器下载一个zip,并解压到持久化地址.并将其加载到内存中.下面展示了这种用法:IEnumerator LongCoroutine(){ yield return StartCoroutine(DownloadZip()); ExtractZip()

2014-07-24 23:21:17 1911

原创 boost::ptime::local_time调用的开销

突然想到这个问题,还是来测试下:#include #include #include #include #include #include "boost/date_time/posix_time/posix_time.hpp"int main(int arg, char** agrv){ if (arg < 2){ printf("uasge error\

2014-07-20 15:46:04 1732

原创 linux下unordered_map和map在小数据下性能差异

说起性能,没有测试,还是没有发言权:#include #include #include #include #include #include #include #include #include timeval g_ts;long getnow(){ gettimeofday(&g_ts, NULL); return g_ts.tv_usec;}in

2014-07-13 18:55:58 1910

翻译 A tiny introduction to asynchronous IO

libevent上介绍异步IO的文档,非常zhide

2014-07-13 12:55:10 913

原创 C#内List VS hashset性能对比

昨天在看客户端代码时看到很

2014-07-12 13:59:54 9322 2

原创 boost lockfree lib

今天在想boost有什么并行库木有,google了一下就搜到了,给力啊!

2014-07-12 13:15:26 1137

原创 参考mudo logging写的win下logging

#pragma once#include #include #include #include #include class CountDownLatch : boost::noncopyable{public: explicit CountDownLatch(int count); void wait(); void countDown(); int getCo

2014-07-12 05:52:04 1514

转载 Unity3D的Socket連線實作範例

using UnityEngine;using System.Collections;using System;using System.IO;using System.Net.Sockets;public class s_TCP : MonoBehaviour { bool socketReady = false; TcpClient mySocket;

2014-07-11 00:28:50 1110

转载 5 tips every Unity developer should know

Whether you’re new to developing with Unity or are well-versed in using the tool, we all can appreciate tips that will improve our workflow. With the help of veteran developers who either are or hav

2014-07-08 20:14:17 764

转载 4 Ways To Increase Performance of your Unity Game

http://www.paladinstudios.com/2012/07/30/4-ways-to-increase-performance-of-your-unity-game/

2014-07-08 20:09:32 1266

原创 Ibibo Interview Question Software Engineer / Developers

原题是:Given a string that contains exactly a single pair of parenthesis, return parenthesis and their contents, so "xyz(abc)123" yields "(abc)". etc. Conditions: 1)No variable allowed 

2014-07-07 04:54:27 875

转载 开发笔记 (13) : AOI 服务的设计与实现

关于AOI的算法,流传广的放入云风大大的博客.http://blog.codingnow.com/2012/03/dev_note_13.html

2014-07-06 18:16:18 1788

原创 《游戏中的人工智能》笔记

自动智能体的运行过程:1、行动选择:负责选定目标、制定计划。比如告诉:“到这里来”和“做好A、B然后C”;2、操控:负责计算轨道数据(嘛意思?),服务与行动选择环节制定的目标和计划。 操控行为产生一个操控力,它决定智能体往哪个方向移动以及如何快速移动。3、移动:最后环节。主要表现在一个智能体运动的机械因素。即如何从A到B。操控行为执行会很麻烦。一些行为会带来繁重的参数微调工

2014-07-05 17:19:54 856

原创 简单的日志系统

参考glog写了现有的Logging系统。直接有enum LoggingEnum{LOG_INFO,LOG_DBBUG,LOG_ERROR,LOG_WARNNING,LOG_END};几种等级的日志,实时刷到console上,异步延迟写到日志上,建立队列缓存日志,时间一到一起刷到file,好了,看下Logging实现:class Active;stru

2014-07-05 08:47:11 1484

原创 依赖boost库的AysnLogging

今天花了一上午时间,写了个异步日志库,优点是:够简单,只有几个文件

2014-07-03 21:08:29 957

原创 简单的内置logging设计

我觉得实际项目的Logging库最基本的目标是:1、异步,当然是为了不阻塞lu

2014-07-02 06:30:46 634

转载 昔时因 今日意 侃侃微软的CRT

come from:http://gulu-dev.com/post/2014-06-28-microsoft-crt想了解CRT的童鞋来看:

2014-07-02 05:46:36 1726

AirplaneGame

基于cocos2d-x3.0的AirplaneGame

2013-11-05

Oracle8i_9i数据库基础

主要包括两个部分,第一部分是ORACLE SQL*PLUS基础,主要讲述ORACLE 应用系统设计的基本知识和给出一些有用的实例;第二部分是介绍ORACLE PL/SQL知识,主要讲述ORACLE数据库PL/SQL程序设计所用到基本知识,这部分给出进行应用设计所必需的基础知识。这两部分的内容都尽可能做到内容简洁而全面。 全书内容简练实用,可作为ORACLE 数据库管理人员参考,也可作为应用开发人员和系统分析与设计人员以及大学计算机专业教学的参考资料。

2011-12-21

统计学习理论的本质

统计学习理论的本质,对统计学习非常有用!

2011-11-25

FaceTracking

Our project retrieves real-time images from a webcam and converts them to grayscale images. Then, it extracts pre-defined feature vectors from the images and sends them to Support Vector Machine (SVM) to get the classification. Using the result, our program will be able to control the mouse cursor in real-time.

2011-11-20

LIBSVM使用介绍

LIBSVM使用介绍,大家放心下载吧,非常实用!

2011-11-16

笨蛋也可以用的 libsvm

笨蛋也可以用的 libsvm,完全傻瓜型的,非常适合大家直接应用啊!

2011-11-16

数字图像处理入门word版

介绍图像处理的基本知识,关键是word版的,看起来貌似更加爽吧,呵呵

2011-11-16

ARCGIS地理信息系统空间分析实验教程

介绍了 ARCGIS地理信息系统空间分析实验教程,很好的专业书哟

2011-11-10

VC++下MFC处理数据

利用VC++实现对数据的读取,以及多种图像处理的实现,在MFC下实现了编程,里面包含了VC6.0和VS2005两个版本。

2011-08-18

杜达的《模式分类》第二版的配套的Matlab源代码

《模式分类》第二版的配套的Matlab源代码,希望对大家有用! 欢迎下载

2011-04-05

Efficient region segmentation through ‘creep-and-merge’

region segmentation,有效地图像区域分割,通过分裂和合并

2011-03-06

KNNalgorithm

采用KNN算法,对一系列数据进行采集分析!

2010-11-12

多种的图像的聚类分析VC++代码

完成多种分类的实现,如模糊分类,聚类分析

2010-10-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除