postmarketOS

主步驟

#以下全程插入usb線
fastboot devices 
fastboot getvar all
fastboot erase  userdata
fastboot erase  system
fastboot erase  cachepmbootstrap init
pmbootstrap installpmbootstrap flasher flash_rootfs --partition userdata
pmbootstrap flasher flash_kernel
fastboot reboot  #啟動完最終停在postmarketOS界面不動,但實際上此時Linux已經正常啟動了
ssh z@172.16.42.1  #usb線插好,即可ssh連接Linux

LG nexus 5 安裝好 postmarketOS ,

  • htop命令輸出:
    在這里插入圖片描述

  • uname輸出

 uname -a
#Linux lg-hammerhead 6.3.0-postmarketos-qcom-msm8974 #1 SMP PREEMPT Wed May  3 14:38:30 UTC 2023 armv7l Linux#LG nexus 5 的確是 armv7

連接wifi

sudo nmtui

其他

sudo apk add htop
sudo apk add curl

docker安裝

sudo apk upgrade
sudo apk update
sudo apk add docker
sudo addgroup z  docker
  • 文件 /etc/docker/daemon.json 內容如下:
{"iptables": false
}

sudo rc-update add docker boot
sudo service docker start
sudo service docker status 

lash參考

按這里 Modem 操作,居然說沒有modem. 但是nexus5 聲稱sms是work的,TODO, 有可能是因為沒有插手機SIM卡

補充

步驟"pmbootstrap init" 中 用戶界面 user interface 選 fbkeyboard 很保險

參考:

  1. Home Assistant on old Smartphone (Nexus5) with PostmarketOS and Docker
  2. Alpine Linux 安裝 Docker

空間沒用上問題解決

userdata 32GB空間沒用上 , 問題描述, 問題可能答案

實際嘗試后,該問題有解決如下:

解決1

  1. git倉庫 ~/.local/var/pmbootstrap/cache_git/pmaports/ 切換到提交 f7e12b210dd6bba0f964a63db53afbc265a5384a

再進行以上操作可以正常識別到32GB空間。 注意此時 “pmbootstrap install” 下載了armv7 gcc交叉編譯工具,但沒有直觀看到作了編譯動作。

df -h
"""Filesystem                Size      Used Available Use% Mounted on
/dev/mapper/userdata225.0G    183.3M     23.5G   1% /
/dev/dm-0               225.7M     38.4M    175.2M  18% /boot
tmpfs                   376.6M    524.0K    376.1M   0% /run
dev                      10.0M         0     10.0M   0% /dev
shm                     941.4M         0    941.4M   0% /dev/shm
"""

解決2 (估計和解決1是一樣的)

  1. 對master作rebase關于initramfs-log-to-kmsg ,結果居然和1一樣。

master : 40aa8e911f958e18a4c5a4bbbe3afd3d171ce901

initramfs-log-to-kmsg: f7e12b210dd6bba0f964a63db53afbc265a5384a

切換到分支master, 右擊分支master , 彈出菜單中 選擇 : rebase initramfs-log-to-kmsg onto master, 有58個提交被rebase到master上了


其他

  • ui選 lxqt 或 gnome 在步驟 會受到錯誤 FAILED (remote: ‘data too large’)
pmbootstrap flasher flash_rootfs --partition userdata
[22:39:15] (native) flash rootfs image
[22:39:16] (native) install android-tools
Sending 'userdata' (1520640 KB)                    FAILED (remote: 'data too large')  #lxqt
Sending 'userdata' (1761280 KB)                    FAILED (remote: 'data too large')  #gnomefastboot: error: Command failed
[22:39:17] NOTE: The failed command's output is above the ^^^ line in the log file: /home/z/.local/var/pmbootstrap/log.txt
[22:39:17] ERROR: Command failed (exit code 1): (native) % fastboot flash userdata /home/pmos/rootfs/lg-hammerhead.img
[22:39:17] See also: <https://postmarketos.org/troubleshooting>Run 'pmbootstrap log' for details.Before you report this error, ensure that pmbootstrap is up to date.
Find the latest version here: https://git.sr.ht/~postmarketos/pmbootstrap/refs
Your version: 2.0.0

