Photo by Bryan Goff on Unsplash
  1. Take a breath.
  2. Hold on and don’t breathe, stay in this state as long as you can.
  3. If you have taken your mind to die, you should be able to die. But if you didn’t make up your mind, you’ll finally get another breath of fresh air.
  1. We create a panda table, each row has 4 properties: name, positive energy, negative energy, positive and negative energy balanced counting.
  2. Every time when you give somebody benefits, add 1 to positive energy. (You lose, others gain)
  3. Every time when you take something from others, add 1 to negative energy…

We know how to use protobuf with Python

We know how to use protobuf with Javascript

Can we merge it together? I mean to do a transferring with both of the most powerful programming languages: Python and Javascript.

First, let’s define a protocol:

//protoc --python_out=. everyday.proto
//protoc --proto_path=. --js_out=import_style=commonjs,binary:. everyday.proto
syntax = "proto3";message OneDay {
string date = 1;
message Content {
string date = 1;
string text = 2;
repeated string image = 3;
repeated Content content = 2;
message EveryDay {
repeated OneDay oneday = 1;

Then, create a javascript client with a simple POST:


Find the black line


yarn create react-app yingshaoxo --typescript


import React from 'react';
import './App.css';
const App: React.FC = () => {
return (
<div className="App">
<header className="App-header">
yingshaoxo is your father.
interface Props { }interface State { };class Mirror extends React.Component<Props, State> {…
  1. shake your cat-food bottle, so the cat will go to you
  2. put…

1. install MavProxy

sudo pip3 install MAVProxy

2. run jmavsim

make px4_sitl_default jmavsim

3. at the computer where you run jmavsim --master=udp: --out=udp:

4. in the raspberry_pi, you run the code with:

await drone.connect(system_address="udp://:14540")


A man who love English and Coding.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store