# 分享android:process 的坑，你懂吗？

android:process 的坑，你懂吗？ 许多知识知其然而不知其所以然，这也许就是大神与菜鸟的区别吧。 最近排查问题时发现一个问题： 一个在 Application 中启动的定时任务在运行时会被调用多次，诡异的很，最后发现是一个前人留下的坑，原因就是对 android:process 不知其所以然造成的。 继续阅读 »

# 分享MultipartReader process the request body as a stream example.

` var maxFileSize int64 = 10 * 1000 * 1000 //limit upload file to 10m if r.ContentLength > maxFileSize { http.Error(w, "request too large", http.StatusExpectationFailed) return } r.Body = http.MaxBytesReader(w, r.Body, maxFileSize) 继续阅读 »

# 分享Fit an Ornstein–Uhlenbeck process with discrete time series data

As we know, a Brownian motion is usually formulated as $$dx_t = \mu\,dt+\sigma\,dW_t$$ which is the continuous case of a random walk. In some cases, it is quite convenient to use this formulation to describe the characteristic of asset prices due to its highly unpredictable behavior. 继续阅读 »

# 分享tbox v1.5.2 update!

New features Add smallest configure option Add process operation interfaces Changes Improve envirnoment interfaces Modify xmake.lua for supporting xmake v2.x Bugs fixed Fix ltimer bug Fix asio memory leaks bug Fix asio httpd response bug on linux Fix path bug for windows 继续阅读 »

# 分享ACE(2) ACE_Process

ACE provides lots of wrapper classes to hide the difference between OS. ACE_Process is one of them to give us an unified operation interface to fork/kill/wait a process. And ACE_Process is also a good example code to show useful function, such as how to check whether a process is alive. 继续阅读 »

# 分享Mesos Newbie Quick Start

Introduction The purpose of this document is to give an introduction and overall description of the contribution process for contributors new to Mesos. This document is intended to extend the existing documentation with a focus on on-boarding contributors to the community as quickly as possible. 继续阅读 »

# 分享Python多进程操作

python中的多线程其实并不是真正的多线程，如果想充分利用多核CPU的资源，在python中大部分情况需要适用多进程。Python提供了非常好用的多进程包multiprocessing，只需要定义一个函数，python会完成其他所有事情。借助这个包，可以轻松完成从单进程到并发执行的转换。multiprocessing支持子进程、通信和共享数据、执行不同的形式的同步，提供了Process、Queue、Pipe、Lock等组件。 继续阅读 »

# 分享tbox v1.5.3 released!

New features Add wait multi-processes interface Add uuid generator Add hash library module Add __tb_deprecated__ keyword and option Changes Move some utils interfaces to the hash module Rewrite random generator Bugs fixed Fix stdout compatibility issue for vs2015 Fix process arguments length limit 继续阅读 »