Skip to content

Instantly share code, notes, and snippets.

View G36maid's full-sized avatar
🇹🇼

G36maid G36maid

🇹🇼
View GitHub Profile

AI 時代 我們需要「數位遷徙自由」

七月底,臺灣出現一批AI詐騙受害者。據媒體報導,許多粉專被詐騙集團標注在貼文裡,其中三千多個臉書粉專擁有者,往往剛試著移除標註,就被臉書演算法自動判定為詐騙共犯,帳號永久停權。

這些帳號背後,是一個個真實的人,花了多年心血,才點點滴滴,逐漸擁有數十萬追蹤者。面對AI時代的詐騙型態,社群平台無差別打詐,竟讓使用者的累積一夕消失。

這暴露出,在數位時代,我們在各個社群平台上建立的人脈、社交足跡,其實,並不真的屬於我們。只要平台演算法一改,你的正常使用很可能會被誤判成詐騙或惡意帳號;它更可以任意限制你與其他人的觸及率、降流量,而我們無能為力。

要如何改變這種困境?關鍵在於保障「數位遷徙自由」。目前大多數社群平台,使用者都沒有資料自主權,只能由平台決定你的資料可以怎麼用。即使對平台不滿意、想跳槽,卻因為原有的人際網絡無法帶離,過往的使用足跡只保留在該平台,而被長久困住。 >

error: failed to run custom build command for `webrtc-sys v0.3.7 (https://github.com/zed-industries/livekit-rust-sdks?rev=80bb8f4c9112789f7c24cc98d8423010977806a6#80bb8f4c)`
Caused by:
process didn't exit successfully: `/home/g36maid/zed/target/debug/build/webrtc-sys-b3ef226b7c3de47b/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=LK_DEBUG_WEBRTC
cargo:rerun-if-env-changed=LK_CUSTOM_WEBRTC
cargo:CXXBRIDGE_PREFIX=webrtc-sys
cargo:CXXBRIDGE_DIR0=/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include
cargo:CXXBRIDGE_DIR1=/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate
@G36maid
G36maid / README.md
Last active May 20, 2025 06:28
Reproduce Zed WebRTC Build Error on FreeBSD

Reproduce Zed WebRTC Build Error on FreeBSD

Steps

  1. Clone Zed repo
git clone https://github.com/zed-industries/zed.git
cd zed
error: failed to run custom build command for `webrtc-sys v0.3.7 (https://github.com/zed-industries/livekit-rust-sdks?rev=80bb8f4c9112789f7c24cc98d8423010977806a6#80bb8f4c)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/home/g36maid/Github/freebsd-ports-zed/target/debug/build/webrtc-sys-c5a4caec932604cf/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=LK_DEBUG_WEBRTC
cargo:rerun-if-env-changed=LK_CUSTOM_WEBRTC
cargo:CXXBRIDGE_PREFIX=webrtc-sys
cargo:CXXBRIDGE_DIR0=/home/g36maid/Github/freebsd-ports-zed/target/debug/build/webrtc-sys-3145f2d05f3df91b/out/cxxbridge/include
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=claude-desktop
_pkgname=Claude-Desktop
pkgver=1.0.0
_electronversion=25
_nodeversion=20
pkgrel=9
pkgdesc="An Electron-based desktop application for Claude2(unofficial).Use system-wide electron."
arch=('any')
url="https://github.com/Karenina-na/Claude-Desktop"
Position Club Country Participated Titles Played Win Draw Loss Goals For Goals Against Pts Goal Diff
1 Real Madrid CF ESP 53 14 476 285 81 110 1047 521 651 526
2 FC Bayern München GER 39 6 382 229 76 77 804 373 534 431
3 FC Barcelona ESP 33 5 339 197 76 66 667 343 470 324
4 Manchester United ENG 30 3 293 160 69 64 533 284 389 249
5 Juventus ITA 37 2 301 153 70 78 479 301 376 178
6 Liverpool FC ENG 27 6 248 142 50 56 472 228 334 244
7 AC Milan ITA 30 7 267 131 68 68 437 251 330 186
8 SL Benfica POR 42 2 287 130 67 90 475 334 327 141
9 FC Porto POR 37 2 269 121 61 87 395 304 303 91
@G36maid
G36maid / install.sh
Created January 22, 2025 03:04
Zed editor on freeBSD
sudo pkg install -y git rust cmake
git clone https://github.com/zed-industries/zed.git
cd zed
sudo pkg install -y rust ca_root_nss
export RUSTFLAGS="-C link-dead-code"
cargo build --release
cargo build --release --frozen -p zed
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "dhcp.h"
int main() {
// int32_t dhcpParse(uint8_t *pData, uint32_t size);
uint8_t dhcp_data[] = {
0, 0, // 0: padding
1, 4, 255, 255, 255, 0, // 1: subnet mask (255.255.255.0)
#include<stdio.h>
#include<stdlib.h>
#include<stdint.h>
#include <string.h>
#include <time.h>
#include "endian.h"
int32_t endian_convert_ta( uint8_t *pSrc, uint32_t size, uint8_t **ppDst ); //remember to free *ppDst
int32_t endian_equality_test_ta( uint8_t *pNum1 , uint32_t size1 , uint8_t type1 ,
#include<stdio.h>
#include<stdlib.h>
#include"myscore.h"
#include<math.h>
int transformScores(double *arr, int n, double pref_avg, double pref_stddev);
void findMinMax(const double *arr, int n, double *min, double *max);
int err_test();
int main(){