Universe

There is a fantastic series of videos in Youtube called Astronomy, it talks about topics of black hole, planets, starts and galaxies, and even the eventual fate of the Universe.
Science must be honest, Understanding that our understanding might be wrong is essential, and trying to figure out the ways we may be mistaken is the only way that science can help us to find our way to the truth.We meander a bit as we use it, but in the long run we get ever closer to understanding reality, and that is the strength of science.Whether you know or not, you’re soaking in science.

You’re a primate.You have mass.Mitochondria in your cells are generating energy.Presumably, you are breathing oxygen.

Set Git proxy

I was using ssh to clone a repo from Github on wsl, and http proxy not work.

Work with ssh config

edit file ~/.ssh/config

阅读更多

2023年总结

对比以往,今年的年终总结晚了一周,是因为周末都在户外,所以就拖更一点点。按照习惯写之前会看一下去年立的 flag, 结果大部分 flag 依旧是flag~

2023年的春节是在深圳过的,现在是每两个春节回家一次,当然不回家过年的时候一般五一国庆也都是会回去的。虽然是一个人在深圳过年,有趣的是过年当天都有朋友邀请一起吃饭,前司测试组组长一家人也都在深圳过年,说如果过年那天没什么安排可以一起吃个饭,于是就厚着脸皮去蹭了一顿饭,虽然有一道菜略咸,总体还是很好吃的。
接下来的几天基本就是在图书馆泡着,听听播客,印象比较深的是一个小姑娘突然走过来说了句“哥哥你好帅啊!”,没反应过来,顿了几秒回复了个”谢谢“。

三月份去广州滑雪,时隔一年多第二次滑雪水平自然是不会突发猛进,最大的变化是敢在中级道上把速度拉高,初级道基本可以控速不撞人;期间结识了几位新朋友,有北京的,广州的,还有成都的老外,尝试了人生中第一次英文会议,收获就是敢在老外面前说英语了,不管是不是有错的词,还是有病句,老外都是能听懂的。

阅读更多

202310W1 National Day and Family

This is the first National Day after the pandemic, and I met some friends whom I haven’t seen in a year or two. I took the opportunity to go to Beijing and have a meal with a friend I made this year.

During the National Day holiday, I drove with friends to Wutai Mountain. Since the car was an automatic transmission, it stalled several times on the mountain roads, but fortunately, we safely reached the mountain top in the end. Wutai Mountain attracted many tourists, including those from Beijing, Guangdong, and other southern provinces. The entire journey was filled with people.

iptables

iptables

三张表

  • filter: 负责过滤数据包,包括的规则链有:input,output和forward
  • nat: 用于网络地址转换(IP、端口),包括的规则链有:prerouting,postrouting 和 output
  • mangle: 主要应用在修改数据包、流量整形、给数据包打标识,默认的规则链有:INPUT,OUTPUT、 forward,POSTROUTING,PREROUTING
阅读更多

202308W2 go hiking and Devops

This week, I focused on learning the networking part of Docker, an area I had limited knowledge of before. I also took some time to set up the Jenkins service for our company’s testing environment, because of the convenience of Helm, it took me approximately 2 hours to complete the setup. Additionally, I took a look at Kubernetes’ Watch-List mechanism.

On Sunday, I went hiking up YangTai Mountain with a former colleague. It had been a while since I last went hiking, around April. Unfortunately, the summit was covered in clouds, so I didn’t get to enjoy the scenery as much as I had hoped.

test istio https requests local(macos)

generate certificate

1
2
3
4
5
brew install mkcert
brew install nss

mkdir -p ~/.cert
mkcert -key-file ~/.cert/key.pem -cert-file ~/.cert/cert.pem "api.ginta.com"

Enable the system to trust the generated certificate

阅读更多

202308W1 BRUSH UP LIFE and Kubernetes

This week, I took a day off and used the time to renew my Hong Kong and Macau travel permit. It’s been five years since I first obtained the permit, and due to the COVID situation, I haven’t had the chance to visit Hong Kong. I’m planning to go there for a weekend hike soon.

While on the subway, I watched the TV series “BRUSH UP LIFE” which is really well-made. Sometimes, I find myself thinking that if I had the chance to live again, I might attempt things I didn’t have the courage to do before. I spent several hours delving into the source code of Kubernetes, focusing particularly on the code for the apiserver and kubelet components. Kubernetes is indeed a fantastic open-source project.

202307W4 Concerts and Podcasts

It’s been a while since I went for a run, but this week I’m gradually getting back to my previous level of exercise. I’ve been indulging in hotpot and barbecue lately, and my weight reached nearly 137 pounds. Although it’s still within the normal range, but I want to control it at 135 pounds to avoid excessive weight gain from consuming too many snacks. So, once it goes over 135, I’ll start running.

I’ve been following a star photographer, Ziyi Ye, who has been traveling around the world alone for 18 years to capture solar eclipses. I really admire such a girl. I often watch documentaries about the universe, but in Shenzhen, it’s almost impossible to see the stars. When I saw the solar eclipse video she took, I was amazed.

I attended Zhou Chuanxiong’s concert for the first time, and I really love his songs. Before this, I had never spent money to attend a concert, I’m looking forward to him coming to Shenzhen again!

阅读更多

202306W2 Discord and Trancy

I found 2 platforms to practive English speaking skill, one is Discord,and the other one is Trancy.On Discord you can have conversations with people all over the world, most of them are students from Asia, I can only understand part of what they’re saying. For Trancy offers various dialogue scenarios for practice, such as healthy eating, gaming, and entertainment.

I have gained a lot of weight recently due to consuming too many snacks. I need to control it. Almost half of this year has already passed, and my reading record on Notion has only added one entry. It’s likely that my reading volume this year will be only half of what it was last year. I plan to spend more time reading in the remaining six months. Steve mentioned a few days ago that he will be going to Japan for work in July or August. I can catch up with him and hang out when I visit Japan afterward.