fastboot oem disable-verity

pmbootstrap init #選擇如下:
[14:10:48] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[14:10:48] Work path [/home/z/.local/var/pmbootstrap]: 
[14:10:49] NOTE: pmaports path: /home/z/.local/var/pmbootstrap/cache_git/pmaports
[14:10:49] Choose the postmarketOS release channel.
[14:10:49] Available (8):
[14:10:49] * edge: Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
[14:10:49] * v23.06: Latest release / Recommended for best stability
[14:10:49] * v22.12: Old release (unsupported)
[14:10:49] Channel [edge]: 
[14:10:50] NOTE: pmaports is on master branch, copying git hooks.
[14:10:50] Choose your target device vendor (either an existing one, or a new one for porting).
[14:10:50] Available vendors (80): acer, alcatel, amazon, amediatech, apple, ark, arrow, asus, beelink, bq, cubietech, cutiepi, dongshanpi, essential, fairphone, finepower, fly, generic, goclever, google, gp, hisense, htc, huawei, inet, infocus, jolla, klipad, kobo, lark, leeco, lenovo, lg, mangopi, medion, meizu, microsoft, mobvoi, motorola, nextbit, nobby, nokia, nvidia, odroid, oneplus, oppo, ouya, pegatron, pine64, planet, purism, qemu, radxa, raspberry, samsung, semc, sharp, shift, sipeed, sony, sourceparts, surftab, t2m, tablet, thundercomm, tokio, tolino, trekstor, valve, vernee, videostrong, volla, wexler, wiko, wileyfox, xiaomi, xunlong, yu, zte, zuk
[14:10:50] Vendor [lg]: 
[14:10:52] Available codenames (26): bullhead, c50, d285, d722, d802, d851, d855, dory, e610, h815, hammerhead, judyln, judyp, lenok, m216, madai, mako, mmh4x, p700, p880, p895, us996, vee3e, vee7e, w5, w7
[14:10:52] Device codename [hammerhead]: 
[14:10:52] This device has proprietary components, which trade some of your freedom with making more peripherals work.
[14:10:52] We would like to offer full functionality without hurting your freedom, but this is currently not possible for your device.
[14:10:52] device-lg-hammerhead-nonfree-firmware: WiFi, GPU, Modem and ADSP firmware
[14:10:52] Enable this package? (y/n) [y]: 
[14:10:55] Username [z]: 
[14:10:58] Available user interfaces (18): 
[14:10:58] * none: Bare minimum OS image for testing and manual customization. The "console" UI should be selected if a graphical UI is not desired.
[14:10:58] * asteroid: (Wayland) Smartwatch UI from AsteroidOS
[14:10:58] * console: Console environment, with no graphical/touch UI
[14:10:58] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
[14:10:58] * gnome: (Wayland) Gnome Shell
[14:10:58] * gnome-mobile: (Wayland) Gnome Shell patched to adapt better to phones (Experimental)
[14:10:58] * i3wm: (X11) Tiling WM (keyboard required)
[14:10:58] * kodi: (GBM) 10-foot UI useful on TV's
[14:10:58] * lxqt: (X11) Lightweight Qt Desktop Environment (stylus recommended)
[14:10:58] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
[14:10:58] * phosh: (Wayland) Mobile UI developed for the Librem 5
[14:10:58] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
[14:10:58] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration)
[14:10:58] * shelli: Plain console with touchscreen gesture support
[14:10:58] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
[14:10:58] * sxmo-de-dwm: Simple Mobile: Mobile environment based on SXMO and running on dwm
[14:10:58] * sxmo-de-sway: Simple Mobile: Mobile environment based on SXMO and running on sway
[14:10:58] * weston: (Wayland) Reference compositor (demo, not a phone interface)
[14:10:58] * xfce4: (X11) Lightweight desktop (stylus recommended)
[14:10:58] User interface [gnome]: fbkeyboard
[14:11:04] Additional options: extra free space: 0 MB, boot partition size: 256 MB, parallel jobs: 17, ccache per arch: 5G, sudo timer: False, mirror: http://mirror.postmarketos.org/postmarketos/
[14:11:04] Change them? (y/n) [n]: n
[14:11:15] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[14:11:15] Extra packages [none]: 
[14:11:18] Your host timezone: Asia/Shanghai
[14:11:18] Use this timezone instead of GMT? (y/n) [y]: 
[14:11:21] Choose your preferred locale, like e.g. en_US. Only UTF-8 is supported, it gets appended automatically. Use tab-completion if needed.
[14:11:21] Locale [zh_CN]: 
[14:11:22] Device hostname (short form, e.g. 'foo') [lg-hammerhead]: 
[14:11:23] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
[14:11:23] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: 
[14:11:24] Zap existing chroots to apply configuration? (y/n) [y]: 
[14:11:25] Unregister qemu binfmt (arm)
[14:11:25] % rm -rf /home/z/.local/var/pmbootstrap/chroot_native
[14:11:25] % rm -rf /home/z/.local/var/pmbootstrap/chroot_rootfs_lg-hammerhead
[14:11:25] Cleared up ~2511 MB of space
[14:11:25] WARNING: The chroots and git repositories in the work dir do not get updated automatically.
[14:11:25] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date.
[14:11:25] DONE!
sudo fdisk -l   /dev/mmcblk0/dev/mmcblk0p28  3969024 61071315 57102292 27.2G Microsoft basic datasudo fdisk -x   /dev/mmcblk0Disk /dev/mmcblk0: 29.12 GiB, 31268536320 bytes, 61071360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 98101B32-BBE2-4BF2-A06E-2BB33D000C20
First usable LBA: 34
Last usable LBA: 61071326
Alternative LBA: 61071359
Partition entries starting LBA: 2
Allocated partition entries: 32
Partition entries ending LBA: 9Device             Start      End  Sectors Type-UUID                            UUID                                 Name     Attrs
/dev/mmcblk0p1      1024   132095   131072 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 80D6FA5F-1B26-C0FE-49F2-C78E7F3D88FC modem    GUID:60
/dev/mmcblk0p2    132096   134143     2048 DEA0BA2C-CBDD-4805-B4F9-F428251C3E98 35854BF3-B7BA-4E91-858E-FEC12B8EF02B sbl1     
/dev/mmcblk0p3    134144   135167     1024 098DF793-D712-413D-9D4E-89D711772228 671CADA6-A8E9-A98E-E0AC-66C72488B768 rpm      
/dev/mmcblk0p4    135168   136191     1024 A053AA7F-40B8-4B1C-BA08-2F68AC71A4F4 C4907B28-F846-7D32-9C6A-B254EF4B552B tz       
/dev/mmcblk0p5    136192   137215     1024 D4E0D938-B7FA-48C1-9D21-BC5ED5C4B203 E2B27CC4-A377-ABB8-2287-55ED8DD115C4 sdi      
/dev/mmcblk0p6    137216   138239     1024 400FFDCD-22E0-47E7-9A23-F16ED9382388 C5BB54C7-E9F5-2CF8-389F-4150E0081392 aboot    
/dev/mmcblk0p7    138240   142335     4096 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 1D93F383-FF91-84C6-D848-F77A740B162A pad      
/dev/mmcblk0p8    142336   144383     2048 6952B77A-8259-4864-9D66-40A6793CE737 68EBD5CC-3C4B-9585-3BA5-F20AE752F13D sbl1b    
/dev/mmcblk0p9    144384   145407     1024 80F07C88-5C6D-48D3-8EA6-B984F7EDD622 81759FF7-0B8D-7D8F-BA8C-C1787608DF94 tzb      
/dev/mmcblk0p10   145408   146431     1024 F1FC4C90-0705-4830-ADBD-291E78BD2E2A 07D78183-8EC2-6B11-CC74-B20EC7BA4F2D rpmb     
/dev/mmcblk0p11   146432   147455     1024 0B8202FA-26A5-468F-B356-952D5EC60CEC 62CDE8B3-A46B-A98E-21B8-7BC72350032C abootb   
/dev/mmcblk0p12   147456   153599     6144 EBBEADAF-22C9-E33B-8F5D-0E81686A68CB D1B2D502-6E25-D960-BB33-3E45D96A8330 modemst1 
/dev/mmcblk0p13   153600   159743     6144 0A288B1F-22C9-E33B-8F5D-0E81686A68CB 4D8B6E3B-2A92-FF15-2416-88A213E9F186 modemst2 
/dev/mmcblk0p14   159744   160767     1024 8DA63339-0007-60C0-C436-083AC8230908 431AA331-1209-D428-4699-7433A24D2ED4 metadata 
/dev/mmcblk0p15   160768   193535    32768 6CD30554-5F5D-40EF-82FE-1092359F92EE 9971DD9C-D384-4BA8-76AC-D412940089E4 misc     
/dev/mmcblk0p16   193536   226303    32768 0FC63DAF-8483-4772-8E79-3D69D8477DE4 C4C6FCFE-D6B2-21F1-ACF2-AB09186201E1 persist  
/dev/mmcblk0p17   226304   232447     6144 51E36039-8392-41D8-9423-BF9CF8BBAD00 2CBF08B6-A53B-1A06-5864-01AC4551E229 imgdata  
/dev/mmcblk0p18   232448   277503    45056 98523EC6-90FE-4C67-B50A-0FC59ED6F56D F4BB3087-4B3B-C8A6-693E-5F7BFB1FDCCB laf      
/dev/mmcblk0p19   277504   322559    45056 20117F86-E985-4357-B9EE-374BC1D8487D 824C1A8D-4FE8-E0A7-2559-EC23E5BB7D54 boot     GUID:60
/dev/mmcblk0p20   322560   367615    45056 20117F86-E985-4357-B9EE-374BC1D8487D 6B33096B-753B-33E0-F973-2BCDA0D1699F recovery GUID:60
/dev/mmcblk0p21   367616   373759     6144 638FF8E2-22C9-E33B-8F5D-0E81686A68CB 423BBF5E-F80D-72A2-D175-9CCF3771BD7A fsg      GUID:60
/dev/mmcblk0p22   373760   374783     1024 57B90A16-22C9-E33B-8F5D-0E81686A68CB 7FB6B15A-A955-3497-5552-BD3E6607A514 fsc      
/dev/mmcblk0p23   374784   375807     1024 2C86E742-745E-4FDD-BFD8-B6A7AC638772 4FF27D6E-8895-D172-2015-D33C38FF08A9 ssd      
/dev/mmcblk0p24   375808   376831     1024 20A0C19C-286A-42FA-9CE7-F64C3226A794 35D8D7CC-7232-A10A-8A50-E3D109BF9BE9 DDR      GUID:60
/dev/mmcblk0p25   376832  2473983  2097152 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 2DE7DCF7-15A2-5A85-7862-1FEDB20F9D18 system   GUID:60
/dev/mmcblk0p26  2473984  2535423    61440 19CC541E-CEF7-45E4-98FD-A2D897E663D2 95F18A70-2AAF-ACDF-DE44-A79757D45C2C crypto   
/dev/mmcblk0p27  2535424  3969023  1433600 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 9BF89DE3-D2A4-C02D-C2F0-61387EB3AE3C cache    GUID:60
/dev/mmcblk0p28  3969024 61071315 57102292 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 AD97A115-BDE3-4A21-1C88-F9946B6805CA userdata GUID:60
/dev/mmcblk0p29 61071316 61071326       11 EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 756B0981-38D1-1DA6-1583-5529D8E0D488 grow     GUID:60df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/dm-1               299.4M    280.3M         0 100% /
/dev/dm-0               225.7M     38.3M    175.3M  18% /boot
tmpfs                   376.6M    540.0K    376.0M   0% /run
dev                      10.0M         0     10.0M   0% /dev
shm                     941.4M         0    941.4M   0% /dev/shm

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/42076.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/42076.shtml
英文地址,請注明出處:http://en.pswp.cn/news/42076.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

