[GFFrameWork] event system

Preface Event throwing and event receiving are also common decoupling methods in game development. I understand that the design mode spectator mode has similar principles, so the event system is still a very important part in a framework. The native event system is not a large system, and there is not much code. The main idea ...

Posted by sloppstack on Fri, 29 Nov 2019 20:54:32 +0100

PostgreSQL format functions - (common functions such as memory context, planner content, memory context, etc.)

Label PostgreSQL , memory context , plan , pid signal , ... background https://github.com/MasaoFujii/pg_cheat_funcs Fujii Masao MasaoFujii PostgreSQL committer, DBA at NTT DATA, maybe good husband & father. This plug-in brings together common PG extension functions (which may be introduced into the PG community in the future), suc ...

Posted by ragrawal on Thu, 28 Nov 2019 21:29:04 +0100

JVM source code practice - OOP Klass model

> Github original link 1 OOP Klass (ordinary object pointer) model OOP Klass model is used to describe the properties and behaviors of class It is designed as OOP and Klass because we don't want each object to have a C ++ vtbl pointer. Therefore, ordinary oops has no virtual function Instead, they forward all "virtual" functions t ...

Posted by stopblackholes on Thu, 28 Nov 2019 20:24:27 +0100

Monitoring TcpState of docker container with ccadvisor influxdb grafana

problem After setting up the monitoring cluster of ccadvisor influxdb grafana, it is found that there is no tcp related data Source version: https://github.com/google/cad...git commit hash:9db8c7dee20a0c41627b208977ab192a0411bf93 Build a cfisor influxdb grafana reference https://botleg.com/stories/mo... Positioning process Is there no tcp state ...

Posted by dshevnock on Tue, 26 Nov 2019 18:10:52 +0100

The use of JSON string by alibaba fastjson

Fastjson source address: https://github.com/alibaba/fastjson Fastjson Chinese Wiki: https://github.com/alibaba/fastjson/wiki/Quick-Start-CN     I. introduce dependency 1) FastJson is a toolkit for java background processing json format data 2) FastJson mainly uses the following three classes for parsing json format strings ...

Posted by howler on Tue, 26 Nov 2019 17:53:54 +0100

Flask - geetest learning and use

Catalog I. relevant documents II. Back end logic sorting III. sorting out the verification ideas IV. initialization of related functions 4-1 validation initialization preprocessing 4-2 validation initialization result return V. quadratic check correlation function 5-1 front end verification calls function successfully ...

Posted by stretchy on Sun, 24 Nov 2019 23:25:14 +0100

UICollectionView set the first cell to be selected by default

In the previous article, the default cell selected for UICollectionView is that each cell has a corresponding identity, which means that the reuse mechanism of UICollectionView is abolished. For less data, it is OK, but for larger data, it will cause performance problems. So I think that under the reuse mechanism of UICollectionView, the gener ...

Posted by adzie on Sun, 24 Nov 2019 16:48:32 +0100

React Source Interpretation [1] API Review and Basis

Life is the sum of all your choices.So, what do you want to do today?- Albert Camus Four years, like a depression in the stream of life, like a drop of water in the long river of history, but these four years, I have completed the transformation from ignorance to maturity.Looking back on the past four years, I have had entrepreneurship, illnes ...

Posted by mattastic on Sun, 24 Nov 2019 03:07:35 +0100

golang network programming Middleware

golang_real.jpg Share beforeGorang network programming (5) middleware By learning to write two interceptors by ourselves, output log and simple permission verification. This is what we usually do in middleware. In fact, many times we don't need to do too much by ourselves. Do we still need to grow, bake and grind if we want t ...

Posted by S_henry on Sat, 23 Nov 2019 19:07:21 +0100

Qt Write Gas Security Management System 14-Mail Forwarding

1. Preface Mail forwarding function and SMS alert function are basically the same, they are triggered after judging the alert, which may be slightly different. Mail forwarding needs to rely on the Internet, and can send a large amount of data without the limitation of 60 characters of SMS (of course, SMS can split multiple sending, but it costs ...

Posted by mudasir on Fri, 22 Nov 2019 03:58:47 +0100