Approaching WebAssembly’s debugging method
Approaching WebAssembly’s debugging method

WebAssembly or wasm is a new portable, size- and load-time-efficient format suitable for the web. Keywords:format,WebAssembly is an encoding format suitable for compiling to the web. In fact, WebAssembly can be seen as an enhancement to JavaScript that compensates for the flaws in JavaScript's execution efficiency.

Timing Serial database InfluxDB first experience
Timing Serial database InfluxDB first experience

What is time series data? The simplest definition is the data in the data format that contains the timestamp field. For example, the price of the stock market, the temperature in the environment, the CPU usage of the host, and so on. But what data does not contain timestamp? Almost all data can be tagged with a timestamp field. One of the more important attributes of time series data is how to query it. At the time of the query, we always bring a time range to filter the data for the time series. At the same time, the result of the query will always include the timestamp field.

Use Docker Volume: the new trend of data backup!
Use Docker Volume: the new trend of data backup!

Use docker volume as a new way to back up your database data. The era of containerization has indeed come, stateful database containers, stateless application containers, competing in the world of docker! You can keep the traditional operation mode and operation and maintenance mode, but please do not reject any ultimate belief that can enhance productivity and liberate your hands!

【译】Java9 (Part 1): 从零开始了解“模块化”
【译】Java9 (Part 1): 从零开始了解“模块化”

翻译自原文:https://dzone.com/articles/java-9-tutorial-step-by-step-from-zero-to-modules 我们都知道为什么模块是非常重要的。模块是微服务的基石!模块组织良好的应用程序的构建块。无论您是使用动态语言还是静态语言编写,模块都是您的应用程序的重要组成部分!模块强制执行单一责任原则。你可以调用每个函数一个模块,因为函数式编程是基于模块的。好吧,你懂的,模块是重要的,这就是为什么我们要在我们的教程的这一部分关注他们。 我们的计划: 第1步:从头开始下载Java 9并安装 第2步:概念:描述我们的模块文件名 第3步:概念:描述我们的模块文件路径 第4步:编写我们的模块描述符文件:module-info.java 第5步:添加代码到我们的模块 第6步:编译我们的模块 第7步:运行我们的模块 第1步:下载Java 9 转到:https://jdk9.java.net/download/并点击与您的操作系统相关的jdk。 下载后,只需点击它来安装(如果你是在MacOS上),并确认你已经安装了它: tomerb@tomerb-mac.local:~$ java --version java 9-ea Java(TM) SE Runtime Environment (build 9-ea+164) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+164, mixed mode) tomerb@tomerb-mac.local:~$ cd ~/tmp tomerb@tomerb-mac.local:~$ mkdir -p ~/tmp/java9-modules tomerb@tomerb-mac.local:~$ cd ~/tmp/java9-modules 第2步:模块文件名 在Java 9中,为了定义模块,您需要按照约定具有特定的文件名。是的,一个特定的文件名。这个文件名应该叫做:module-info.java。 第3步:模块文件路径 现在,你把module-info.java这个文件放在哪里?按照惯例,我们一般把它放在一个与你的模块名称相同的文件夹中。所以如果你的模块名是: com.me.mymodule 那么你的module-info.java模块应该放在: src/com.me.mymodule/module-info.java 路径. 明白了吗?... » read more

centos7 安装docker-ce
centos7 安装docker-ce

参考:https://yq.aliyun.com/articles/110806?spm=a2c1q.8351553.0.0.13514d2akQz8f2 # step 1: 安装必要的一些系统工具 sudo yum install -y yum-utils device-mapper-persistent-data lvm2 # Step 2: 添加软件源信息 sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # Step 3: 更新并安装 Docker-CE sudo yum makecache fast sudo yum -y install docker-ce # Step 4: 开启Docker服务 sudo service docker start