Posts for: #Tutorial

CMake vs. Make

What was the Problem? :()

When playing with my RP2040, following the official SDK instructions, I wonder why I have to type cmake then do make, why does it take two steps to build my project?

Well, long story short: Cmake is a cross-platform Makefiles generator, while make “reads the makefile and invokes a compiler, linker, and possibly other programs to make an executable file.(Microsoft)

CMake

Instead of thinking of CMake as a “C/C++ program maker,” I tend to say it as a “Cross-platform maker.” As its design principle says: “CMake is designed to be used in conjunction with the native build environment.”(Cmake.org); thus, it is independent of the Operating System it is working on(thus, the compilers), Which means as long as we configure the CMakeLists.txt correctly, CMake should “generate standard build files (e.g., makefiles on Unix and projects/workspaces in Windows MSVC).” on all the supported OS(Cmake.org)

Read more →

Bare Metal WebServer On Pi PicoW

Bare Metal WebServer On Pi PicoW

Intro

picoW

I’ve been pretty into the Raspberry Pi Pico family lately—it looks nice, and it’s new, there is a fast-growing community there, and it would be cool to play together. Pico W is the newer member with the…well, you guess…the Wireless capability. I thought it would be nice to set up some code to allow me to send data from the terminal to the Pico through wifi.

Arduino-Pico

This is an Arduino Core for the Pico, which based on the official Raspberry Pi Pico SDK but with more add-ons. That basically allows you to use Arduino libraries. You can find their Github link here and the latest documentation here. This project is very active.

Read more →

Foundations of Machine Learning I

Lately, I was into the studying process of machine learning, and outputting(taking notes) is a vital step of it. Here, I am using Andrew Ng’s Stanford Machine Learning course in Coursera with the language of MATLAB.

So the rest of the code I will write in this post by default are based on MATLAB.

What is ML?

“A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.” Tom Mitchell

Read more →

DeepFaceLab-Based AI Face-Change Tutorial

DeepFaceLab-Based AI Face-Change Tutorial

Introduction

AI face change is a product under Neuro Network and Machine Learning technologies. And this article aims to be a tutorial that could let people who do not have experience in Machine Learning to replace the face in one video with other faces.

Key Words: #deepfakes #faceswap #face-swap #deep-learning #deeplearning #deep-neural-networks #deepface #deep-face-swap #fakeapp #fake-app #neural-networks #neural-nets

What is DeepFaceLab?

DeepFaceLab is a tool that utilizes machine learning to replace faces in videos.  Github Project: Click here. DeepFaceLab does not have GUI but it does not require a high RAM (at least 2g).

Read more →

教你通行暗网,但暗网不是个好地方

暗网,隐网,深网,听着很吓人,是吧。在媒体的推波助澜下,这些东西的确变得神秘而又不可触碰起来。但是,说实话,有什么难的呢,难道每个暗网用户都是计算机高手不成?

什么是暗网?

这里有点区别,倒不如这么说吧,无法直接由搜索引擎搜索到的页面都属于隐网,也就是The Hidden Web。 媒体搞了一个冰山理论,什么绝大多数的网络都是罪犯的天堂,也是可笑之极, 那我知乎的个人编辑页面也成为犯罪天堂咯?这里所要澄清的是,隐网的确很多,但是我们即将要讨论的暗网却并非如此。

暗网, 数量在几万左右,不时关闭,不时开启,有违法色情,毒品与枪支的交易,当然还有FBI的钓鱼网站。这也是大家所熟知的。如果要深入了解下具体,可以看看这篇文章:出于好奇,我去暗网里瞧了瞧 —— 你就别去了

暗网网站的网址一般都如此:https://3g2upl4pq6kufc4m.onion/,而这是无法用普通的浏览器访问的,而是一个加密浏览器,也就是我们的Tor。

如何使用Tor

加密,加密,加密!这很重要!如果不想某一天被人提着榔头找到家就请选择一个可靠的VPN,并一直把它挂起来。寻求VPN的看这篇文章 

然后我们直接访问Tor官网下载安装你的Tor浏览器

打开后我们选择配置,因为中国封锁了Tor,所以我们需要一个网桥。

选择“我所在的国家对Tor进行了封锁”

我们的第一选择是选择内置网桥,这里选择“meek-azure” 然后点确定

然后就开始了等待,Tor的一切都很慢,因为它本质上是个高度加密的浏览器

如果失败了,就需要自己获取网桥,点击Tor的官方项目获取3个网桥,在Tor网络设置中点“输入获取的网桥”粘贴即可。

到此,我们已经连入Tor加密网络,可以访问暗网网址。

PS: DuckDuckGo是暗网的搜索引擎, 我们的确可以访问平时的网络,但那也太慢了, 并且毫无意义

工具

Hidden Wiki, 用来找暗网网址

必须在Tor浏览器中才能使用的活跃暗网网站搜寻器

  1. The Hidden Wiki

http://zqktlwi4i34kbat3.onion/wiki/index.php/Main_Page

  1. Deep Web Links – Dark Web Links

http://wiki5kauuihowqi5.onion/

  1. TORCH

http://xmh57jrzrnw6insl.onion/

Torch很有名

  1. Not Evil

http://hss3uro2hsxfogfq.onion/

  1. Daniel’s Onion Link List Raspberry Pi Directory

一个Tor 网站目录 ,据说在一个树莓派上运行

总结

Read more →

Stacking And Processing of the Moon

Since I was moving my telescope to my school for my Astronomy Club, I putted it for a long time because my club is still weak and no one in the club could be seem as a real club member. But I setted up a small observation recently with another guy who are not in my club, and I took 16 photos of moon by my lovely A7RIII, however, the truth prove that it is useless to stack 16 photos, but I think it is a nice try.

Read more →