java生成Excel表格

public HSSFWorkbook CreateJZZJSList() {// 繪制ExcelString fileName "自動分析詳情";HSSFWorkbook wb new HSSFWorkbook();//創建工作相簿對象HSSFSheet sheet wb.createSheet(fileName); // --->創建了一個工作簿sheet.setDefaultRowHeight((short) 600);…

前端開發工具及環境配置

1.前端開發環境node npm環境配置 第一步&#xff1a;打開Download | Node.js (nodejs.org)下載&#xff0c;解壓。 找到下載壓縮包進行解壓 解壓到D盤目錄下&#xff1a; 第二步&#xff1a;配置環境變量&#xff1a;右擊此電腦點擊屬性進入高級系統設置 點擊高級系統設置進入…

項目管理系統是什么?能干什么?有什么功能?一文看懂

閱讀本文您可以了解&#xff1a;1、項目任務管理系統是什么&#xff1b;2、項目任務管理系統的作用&#xff1b;3、項目任務管理系統的功能 一、什么是項目任務管理 項目任務管理是指運用系統的理論方法&#xff0c;在有限的條件和資源下&#xff0c;對項目從開始到結束的全流…

Github下載任意版本的VsCode

下載歷史版本VsCode(zip) 下載鏈接由三部分組成&#xff1a; 固定部分commit idVSCode-win32-x64-版本號.zip 固定部分&#xff1a; https://vscode.cdn.azure.cn/stable/ Commit id&#xff1a; 打開 vscode的GitHub&#xff1a;[https://github.com/microsoft/vscode/r…

(搜索) 劍指 Offer 13. 機器人的運動范圍 ——【Leetcode每日一題】

?劍指 Offer 13. 機器人的運動范圍 難度&#xff1a;中等 地上有一個 m 行 n 列的方格&#xff0c;從坐標 [0,0] 到坐標 [m-1,n-1] 。一個機器人從坐標 [0, 0] 的格子開始移動&#xff0c;它每次可以向左、右、上、下移動一格&#xff08;不能移動到方格外&#xff09;&…

shell腳本基礎

目錄 前言 一、概述 &#xff08;一&#xff09;、shell腳本基礎概念 &#xff08;二&#xff09;、shell的類型 二、Shell變量 &#xff08;一&#xff09;、組成 1.變量名 2.變量值 &#xff08;二&#xff09;、類型 1.系統內置變量&#xff08;環境變量&#xff09; 2.自定…

PIN TO PIN替代LT8911EXB|CS5523低成本替代LT8911EXB|MIP DSI轉DP EDP方案設計

PIN TO PIN替代LT8911EXB|CS5523低成本替代LT8911EXB|MIP DSI轉DP EDP方案設計 LT8911EXB是MIPI DSI/CSI 轉eDP轉換芯片&#xff0c;ASL CS5523不需要改電路就可以直接PIN TO PIN替代與兼容LT8911EXB。 ASL CS5523與 LT8911EXB的功能與參數&#xff0c;用途方式以及封裝方式和…

【題解】旋轉數組的最小數字、比較版本號

文章目錄 旋轉數組的最小數字比較版本號 旋轉數組的最小數字 題目鏈接&#xff1a;旋轉數組的最小數字 解題思路1&#xff1a;遍歷求最小值 代碼如下&#xff1a; int minNumberInRotateArray(vector<int> rotateArray) {int min rotateArray[0];for(auto const&…

迪米特法則

迪米特法則&#xff0c;也稱為最少知識原則&#xff08;Law of Demeter&#xff09;&#xff0c;是面向對象設計中的一個原則&#xff0c;旨在降低對象之間的耦合性&#xff0c;提高系統的可維護性和可擴展性。該原則強調一個類不應該直接與其它不相關的類相互交互&#xff0c;…

Android 控件截圖保存本地并分享

目錄 需求 需求分析 一、截圖控件生成圖片 二、將圖片保存至本地 2.1 權限 2.2 保存圖片 2.3 調用 三、分享 四、通過測試機型 需求 截圖當前頁面某個控件的內容&#xff0c;并且保存在本地&#xff0c;可分享。 需求分析 1.截圖控件生成圖片 2.保存至本地(需考慮版…

【SpringCloud】Ribbon定制化配置

文章目錄 使用Ribbon自帶負載均衡算法添加負載均衡算法ConfigurationRestTemplate使用上面負載均衡算法 自定義負載均衡算法負載均衡算法實現RestTemplate在Controller中使用該負載均衡算法ServiceIInstance解釋 使用Ribbon自帶負載均衡算法 添加負載均衡算法Configuration /…

實現矩陣地圖與rviz地圖重合

文章目錄 一、rviz地圖轉換矩形地圖(只能用于全局規劃)二、在rviz上顯示地圖邊界信息,可視化調整,實現重合(只能用于局部規劃)一、rviz地圖轉換矩形地圖(只能用于全局規劃) 此方法矩形地圖可能會與rviz地圖不重合,通過改變偏移量x_offset,y_offset接近地圖 可以將矩…

FL Studio for Windows-21.1.0.3713中文直裝版功能介紹及系統配置要求

FL Studio 21簡稱FL水果軟件,全稱是&#xff1a;Fruity Loops Studio編曲&#xff0c;由于其Logo長的比較像一款水果因此&#xff0c;在大家更多的是喜歡稱他為水果蘿卜&#xff0c;FL studio21是目前最新的版本&#xff0c;這是一款可以讓你的計算機就像是一個全功能的錄音室&…

Docker Dockerfile Docker-compose學習筆記

文章目錄 Centos環境下安裝Docker配置鏡像源 Windows環境下安裝Docker配置鏡像源 使用Dokcer鏡像1.獲取鏡像2.查看鏡像信息(1)列出鏡像(2)鏡像標簽(3)鏡像詳細信息(4)鏡像歷史 3.搜索鏡像4.刪除和清理鏡像(1)使用標簽刪除鏡像(2)使用ID刪除鏡像(3)清理鏡像 5.創建鏡像(1)基于已…

基于SpringBoot和Freemarker的頁面靜態化

頁面靜態化能夠緩輕數據庫的壓力&#xff0c;還能提高頁面的并發能力&#xff0c;但是網頁靜態化是比較適合大規模且相對變化不太頻繁的數據。 頁面靜態化在實際應用中還是比較常見的&#xff0c;比如博客詳情頁、新聞網站或者文章類網站等等。這類數據變化不頻繁比較適合靜態…

56.linux 進程管理命令和用戶管理命令

目錄 一、進程管理命令 1.ps 2.pstree 3.kill 4.pkill 5.&后臺運行程序 6.jobs 7.fg bg 8.top 二、用戶管理命令 1.系統存儲用戶信息的文件 2.添加新用戶 3.修改用戶密碼 4.刪除用戶 一、進程管理命令 1.ps 用于查看當前系統中運行的進程信息。它可以…

Golang 程序性能優化利器 PGO 詳解(一):簡單介紹及使用

在軟件開發過程中&#xff0c;性能優化是不可或缺的一部分。無論是在Web服務、數據處理系統還是實時通信中&#xff0c;良好的性能都是至關重要的。Golang 從1.20版版本開始引入的 Profile Guided Optimization&#xff08;PGO&#xff09;機制能夠幫助更好地優化 Go 程序的性能…

The Age of Data and AI: Challenges and Opportunities

Simply put Abstract: This paper examines the impact of the “Age of Data” on the field of artificial intelligence (AI). With the proliferation of digital technologies and advancements in data collection, storage, and processing, organizations now have ac…

進行 200 瓦太陽能 (PV) 模塊設計以測量太陽能光伏陣列的電壓、電流和功率、綜合負荷頻率和電壓控制系統的方法研究(Simulink實現)

&#x1f4a5;&#x1f4a5;&#x1f49e;&#x1f49e;歡迎來到本博客????&#x1f4a5;&#x1f4a5; &#x1f3c6;博主優勢&#xff1a;&#x1f31e;&#x1f31e;&#x1f31e;博客內容盡量做到思維縝密&#xff0c;邏輯清晰&#xff0c;為了方便讀者。 ??座右銘&a…

Levenshtein python調用

函數解釋&#xff1a; Levenshtein距離又稱作編輯距離&#xff08;Edit Distance&#xff09;&#xff0c;是指兩個字符之間&#xff0c;由一個字符轉變成另一個字符所需的最少編輯操作次數。被允許的操作有以下幾種&#xff1a; a. Replace替換&#xff0c;將一個字符替換成另…